stripe 1.46.0 → 1.47.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +11 -0
- data/History.txt +4 -0
- data/VERSION +1 -1
- data/lib/stripe.rb +0 -9
- data/lib/stripe/version.rb +1 -1
- data/stripe.gemspec +1 -1
- metadata +10 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 38d734e2601e619467a635e7119425d445a03a2f
|
4
|
+
data.tar.gz: 5ed120c6302d916cf088484499741bd71eea15e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f8d03ef20097a5787b4a05637b6dfb8aa534457d1cfe85963d69f36611dadc515587d390c2d0b927769e3f9b6f619d010e4b4ba5b40bfbf687829e740abf0226
|
7
|
+
data.tar.gz: 0b55c686a8669016b3d371b2586c5ece3174c597cfeeeca75f5cb0d6db21999c42f6171651ca484e9235cc8b05393b80ab78a3d9dcd6c353152bddb6abc1a0c9
|
data/Gemfile
CHANGED
@@ -9,6 +9,17 @@ group :development do
|
|
9
9
|
gem 'shoulda-context'
|
10
10
|
gem 'test-unit'
|
11
11
|
|
12
|
+
# mime-types has become only compatible with Ruby versions > 2 and we're
|
13
|
+
# still supporting 1.9 for the time being. Lock to old versions of
|
14
|
+
# mime-types and rest-client which are known to work in our Gemfile (it's
|
15
|
+
# fine to use newer versions in live environments so we don't have these in
|
16
|
+
# the gemspec).
|
17
|
+
#
|
18
|
+
# https://github.com/travis-ci/travis-ci/issues/5145
|
19
|
+
#
|
20
|
+
gem 'mime-types', '2.6.2'
|
21
|
+
gem 'rest-client', '1.8.0'
|
22
|
+
|
12
23
|
platforms :mri do
|
13
24
|
# to avoid problems, bring Byebug in on just versions of Ruby under which
|
14
25
|
# it's known to work well
|
data/History.txt
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.47.0
|
data/lib/stripe.rb
CHANGED
@@ -226,15 +226,6 @@ module Stripe
|
|
226
226
|
when SocketError
|
227
227
|
response = handle_restclient_error(e, request_opts, retry_count, api_base_url)
|
228
228
|
|
229
|
-
when NoMethodError
|
230
|
-
# Work around RestClient bug
|
231
|
-
if e.message =~ /\WRequestFailed\W/
|
232
|
-
e = APIConnectionError.new('Unexpected HTTP response code')
|
233
|
-
response = handle_restclient_error(e, request_opts, retry_count, api_base_url)
|
234
|
-
else
|
235
|
-
raise
|
236
|
-
end
|
237
|
-
|
238
229
|
when RestClient::ExceptionWithResponse
|
239
230
|
if e.response
|
240
231
|
handle_api_error(e.response)
|
data/lib/stripe/version.rb
CHANGED
data/stripe.gemspec
CHANGED
@@ -13,7 +13,7 @@ spec = Gem::Specification.new do |s|
|
|
13
13
|
s.homepage = 'https://stripe.com/docs/api/ruby'
|
14
14
|
s.license = 'MIT'
|
15
15
|
|
16
|
-
s.add_dependency('rest-client', '
|
16
|
+
s.add_dependency('rest-client', '>= 1.4', '< 3.0')
|
17
17
|
|
18
18
|
s.files = `git ls-files`.split("\n")
|
19
19
|
s.test_files = `git ls-files -- test/*`.split("\n")
|
metadata
CHANGED
@@ -1,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stripe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.47.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stripe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '1.4'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: '3.0'
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: '1.4'
|
30
|
+
- - "<"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '3.0'
|
27
33
|
description: Stripe is the easiest way to accept payments online. See https://stripe.com
|
28
34
|
for details.
|
29
35
|
email: support@stripe.com
|