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

enriclluelles / route_translator / 704
99%
master: 100%

Build:
Build:
LAST BUILD BRANCH: chore/improve-specs
DEFAULT BRANCH: master
Ran 20 Jul 2019 10:54AM UTC
Jobs 21
Files 13
Run time 8min
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
704

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 behaviour 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%)

306 of 308 relevant lines covered (99.35%)

20095.44 hits per line

Jobs
ID Job ID Ran Files Coverage
1 704.1 (2.3.8, gemfiles/rails_5.0.gemfile) 20 Jul 2019 10:54AM UTC 0
99.03
Travis Job 704.1
2 704.2 (2.3.8, gemfiles/rails_5.1.gemfile) 20 Jul 2019 10:54AM UTC 0
99.03
Travis Job 704.2
3 704.3 (2.3.8, gemfiles/rails_5.2.gemfile) 20 Jul 2019 10:54AM UTC 0
99.03
Travis Job 704.3
4 704.4 (2.4.6, gemfiles/rails_5.0.gemfile) 20 Jul 2019 10:55AM UTC 0
99.03
Travis Job 704.4
5 704.5 (2.4.6, gemfiles/rails_5.1.gemfile) 20 Jul 2019 10:55AM UTC 0
99.03
Travis Job 704.5
6 704.6 (2.4.6, gemfiles/rails_5.2.gemfile) 20 Jul 2019 10:56AM UTC 0
99.03
Travis Job 704.6
7 704.7 (2.5.5, gemfiles/rails_5.0.gemfile) 20 Jul 2019 10:56AM UTC 0
99.03
Travis Job 704.7
8 704.8 (2.5.5, gemfiles/rails_5.1.gemfile) 20 Jul 2019 10:56AM UTC 0
99.03
Travis Job 704.8
9 704.9 (2.5.5, gemfiles/rails_5.2.gemfile) 20 Jul 2019 10:57AM UTC 0
99.03
Travis Job 704.9
10 704.10 (2.5.5, gemfiles/rails_6.0.gemfile) 20 Jul 2019 10:57AM UTC 0
99.03
Travis Job 704.10
11 704.11 (2.6.3, gemfiles/rails_5.0.gemfile) 20 Jul 2019 10:58AM UTC 0
99.03
Travis Job 704.11
12 704.12 (2.6.3, gemfiles/rails_5.1.gemfile) 20 Jul 2019 10:58AM UTC 0
99.03
Travis Job 704.12
13 704.13 (2.6.3, gemfiles/rails_5.2.gemfile) 20 Jul 2019 10:58AM UTC 0
99.03
Travis Job 704.13
14 704.14 (2.6.3, gemfiles/rails_6.0.gemfile) 20 Jul 2019 10:59AM UTC 0
99.03
Travis Job 704.14
15 704.15 (2.5.5, gemfiles/rails_edge.gemfile) 20 Jul 2019 11:00AM UTC 0
99.03
Travis Job 704.15
16 704.16 (2.6.3, gemfiles/rails_edge.gemfile) 20 Jul 2019 11:00AM UTC 0
99.03
Travis Job 704.16
17 704.17 (ruby-head, gemfiles/rails_5.0.gemfile) 20 Jul 2019 11:00AM UTC 0
99.03
Travis Job 704.17
18 704.18 (ruby-head, gemfiles/rails_5.1.gemfile) 20 Jul 2019 11:00AM UTC 0
99.03
Travis Job 704.18
19 704.19 (ruby-head, gemfiles/rails_5.2.gemfile) 20 Jul 2019 11:01AM UTC 0
99.03
Travis Job 704.19
20 704.20 (ruby-head, gemfiles/rails_6.0.gemfile) 20 Jul 2019 11:02AM UTC 0
99.03
Travis Job 704.20
21 704.21 (ruby-head, gemfiles/rails_edge.gemfile) 20 Jul 2019 11:02AM UTC 0
99.03
Travis Job 704.21
Source Files on build 704
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #704
  • 1fc53de7 on github
  • Prev Build on feature/do-not-raise-invalid-locale-errors (#692)
  • Next 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