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

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

Build:
Build:
LAST BUILD BRANCH: HEAD
DEFAULT BRANCH: master
Ran 20 Aug 2019 05:50PM UTC
Jobs 5
Files 97
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
3398

Pull #815

travis-ci

web-flow
Do better bookkeeping when tracking state in `Thread.current` (#833)

This is largely just another cleanup patch, but does a couple main
things:

* Hoists the `last_response` value into thread state. This is a very
  minor nicety, but effectively makes `StripeClient` fully thread-safe,
  which seems like a minor nicety. Two calls to `#request` to the same
  `StripeObject` can now be executed on two different threads and their
  results won't interfere with each other.

* Moves state off one-off `Thread.current` keys and into a single one
  for the whole client which stores a new simple type of record called
  `ThreadContext`. Again, this doesn't change much, but adds some minor
  type safety and lets us document each field we expect to have in a
  thread's context.
Pull Request #815: stripe-ruby V5

371 of 371 new or added lines in 86 files covered. (100.0%)

1851 of 1927 relevant lines covered (96.06%)

2438.8 hits per line

Jobs
ID Job ID Ran Files Coverage
1 3398.1 (2.3) 20 Aug 2019 05:50PM UTC 0
96.16
Travis Job 3398.1
2 3398.2 (2.4) 20 Aug 2019 05:50PM UTC 0
96.16
Travis Job 3398.2
3 3398.3 (2.5) 20 Aug 2019 05:50PM UTC 0
96.16
Travis Job 3398.3
4 3398.4 (2.6) 20 Aug 2019 05:50PM UTC 0
96.13
Travis Job 3398.4
5 3398.5 (jruby-9.2.7.0) 20 Aug 2019 05:53PM UTC 0
0.0
Travis Job 3398.5
Source Files on build 3398
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3398
  • Pull Request #815
  • PR Base - master (#3341)
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