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

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

Build:
DEFAULT BRANCH: master
Ran 28 Jun 2013 04:09PM 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: 91.146%. First build
rbx-19mode

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`

175 of 192 relevant lines covered (91.15%)

44.17 hits per line

Source Files on job 306.2 (rbx-19mode)
  • 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.2
  • 551e2b53 on github
  • Next Job for rbx-19mode on master (#307.2)
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