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

bwillis / versioncake / 164 / 12
20%
master: 20%

Build:
DEFAULT BRANCH: master
Ran 18 Apr 2014 12:27AM UTC
Files 32
Run time 2s
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

18 Apr 2014 12:20AM UTC coverage: 97.383% (+0.05%) from 97.333%
ruby-head, gemfiles/rails4.0.gemfile

push

travis-ci

bwillis
Calling any helper method before set_version fails

The assumption in controller_additions is that the set_version before
filter will be called before anything starts using the helpers, and
before render is called. Because we are just a regular filter, another
controller calling prepend_before_filter can get in front of the setup.
If that filter were to reference any of the helpers, then they will be
nil.  It’s reasonable for this data to be available, because when the
filters are running in Rails the request is present with all the info
to extract the version.

This fix will allow the versioned_request to be instantiated at time of
any of the helper calls or if they are not, to instantiate in the
normal before filter.

Fixes #32

521 of 535 relevant lines covered (97.38%)

7.62 hits per line

Source Files on job 164.12 (ruby-head, gemfiles/rails4.0.gemfile)
  • Tree
  • List 0
  • Changed 9
  • Source Changed 3
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 164
  • Travis Job 164.12
  • 0f2d56e5 on github
  • Prev Job for ruby-head, gemfiles/rails4.0.gemfile on master (#163.12)
  • Next Job for 1.9.2, gemfiles/rails3.2.gemfile on master (#165.1)
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