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

solnic / virtus / 806
75%

Build:
DEFAULT BRANCH: master
Ran 28 Nov 2014 11:33AM UTC
Jobs 4
Files 0
Run time –
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
806

Pull #301

travis-ci

Bob Aman
Don't break on ActionDispatch reload.

Rails reloads stuff in development environments. When it does, it creates new classes in memory with the updated version of the class. Old references to these classes can potentially leak memory, but more importantly, they're stale, pointing to the old version of the code. The previous implementation kept direct references to the classes after any types involved in coercion had been reloaded. This just uses a `String` as the cache key instead. Reloads generally won't change the name of the class, so this should also be more reliable as a cache. And if a class name does change, it'll be an entirely new key with no collision issues. This does assume that the value side of the cache does not need to be reloaded – but since Rails won't typically auto-reload that code anyway, it shouldn't be an issue.
Pull Request #301:
Jobs
ID Job ID Ran Files Coverage
1 806.1 (1.9.3) 28 Nov 2014 11:33AM UTC 0
Travis Job 806.1
3 806.3 (2.1.2) 28 Nov 2014 11:34AM UTC 0
Travis Job 806.3
4 806.4 (jruby) 28 Nov 2014 11:34AM UTC 0
Travis Job 806.4
5 806.5 (rbx) 28 Nov 2014 11:36AM UTC 0
Travis Job 806.5
Source Files on build 806
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #806
  • Pull Request #301
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