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

intridea / multi_json / 306 / 7
52%
master: 52%

Build:
DEFAULT BRANCH: master
Ran 28 Jun 2013 04:10PM UTC
Files 8
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

28 Jun 2013 04:09PM UTC coverage: 99.123%. Remained the same
1.9.3

Pull #129

travis-ci

tooky
Ensure @cached_options is initialized

The current implementation is generating a warning because `@cached_options` hasn't been initialized when it's first called. 

```
~/.gem/ruby/1.9.3/gems/multi_json-1.7.7/lib/multi_json.rb:10: warning: instance variable @cached_options not initialized
```

Using the `||=` operator prevents this warning, even though it seems like its doing the assignment twice. Not sure if there's a better option?
Pull Request #129: Prevent warning for uninitialized `@cached_options`

113 of 114 relevant lines covered (99.12%)

19.16 hits per line

Source Files on job 306.7 (1.9.3)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 306
  • Travis Job 306.7
  • 551e2b53 on github
  • Prev Job for 1.9.3 on master (#305.7)
  • Next Job for 1.9.3 on master (#307.7)
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