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

intridea / multi_json / 306
52%

Build:
DEFAULT BRANCH: master
Ran 28 Jun 2013 04:09PM UTC
Jobs 5
Files 12
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
306

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`

1 of 1 new or added line in 1 file covered. (100.0%)

207 of 224 relevant lines covered (92.41%)

73.92 hits per line

Jobs
ID Job ID Ran Files Coverage
2 306.2 (rbx-19mode) 28 Jun 2013 04:09PM UTC 0
91.15
Travis Job 306.2
4 306.4 (jruby-19mode) 28 Jun 2013 04:09PM UTC 0
99.11
Travis Job 306.4
6 306.6 (1.9.2) 28 Jun 2013 04:10PM UTC 0
99.12
Travis Job 306.6
7 306.7 (1.9.3) 28 Jun 2013 04:10PM UTC 0
99.12
Travis Job 306.7
8 306.8 (2.0.0) 28 Jun 2013 04:10PM UTC 0
99.12
Travis Job 306.8
Source Files on build 306
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #306
  • Pull Request #129
  • PR Base - master (#305)
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