mirror of
https://github.com/projekteuler/projekteuler.git
synced 2025-12-10 16:46:42 +01:00
Compare commits
15 Commits
a6fc3a51f1
...
86a7b6525d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
86a7b6525d | ||
| 21c018ddce | |||
|
|
d2940d667d | ||
| 12a633bc54 | |||
|
|
5780c64643 | ||
| a6d74cd0da | |||
| e7d739c212 | |||
| 2f734d851e | |||
|
|
49fc0ea601 | ||
|
|
a0a010e53b | ||
| 8f72d768f1 | |||
| 2e2e419938 | |||
|
|
62616d1865 | ||
| 686e8d9f46 | |||
|
|
067a7ba907 |
8
Gemfile
8
Gemfile
@ -2,7 +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.2'
|
gem 'rails', '6.1.3'
|
||||||
# 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'
|
||||||
|
|
||||||
@ -30,9 +30,9 @@ gem 'jquery-rails', '~> 4.4.0'
|
|||||||
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
|
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
|
||||||
gem 'turbolinks', '~> 5.2.1'
|
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.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.0.3', 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.4.1', group: :development
|
gem 'listen', '~> 3.4.1', group: :development
|
||||||
@ -40,7 +40,7 @@ gem 'listen', '~> 3.4.1', group: :development
|
|||||||
# Use Codacy for coverage
|
# Use Codacy for coverage
|
||||||
gem 'codacy-coverage', :require => false
|
gem 'codacy-coverage', :require => false
|
||||||
|
|
||||||
gem 'bootstrap', '~> 4.5.3'
|
gem 'bootstrap', '~> 4.6.0'
|
||||||
gem "bootstrap_form", "~> 4.5"
|
gem "bootstrap_form", "~> 4.5"
|
||||||
gem 'font-awesome-sass', '~> 5.15.1'
|
gem 'font-awesome-sass', '~> 5.15.1'
|
||||||
|
|
||||||
|
|||||||
140
Gemfile.lock
140
Gemfile.lock
@ -1,60 +1,60 @@
|
|||||||
GEM
|
GEM
|
||||||
remote: https://rubygems.org/
|
remote: https://rubygems.org/
|
||||||
specs:
|
specs:
|
||||||
actioncable (6.1.2)
|
actioncable (6.1.3)
|
||||||
actionpack (= 6.1.2)
|
actionpack (= 6.1.3)
|
||||||
activesupport (= 6.1.2)
|
activesupport (= 6.1.3)
|
||||||
nio4r (~> 2.0)
|
nio4r (~> 2.0)
|
||||||
websocket-driver (>= 0.6.1)
|
websocket-driver (>= 0.6.1)
|
||||||
actionmailbox (6.1.2)
|
actionmailbox (6.1.3)
|
||||||
actionpack (= 6.1.2)
|
actionpack (= 6.1.3)
|
||||||
activejob (= 6.1.2)
|
activejob (= 6.1.3)
|
||||||
activerecord (= 6.1.2)
|
activerecord (= 6.1.3)
|
||||||
activestorage (= 6.1.2)
|
activestorage (= 6.1.3)
|
||||||
activesupport (= 6.1.2)
|
activesupport (= 6.1.3)
|
||||||
mail (>= 2.7.1)
|
mail (>= 2.7.1)
|
||||||
actionmailer (6.1.2)
|
actionmailer (6.1.3)
|
||||||
actionpack (= 6.1.2)
|
actionpack (= 6.1.3)
|
||||||
actionview (= 6.1.2)
|
actionview (= 6.1.3)
|
||||||
activejob (= 6.1.2)
|
activejob (= 6.1.3)
|
||||||
activesupport (= 6.1.2)
|
activesupport (= 6.1.3)
|
||||||
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.2)
|
actionpack (6.1.3)
|
||||||
actionview (= 6.1.2)
|
actionview (= 6.1.3)
|
||||||
activesupport (= 6.1.2)
|
activesupport (= 6.1.3)
|
||||||
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.2)
|
actiontext (6.1.3)
|
||||||
actionpack (= 6.1.2)
|
actionpack (= 6.1.3)
|
||||||
activerecord (= 6.1.2)
|
activerecord (= 6.1.3)
|
||||||
activestorage (= 6.1.2)
|
activestorage (= 6.1.3)
|
||||||
activesupport (= 6.1.2)
|
activesupport (= 6.1.3)
|
||||||
nokogiri (>= 1.8.5)
|
nokogiri (>= 1.8.5)
|
||||||
actionview (6.1.2)
|
actionview (6.1.3)
|
||||||
activesupport (= 6.1.2)
|
activesupport (= 6.1.3)
|
||||||
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.2)
|
activejob (6.1.3)
|
||||||
activesupport (= 6.1.2)
|
activesupport (= 6.1.3)
|
||||||
globalid (>= 0.3.6)
|
globalid (>= 0.3.6)
|
||||||
activemodel (6.1.2)
|
activemodel (6.1.3)
|
||||||
activesupport (= 6.1.2)
|
activesupport (= 6.1.3)
|
||||||
activerecord (6.1.2)
|
activerecord (6.1.3)
|
||||||
activemodel (= 6.1.2)
|
activemodel (= 6.1.3)
|
||||||
activesupport (= 6.1.2)
|
activesupport (= 6.1.3)
|
||||||
activestorage (6.1.2)
|
activestorage (6.1.3)
|
||||||
actionpack (= 6.1.2)
|
actionpack (= 6.1.3)
|
||||||
activejob (= 6.1.2)
|
activejob (= 6.1.3)
|
||||||
activerecord (= 6.1.2)
|
activerecord (= 6.1.3)
|
||||||
activesupport (= 6.1.2)
|
activesupport (= 6.1.3)
|
||||||
marcel (~> 0.3.1)
|
marcel (~> 0.3.1)
|
||||||
mimemagic (~> 0.3.2)
|
mimemagic (~> 0.3.2)
|
||||||
activesupport (6.1.2)
|
activesupport (6.1.3)
|
||||||
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)
|
||||||
@ -62,13 +62,13 @@ GEM
|
|||||||
zeitwerk (~> 2.3)
|
zeitwerk (~> 2.3)
|
||||||
addressable (2.7.0)
|
addressable (2.7.0)
|
||||||
public_suffix (>= 2.0.2, < 5.0)
|
public_suffix (>= 2.0.2, < 5.0)
|
||||||
autoprefixer-rails (10.0.2.0)
|
autoprefixer-rails (10.2.4.0)
|
||||||
execjs
|
execjs
|
||||||
bcrypt (3.1.16)
|
bcrypt (3.1.16)
|
||||||
bindex (0.8.1)
|
bindex (0.8.1)
|
||||||
bootsnap (1.7.2)
|
bootsnap (1.7.3)
|
||||||
msgpack (~> 1.0)
|
msgpack (~> 1.0)
|
||||||
bootstrap (4.5.3)
|
bootstrap (4.6.0)
|
||||||
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)
|
||||||
@ -102,16 +102,16 @@ GEM
|
|||||||
execjs (2.7.0)
|
execjs (2.7.0)
|
||||||
faraday (1.0.0)
|
faraday (1.0.0)
|
||||||
multipart-post (>= 1.2, < 3)
|
multipart-post (>= 1.2, < 3)
|
||||||
ffi (1.14.2)
|
ffi (1.15.0)
|
||||||
font-awesome-sass (5.15.1)
|
font-awesome-sass (5.15.1)
|
||||||
sassc (>= 1.11)
|
sassc (>= 1.11)
|
||||||
globalid (0.4.2)
|
globalid (0.4.2)
|
||||||
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.8)
|
i18n (1.8.9)
|
||||||
concurrent-ruby (~> 1.0)
|
concurrent-ruby (~> 1.0)
|
||||||
jbuilder (2.10.1)
|
jbuilder (2.11.2)
|
||||||
activesupport (>= 5.0.0)
|
activesupport (>= 5.0.0)
|
||||||
jquery-rails (4.4.0)
|
jquery-rails (4.4.0)
|
||||||
rails-dom-testing (>= 1, < 3)
|
rails-dom-testing (>= 1, < 3)
|
||||||
@ -129,17 +129,19 @@ GEM
|
|||||||
marcel (0.3.3)
|
marcel (0.3.3)
|
||||||
mimemagic (~> 0.3.2)
|
mimemagic (~> 0.3.2)
|
||||||
method_source (1.0.0)
|
method_source (1.0.0)
|
||||||
mimemagic (0.3.5)
|
mimemagic (0.3.10)
|
||||||
|
nokogiri (~> 1)
|
||||||
|
rake
|
||||||
mini_mime (1.0.2)
|
mini_mime (1.0.2)
|
||||||
mini_portile2 (2.5.0)
|
mini_portile2 (2.5.0)
|
||||||
minitest (5.14.3)
|
minitest (5.14.4)
|
||||||
msgpack (1.4.2)
|
msgpack (1.4.2)
|
||||||
multi_json (1.14.1)
|
multi_json (1.14.1)
|
||||||
multi_xml (0.6.0)
|
multi_xml (0.6.0)
|
||||||
multipart-post (2.1.1)
|
multipart-post (2.1.1)
|
||||||
mysql2 (0.5.3)
|
mysql2 (0.5.3)
|
||||||
nio4r (2.5.5)
|
nio4r (2.5.5)
|
||||||
nokogiri (1.11.1)
|
nokogiri (1.11.2)
|
||||||
mini_portile2 (~> 2.5.0)
|
mini_portile2 (~> 2.5.0)
|
||||||
racc (~> 1.4)
|
racc (~> 1.4)
|
||||||
oauth2 (1.4.3)
|
oauth2 (1.4.3)
|
||||||
@ -164,20 +166,20 @@ GEM
|
|||||||
rack (2.2.3)
|
rack (2.2.3)
|
||||||
rack-test (1.1.0)
|
rack-test (1.1.0)
|
||||||
rack (>= 1.0, < 3)
|
rack (>= 1.0, < 3)
|
||||||
rails (6.1.2)
|
rails (6.1.3)
|
||||||
actioncable (= 6.1.2)
|
actioncable (= 6.1.3)
|
||||||
actionmailbox (= 6.1.2)
|
actionmailbox (= 6.1.3)
|
||||||
actionmailer (= 6.1.2)
|
actionmailer (= 6.1.3)
|
||||||
actionpack (= 6.1.2)
|
actionpack (= 6.1.3)
|
||||||
actiontext (= 6.1.2)
|
actiontext (= 6.1.3)
|
||||||
actionview (= 6.1.2)
|
actionview (= 6.1.3)
|
||||||
activejob (= 6.1.2)
|
activejob (= 6.1.3)
|
||||||
activemodel (= 6.1.2)
|
activemodel (= 6.1.3)
|
||||||
activerecord (= 6.1.2)
|
activerecord (= 6.1.3)
|
||||||
activestorage (= 6.1.2)
|
activestorage (= 6.1.3)
|
||||||
activesupport (= 6.1.2)
|
activesupport (= 6.1.3)
|
||||||
bundler (>= 1.15.0)
|
bundler (>= 1.15.0)
|
||||||
railties (= 6.1.2)
|
railties (= 6.1.3)
|
||||||
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)
|
||||||
@ -191,9 +193,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.2)
|
railties (6.1.3)
|
||||||
actionpack (= 6.1.2)
|
actionpack (= 6.1.3)
|
||||||
activesupport (= 6.1.2)
|
activesupport (= 6.1.3)
|
||||||
method_source
|
method_source
|
||||||
rake (>= 0.8.7)
|
rake (>= 0.8.7)
|
||||||
thor (~> 1.0)
|
thor (~> 1.0)
|
||||||
@ -201,7 +203,7 @@ 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.2.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)
|
||||||
@ -214,7 +216,7 @@ GEM
|
|||||||
sprockets (> 3.0)
|
sprockets (> 3.0)
|
||||||
sprockets-rails
|
sprockets-rails
|
||||||
tilt
|
tilt
|
||||||
sdoc (2.0.3)
|
sdoc (2.0.4)
|
||||||
rdoc (>= 5.0)
|
rdoc (>= 5.0)
|
||||||
simplecov (0.18.1)
|
simplecov (0.18.1)
|
||||||
docile (~> 1.1)
|
docile (~> 1.1)
|
||||||
@ -244,7 +246,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.11.2)
|
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)
|
||||||
@ -261,7 +263,7 @@ PLATFORMS
|
|||||||
|
|
||||||
DEPENDENCIES
|
DEPENDENCIES
|
||||||
bootsnap
|
bootsnap
|
||||||
bootstrap (~> 4.5.3)
|
bootstrap (~> 4.6.0)
|
||||||
bootstrap_form (~> 4.5)
|
bootstrap_form (~> 4.5)
|
||||||
codacy-coverage
|
codacy-coverage
|
||||||
coffee-rails (~> 5.0.0)
|
coffee-rails (~> 5.0.0)
|
||||||
@ -269,17 +271,17 @@ DEPENDENCIES
|
|||||||
diff-lcs
|
diff-lcs
|
||||||
diffy
|
diffy
|
||||||
font-awesome-sass (~> 5.15.1)
|
font-awesome-sass (~> 5.15.1)
|
||||||
jbuilder (~> 2.10.1)
|
jbuilder (~> 2.11.2)
|
||||||
jquery-rails (~> 4.4.0)
|
jquery-rails (~> 4.4.0)
|
||||||
listen (~> 3.4.1)
|
listen (~> 3.4.1)
|
||||||
mysql2 (~> 0.5.2)
|
mysql2 (~> 0.5.2)
|
||||||
omniauth
|
omniauth
|
||||||
omniauth-github
|
omniauth-github
|
||||||
rails (= 6.1.2)
|
rails (= 6.1.3)
|
||||||
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.3)
|
sdoc (~> 2.0.4)
|
||||||
sqlite3 (~> 1.4.1)
|
sqlite3 (~> 1.4.1)
|
||||||
turbolinks (~> 5.2.1)
|
turbolinks (~> 5.2.1)
|
||||||
tzinfo-data
|
tzinfo-data
|
||||||
|
|||||||
@ -3,7 +3,7 @@ class TranslationContentScrubber < Rails::Html::PermitScrubber
|
|||||||
super
|
super
|
||||||
self.tags = %w( strong em b i p code pre tt samp kbd var sub
|
self.tags = %w( strong em b i p code pre tt samp kbd var sub
|
||||||
sup dfn cite big small address hr br div span h1 h2 h3 h4 h5 h6 ul ol li dl dt dd abbr
|
sup dfn cite big small address hr br div span h1 h2 h3 h4 h5 h6 ul ol li dl dt dd abbr
|
||||||
acronym a img blockquote del ins table th tr td thead tbody tfoot )
|
acronym a img blockquote del ins table th tr td thead tbody tfoot u )
|
||||||
self.attributes = %w( href src width height alt cite datetime title class name xml:lang abbr style
|
self.attributes = %w( href src width height alt cite datetime title class name xml:lang abbr style
|
||||||
align border cellpadding cellspacing colspan )
|
align border cellpadding cellspacing colspan )
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user