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

stripe / stripe-ruby / 2636
94%
master: 97%

Build:
Build:
LAST BUILD BRANCH: HEAD
DEFAULT BRANCH: master
Ran 13 Sep 2018 11:40PM UTC
Jobs 4
Files 73
Run time 1min
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
2636

push

travis-ci

brandur
Override `StripeObject#eql?` and `#hash` to produce more optimistic equivalency

Overrides `#eql?` (hash equality) and `#hash` so that Stripe objects can
be used more easily as Hash keys and that certain other frameworks that
rely on these methods will have an easier time (e.g. RSpec's `change`,
see #687).

I think this might be a little controversial if we weren't already
overriding the `#==` implementation, but because we are, I think it
makes sense to extent it to these two methods as well.

1533 of 1631 relevant lines covered (93.99%)

2706.31 hits per line

Jobs
ID Job ID Ran Files Coverage
3 2636.3 (2.2) 13 Sep 2018 11:41PM UTC 0
94.01
Travis Job 2636.3
4 2636.4 (2.3) 13 Sep 2018 11:41PM UTC 0
94.02
Travis Job 2636.4
5 2636.5 (2.4) 13 Sep 2018 11:40PM UTC 0
94.02
Travis Job 2636.5
6 2636.6 (2.5) 13 Sep 2018 11:40PM UTC 0
94.02
Travis Job 2636.6
Source Files on build 2636
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2636
  • 7c018361 on github
  • Prev Build on brandur-hash (#2634)
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