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

Compare commits

..

No commits in common. "e6986b85a91ca6935a5ab01f3444f08734900a58" and "d2c2273500b73e396efef1e9d6c17526dfc23a1c" have entirely different histories.

4 changed files with 89 additions and 79 deletions

13
Gemfile
View File

@ -2,9 +2,7 @@ source 'https://rubygems.org'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '6.1.3.2'
# Use Puma as the app server
gem 'puma', '~> 5.0'
gem 'rails', '6.1.3.1'
# Use sqlite3 as the database for Active Record
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
gem 'jbuilder', '~> 2.11.2'
# 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 '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_form", "~> 4.5"
@ -50,7 +51,7 @@ gem 'diff-lcs'
gem 'will_paginate', '~> 3.3.0'
gem 'will_paginate-bootstrap4', '~> 0.2.2'
gem 'devise', '~> 4.8.0'
gem 'devise', '~> 4.7.3'
gem 'omniauth'
gem 'omniauth-github'

View File

@ -1,60 +1,60 @@
GEM
remote: https://rubygems.org/
specs:
actioncable (6.1.3.2)
actionpack (= 6.1.3.2)
activesupport (= 6.1.3.2)
actioncable (6.1.3.1)
actionpack (= 6.1.3.1)
activesupport (= 6.1.3.1)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
actionmailbox (6.1.3.2)
actionpack (= 6.1.3.2)
activejob (= 6.1.3.2)
activerecord (= 6.1.3.2)
activestorage (= 6.1.3.2)
activesupport (= 6.1.3.2)
actionmailbox (6.1.3.1)
actionpack (= 6.1.3.1)
activejob (= 6.1.3.1)
activerecord (= 6.1.3.1)
activestorage (= 6.1.3.1)
activesupport (= 6.1.3.1)
mail (>= 2.7.1)
actionmailer (6.1.3.2)
actionpack (= 6.1.3.2)
actionview (= 6.1.3.2)
activejob (= 6.1.3.2)
activesupport (= 6.1.3.2)
actionmailer (6.1.3.1)
actionpack (= 6.1.3.1)
actionview (= 6.1.3.1)
activejob (= 6.1.3.1)
activesupport (= 6.1.3.1)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0)
actionpack (6.1.3.2)
actionview (= 6.1.3.2)
activesupport (= 6.1.3.2)
actionpack (6.1.3.1)
actionview (= 6.1.3.1)
activesupport (= 6.1.3.1)
rack (~> 2.0, >= 2.0.9)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.2.0)
actiontext (6.1.3.2)
actionpack (= 6.1.3.2)
activerecord (= 6.1.3.2)
activestorage (= 6.1.3.2)
activesupport (= 6.1.3.2)
actiontext (6.1.3.1)
actionpack (= 6.1.3.1)
activerecord (= 6.1.3.1)
activestorage (= 6.1.3.1)
activesupport (= 6.1.3.1)
nokogiri (>= 1.8.5)
actionview (6.1.3.2)
activesupport (= 6.1.3.2)
actionview (6.1.3.1)
activesupport (= 6.1.3.1)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.1, >= 1.2.0)
activejob (6.1.3.2)
activesupport (= 6.1.3.2)
activejob (6.1.3.1)
activesupport (= 6.1.3.1)
globalid (>= 0.3.6)
activemodel (6.1.3.2)
activesupport (= 6.1.3.2)
activerecord (6.1.3.2)
activemodel (= 6.1.3.2)
activesupport (= 6.1.3.2)
activestorage (6.1.3.2)
actionpack (= 6.1.3.2)
activejob (= 6.1.3.2)
activerecord (= 6.1.3.2)
activesupport (= 6.1.3.2)
activemodel (6.1.3.1)
activesupport (= 6.1.3.1)
activerecord (6.1.3.1)
activemodel (= 6.1.3.1)
activesupport (= 6.1.3.1)
activestorage (6.1.3.1)
actionpack (= 6.1.3.1)
activejob (= 6.1.3.1)
activerecord (= 6.1.3.1)
activesupport (= 6.1.3.1)
marcel (~> 1.0.0)
mini_mime (~> 1.0.2)
activesupport (6.1.3.2)
activesupport (6.1.3.1)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
@ -66,7 +66,7 @@ GEM
execjs
bcrypt (3.1.16)
bindex (0.8.1)
bootsnap (1.7.5)
bootsnap (1.7.3)
msgpack (~> 1.0)
bootstrap (4.5.3)
autoprefixer-rails (>= 9.1.0)
@ -76,6 +76,8 @@ GEM
actionpack (>= 5.2)
activemodel (>= 5.2)
builder (3.2.4)
codacy-coverage (2.2.1)
simplecov
coffee-rails (5.0.0)
coffee-script (>= 2.2.0)
railties (>= 5.2.0)
@ -87,7 +89,7 @@ GEM
crack (0.4.5)
rexml
crass (1.0.6)
devise (4.8.0)
devise (4.7.3)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 4.1.0)
@ -95,6 +97,7 @@ GEM
warden (~> 1.2.3)
diff-lcs (1.4.4)
diffy (3.4.0)
docile (1.3.2)
erubi (1.10.0)
execjs (2.7.0)
faraday (1.0.0)
@ -106,7 +109,7 @@ GEM
activesupport (>= 4.2.0)
hashdiff (1.0.1)
hashie (4.1.0)
i18n (1.8.10)
i18n (1.8.9)
concurrent-ruby (~> 1.0)
jbuilder (2.11.2)
activesupport (>= 5.0.0)
@ -115,18 +118,18 @@ GEM
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
jwt (2.2.1)
listen (3.5.1)
listen (3.5.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
loofah (2.9.1)
loofah (2.9.0)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
mail (2.7.1)
mini_mime (>= 0.1.1)
marcel (1.0.1)
marcel (1.0.0)
method_source (1.0.0)
mini_mime (1.0.3)
mini_portile2 (2.5.1)
mini_portile2 (2.5.0)
minitest (5.14.4)
msgpack (1.4.2)
multi_json (1.14.1)
@ -134,7 +137,7 @@ GEM
multipart-post (2.1.1)
mysql2 (0.5.3)
nio4r (2.5.7)
nokogiri (1.11.4)
nokogiri (1.11.2)
mini_portile2 (~> 2.5.0)
racc (~> 1.4)
oauth2 (1.4.3)
@ -155,26 +158,24 @@ GEM
orm_adapter (0.5.0)
popper_js (1.16.0)
public_suffix (4.0.6)
puma (5.3.1)
nio4r (~> 2.0)
racc (1.5.2)
rack (2.2.3)
rack-test (1.1.0)
rack (>= 1.0, < 3)
rails (6.1.3.2)
actioncable (= 6.1.3.2)
actionmailbox (= 6.1.3.2)
actionmailer (= 6.1.3.2)
actionpack (= 6.1.3.2)
actiontext (= 6.1.3.2)
actionview (= 6.1.3.2)
activejob (= 6.1.3.2)
activemodel (= 6.1.3.2)
activerecord (= 6.1.3.2)
activestorage (= 6.1.3.2)
activesupport (= 6.1.3.2)
rails (6.1.3.1)
actioncable (= 6.1.3.1)
actionmailbox (= 6.1.3.1)
actionmailer (= 6.1.3.1)
actionpack (= 6.1.3.1)
actiontext (= 6.1.3.1)
actionview (= 6.1.3.1)
activejob (= 6.1.3.1)
activemodel (= 6.1.3.1)
activerecord (= 6.1.3.1)
activestorage (= 6.1.3.1)
activesupport (= 6.1.3.1)
bundler (>= 1.15.0)
railties (= 6.1.3.2)
railties (= 6.1.3.1)
sprockets-rails (>= 2.0.0)
rails-controller-testing (1.0.5)
actionpack (>= 5.0.1.rc1)
@ -188,9 +189,9 @@ GEM
rails-i18n (6.0.0)
i18n (>= 0.7, < 2)
railties (>= 6.0.0, < 7)
railties (6.1.3.2)
actionpack (= 6.1.3.2)
activesupport (= 6.1.3.2)
railties (6.1.3.1)
actionpack (= 6.1.3.1)
activesupport (= 6.1.3.1)
method_source
rake (>= 0.8.7)
thor (~> 1.0)
@ -198,11 +199,11 @@ GEM
rb-fsevent (0.10.4)
rb-inotify (0.10.1)
ffi (~> 1.0)
rdoc (6.3.1)
rdoc (6.3.0)
responders (3.0.1)
actionpack (>= 5.0)
railties (>= 5.0)
rexml (3.2.5)
rexml (3.2.4)
sassc (2.4.0)
ffi (~> 1.9)
sassc-rails (2.1.2)
@ -211,8 +212,12 @@ GEM
sprockets (> 3.0)
sprockets-rails
tilt
sdoc (2.1.0)
sdoc (2.0.4)
rdoc (>= 5.0)
simplecov (0.18.1)
docile (~> 1.1)
simplecov-html (~> 0.11.0)
simplecov-html (0.11.0)
sprockets (4.0.2)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
@ -237,7 +242,7 @@ GEM
activemodel (>= 6.0.0)
bindex (>= 0.4.0)
railties (>= 6.0.0)
webmock (3.13.0)
webmock (3.12.1)
addressable (>= 2.3.6)
crack (>= 0.3.2)
hashdiff (>= 0.4.0, < 2.0.0)
@ -256,23 +261,23 @@ DEPENDENCIES
bootsnap
bootstrap (~> 4.5.3)
bootstrap_form (~> 4.5)
codacy-coverage
coffee-rails (~> 5.0.0)
devise (~> 4.8.0)
devise (~> 4.7.3)
diff-lcs
diffy
font-awesome-sass (~> 5.15.1)
jbuilder (~> 2.11.2)
jquery-rails (~> 4.4.0)
listen (~> 3.5.1)
listen (~> 3.5.0)
mysql2 (~> 0.5.2)
omniauth
omniauth-github
puma (~> 5.0)
rails (= 6.1.3.2)
rails (= 6.1.3.1)
rails-controller-testing
rails-i18n (~> 6.0.0)
sassc-rails (~> 2.1.2)
sdoc (~> 2.1.0)
sdoc (~> 2.0.4)
sqlite3 (~> 1.4.1)
turbolinks (~> 5.2.1)
tzinfo-data
@ -283,4 +288,4 @@ DEPENDENCIES
will_paginate-bootstrap4 (~> 0.2.2)
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)
[![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).
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'
Codacy::Reporter.start
ENV['RAILS_ENV'] ||= 'test'
require File.expand_path('../../config/environment', __FILE__)
require 'rails/test_help'