• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

enriclluelles / route_translator / 717
99%
master: 100%

Build:
Build:
LAST BUILD BRANCH: chore/improve-specs
DEFAULT BRANCH: master
Ran 22 Jul 2019 10:58AM UTC
Jobs 21
Files 13
Run time 12min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
717

push

travis-ci

tagliala
Do not raise InvalidLocale errors

When a user passes an invalid locale to an unlocalized route (such as
ActiveStorage routes or routes outside the `localized` block),
`route_translator` does not check if the locale is included in the
available locales list and a default Rails configuration will raise
an InvalidLocale error.

This behavior could potentially open to DOS attacks (eg: flooding an
exception tracker)

This commit will prevent to set locales that are not included in
`I18n.available_locales`

Close: #196

4 of 4 new or added lines in 2 files covered. (100.0%)

298 of 300 relevant lines covered (99.33%)

21684.87 hits per line

Jobs
ID Job ID Ran Files Coverage
1 717.1 (2.3.8, gemfiles/rails_5.0.gemfile) 22 Jul 2019 10:58AM UTC 0
99.01
Travis Job 717.1
2 717.2 (2.3.8, gemfiles/rails_5.1.gemfile) 22 Jul 2019 10:58AM UTC 0
99.01
Travis Job 717.2
3 717.3 (2.3.8, gemfiles/rails_5.2.gemfile) 22 Jul 2019 10:58AM UTC 0
99.01
Travis Job 717.3
4 717.4 (2.4.6, gemfiles/rails_5.0.gemfile) 22 Jul 2019 10:58AM UTC 0
99.01
Travis Job 717.4
5 717.5 (2.4.6, gemfiles/rails_5.1.gemfile) 22 Jul 2019 11:00AM UTC 0
99.01
Travis Job 717.5
6 717.6 (2.4.6, gemfiles/rails_5.2.gemfile) 22 Jul 2019 11:00AM UTC 0
99.01
Travis Job 717.6
7 717.7 (2.5.5, gemfiles/rails_5.0.gemfile) 22 Jul 2019 11:00AM UTC 0
99.01
Travis Job 717.7
8 717.8 (2.5.5, gemfiles/rails_5.1.gemfile) 22 Jul 2019 11:00AM UTC 0
99.01
Travis Job 717.8
9 717.9 (2.5.5, gemfiles/rails_5.2.gemfile) 22 Jul 2019 11:00AM UTC 0
99.01
Travis Job 717.9
10 717.10 (2.5.5, gemfiles/rails_6.0.gemfile) 22 Jul 2019 11:02AM UTC 0
99.01
Travis Job 717.10
11 717.11 (2.6.3, gemfiles/rails_5.0.gemfile) 22 Jul 2019 11:02AM UTC 0
99.01
Travis Job 717.11
12 717.12 (2.6.3, gemfiles/rails_5.1.gemfile) 22 Jul 2019 11:02AM UTC 0
99.01
Travis Job 717.12
13 717.13 (2.6.3, gemfiles/rails_5.2.gemfile) 22 Jul 2019 11:02AM UTC 0
99.01
Travis Job 717.13
14 717.14 (2.6.3, gemfiles/rails_6.0.gemfile) 22 Jul 2019 11:02AM UTC 0
99.01
Travis Job 717.14
15 717.15 (2.5.5, gemfiles/rails_edge.gemfile) 22 Jul 2019 11:04AM UTC 0
99.01
Travis Job 717.15
16 717.16 (2.6.3, gemfiles/rails_edge.gemfile) 22 Jul 2019 11:10AM UTC 0
99.01
Travis Job 717.16
17 717.17 (ruby-head, gemfiles/rails_5.0.gemfile) 22 Jul 2019 11:10AM UTC 0
99.01
Travis Job 717.17
18 717.18 (ruby-head, gemfiles/rails_5.1.gemfile) 22 Jul 2019 11:04AM UTC 0
99.01
Travis Job 717.18
19 717.19 (ruby-head, gemfiles/rails_5.2.gemfile) 22 Jul 2019 11:04AM UTC 0
99.01
Travis Job 717.19
20 717.20 (ruby-head, gemfiles/rails_6.0.gemfile) 22 Jul 2019 11:06AM UTC 0
99.01
Travis Job 717.20
21 717.21 (ruby-head, gemfiles/rails_edge.gemfile) 22 Jul 2019 11:07AM UTC 0
99.01
Travis Job 717.21
Source Files on build 717
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #717
  • def83c0c on github
  • Prev Build on feature/do-not-raise-invalid-locale-errors (#712)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc