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

rspec / rspec-mocks / 1190
97%
master: 63%

Build:
Build:
LAST BUILD BRANCH: use-method-handle-for-from-support
DEFAULT BRANCH: master
Ran 22 Oct 2013 10:22AM UTC
Jobs 4
Files 38
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
1190

push

travis-ci

JonRowe
Work around JRuby returning empty parameters on repeated calls.

This fixes a JRuby bug where by repeated calls to parameters on unbound
instance methods falsely return []

e.g. on JRuby 1.7.4
```Ruby
  String.instance_method(:replace).parameters
  # => [[:req]]
  String.instance_method(:replace).parameters
  # => []
```

And with this "fix"

```Ruby
  String.dup.instance_method(:replace).parameters
  # => [[:req]]
  String.dup.instance_method(:replace).parameters
  # => [[:req]]
```

1991 of 2045 relevant lines covered (97.36%)

465.77 hits per line

Jobs
ID Job ID Ran Files Coverage
3 1190.3 (1.9.3) 22 Oct 2013 10:22AM UTC 0
97.11
Travis Job 1190.3
6 1190.6 (jruby-19mode) 22 Oct 2013 10:23AM UTC 0
97.08
Travis Job 1190.6
8 1190.8 (rbx-19mode) 22 Oct 2013 10:24AM UTC 0
99.08
Travis Job 1190.8
9 1190.9 (2.0.0) 22 Oct 2013 10:24AM UTC 0
97.11
Travis Job 1190.9
Source Files on build 1190
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1190
  • d0da3209 on github
  • Prev Build on fix_jruby (#1188)
  • Next Build on fix_jruby (#1193)
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