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

stripe / stripe-ruby / 3679
96%
master: 97%

Build:
Build:
LAST BUILD BRANCH: HEAD
DEFAULT BRANCH: master
Ran 04 Aug 2020 07:02PM UTC
Jobs 6
Files 103
Run time 3min
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
3679

push

travis-ci

brandur
Rename API resource's `request` method

As seen in #928, the `refresh` method doesn't work for an event class.
This is because event has a field called `request`, and it ends up
replacing the `request` method that it inherited from being an API
resource, so when `refresh` tries to make a request, it fails because it
tries to invoke it on the accessor added for the event's property.

Here we give `request` a much more unique name so that it will never
conflict with a property field again, and update all internal references
to use the new name. We use `alias` to make the old name available for
backwards compatibility reasons because its been around for so long that
people are probably calling it.

Fixes #928.

2016 of 2093 relevant lines covered (96.32%)

3238.21 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3679.1 (2.3, STRIPE_MOCK_VERSION=0.94.0) 04 Aug 2020 07:02PM UTC 0
96.42
Travis Job 3679.1
2 3679.2 (2.4, STRIPE_MOCK_VERSION=0.94.0) 04 Aug 2020 07:03PM UTC 0
96.42
Travis Job 3679.2
3 3679.3 (2.5, STRIPE_MOCK_VERSION=0.94.0) 04 Aug 2020 07:02PM UTC 0
96.42
Travis Job 3679.3
4 3679.4 (2.6, STRIPE_MOCK_VERSION=0.94.0) 04 Aug 2020 07:02PM UTC 0
96.4
Travis Job 3679.4
5 3679.5 (2.7, STRIPE_MOCK_VERSION=0.94.0) 04 Aug 2020 07:02PM UTC 0
96.4
Travis Job 3679.5
6 3679.6 (jruby-9.2.7.0, STRIPE_MOCK_VERSION=0.94.0) 04 Aug 2020 07:05PM UTC 0
0.0
Travis Job 3679.6
Source Files on build 3679
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3679
  • 6d6c71f5 on github
  • Next Build on brandur-rename-request (#3686)
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