1
0
mirror of https://github.com/projekteuler/projekteuler.git synced 2026-01-27 18:48:49 +01:00

11 Commits

Author SHA1 Message Date
5468ea6d8d Remove Travis CI 2020-12-08 12:13:38 +01:00
414c1e76cd Use Github Actions for tests 2020-12-08 11:56:32 +01:00
6c626bb15d Merge pull request #162 from projekteuler/dependabot/bundler/bootstrap-4.5.3
Bump bootstrap from 4.5.2 to 4.5.3
2020-12-08 10:54:09 +01:00
76fab428d7 Update Travis environment 2020-12-08 10:16:03 +01:00
dependabot-preview[bot]
9d7d88b40d Bump bootstrap from 4.5.2 to 4.5.3
Bumps [bootstrap](https://github.com/twbs/bootstrap-rubygem) from 4.5.2 to 4.5.3.
- [Release notes](https://github.com/twbs/bootstrap-rubygem/releases)
- [Changelog](https://github.com/twbs/bootstrap-rubygem/blob/master/CHANGELOG.md)
- [Commits](https://github.com/twbs/bootstrap-rubygem/compare/v4.5.2...v4.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-13 13:17:13 +00:00
132828483c Merge pull request #164 from projekteuler/dependabot/bundler/sdoc-2.0.2
Bump sdoc from 2.0.0 to 2.0.2
2020-11-13 14:16:30 +01:00
0953f262a4 Merge pull request #165 from projekteuler/dependabot/bundler/bootsnap-1.5.1
Bump bootsnap from 1.5.0 to 1.5.1
2020-11-13 14:15:56 +01:00
96f8a151f0 Merge pull request #166 from projekteuler/dependabot/bundler/webmock-3.10.0
Bump webmock from 3.9.4 to 3.10.0
2020-11-13 14:15:18 +01:00
dependabot-preview[bot]
4e10a186f5 Bump webmock from 3.9.4 to 3.10.0
Bumps [webmock](https://github.com/bblimke/webmock) from 3.9.4 to 3.10.0.
- [Release notes](https://github.com/bblimke/webmock/releases)
- [Changelog](https://github.com/bblimke/webmock/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bblimke/webmock/compare/v3.9.4...v3.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-13 05:59:06 +00:00
dependabot-preview[bot]
909ea52715 Bump bootsnap from 1.5.0 to 1.5.1
Bumps [bootsnap](https://github.com/Shopify/bootsnap) from 1.5.0 to 1.5.1.
- [Release notes](https://github.com/Shopify/bootsnap/releases)
- [Changelog](https://github.com/Shopify/bootsnap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Shopify/bootsnap/compare/v1.5.0...v1.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-11 06:03:40 +00:00
dependabot-preview[bot]
6786767424 Bump sdoc from 2.0.0 to 2.0.2
Bumps [sdoc](https://github.com/zzak/sdoc) from 2.0.0 to 2.0.2.
- [Release notes](https://github.com/zzak/sdoc/releases)
- [Changelog](https://github.com/zzak/sdoc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zzak/sdoc/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-10 06:04:50 +00:00
5 changed files with 39 additions and 26 deletions

28
.github/workflows/ci.yml vendored Normal file
View File

@@ -0,0 +1,28 @@
name: CI
on:
push:
branches: [ $default-branch ]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['2.5', '2.6', '2.7']
steps:
- uses: actions/checkout@v2
- name: Set up Ruby ${{ matrix.ruby }}
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Set up Node
uses: actions/setup-node@v2-beta
with:
node-version: '14'
- name: Install dependencies
run: bundle install --without production
- name: Run tests
run: bundle exec rake
env:
RAILS_ENV: test

View File

@@ -1,15 +0,0 @@
dist: trusty
language: ruby
cache: bundler
rvm:
- 2.7
- 2.6
- 2.5
bundler_args: --without production
before_install:
- yes | gem update --system --force
- gem install bundler
script:
- export RAILS_ENV=test
- bundle exec rake db:schema:load
- bundle exec rake test

View File

@@ -32,14 +32,14 @@ gem 'turbolinks', '~> 5.2.1'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.10.1' gem 'jbuilder', '~> 2.10.1'
# bundle exec rake doc:rails generates the API under doc/api. # bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', '~> 2.0.0', group: :doc gem 'sdoc', '~> 2.0.2', group: :doc
gem 'web-console', '~> 4.1.0', group: :development gem 'web-console', '~> 4.1.0', group: :development
# Use Codacy for coverage # Use Codacy for coverage
gem 'codacy-coverage', :require => false gem 'codacy-coverage', :require => false
gem 'bootstrap', '~> 4.5.2' gem 'bootstrap', '~> 4.5.3'
gem "bootstrap_form", "~> 4.5" gem "bootstrap_form", "~> 4.5"
gem 'font-awesome-sass', '~> 5.15.1' gem 'font-awesome-sass', '~> 5.15.1'

View File

@@ -58,13 +58,13 @@ GEM
zeitwerk (~> 2.2, >= 2.2.2) zeitwerk (~> 2.2, >= 2.2.2)
addressable (2.7.0) addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0) public_suffix (>= 2.0.2, < 5.0)
autoprefixer-rails (9.8.6.1) autoprefixer-rails (10.0.2.0)
execjs execjs
bcrypt (3.1.16) bcrypt (3.1.16)
bindex (0.8.1) bindex (0.8.1)
bootsnap (1.5.0) bootsnap (1.5.1)
msgpack (~> 1.0) msgpack (~> 1.0)
bootstrap (4.5.2) bootstrap (4.5.3)
autoprefixer-rails (>= 9.1.0) autoprefixer-rails (>= 9.1.0)
popper_js (>= 1.14.3, < 2) popper_js (>= 1.14.3, < 2)
sassc-rails (>= 2.0.0) sassc-rails (>= 2.0.0)
@@ -200,7 +200,7 @@ GEM
sprockets (> 3.0) sprockets (> 3.0)
sprockets-rails sprockets-rails
tilt tilt
sdoc (2.0.0) sdoc (2.0.2)
rdoc (>= 5.0) rdoc (>= 5.0)
simplecov (0.18.1) simplecov (0.18.1)
docile (~> 1.1) docile (~> 1.1)
@@ -220,7 +220,7 @@ GEM
turbolinks (5.2.1) turbolinks (5.2.1)
turbolinks-source (~> 5.2) turbolinks-source (~> 5.2)
turbolinks-source (5.2.0) turbolinks-source (5.2.0)
tzinfo (1.2.7) tzinfo (1.2.8)
thread_safe (~> 0.1) thread_safe (~> 0.1)
uglifier (4.2.0) uglifier (4.2.0)
execjs (>= 0.3.0, < 3) execjs (>= 0.3.0, < 3)
@@ -231,7 +231,7 @@ GEM
activemodel (>= 6.0.0) activemodel (>= 6.0.0)
bindex (>= 0.4.0) bindex (>= 0.4.0)
railties (>= 6.0.0) railties (>= 6.0.0)
webmock (3.9.4) webmock (3.10.0)
addressable (>= 2.3.6) addressable (>= 2.3.6)
crack (>= 0.3.2) crack (>= 0.3.2)
hashdiff (>= 0.4.0, < 2.0.0) hashdiff (>= 0.4.0, < 2.0.0)
@@ -248,7 +248,7 @@ PLATFORMS
DEPENDENCIES DEPENDENCIES
bootsnap bootsnap
bootstrap (~> 4.5.2) bootstrap (~> 4.5.3)
bootstrap_form (~> 4.5) bootstrap_form (~> 4.5)
codacy-coverage codacy-coverage
coffee-rails (~> 5.0.0) coffee-rails (~> 5.0.0)
@@ -265,7 +265,7 @@ DEPENDENCIES
rails-controller-testing rails-controller-testing
rails-i18n (~> 6.0.0) rails-i18n (~> 6.0.0)
sassc-rails (~> 2.1.2) sassc-rails (~> 2.1.2)
sdoc (~> 2.0.0) sdoc (~> 2.0.2)
sqlite3 (~> 1.4.1) sqlite3 (~> 1.4.1)
turbolinks (~> 5.2.1) turbolinks (~> 5.2.1)
tzinfo-data tzinfo-data

View File

@@ -1,7 +1,7 @@
Projekt Euler Projekt Euler
============= =============
[![Build Status](https://travis-ci.com/projekteuler/projekteuler.svg?branch=master)](https://travis-ci.org/projekteuler/projekteuler) ![Build Status](https://github.com/projekteuler/projekteuler/workflows/CI/badge.svg)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/68921bff5347435f8fff10c1d6872568)](https://www.codacy.com/app/projekteuler/projekteuler) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/68921bff5347435f8fff10c1d6872568)](https://www.codacy.com/app/projekteuler/projekteuler)
This is the Ruby on Rails web-app powering [projekteuler.de](https://projekteuler.de). This is the Ruby on Rails web-app powering [projekteuler.de](https://projekteuler.de).