stripe 4.0.2 → 4.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 89f4bce6bf7d2eb4c1bd69935a2267d2077f1a05fcab4204bf63ea44d6f577ad
4
- data.tar.gz: 40fada0c947812f2f89d3a442ceb07e2591a3154908b232ddd8742dc6659664e
2
+ SHA1:
3
+ metadata.gz: d48581c1171216fe7ef9531bec2b538d86c9efa3
4
+ data.tar.gz: 52b3b1afca13937918ba3e18b3bbdceeece78119
5
5
  SHA512:
6
- metadata.gz: 44f7b28af7131af3d1b0d77780210f7d39e2f43744a0a3a449addd0f912dfc732863324118da4988456b65425b463d86e48a0a01dfb08ba2491de5256f0ede24
7
- data.tar.gz: 0771d9095117adf14bd97a8cd0bc57b87f42cf7f8263a4de787c129efe85b0d2f6d453f855b2648020df5eff7126615e7662cb3d302ad84acc25b75ae1fcb375
6
+ metadata.gz: 23ed293fa6fe762582cb8eb6fc544324e15d414775a7cd7c7ccd43ab2d0eef8b1686a1d2acdd65c31a90b94c503e6a29212df7fd61a2b0ddbb5b8fa6a8a2da15
7
+ data.tar.gz: 8682b7258691c520754931d7a3e09b4c9cb2291c96f01753f8fbcbb81f307aa8fedcdc64272a312be50b0675499a6c6f59028899070b5193bc050612d4393c12
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## 4.0.3 - 2018-11-19
4
+ * [#703](https://github.com/stripe/stripe-ruby/pull/703) Don't use `Net::HTTP::Persistent` on Windows where it's not well supported
5
+
3
6
  ## 4.0.2 - 2018-11-16
4
7
  * [#701](https://github.com/stripe/stripe-ruby/pull/701) Require minimum Faraday 0.13 for proper support of persistent connections
5
8
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 4.0.2
1
+ 4.0.3
@@ -36,9 +36,9 @@ module Stripe
36
36
  builder.use Faraday::Request::UrlEncoded
37
37
  builder.use Faraday::Response::RaiseError
38
38
 
39
- # Net::HTTP::Persistent doesn't seem to do well on JRuby, so fall
40
- # back to default there.
41
- if RUBY_PLATFORM == "java"
39
+ # Net::HTTP::Persistent doesn't seem to do well on Windows or JRuby,
40
+ # so fall back to default there.
41
+ if Gem.win_platform? || RUBY_PLATFORM == "java"
42
42
  builder.adapter :net_http
43
43
  else
44
44
  builder.adapter :net_http_persistent
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stripe
4
- VERSION = "4.0.2".freeze
4
+ VERSION = "4.0.3".freeze
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stripe
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.2
4
+ version: 4.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stripe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-16 00:00:00.000000000 Z
11
+ date: 2018-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -237,7 +237,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
237
237
  version: '0'
238
238
  requirements: []
239
239
  rubyforge_project:
240
- rubygems_version: 2.7.8
240
+ rubygems_version: 2.6.14
241
241
  signing_key:
242
242
  specification_version: 4
243
243
  summary: Ruby bindings for the Stripe API