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

pewniak747 / deep_fetch / 24

Build:
DEFAULT BRANCH: master
Ran 18 Jan 2014 01:53AM 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
24

Pull #3

travis-ci

vzvu3k6k
Fix a problem in accessing something other than Hash in Array

When you access something other than Hash in Array like this:
  {:foo => [:bar, [:baz]]}.deep_fetch(:foo, 1, 0){:default_value}
it raises NoMethodError, because [:baz] doesn't have `deep_fetch`
method.

This commit fixes this problem by use loop instead of recursive
call of deep_fetch.
Pull Request #3: deep_fetch fails in accessing something other than Hash in Array
Jobs
ID Job ID Ran Files Coverage
1 24.1 (1.9.2) 18 Jan 2014 01:54AM UTC 0
Travis Job 24.1
2 24.2 (1.9.3) 18 Jan 2014 01:53AM UTC 0
Travis Job 24.2
3 24.3 (2.0.0) 18 Jan 2014 01:54AM UTC 0
Travis Job 24.3
4 24.4 (jruby-19mode) 18 Jan 2014 01:55AM UTC 0
Travis Job 24.4
Source Files on build 24
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #24
  • Pull Request #3
  • PR Base - master (#21)
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