1
0
mirror of https://github.com/projekteuler/projekteuler.git synced 2025-12-15 18:36:43 +01:00

Compare commits

..

1 Commits

Author SHA1 Message Date
dependabot-preview[bot]
2d0a90fb03
[Security] Bump omniauth from 1.9.1 to 2.0.4
Bumps [omniauth](https://github.com/omniauth/omniauth) from 1.9.1 to 2.0.4. **This update includes a security fix.**
- [Release notes](https://github.com/omniauth/omniauth/releases)
- [Commits](https://github.com/omniauth/omniauth/compare/v1.9.1...v2.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-08 06:15:18 +00:00
4 changed files with 92 additions and 86 deletions

13
Gemfile
View File

@ -2,9 +2,7 @@ source 'https://rubygems.org'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '6.1.3.2' gem 'rails', '6.1.3.1'
# Use Puma as the app server
gem 'puma', '~> 5.0'
# Use sqlite3 as the database for Active Record # Use sqlite3 as the database for Active Record
gem 'sqlite3', '~> 1.4.1' gem 'sqlite3', '~> 1.4.1'
@ -34,10 +32,13 @@ 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.11.2' gem 'jbuilder', '~> 2.11.2'
# 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.1.0', group: :doc gem 'sdoc', '~> 2.0.4', group: :doc
gem 'web-console', '~> 4.1.0', group: :development gem 'web-console', '~> 4.1.0', group: :development
gem 'listen', '~> 3.5.1', group: :development gem 'listen', '~> 3.5.0', group: :development
# Use Codacy for coverage
gem 'codacy-coverage', :require => false
gem 'bootstrap', '~> 4.5.3' gem 'bootstrap', '~> 4.5.3'
gem "bootstrap_form", "~> 4.5" gem "bootstrap_form", "~> 4.5"
@ -50,7 +51,7 @@ gem 'diff-lcs'
gem 'will_paginate', '~> 3.3.0' gem 'will_paginate', '~> 3.3.0'
gem 'will_paginate-bootstrap4', '~> 0.2.2' gem 'will_paginate-bootstrap4', '~> 0.2.2'
gem 'devise', '~> 4.8.0' gem 'devise', '~> 4.7.3'
gem 'omniauth' gem 'omniauth'
gem 'omniauth-github' gem 'omniauth-github'

View File

@ -1,60 +1,60 @@
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
actioncable (6.1.3.2) actioncable (6.1.3.1)
actionpack (= 6.1.3.2) actionpack (= 6.1.3.1)
activesupport (= 6.1.3.2) activesupport (= 6.1.3.1)
nio4r (~> 2.0) nio4r (~> 2.0)
websocket-driver (>= 0.6.1) websocket-driver (>= 0.6.1)
actionmailbox (6.1.3.2) actionmailbox (6.1.3.1)
actionpack (= 6.1.3.2) actionpack (= 6.1.3.1)
activejob (= 6.1.3.2) activejob (= 6.1.3.1)
activerecord (= 6.1.3.2) activerecord (= 6.1.3.1)
activestorage (= 6.1.3.2) activestorage (= 6.1.3.1)
activesupport (= 6.1.3.2) activesupport (= 6.1.3.1)
mail (>= 2.7.1) mail (>= 2.7.1)
actionmailer (6.1.3.2) actionmailer (6.1.3.1)
actionpack (= 6.1.3.2) actionpack (= 6.1.3.1)
actionview (= 6.1.3.2) actionview (= 6.1.3.1)
activejob (= 6.1.3.2) activejob (= 6.1.3.1)
activesupport (= 6.1.3.2) activesupport (= 6.1.3.1)
mail (~> 2.5, >= 2.5.4) mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0) rails-dom-testing (~> 2.0)
actionpack (6.1.3.2) actionpack (6.1.3.1)
actionview (= 6.1.3.2) actionview (= 6.1.3.1)
activesupport (= 6.1.3.2) activesupport (= 6.1.3.1)
rack (~> 2.0, >= 2.0.9) rack (~> 2.0, >= 2.0.9)
rack-test (>= 0.6.3) rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0) rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.2.0) rails-html-sanitizer (~> 1.0, >= 1.2.0)
actiontext (6.1.3.2) actiontext (6.1.3.1)
actionpack (= 6.1.3.2) actionpack (= 6.1.3.1)
activerecord (= 6.1.3.2) activerecord (= 6.1.3.1)
activestorage (= 6.1.3.2) activestorage (= 6.1.3.1)
activesupport (= 6.1.3.2) activesupport (= 6.1.3.1)
nokogiri (>= 1.8.5) nokogiri (>= 1.8.5)
actionview (6.1.3.2) actionview (6.1.3.1)
activesupport (= 6.1.3.2) activesupport (= 6.1.3.1)
builder (~> 3.1) builder (~> 3.1)
erubi (~> 1.4) erubi (~> 1.4)
rails-dom-testing (~> 2.0) rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.1, >= 1.2.0) rails-html-sanitizer (~> 1.1, >= 1.2.0)
activejob (6.1.3.2) activejob (6.1.3.1)
activesupport (= 6.1.3.2) activesupport (= 6.1.3.1)
globalid (>= 0.3.6) globalid (>= 0.3.6)
activemodel (6.1.3.2) activemodel (6.1.3.1)
activesupport (= 6.1.3.2) activesupport (= 6.1.3.1)
activerecord (6.1.3.2) activerecord (6.1.3.1)
activemodel (= 6.1.3.2) activemodel (= 6.1.3.1)
activesupport (= 6.1.3.2) activesupport (= 6.1.3.1)
activestorage (6.1.3.2) activestorage (6.1.3.1)
actionpack (= 6.1.3.2) actionpack (= 6.1.3.1)
activejob (= 6.1.3.2) activejob (= 6.1.3.1)
activerecord (= 6.1.3.2) activerecord (= 6.1.3.1)
activesupport (= 6.1.3.2) activesupport (= 6.1.3.1)
marcel (~> 1.0.0) marcel (~> 1.0.0)
mini_mime (~> 1.0.2) mini_mime (~> 1.0.2)
activesupport (6.1.3.2) activesupport (6.1.3.1)
concurrent-ruby (~> 1.0, >= 1.0.2) concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2) i18n (>= 1.6, < 2)
minitest (>= 5.1) minitest (>= 5.1)
@ -66,7 +66,7 @@ GEM
execjs execjs
bcrypt (3.1.16) bcrypt (3.1.16)
bindex (0.8.1) bindex (0.8.1)
bootsnap (1.7.5) bootsnap (1.7.3)
msgpack (~> 1.0) msgpack (~> 1.0)
bootstrap (4.5.3) bootstrap (4.5.3)
autoprefixer-rails (>= 9.1.0) autoprefixer-rails (>= 9.1.0)
@ -76,6 +76,8 @@ GEM
actionpack (>= 5.2) actionpack (>= 5.2)
activemodel (>= 5.2) activemodel (>= 5.2)
builder (3.2.4) builder (3.2.4)
codacy-coverage (2.2.1)
simplecov
coffee-rails (5.0.0) coffee-rails (5.0.0)
coffee-script (>= 2.2.0) coffee-script (>= 2.2.0)
railties (>= 5.2.0) railties (>= 5.2.0)
@ -87,7 +89,7 @@ GEM
crack (0.4.5) crack (0.4.5)
rexml rexml
crass (1.0.6) crass (1.0.6)
devise (4.8.0) devise (4.7.3)
bcrypt (~> 3.0) bcrypt (~> 3.0)
orm_adapter (~> 0.1) orm_adapter (~> 0.1)
railties (>= 4.1.0) railties (>= 4.1.0)
@ -95,17 +97,14 @@ GEM
warden (~> 1.2.3) warden (~> 1.2.3)
diff-lcs (1.4.4) diff-lcs (1.4.4)
diffy (3.4.0) diffy (3.4.0)
docile (1.3.2)
erubi (1.10.0) erubi (1.10.0)
execjs (2.7.0) execjs (2.7.0)
faraday (1.4.1) faraday (1.3.0)
faraday-excon (~> 1.1)
faraday-net_http (~> 1.0) faraday-net_http (~> 1.0)
faraday-net_http_persistent (~> 1.1)
multipart-post (>= 1.2, < 3) multipart-post (>= 1.2, < 3)
ruby2_keywords (>= 0.0.4) ruby2_keywords
faraday-excon (1.1.0)
faraday-net_http (1.0.1) faraday-net_http (1.0.1)
faraday-net_http_persistent (1.1.0)
ffi (1.15.0) ffi (1.15.0)
font-awesome-sass (5.15.1) font-awesome-sass (5.15.1)
sassc (>= 1.11) sassc (>= 1.11)
@ -113,7 +112,7 @@ GEM
activesupport (>= 4.2.0) activesupport (>= 4.2.0)
hashdiff (1.0.1) hashdiff (1.0.1)
hashie (4.1.0) hashie (4.1.0)
i18n (1.8.10) i18n (1.8.9)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
jbuilder (2.11.2) jbuilder (2.11.2)
activesupport (>= 5.0.0) activesupport (>= 5.0.0)
@ -121,19 +120,19 @@ GEM
rails-dom-testing (>= 1, < 3) rails-dom-testing (>= 1, < 3)
railties (>= 4.2.0) railties (>= 4.2.0)
thor (>= 0.14, < 2.0) thor (>= 0.14, < 2.0)
jwt (2.2.3) jwt (2.2.2)
listen (3.5.1) listen (3.5.0)
rb-fsevent (~> 0.10, >= 0.10.3) rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10) rb-inotify (~> 0.9, >= 0.9.10)
loofah (2.9.1) loofah (2.9.0)
crass (~> 1.0.2) crass (~> 1.0.2)
nokogiri (>= 1.5.9) nokogiri (>= 1.5.9)
mail (2.7.1) mail (2.7.1)
mini_mime (>= 0.1.1) mini_mime (>= 0.1.1)
marcel (1.0.1) marcel (1.0.0)
method_source (1.0.0) method_source (1.0.0)
mini_mime (1.0.3) mini_mime (1.0.3)
mini_portile2 (2.5.1) mini_portile2 (2.5.0)
minitest (5.14.4) minitest (5.14.4)
msgpack (1.4.2) msgpack (1.4.2)
multi_json (1.15.0) multi_json (1.15.0)
@ -141,7 +140,7 @@ GEM
multipart-post (2.1.1) multipart-post (2.1.1)
mysql2 (0.5.3) mysql2 (0.5.3)
nio4r (2.5.7) nio4r (2.5.7)
nokogiri (1.11.4) nokogiri (1.11.2)
mini_portile2 (~> 2.5.0) mini_portile2 (~> 2.5.0)
racc (~> 1.4) racc (~> 1.4)
oauth2 (1.4.7) oauth2 (1.4.7)
@ -163,28 +162,26 @@ GEM
orm_adapter (0.5.0) orm_adapter (0.5.0)
popper_js (1.16.0) popper_js (1.16.0)
public_suffix (4.0.6) public_suffix (4.0.6)
puma (5.3.1)
nio4r (~> 2.0)
racc (1.5.2) racc (1.5.2)
rack (2.2.3) rack (2.2.3)
rack-protection (2.1.0) rack-protection (2.1.0)
rack rack
rack-test (1.1.0) rack-test (1.1.0)
rack (>= 1.0, < 3) rack (>= 1.0, < 3)
rails (6.1.3.2) rails (6.1.3.1)
actioncable (= 6.1.3.2) actioncable (= 6.1.3.1)
actionmailbox (= 6.1.3.2) actionmailbox (= 6.1.3.1)
actionmailer (= 6.1.3.2) actionmailer (= 6.1.3.1)
actionpack (= 6.1.3.2) actionpack (= 6.1.3.1)
actiontext (= 6.1.3.2) actiontext (= 6.1.3.1)
actionview (= 6.1.3.2) actionview (= 6.1.3.1)
activejob (= 6.1.3.2) activejob (= 6.1.3.1)
activemodel (= 6.1.3.2) activemodel (= 6.1.3.1)
activerecord (= 6.1.3.2) activerecord (= 6.1.3.1)
activestorage (= 6.1.3.2) activestorage (= 6.1.3.1)
activesupport (= 6.1.3.2) activesupport (= 6.1.3.1)
bundler (>= 1.15.0) bundler (>= 1.15.0)
railties (= 6.1.3.2) railties (= 6.1.3.1)
sprockets-rails (>= 2.0.0) sprockets-rails (>= 2.0.0)
rails-controller-testing (1.0.5) rails-controller-testing (1.0.5)
actionpack (>= 5.0.1.rc1) actionpack (>= 5.0.1.rc1)
@ -198,9 +195,9 @@ GEM
rails-i18n (6.0.0) rails-i18n (6.0.0)
i18n (>= 0.7, < 2) i18n (>= 0.7, < 2)
railties (>= 6.0.0, < 7) railties (>= 6.0.0, < 7)
railties (6.1.3.2) railties (6.1.3.1)
actionpack (= 6.1.3.2) actionpack (= 6.1.3.1)
activesupport (= 6.1.3.2) activesupport (= 6.1.3.1)
method_source method_source
rake (>= 0.8.7) rake (>= 0.8.7)
thor (~> 1.0) thor (~> 1.0)
@ -208,11 +205,11 @@ GEM
rb-fsevent (0.10.4) rb-fsevent (0.10.4)
rb-inotify (0.10.1) rb-inotify (0.10.1)
ffi (~> 1.0) ffi (~> 1.0)
rdoc (6.3.1) rdoc (6.3.0)
responders (3.0.1) responders (3.0.1)
actionpack (>= 5.0) actionpack (>= 5.0)
railties (>= 5.0) railties (>= 5.0)
rexml (3.2.5) rexml (3.2.4)
ruby2_keywords (0.0.4) ruby2_keywords (0.0.4)
sassc (2.4.0) sassc (2.4.0)
ffi (~> 1.9) ffi (~> 1.9)
@ -222,8 +219,12 @@ GEM
sprockets (> 3.0) sprockets (> 3.0)
sprockets-rails sprockets-rails
tilt tilt
sdoc (2.1.0) sdoc (2.0.4)
rdoc (>= 5.0) rdoc (>= 5.0)
simplecov (0.18.1)
docile (~> 1.1)
simplecov-html (~> 0.11.0)
simplecov-html (0.11.0)
sprockets (4.0.2) sprockets (4.0.2)
concurrent-ruby (~> 1.0) concurrent-ruby (~> 1.0)
rack (> 1, < 3) rack (> 1, < 3)
@ -248,7 +249,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.13.0) webmock (3.12.1)
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)
@ -267,23 +268,23 @@ DEPENDENCIES
bootsnap bootsnap
bootstrap (~> 4.5.3) bootstrap (~> 4.5.3)
bootstrap_form (~> 4.5) bootstrap_form (~> 4.5)
codacy-coverage
coffee-rails (~> 5.0.0) coffee-rails (~> 5.0.0)
devise (~> 4.8.0) devise (~> 4.7.3)
diff-lcs diff-lcs
diffy diffy
font-awesome-sass (~> 5.15.1) font-awesome-sass (~> 5.15.1)
jbuilder (~> 2.11.2) jbuilder (~> 2.11.2)
jquery-rails (~> 4.4.0) jquery-rails (~> 4.4.0)
listen (~> 3.5.1) listen (~> 3.5.0)
mysql2 (~> 0.5.2) mysql2 (~> 0.5.2)
omniauth omniauth
omniauth-github omniauth-github
puma (~> 5.0) rails (= 6.1.3.1)
rails (= 6.1.3.2)
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.1.0) sdoc (~> 2.0.4)
sqlite3 (~> 1.4.1) sqlite3 (~> 1.4.1)
turbolinks (~> 5.2.1) turbolinks (~> 5.2.1)
tzinfo-data tzinfo-data
@ -294,4 +295,4 @@ DEPENDENCIES
will_paginate-bootstrap4 (~> 0.2.2) will_paginate-bootstrap4 (~> 0.2.2)
BUNDLED WITH BUNDLED WITH
2.2.17 2.1.4

View File

@ -2,6 +2,7 @@ Projekt Euler
============= =============
![Build Status](https://github.com/projekteuler/projekteuler/workflows/CI/badge.svg) ![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)
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).
It allows visitors to view and suggest German translations of the maths puzzles found on [projecteuler.net](https://projecteuler.net). It allows visitors to view and suggest German translations of the maths puzzles found on [projecteuler.net](https://projecteuler.net).

View File

@ -1,5 +1,8 @@
require 'codacy-coverage'
require 'webmock/minitest' require 'webmock/minitest'
Codacy::Reporter.start
ENV['RAILS_ENV'] ||= 'test' ENV['RAILS_ENV'] ||= 'test'
require File.expand_path('../../config/environment', __FILE__) require File.expand_path('../../config/environment', __FILE__)
require 'rails/test_help' require 'rails/test_help'