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

102 Commits

Author SHA1 Message Date
dependabot[bot]
6d69e3b993 Bump bootstrap from 5.0.1 to 5.1.0
Bumps [bootstrap](https://github.com/twbs/bootstrap-rubygem) from 5.0.1 to 5.1.0.
- [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/v5.0.1...v5.1.0)

---
updated-dependencies:
- dependency-name: bootstrap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-29 08:32:50 +00:00
ecef051a3b Merge pull request #233 from projekteuler/dependabot/bundler/bootsnap-1.9.1
Bump bootsnap from 1.7.7 to 1.9.1
2021-09-29 10:32:14 +02:00
37deaa5535 Merge pull request #230 from projekteuler/dependabot/bundler/listen-3.7.0
Bump listen from 3.6.0 to 3.7.0
2021-09-29 10:31:40 +02:00
0f44c84fd9 Merge pull request #234 from projekteuler/dependabot/bundler/nokogiri-1.12.5
Bump nokogiri from 1.11.7 to 1.12.5
2021-09-29 10:31:13 +02:00
58bfe3183d Merge pull request #227 from projekteuler/dependabot/bundler/will_paginate-3.3.1
Bump will_paginate from 3.3.0 to 3.3.1
2021-09-29 10:29:20 +02:00
dependabot[bot]
457df5438e Bump nokogiri from 1.11.7 to 1.12.5
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.11.7 to 1.12.5.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.11.7...v1.12.5)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-27 21:00:36 +00:00
dependabot[bot]
d09f32ccf0 Bump bootsnap from 1.7.7 to 1.9.1
Bumps [bootsnap](https://github.com/Shopify/bootsnap) from 1.7.7 to 1.9.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.7.7...v1.9.1)

---
updated-dependencies:
- dependency-name: bootsnap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-09-20 15:00:52 +00:00
dependabot[bot]
3a9287df53 Bump listen from 3.6.0 to 3.7.0
Bumps [listen](https://github.com/guard/listen) from 3.6.0 to 3.7.0.
- [Release notes](https://github.com/guard/listen/releases)
- [Commits](https://github.com/guard/listen/compare/v3.6.0...v3.7.0)

---
updated-dependencies:
- dependency-name: listen
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-23 15:00:48 +00:00
dependabot[bot]
d16ca761d9 Bump will_paginate from 3.3.0 to 3.3.1
Bumps [will_paginate](https://github.com/mislav/will_paginate) from 3.3.0 to 3.3.1.
- [Release notes](https://github.com/mislav/will_paginate/releases)
- [Commits](https://github.com/mislav/will_paginate/compare/v3.3.0...v3.3.1)

---
updated-dependencies:
- dependency-name: will_paginate
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-16 15:00:38 +00:00
4f7fa8ea47 Merge pull request #226 from projekteuler/dependabot/bundler/webmock-3.14.0
Bump webmock from 3.13.0 to 3.14.0
2021-08-09 21:14:41 +02:00
dependabot[bot]
683552a78f Bump webmock from 3.13.0 to 3.14.0
Bumps [webmock](https://github.com/bblimke/webmock) from 3.13.0 to 3.14.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.13.0...v3.14.0)

---
updated-dependencies:
- dependency-name: webmock
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-09 15:00:40 +00:00
0d3440c80f Merge pull request #224 from projekteuler/dependabot/bundler/bootsnap-1.7.7
Bump bootsnap from 1.7.5 to 1.7.7
2021-08-05 18:07:33 +02:00
afb3b0d1ee Merge pull request #225 from projekteuler/dependabot/bundler/puma-5.4.0
Bump puma from 5.3.2 to 5.4.0
2021-08-05 18:07:05 +02:00
dependabot[bot]
9255e84154 Bump puma from 5.3.2 to 5.4.0
Bumps [puma](https://github.com/puma/puma) from 5.3.2 to 5.4.0.
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/compare/v5.3.2...v5.4.0)

---
updated-dependencies:
- dependency-name: puma
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-02 15:00:55 +00:00
dependabot[bot]
2e714944c5 Bump bootsnap from 1.7.5 to 1.7.7
Bumps [bootsnap](https://github.com/Shopify/bootsnap) from 1.7.5 to 1.7.7.
- [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.7.5...v1.7.7)

---
updated-dependencies:
- dependency-name: bootsnap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-08-02 15:00:38 +00:00
89a5b83bf3 Merge pull request #223 from projekteuler/dependabot/bundler/listen-3.6.0
Bump listen from 3.5.1 to 3.6.0
2021-07-27 22:02:57 +02:00
dependabot[bot]
b2b2759713 Bump listen from 3.5.1 to 3.6.0
Bumps [listen](https://github.com/guard/listen) from 3.5.1 to 3.6.0.
- [Release notes](https://github.com/guard/listen/releases)
- [Commits](https://github.com/guard/listen/compare/v3.5.1...v3.6.0)

---
updated-dependencies:
- dependency-name: listen
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-26 15:00:51 +00:00
952c2fedd3 Merge pull request #221 from projekteuler/dependabot/bundler/rails-6.1.4
Bump rails from 6.1.3.2 to 6.1.4
2021-07-22 15:24:34 +02:00
dependabot[bot]
ddac1e3d89 Bump rails from 6.1.3.2 to 6.1.4
Bumps [rails](https://github.com/rails/rails) from 6.1.3.2 to 6.1.4.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](https://github.com/rails/rails/compare/v6.1.3.2...v6.1.4)

---
updated-dependencies:
- dependency-name: rails
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-22 13:19:45 +00:00
0e75ebffcf Merge pull request #220 from projekteuler/dependabot/bundler/puma-5.3.2
Bump puma from 5.3.1 to 5.3.2
2021-07-22 15:18:44 +02:00
8e02a171cc Merge pull request #219 from projekteuler/dependabot/bundler/sdoc-2.2.0
Bump sdoc from 2.1.0 to 2.2.0
2021-07-22 15:18:25 +02:00
1af8a98968 Merge pull request #222 from projekteuler/dependabot/bundler/addressable-2.8.0
Bump addressable from 2.7.0 to 2.8.0
2021-07-22 15:15:58 +02:00
dependabot[bot]
9f84df87ed Bump addressable from 2.7.0 to 2.8.0
Bumps [addressable](https://github.com/sporkmonger/addressable) from 2.7.0 to 2.8.0.
- [Release notes](https://github.com/sporkmonger/addressable/releases)
- [Changelog](https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sporkmonger/addressable/compare/addressable-2.7.0...addressable-2.8.0)

---
updated-dependencies:
- dependency-name: addressable
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-13 09:52:18 +00:00
dependabot[bot]
8825088a62 Bump puma from 5.3.1 to 5.3.2
Bumps [puma](https://github.com/puma/puma) from 5.3.1 to 5.3.2.
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/compare/v5.3.1...v5.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-24 05:01:31 +00:00
dependabot[bot]
c0c0e4701a Bump sdoc from 2.1.0 to 2.2.0
Bumps [sdoc](https://github.com/zzak/sdoc) from 2.1.0 to 2.2.0.
- [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[bot] <support@github.com>
2021-05-24 05:01:04 +00:00
9ddf16ccf0 Merge pull request #218 from projekteuler/uglifier-fix
Fix uglifier config
2021-05-23 17:48:24 +02:00
2c468610a4 Fix uglifier config 2021-05-23 17:42:38 +02:00
a47889e38f Merge pull request #214 from projekteuler/dependabot/bundler/bootstrap-5.0.1
Bump bootstrap from 4.5.3 to 5.0.1, and adjust HTML
2021-05-23 17:10:02 +02:00
e09a408d34 Update HTML for Bootstrap 5 2021-05-23 13:48:23 +02:00
87cdfccc6c Merge pull request #217 from projekteuler/ruby-3.0
Update Ruby version and Node action for CI
2021-05-20 10:01:31 +02:00
309c90820c Update Ruby version and Node action for CI 2021-05-20 09:53:13 +02:00
66a6fc6499 Merge pull request #207 from projekteuler/dependabot/add-v2-config-file
Upgrade to GitHub-native Dependabot
2021-05-20 09:46:42 +02:00
74446fb139 Adjust dependabot config 2021-05-20 09:39:10 +02:00
dependabot-preview[bot]
a358b829cb Bump bootstrap from 4.5.3 to 5.0.1
Bumps [bootstrap](https://github.com/twbs/bootstrap-rubygem) from 4.5.3 to 5.0.1.
- [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.3...v5.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-20 07:36:02 +00:00
c81a3c17ad Merge pull request #204 from projekteuler/dependabot/bundler/omniauth-2.0.4
[Security] Bump omniauth from 1.9.1 to 2.0.4
2021-05-20 09:34:32 +02:00
c81a590adb Fix broken OmniAuth login 2021-05-20 09:25:44 +02:00
dependabot-preview[bot]
a57eca5737 [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-05-19 20:38:49 +00:00
e6986b85a9 Merge pull request #216 from projekteuler/remove-codacy
Remove codacy, add puma
2021-05-19 22:36:48 +02:00
1af75a7f5d Remove codacy, add puma 2021-05-19 22:13:32 +02:00
469ef622ab Merge pull request #208 from projekteuler/dependabot/bundler/devise-4.8.0
Bump devise from 4.7.3 to 4.8.0
2021-05-19 21:38:53 +02:00
487faace6e Merge pull request #203 from projekteuler/dependabot/bundler/sdoc-2.1.0
Bump sdoc from 2.0.4 to 2.1.0
2021-05-19 21:31:59 +02:00
a49487c3b7 Merge pull request #211 from projekteuler/dependabot/bundler/rails-6.1.3.2
Bump rails from 6.1.3.1 to 6.1.3.2
2021-05-19 21:30:50 +02:00
dependabot-preview[bot]
6f10301192 Bump devise from 4.7.3 to 4.8.0
Bumps [devise](https://github.com/plataformatec/devise) from 4.7.3 to 4.8.0.
- [Release notes](https://github.com/plataformatec/devise/releases)
- [Changelog](https://github.com/heartcombo/devise/blob/master/CHANGELOG.md)
- [Commits](https://github.com/plataformatec/devise/compare/v4.7.3...v4.8.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-19 19:24:33 +00:00
393669bbde Merge pull request #213 from projekteuler/dependabot/bundler/webmock-3.13.0
Bump webmock from 3.12.1 to 3.13.0
2021-05-19 21:23:45 +02:00
4339ded7d3 Merge pull request #215 from projekteuler/dependabot/bundler/nokogiri-1.11.4
[Security] Bump nokogiri from 1.11.2 to 1.11.4
2021-05-19 21:22:54 +02:00
dependabot-preview[bot]
6ef8b772a9 Bump rails from 6.1.3.1 to 6.1.3.2
Bumps [rails](https://github.com/rails/rails) from 6.1.3.1 to 6.1.3.2.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](https://github.com/rails/rails/compare/v6.1.3.1...v6.1.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-19 19:22:50 +00:00
9cff35ff64 Merge pull request #209 from projekteuler/dependabot/bundler/rdoc-6.3.1
[Security] Bump rdoc from 6.3.0 to 6.3.1
2021-05-19 21:22:06 +02:00
dependabot-preview[bot]
3de48f0952 Bump sdoc from 2.0.4 to 2.1.0
Bumps [sdoc](https://github.com/zzak/sdoc) from 2.0.4 to 2.1.0.
- [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>
2021-05-19 19:21:24 +00:00
e5b5eace95 Merge pull request #206 from projekteuler/dependabot/bundler/rexml-3.2.5
[Security] Bump rexml from 3.2.4 to 3.2.5
2021-05-19 21:21:17 +02:00
0683e5657c Merge pull request #210 from projekteuler/dependabot/bundler/bootsnap-1.7.5
Bump bootsnap from 1.7.3 to 1.7.5
2021-05-19 21:20:39 +02:00
552bd7287a Merge pull request #202 from projekteuler/dependabot/bundler/listen-3.5.1
Bump listen from 3.5.0 to 3.5.1
2021-05-19 21:19:16 +02:00
dependabot-preview[bot]
467363aadc [Security] Bump nokogiri from 1.11.2 to 1.11.4
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.11.2 to 1.11.4. **This update includes a security fix.**
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.11.2...v1.11.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-17 21:34:32 +00:00
dependabot-preview[bot]
d3470f7679 Bump webmock from 3.12.1 to 3.13.0
Bumps [webmock](https://github.com/bblimke/webmock) from 3.12.1 to 3.13.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.12.1...v3.13.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-17 05:44:24 +00:00
dependabot-preview[bot]
6bd5d1d740 Bump bootsnap from 1.7.3 to 1.7.5
Bumps [bootsnap](https://github.com/Shopify/bootsnap) from 1.7.3 to 1.7.5.
- [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.7.3...v1.7.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-05 05:47:17 +00:00
dependabot-preview[bot]
787f6ed7f0 [Security] Bump rdoc from 6.3.0 to 6.3.1
Bumps [rdoc](https://github.com/ruby/rdoc) from 6.3.0 to 6.3.1. **This update includes a security fix.**
- [Release notes](https://github.com/ruby/rdoc/releases)
- [Changelog](https://github.com/ruby/rdoc/blob/master/History.rdoc)
- [Commits](https://github.com/ruby/rdoc/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-05-04 19:44:34 +00:00
dependabot-preview[bot]
ac41164417 Upgrade to GitHub-native Dependabot 2021-04-29 15:28:30 +00:00
dependabot-preview[bot]
8f6a7afd29 [Security] Bump rexml from 3.2.4 to 3.2.5
Bumps [rexml](https://github.com/ruby/rexml) from 3.2.4 to 3.2.5. **This update includes a security fix.**
- [Release notes](https://github.com/ruby/rexml/releases)
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md)
- [Commits](https://github.com/ruby/rexml/compare/v3.2.4...v3.2.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-04-29 02:28:57 +00:00
dependabot-preview[bot]
a52a25a21e Bump listen from 3.5.0 to 3.5.1
Bumps [listen](https://github.com/guard/listen) from 3.5.0 to 3.5.1.
- [Release notes](https://github.com/guard/listen/releases)
- [Commits](https://github.com/guard/listen/compare/v3.5.0...v3.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-31 05:54:26 +00:00
d2c2273500 Merge pull request #200 from projekteuler/dependabot/bundler/rails-6.1.3.1
Bump rails from 6.1.3 to 6.1.3.1
2021-03-29 13:34:19 +02:00
dependabot-preview[bot]
6b60d32314 Bump rails from 6.1.3 to 6.1.3.1
Bumps [rails](https://github.com/rails/rails) from 6.1.3 to 6.1.3.1.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](https://github.com/rails/rails/compare/v6.1.3...v6.1.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-29 06:16:37 +00:00
dfd86af95e Merge pull request #199 from projekteuler/dependabot/bundler/listen-3.5.0
Bump listen from 3.4.1 to 3.5.0
2021-03-27 09:38:57 +01:00
21c018ddce Merge pull request #198 from projekteuler/dependabot/bundler/bootsnap-1.7.3
Bump bootsnap from 1.7.2 to 1.7.3
2021-03-27 09:38:08 +01:00
dependabot-preview[bot]
1ad6a3ecc5 Bump listen from 3.4.1 to 3.5.0
Bumps [listen](https://github.com/guard/listen) from 3.4.1 to 3.5.0.
- [Release notes](https://github.com/guard/listen/releases)
- [Commits](https://github.com/guard/listen/compare/v3.4.1...v3.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-24 05:49:12 +00:00
dependabot-preview[bot]
d2940d667d Bump bootsnap from 1.7.2 to 1.7.3
Bumps [bootsnap](https://github.com/Shopify/bootsnap) from 1.7.2 to 1.7.3.
- [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.7.2...v1.7.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-23 07:39:06 +00:00
12a633bc54 Merge pull request #197 from projekteuler/dependabot/bundler/webmock-3.12.1
Bump webmock from 3.12.0 to 3.12.1
2021-03-21 13:50:47 +01:00
dependabot-preview[bot]
5780c64643 Bump webmock from 3.12.0 to 3.12.1
Bumps [webmock](https://github.com/bblimke/webmock) from 3.12.0 to 3.12.1.
- [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.12.0...v3.12.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-08 06:06:04 +00:00
a6d74cd0da Merge pull request #191 from projekteuler/dependabot/bundler/rails-6.1.3
Bump rails from 6.1.2 to 6.1.3
2021-03-01 11:24:59 +01:00
e7d739c212 Merge pull request #195 from projekteuler/dependabot/bundler/sdoc-2.0.4
Bump sdoc from 2.0.3 to 2.0.4
2021-03-01 11:23:43 +01:00
2f734d851e Merge pull request #196 from projekteuler/dependabot/bundler/webmock-3.12.0
Bump webmock from 3.11.2 to 3.12.0
2021-03-01 11:23:14 +01:00
dependabot-preview[bot]
49fc0ea601 Bump webmock from 3.11.2 to 3.12.0
Bumps [webmock](https://github.com/bblimke/webmock) from 3.11.2 to 3.12.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.11.2...v3.12.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-01 07:40:40 +00:00
dependabot-preview[bot]
a0a010e53b Bump sdoc from 2.0.3 to 2.0.4
Bumps [sdoc](https://github.com/zzak/sdoc) from 2.0.3 to 2.0.4.
- [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>
2021-02-26 06:33:49 +00:00
8f72d768f1 Merge pull request #193 from projekteuler/support-underline
Support underline in translations
2021-02-22 15:29:29 +01:00
2e2e419938 Support underline in translations 2021-02-22 15:24:28 +01:00
dependabot-preview[bot]
62616d1865 Bump rails from 6.1.2 to 6.1.3
Bumps [rails](https://github.com/rails/rails) from 6.1.2 to 6.1.3.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](https://github.com/rails/rails/compare/v6.1.2...v6.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-18 05:50:50 +00:00
686e8d9f46 Merge pull request #183 from projekteuler/dependabot/bundler/jbuilder-2.11.2
Bump jbuilder from 2.10.1 to 2.11.2
2021-02-10 10:47:32 +01:00
dependabot-preview[bot]
067a7ba907 Bump jbuilder from 2.10.1 to 2.11.2
Bumps [jbuilder](https://github.com/rails/jbuilder) from 2.10.1 to 2.11.2.
- [Release notes](https://github.com/rails/jbuilder/releases)
- [Changelog](https://github.com/rails/jbuilder/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rails/jbuilder/compare/v2.10.1...v2.11.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-10 09:41:23 +00:00
a18efbf70c Merge pull request #188 from projekteuler/dependabot/bundler/bootsnap-1.7.2
Bump bootsnap from 1.7.1 to 1.7.2
2021-02-10 10:40:34 +01:00
feb7a3955d Merge pull request #189 from projekteuler/dependabot/bundler/rails-6.1.2
Bump rails from 6.1.1 to 6.1.2
2021-02-10 10:39:57 +01:00
dependabot-preview[bot]
f313957284 Bump rails from 6.1.1 to 6.1.2
Bumps [rails](https://github.com/rails/rails) from 6.1.1 to 6.1.2.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](https://github.com/rails/rails/compare/v6.1.1...v6.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-10 05:53:12 +00:00
dependabot-preview[bot]
e59e9da896 Bump bootsnap from 1.7.1 to 1.7.2
Bumps [bootsnap](https://github.com/Shopify/bootsnap) from 1.7.1 to 1.7.2.
- [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.7.1...v1.7.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-09 05:49:37 +00:00
2b659a62ca Merge pull request #187 from projekteuler/dependabot/bundler/bootsnap-1.7.1
Bump bootsnap from 1.7.0 to 1.7.1
2021-02-07 11:19:12 +01:00
dependabot-preview[bot]
923d4ce9f6 Bump bootsnap from 1.7.0 to 1.7.1
Bumps [bootsnap](https://github.com/Shopify/bootsnap) from 1.7.0 to 1.7.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.7.0...v1.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-05 05:50:03 +00:00
6a7094667e Merge pull request #184 from projekteuler/dependabot/bundler/webmock-3.11.2
Bump webmock from 3.11.1 to 3.11.2
2021-02-02 10:18:15 +01:00
48a6a31cd1 Merge pull request #185 from projekteuler/dependabot/bundler/bootsnap-1.7.0
Bump bootsnap from 1.5.1 to 1.7.0
2021-02-02 10:17:32 +01:00
dependabot-preview[bot]
46d14c843e Bump bootsnap from 1.5.1 to 1.7.0
Bumps [bootsnap](https://github.com/Shopify/bootsnap) from 1.5.1 to 1.7.0.
- [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.1...v1.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-02 05:50:55 +00:00
dependabot-preview[bot]
4b04234c71 Bump webmock from 3.11.1 to 3.11.2
Bumps [webmock](https://github.com/bblimke/webmock) from 3.11.1 to 3.11.2.
- [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.11.1...v3.11.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-01 06:14:53 +00:00
54c4b24880 Merge pull request #178 from projekteuler/dependabot/bundler/listen-3.4.1
Bump listen from 3.4.0 to 3.4.1
2021-01-15 11:27:16 +01:00
dependabot-preview[bot]
9316b89430 Bump listen from 3.4.0 to 3.4.1
Bumps [listen](https://github.com/guard/listen) from 3.4.0 to 3.4.1.
- [Release notes](https://github.com/guard/listen/releases)
- [Commits](https://github.com/guard/listen/compare/v3.4.0...v3.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-15 05:57:12 +00:00
f26ed021eb Merge pull request #177 from projekteuler/dependabot/bundler/webmock-3.11.1
Bump webmock from 3.11.0 to 3.11.1
2021-01-14 08:26:42 +01:00
dependabot-preview[bot]
e97cf8eafa Bump webmock from 3.11.0 to 3.11.1
Bumps [webmock](https://github.com/bblimke/webmock) from 3.11.0 to 3.11.1.
- [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.11.0...v3.11.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-14 07:18:14 +00:00
bb6a68417a Merge pull request #176 from projekteuler/dependabot/bundler/listen-3.4.0
Bump listen from 3.1.5 to 3.4.0
2021-01-14 08:16:54 +01:00
dependabot-preview[bot]
c7dbaea090 Bump listen from 3.1.5 to 3.4.0
Bumps [listen](https://github.com/guard/listen) from 3.1.5 to 3.4.0.
- [Release notes](https://github.com/guard/listen/releases)
- [Commits](https://github.com/guard/listen/compare/v3.1.5...v3.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-14 05:59:21 +00:00
7c95126a96 Merge pull request #174 from projekteuler/dependabot/bundler/rails-6.1.1
Bump rails from 6.0.3.4 to 6.1.1
2021-01-13 21:45:30 +01:00
cb3c05b9a6 Update files for Rails 6.1 2021-01-13 21:13:14 +01:00
dependabot-preview[bot]
047515d288 Bump rails from 6.0.3.4 to 6.1.1
Bumps [rails](https://github.com/rails/rails) from 6.0.3.4 to 6.1.1.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](https://github.com/rails/rails/compare/v6.0.3.4...v6.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-08 06:10:21 +00:00
de47c81f5c Merge pull request #171 from projekteuler/dependabot/bundler/webmock-3.11.0
Bump webmock from 3.10.0 to 3.11.0
2021-01-07 10:27:45 +01:00
2cda24dcdb Merge pull request #170 from projekteuler/dependabot/bundler/sdoc-2.0.3
Bump sdoc from 2.0.2 to 2.0.3
2021-01-07 10:27:18 +01:00
7db0dfe75c Merge pull request #173 from projekteuler/dependabot/bundler/nokogiri-1.11.1
[Security] Bump nokogiri from 1.10.10 to 1.11.1
2021-01-07 10:26:49 +01:00
dependabot-preview[bot]
555e11e7b7 [Security] Bump nokogiri from 1.10.10 to 1.11.1
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.10.10 to 1.11.1. **This update includes security fixes.**
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.10.10...v1.11.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-06 06:12:46 +00:00
dependabot-preview[bot]
94c4ec9657 Bump webmock from 3.10.0 to 3.11.0
Bumps [webmock](https://github.com/bblimke/webmock) from 3.10.0 to 3.11.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.10.0...v3.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-21 06:12:20 +00:00
dependabot-preview[bot]
a17827e1ec Bump sdoc from 2.0.2 to 2.0.3
Bumps [sdoc](https://github.com/zzak/sdoc) from 2.0.2 to 2.0.3.
- [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-12-14 06:22:27 +00:00
2f8dd8d489 Merge pull request #168 from projekteuler/use-github-actions
Use Github Actions for tests
2020-12-08 12:21:55 +01:00
29 changed files with 318 additions and 235 deletions

7
.github/dependabot.yml vendored Normal file
View File

@@ -0,0 +1,7 @@
version: 2
updates:
- package-ecosystem: bundler
directory: "/"
schedule:
interval: weekly
open-pull-requests-limit: 10

View File

@@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
ruby: ['2.5', '2.6', '2.7']
ruby: ['2.6', '2.7', '3.0']
steps:
- uses: actions/checkout@v2
- name: Set up Ruby ${{ matrix.ruby }}
@@ -17,7 +17,7 @@ jobs:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Set up Node
uses: actions/setup-node@v2-beta
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install dependencies

19
Gemfile
View File

@@ -2,7 +2,9 @@ source 'https://rubygems.org'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '6.0.3.4'
gem 'rails', '6.1.4'
# Use Puma as the app server
gem 'puma', '~> 5.4'
# Use sqlite3 as the database for Active Record
gem 'sqlite3', '~> 1.4.1'
@@ -30,16 +32,14 @@ gem 'jquery-rails', '~> 4.4.0'
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
gem 'turbolinks', '~> 5.2.1'
# 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.
gem 'sdoc', '~> 2.0.2', group: :doc
gem 'sdoc', '~> 2.2.0', group: :doc
gem 'web-console', '~> 4.1.0', group: :development
gem 'listen', '~> 3.7.0', group: :development
# Use Codacy for coverage
gem 'codacy-coverage', :require => false
gem 'bootstrap', '~> 4.5.3'
gem 'bootstrap', '~> 5.1.0'
gem "bootstrap_form", "~> 4.5"
gem 'font-awesome-sass', '~> 5.15.1'
@@ -47,11 +47,12 @@ gem 'font-awesome-sass', '~> 5.15.1'
gem 'diffy'
gem 'diff-lcs'
gem 'will_paginate', '~> 3.3.0'
gem 'will_paginate', '~> 3.3.1'
gem 'will_paginate-bootstrap4', '~> 0.2.2'
gem 'devise', '~> 4.7.3'
gem 'devise', '~> 4.8.0'
gem 'omniauth'
gem 'omniauth-rails_csrf_protection'
gem 'omniauth-github'
# Use ActiveModel has_secure_password

View File

@@ -1,79 +1,81 @@
GEM
remote: https://rubygems.org/
specs:
actioncable (6.0.3.4)
actionpack (= 6.0.3.4)
actioncable (6.1.4)
actionpack (= 6.1.4)
activesupport (= 6.1.4)
nio4r (~> 2.0)
websocket-driver (>= 0.6.1)
actionmailbox (6.0.3.4)
actionpack (= 6.0.3.4)
activejob (= 6.0.3.4)
activerecord (= 6.0.3.4)
activestorage (= 6.0.3.4)
activesupport (= 6.0.3.4)
actionmailbox (6.1.4)
actionpack (= 6.1.4)
activejob (= 6.1.4)
activerecord (= 6.1.4)
activestorage (= 6.1.4)
activesupport (= 6.1.4)
mail (>= 2.7.1)
actionmailer (6.0.3.4)
actionpack (= 6.0.3.4)
actionview (= 6.0.3.4)
activejob (= 6.0.3.4)
actionmailer (6.1.4)
actionpack (= 6.1.4)
actionview (= 6.1.4)
activejob (= 6.1.4)
activesupport (= 6.1.4)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0)
actionpack (6.0.3.4)
actionview (= 6.0.3.4)
activesupport (= 6.0.3.4)
rack (~> 2.0, >= 2.0.8)
actionpack (6.1.4)
actionview (= 6.1.4)
activesupport (= 6.1.4)
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.0.3.4)
actionpack (= 6.0.3.4)
activerecord (= 6.0.3.4)
activestorage (= 6.0.3.4)
activesupport (= 6.0.3.4)
actiontext (6.1.4)
actionpack (= 6.1.4)
activerecord (= 6.1.4)
activestorage (= 6.1.4)
activesupport (= 6.1.4)
nokogiri (>= 1.8.5)
actionview (6.0.3.4)
activesupport (= 6.0.3.4)
actionview (6.1.4)
activesupport (= 6.1.4)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.1, >= 1.2.0)
activejob (6.0.3.4)
activesupport (= 6.0.3.4)
activejob (6.1.4)
activesupport (= 6.1.4)
globalid (>= 0.3.6)
activemodel (6.0.3.4)
activesupport (= 6.0.3.4)
activerecord (6.0.3.4)
activemodel (= 6.0.3.4)
activesupport (= 6.0.3.4)
activestorage (6.0.3.4)
actionpack (= 6.0.3.4)
activejob (= 6.0.3.4)
activerecord (= 6.0.3.4)
marcel (~> 0.3.1)
activesupport (6.0.3.4)
activemodel (6.1.4)
activesupport (= 6.1.4)
activerecord (6.1.4)
activemodel (= 6.1.4)
activesupport (= 6.1.4)
activestorage (6.1.4)
actionpack (= 6.1.4)
activejob (= 6.1.4)
activerecord (= 6.1.4)
activesupport (= 6.1.4)
marcel (~> 1.0.0)
mini_mime (>= 1.1.0)
activesupport (6.1.4)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
zeitwerk (~> 2.2, >= 2.2.2)
addressable (2.7.0)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
tzinfo (~> 2.0)
zeitwerk (~> 2.3)
addressable (2.8.0)
public_suffix (>= 2.0.2, < 5.0)
autoprefixer-rails (10.0.2.0)
execjs
autoprefixer-rails (10.3.3.0)
execjs (~> 2)
bcrypt (3.1.16)
bindex (0.8.1)
bootsnap (1.5.1)
bootsnap (1.9.1)
msgpack (~> 1.0)
bootstrap (4.5.3)
bootstrap (5.1.0)
autoprefixer-rails (>= 9.1.0)
popper_js (>= 1.14.3, < 2)
popper_js (>= 2.9.3, < 3)
sassc-rails (>= 2.0.0)
bootstrap_form (4.5.0)
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)
@@ -81,10 +83,11 @@ GEM
coffee-script-source
execjs
coffee-script-source (1.12.2)
concurrent-ruby (1.1.7)
crack (0.4.4)
concurrent-ruby (1.1.9)
crack (0.4.5)
rexml
crass (1.0.6)
devise (4.7.3)
devise (4.8.0)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 4.1.0)
@@ -92,82 +95,99 @@ GEM
warden (~> 1.2.3)
diff-lcs (1.4.4)
diffy (3.4.0)
docile (1.3.2)
erubi (1.9.0)
execjs (2.7.0)
faraday (1.0.0)
erubi (1.10.0)
execjs (2.8.1)
faraday (1.4.1)
faraday-excon (~> 1.1)
faraday-net_http (~> 1.0)
faraday-net_http_persistent (~> 1.1)
multipart-post (>= 1.2, < 3)
ffi (1.13.1)
ruby2_keywords (>= 0.0.4)
faraday-excon (1.1.0)
faraday-net_http (1.0.1)
faraday-net_http_persistent (1.1.0)
ffi (1.15.4)
font-awesome-sass (5.15.1)
sassc (>= 1.11)
globalid (0.4.2)
activesupport (>= 4.2.0)
hashdiff (1.0.1)
hashie (4.1.0)
i18n (1.8.5)
i18n (1.8.10)
concurrent-ruby (~> 1.0)
jbuilder (2.10.1)
jbuilder (2.11.2)
activesupport (>= 5.0.0)
jquery-rails (4.4.0)
rails-dom-testing (>= 1, < 3)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
jwt (2.2.1)
loofah (2.7.0)
jwt (2.2.3)
listen (3.7.0)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
loofah (2.12.0)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
mail (2.7.1)
mini_mime (>= 0.1.1)
marcel (0.3.3)
mimemagic (~> 0.3.2)
marcel (1.0.1)
method_source (1.0.0)
mimemagic (0.3.5)
mini_mime (1.0.2)
mini_portile2 (2.4.0)
minitest (5.14.2)
msgpack (1.3.3)
multi_json (1.14.1)
mini_mime (1.1.0)
mini_portile2 (2.6.1)
minitest (5.14.4)
msgpack (1.4.2)
multi_json (1.15.0)
multi_xml (0.6.0)
multipart-post (2.1.1)
mysql2 (0.5.3)
nio4r (2.5.4)
nokogiri (1.10.10)
mini_portile2 (~> 2.4.0)
oauth2 (1.4.3)
nio4r (2.5.7)
nokogiri (1.12.5)
mini_portile2 (~> 2.6.1)
racc (~> 1.4)
oauth2 (1.4.7)
faraday (>= 0.8, < 2.0)
jwt (>= 1.0, < 3.0)
multi_json (~> 1.3)
multi_xml (~> 0.5)
rack (>= 1.2, < 3)
omniauth (1.9.1)
omniauth (2.0.4)
hashie (>= 3.4.6)
rack (>= 1.6.2, < 3)
omniauth-github (1.4.0)
omniauth (~> 1.5)
omniauth-oauth2 (>= 1.4.0, < 2.0)
omniauth-oauth2 (1.6.0)
oauth2 (~> 1.1)
omniauth (~> 1.9)
rack-protection
omniauth-github (2.0.0)
omniauth (~> 2.0)
omniauth-oauth2 (~> 1.7.1)
omniauth-oauth2 (1.7.1)
oauth2 (~> 1.4)
omniauth (>= 1.9, < 3)
omniauth-rails_csrf_protection (1.0.0)
actionpack (>= 4.2)
omniauth (~> 2.0)
orm_adapter (0.5.0)
popper_js (1.16.0)
popper_js (2.9.3)
public_suffix (4.0.6)
puma (5.4.0)
nio4r (~> 2.0)
racc (1.5.2)
rack (2.2.3)
rack-protection (2.1.0)
rack
rack-test (1.1.0)
rack (>= 1.0, < 3)
rails (6.0.3.4)
actioncable (= 6.0.3.4)
actionmailbox (= 6.0.3.4)
actionmailer (= 6.0.3.4)
actionpack (= 6.0.3.4)
actiontext (= 6.0.3.4)
actionview (= 6.0.3.4)
activejob (= 6.0.3.4)
activemodel (= 6.0.3.4)
activerecord (= 6.0.3.4)
activestorage (= 6.0.3.4)
activesupport (= 6.0.3.4)
bundler (>= 1.3.0)
railties (= 6.0.3.4)
rails (6.1.4)
actioncable (= 6.1.4)
actionmailbox (= 6.1.4)
actionmailer (= 6.1.4)
actionpack (= 6.1.4)
actiontext (= 6.1.4)
actionview (= 6.1.4)
activejob (= 6.1.4)
activemodel (= 6.1.4)
activerecord (= 6.1.4)
activestorage (= 6.1.4)
activesupport (= 6.1.4)
bundler (>= 1.15.0)
railties (= 6.1.4)
sprockets-rails (>= 2.0.0)
rails-controller-testing (1.0.5)
actionpack (>= 5.0.1.rc1)
@@ -176,22 +196,27 @@ GEM
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
rails-html-sanitizer (1.3.0)
rails-html-sanitizer (1.4.2)
loofah (~> 2.3)
rails-i18n (6.0.0)
i18n (>= 0.7, < 2)
railties (>= 6.0.0, < 7)
railties (6.0.3.4)
actionpack (= 6.0.3.4)
activesupport (= 6.0.3.4)
railties (6.1.4)
actionpack (= 6.1.4)
activesupport (= 6.1.4)
method_source
rake (>= 0.8.7)
thor (>= 0.20.3, < 2.0)
rake (13.0.1)
rdoc (6.2.1)
rake (>= 0.13)
thor (~> 1.0)
rake (13.0.6)
rb-fsevent (0.11.0)
rb-inotify (0.10.1)
ffi (~> 1.0)
rdoc (6.3.1)
responders (3.0.1)
actionpack (>= 5.0)
railties (>= 5.0)
rexml (3.2.5)
ruby2_keywords (0.0.4)
sassc (2.4.0)
ffi (~> 1.9)
sassc-rails (2.1.2)
@@ -200,12 +225,8 @@ GEM
sprockets (> 3.0)
sprockets-rails
tilt
sdoc (2.0.2)
sdoc (2.2.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)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
@@ -214,14 +235,13 @@ GEM
activesupport (>= 4.0)
sprockets (>= 3.0.0)
sqlite3 (1.4.2)
thor (1.0.1)
thread_safe (0.3.6)
thor (1.1.0)
tilt (2.0.10)
turbolinks (5.2.1)
turbolinks-source (~> 5.2)
turbolinks-source (5.2.0)
tzinfo (1.2.8)
thread_safe (~> 0.1)
tzinfo (2.0.4)
concurrent-ruby (~> 1.0)
uglifier (4.2.0)
execjs (>= 0.3.0, < 3)
warden (1.2.9)
@@ -231,49 +251,51 @@ GEM
activemodel (>= 6.0.0)
bindex (>= 0.4.0)
railties (>= 6.0.0)
webmock (3.10.0)
addressable (>= 2.3.6)
webmock (3.14.0)
addressable (>= 2.8.0)
crack (>= 0.3.2)
hashdiff (>= 0.4.0, < 2.0.0)
websocket-driver (0.7.3)
websocket-driver (0.7.5)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.5)
will_paginate (3.3.0)
will_paginate (3.3.1)
will_paginate-bootstrap4 (0.2.2)
will_paginate (~> 3.0, >= 3.0.0)
zeitwerk (2.4.1)
zeitwerk (2.4.2)
PLATFORMS
ruby
DEPENDENCIES
bootsnap
bootstrap (~> 4.5.3)
bootstrap (~> 5.1.0)
bootstrap_form (~> 4.5)
codacy-coverage
coffee-rails (~> 5.0.0)
devise (~> 4.7.3)
devise (~> 4.8.0)
diff-lcs
diffy
font-awesome-sass (~> 5.15.1)
jbuilder (~> 2.10.1)
jbuilder (~> 2.11.2)
jquery-rails (~> 4.4.0)
listen (~> 3.7.0)
mysql2 (~> 0.5.2)
omniauth
omniauth-github
rails (= 6.0.3.4)
omniauth-rails_csrf_protection
puma (~> 5.4)
rails (= 6.1.4)
rails-controller-testing
rails-i18n (~> 6.0.0)
sassc-rails (~> 2.1.2)
sdoc (~> 2.0.2)
sdoc (~> 2.2.0)
sqlite3 (~> 1.4.1)
turbolinks (~> 5.2.1)
tzinfo-data
uglifier (~> 4.2.0)
web-console (~> 4.1.0)
webmock
will_paginate (~> 3.3.0)
will_paginate (~> 3.3.1)
will_paginate-bootstrap4 (~> 0.2.2)
BUNDLED WITH
2.1.4
2.2.17

View File

@@ -2,7 +2,6 @@ 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

@@ -18,6 +18,6 @@ App.init = ->
$(document).on "turbolinks:load", ->
App.init()
$(document).on "click", '#translationTab a[href="#preview"]', ->
$(document).on "click", '#translationTab button[data-bs-target="#preview"]', ->
$('#preview .problem-content').html(cm.getValue())
MathJax.Hub.Queue(["Typeset",MathJax.Hub]);

View File

@@ -7,11 +7,8 @@ module ApplicationHelper
capture do
flash.each do |msg_type, message|
concat(content_tag(:div, message, class: "alert #{bootstrap_class_for(msg_type)} alert-dismissible", role: 'alert') do
concat(content_tag(:button, class: 'close', data: { dismiss: 'alert' }) do
concat content_tag(:span, '&times;'.html_safe, 'aria-hidden' => true)
concat content_tag(:span, 'Close', class: 'sr-only')
end)
concat message
concat content_tag(:button, "", class: 'btn-close', data: { 'bs-dismiss': 'alert' }, 'aria-label': 'Close')
end)
end
nil
@@ -29,9 +26,8 @@ module ApplicationHelper
end
def nav_link_to(body, url)
nav_options = { class: current_page?(url) ? 'nav-item active': 'nav-item' }
content_tag(:li, nav_options) do
link_to body, url, class: 'nav-link'
content_tag(:li, class: 'nav-item') do
link_to body, url, class: current_page?(url) ? 'nav-link active': 'nav-link'
end
end

View File

@@ -3,7 +3,7 @@ class TranslationContentScrubber < Rails::Html::PermitScrubber
super
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
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
align border cellpadding cellspacing colspan )
end

View File

@@ -1,4 +1,4 @@
<div class="jumbotron">
<div class="bg-light p-5 rounded">
<h1 class="display-4">Willkommen auf Projekt Euler!</h1>
<p>Diese Seite ist eine Übersetzung der englischen Rätsel-Webseite <a href="https://projecteuler.net/">projecteuler.net</a>.</p>
<p class="lead">
@@ -7,26 +7,27 @@
<% end %>
</div>
<div class="container">
<!-- Example row of columns -->
<div class="row">
<div class="col-md-4">
<div class="row g-4 py-5 row-cols-1 row-cols-lg-3">
<div class="col d-flex align-items-start">
<div>
<h2>Ansehen</h2>
<p>Sehen Sie sich die mathematischen Probleme in deutscher Sprache an.</p>
<p>
<%= link_to problems_path, class: 'btn btn-primary' do %>
Zu den Problemen &raquo;
<% end %>
</p>
</div>
<div class="col-md-4">
</div>
<div class="col d-flex align-items-start">
<div>
<h2>Übersetzen</h2>
<p>Bisher wurden erst <%= Problem.translated_count %> der <%= Problem.count %> Probleme übersetzt. Helfen Sie mit, Übersetzungen zu erstellen und anzupassen!</p>
</div>
<div class="col-md-4">
</div>
<div class="col d-flex align-items-start">
<div>
<h2>Verbessern</h2>
<p>Vermissen Sie eine Funktion auf der Webseite, oder ist Ihnen ein Fehler aufgefallen? Dann helfen Sie beim Entwickeln der Webseite in Ruby on Rails!</p>
<p><a class="btn btn-primary" href="https://github.com/projekteuler/projekteuler" target="_blank">Projekt Euler auf GitHub &raquo;</a></p>
<a class="btn btn-primary" href="https://github.com/projekteuler/projekteuler" target="_blank">Projekt Euler auf GitHub &raquo;</a>
</div>
</div>
</div>

View File

@@ -1,44 +1,46 @@
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="container">
<%= link_to t('application.site_title'), root_path, class: 'navbar-brand' %>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<%= link_to root_path, class: 'navbar-brand' do %>
<%= image_tag "favicon.ico", alt: "", width: 24, height: 24, class: "d-inline-block align-text-top" %> <%= t('application.site_title') %>
<% end %>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon">
<%= icon('fas', 'bars') %>
</span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<ul class="navbar-nav me-auto">
<%= nav_link_to t('application.info'), about_info_path %>
<%= nav_link_to Problem.model_name.human(count: 2), problems_path %>
<% if user_signed_in? and current_user.admin? %>
<%= nav_link_to t('admin.dashboard.index.administration'), admin_dashboard_index_path %>
<%= link_to admin_translations_path, class: 'nav-link' do %>
<%= t('admin.dashboard.index.translations') %> <span class="badge badge-secondary"><%= Translation.pending.count %></span>
<%= t('admin.dashboard.index.translations') %> <span class="badge bg-secondary"><%= Translation.pending.count %></span>
<% end %>
<% end %>
</ul>
<ul class="navbar-nav">
<% if user_signed_in? %>
<li class="nav-item">
<span class="navbar-text"><%= t 'application.logged_in_as_html', name: current_user.name %>
<% if current_user.admin? %>
<b><%= icon('fas', 'star') %></b>
<% end %>
</span>
</li>
<ul class="navbar-nav">
<li class="nav-item">
<%= link_to t('application.sign_out'), destroy_user_session_path, method: :delete, class: 'nav-link' %>
</li>
</ul>
<% else %>
<ul class="navbar-nav">
<li class="nav-item">
<% if Rails.env.development? %>
<%= link_to t('application.sign_in_with_github'), user_developer_omniauth_authorize_path, class: 'nav-link' %>
<%= link_to t('application.sign_in_with_github'), user_developer_omniauth_authorize_path, method: :post, class: 'nav-link' %>
<% else %>
<%= link_to t('application.sign_in_with_github'), user_github_omniauth_authorize_path, class: 'nav-link' %>
<%= link_to t('application.sign_in_with_github'), user_github_omniauth_authorize_path, method: :post, class: 'nav-link' %>
<% end %>
</li>
<% end %>
</ul>
<% end %>
</div>
</div>
</nav>

View File

@@ -2,10 +2,10 @@
<%= f.text_field :title %>
<ul class="nav nav-tabs" id="translationTab" role="tablist">
<li class="nav-item">
<%= link_to t('.source_code'), '#source', data: {toggle: 'tab'}, class:'nav-link active', id:'source-tab', role:'tab', 'aria-controls':'source', 'aria-selected':'true' %>
<button class="nav-link active" id="source-tab" data-bs-toggle="tab" data-bs-target="#source" type="button" role="tab" aria-controls="source" aria-selected="true"><%= t('.source_code') %></button>
</li>
<li class="nav-item">
<%= link_to t('.preview'), '#preview', data: {toggle: 'tab'}, class:'nav-link', id:'preview-tab', role:'tab', 'aria-controls':'preview', 'aria-selected':'false' %>
<button class="nav-link" id="preview-tab" data-bs-toggle="tab" data-bs-target="#preview" type="button" role="tab" aria-controls="preview" aria-selected="false"><%= t('.preview') %></button>
</li>
</ul>
<div class="tab-content" id="translationTabContent">

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env ruby
APP_PATH = File.expand_path('../config/application', __dir__)
require_relative '../config/boot'
require 'rails/commands'
require_relative "../config/boot"
require "rails/commands"

View File

@@ -1,4 +1,4 @@
#!/usr/bin/env ruby
require_relative '../config/boot'
require 'rake'
require_relative "../config/boot"
require "rake"
Rake.application.run

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env ruby
require 'fileutils'
require "fileutils"
# path to your application root.
APP_ROOT = File.expand_path('..', __dir__)
@@ -18,7 +18,7 @@ FileUtils.chdir APP_ROOT do
system('bundle check') || system!('bundle install')
# Install JavaScript dependencies
# system('bin/yarn')
# system! 'bin/yarn'
# puts "\n== Copying sample files =="
# unless File.exist?('config/database.yml')

View File

@@ -1,9 +1,15 @@
#!/usr/bin/env ruby
APP_ROOT = File.expand_path('..', __dir__)
Dir.chdir(APP_ROOT) do
begin
exec "yarnpkg", *ARGV
rescue Errno::ENOENT
yarn = ENV["PATH"].split(File::PATH_SEPARATOR).
select { |dir| File.expand_path(dir) != __dir__ }.
product(["yarn", "yarn.exe"]).
map { |dir, file| File.expand_path(file, dir) }.
find { |file| File.executable?(file) }
if yarn
exec yarn, *ARGV
else
$stderr.puts "Yarn executable was not detected in the system."
$stderr.puts "Download Yarn at https://yarnpkg.com/en/docs/install"
exit 1

View File

@@ -1,4 +1,6 @@
# This file is used by Rack-based servers to start the application.
require ::File.expand_path('../config/environment', __FILE__)
require_relative "config/environment"
run Rails.application
Rails.application.load_server

View File

@@ -1,6 +1,6 @@
require_relative 'boot'
require_relative "boot"
require 'rails/all'
require "rails/all"
# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
@@ -9,12 +9,12 @@ Bundler.require(*Rails.groups)
module Projekteuler
class Application < Rails::Application
# Initialize configuration defaults for originally generated Rails version.
config.load_defaults 6.0
config.load_defaults 6.1
# Settings in config/environments/* take precedence over those specified here.
# Application configuration can go into files in config/initializers
# -- all .rb files in that directory are automatically loaded after loading
# the framework and any gems in your application.
# Configuration for the application, engines, and railties goes here.
#
# These settings can be overridden in specific environments using the files
# in config/environments, which are processed later.
config.action_dispatch.default_headers = {
'X-Frame-Options' => 'DENY',

View File

@@ -1,4 +1,4 @@
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../Gemfile', __dir__)
require 'bundler/setup' # Set up gems listed in the Gemfile.
require 'bootsnap/setup' # Speed up boot time by caching expensive operations.
require "bundler/setup" # Set up gems listed in the Gemfile.
require "bootsnap/setup" # Speed up boot time by caching expensive operations.

View File

@@ -1,5 +1,5 @@
# Load the Rails application.
require_relative 'application'
require_relative "application"
# Initialize the Rails application.
Rails.application.initialize!

View File

@@ -1,8 +1,10 @@
require "active_support/core_ext/integer/time"
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.
# In the development environment your application's code is reloaded on
# every request. This slows down response time but is perfect for development
# In the development environment your application's code is reloaded any time
# it changes. This slows down response time but is perfect for development
# since you don't have to restart the web server when you make code changes.
config.cache_classes = false
@@ -39,6 +41,12 @@ Rails.application.configure do
# Print deprecation notices to the Rails logger.
config.active_support.deprecation = :log
# Raise exceptions for disallowed deprecations.
config.active_support.disallowed_deprecation = :raise
# Tell Active Support which deprecation messages to disallow.
config.active_support.disallowed_deprecation_warnings = []
# Raise an error on page load if there are pending migrations.
config.active_record.migration_error = :page_load
@@ -54,9 +62,15 @@ Rails.application.configure do
config.assets.quiet = true
# Raises error for missing translations.
config.action_view.raise_on_missing_translations = true
config.i18n.raise_on_missing_translations = true
# Annotate rendered view with file names.
# config.action_view.annotate_rendered_view_with_filenames = true
# Use an evented file watcher to asynchronously detect changes in source code,
# routes, locales, etc. This feature depends on the listen gem.
# config.file_watcher = ActiveSupport::EventedFileUpdateChecker
config.file_watcher = ActiveSupport::EventedFileUpdateChecker
# Uncomment if you wish to allow Action Cable access from any origin.
# config.action_cable.disable_request_forgery_protection = true
end

View File

@@ -1,3 +1,5 @@
require "active_support/core_ext/integer/time"
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.
@@ -23,7 +25,7 @@ Rails.application.configure do
config.public_file_server.enabled = ENV['RAILS_SERVE_STATIC_FILES'].present?
# Compress JS using a preprocessor.
config.assets.js_compressor = :uglifier
config.assets.js_compressor = Uglifier.new(harmony: true)
# Compress CSS using a preprocessor.
# config.assets.css_compressor = :sass
@@ -32,7 +34,7 @@ Rails.application.configure do
config.assets.compile = false
# Enable serving of images, stylesheets, and JavaScripts from an asset server.
# config.action_controller.asset_host = 'http://assets.example.com'
# config.asset_host = 'http://assets.example.com'
# Specifies the header that your server uses for sending files.
# config.action_dispatch.x_sendfile_header = 'X-Sendfile' # for Apache
@@ -49,9 +51,9 @@ Rails.application.configure do
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
config.force_ssl = true
# Use the lowest log level to ensure availability of diagnostic information
# when problems arise.
config.log_level = :debug
# Include generic and useful information about system operation, but avoid logging too much
# information to avoid inadvertent exposure of personally identifiable information (PII).
config.log_level = :info
# Prepend all log lines with the following tags.
config.log_tags = [ :request_id ]
@@ -71,16 +73,22 @@ Rails.application.configure do
# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
# the I18n.default_locale when a translation cannot be found).
config.i18n.fallbacks = [I18n.default_locale]
config.i18n.fallbacks = true
# Send deprecation notices to registered listeners.
config.active_support.deprecation = :notify
# Log disallowed deprecations.
config.active_support.disallowed_deprecation = :log
# Tell Active Support which deprecation messages to disallow.
config.active_support.disallowed_deprecation_warnings = []
# Use default logging formatter so that PID and timestamp are not suppressed.
config.log_formatter = ::Logger::Formatter.new
# Use a different logger for distributed setups.
# require 'syslog/logger'
# require "syslog/logger"
# config.logger = ActiveSupport::TaggedLogging.new(Syslog::Logger.new 'app-name')
if ENV["RAILS_LOG_TO_STDOUT"].present?

View File

@@ -43,6 +43,15 @@ Rails.application.configure do
# Print deprecation notices to the stderr.
config.active_support.deprecation = :stderr
# Raise exceptions for disallowed deprecations.
config.active_support.disallowed_deprecation = :raise
# Tell Active Support which deprecation messages to disallow.
config.active_support.disallowed_deprecation_warnings = []
# Raises error for missing translations.
config.action_view.raise_on_missing_translations = true
config.i18n.raise_on_missing_translations = true
# Annotate rendered view with file names.
# config.action_view.annotate_rendered_view_with_filenames = true
end

View File

@@ -7,3 +7,8 @@ Rails.application.config.assets.version = '1.0'
# Rails.application.config.assets.paths << Emoji.images_path
# Add Yarn node_modules folder to the asset load path.
Rails.application.config.assets.paths << Rails.root.join('node_modules')
# Precompile additional assets.
# application.js, application.css, and all non-JS/CSS in the app/assets
# folder are already added.
# Rails.application.config.assets.precompile += %w( admin.js admin.css )

View File

@@ -1,7 +1,8 @@
# Be sure to restart your server when you modify this file.
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
# Rails.backtrace_cleaner.add_silencer { |line| /my_noisy_library/.match?(line) }
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
# Rails.backtrace_cleaner.remove_silencers!
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code
# by setting BACKTRACE=1 before calling your invocation, like "BACKTRACE=1 ./bin/rails runner 'MyClass.perform'".
Rails.backtrace_cleaner.remove_silencers! if ENV["BACKTRACE"]

View File

@@ -1,4 +1,6 @@
# Be sure to restart your server when you modify this file.
# Configure sensitive parameters which will be filtered from the log file.
Rails.application.config.filter_parameters += [:password]
Rails.application.config.filter_parameters += [
:passw, :secret, :token, :_key, :crypt, :salt, :certificate, :otp, :ssn
]

View File

@@ -0,0 +1,11 @@
# Define an application-wide HTTP permissions policy. For further
# information see https://developers.google.com/web/updates/2018/06/feature-policy
#
Rails.application.config.permissions_policy do |f|
f.camera :none
f.gyroscope :none
f.microphone :none
f.usb :none
f.fullscreen :self
f.payment :none
end

View File

@@ -8,6 +8,6 @@ class ApplicationHelperTest < ActionView::TestCase
test "bootstrap flash messages should work" do
flash[:error] = "Error"
assert_equal "<div class=\"alert alert-danger alert-dismissible\" role=\"alert\"><button class=\"close\" data-dismiss=\"alert\"><span aria-hidden=\"true\">&times;</span><span class=\"sr-only\">Close</span></button>Error</div>", flash_messages
assert_equal "<div class=\"alert alert-danger alert-dismissible\" role=\"alert\">Error<button class=\"btn-close\" data-bs-dismiss=\"alert\" aria-label=\"Close\"></button></div>", flash_messages
end
end

View File

@@ -8,7 +8,7 @@ class TranslatorFlowTest < ActionDispatch::IntegrationTest
end
test "can login via github" do
get '/users/auth/github'
post '/users/auth/github'
assert_response :redirect
follow_redirect!
follow_redirect!

View File

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