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

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

Build:
Build:
LAST BUILD BRANCH: use-method-handle-for-from-support
DEFAULT BRANCH: master
Ran 21 Aug 2013 04:50PM 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
1058

push

travis-ci

myronmarston
Fix 1.8.7 failure by putting special-case code for 1.8.7.

On 1.9+, the following code snippet works fine but it fails on
1.8.7 with `TypeError: singleton method bound for a different object`

  klass = Class.new do
    def self.say_hello; end
  end

  subclass = Class.new(klass)

  hello_method = klass.method(:say_hello)
  (class << klass; self; end).__send__(:define_method, :say_hello, &hello_method)

  subclass.say_hello

The best we can do is to revert to the old stashing/unstashing code
for 1.8.7.

1828 of 1882 relevant lines covered (97.13%)

471.3 hits per line

Jobs
ID Job ID Ran Files Coverage
3 1058.3 (1.9.3) 21 Aug 2013 04:50PM UTC 0
96.35
Travis Job 1058.3
6 1058.6 (jruby-19mode) 21 Aug 2013 04:57PM UTC 0
96.25
Travis Job 1058.6
8 1058.8 (rbx-19mode) 21 Aug 2013 05:00PM UTC 0
99.16
Travis Job 1058.8
9 1058.9 (2.0.0) 21 Aug 2013 04:59PM UTC 0
96.86
Travis Job 1058.9
Source Files on build 1058
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1058
  • 4e7543fd on github
  • Prev Build on regression-with-264 (#1051)
  • Next Build on regression-with-264 (#1061)
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