stripe 1.22.0 → 1.23.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/History.txt +4 -0
- data/VERSION +1 -1
- data/lib/stripe.rb +20 -19
- data/lib/stripe/errors/card_error.rb +3 -2
- data/lib/stripe/errors/invalid_request_error.rb +3 -2
- data/lib/stripe/errors/stripe_error.rb +8 -2
- data/lib/stripe/version.rb +1 -1
- data/test/stripe/account_test.rb +9 -9
- data/test/stripe/api_resource_test.rb +48 -48
- data/test/stripe/application_fee_refund_test.rb +6 -6
- data/test/stripe/application_fee_test.rb +2 -2
- data/test/stripe/balance_test.rb +1 -1
- data/test/stripe/bitcoin_receiver_test.rb +12 -12
- data/test/stripe/charge_test.rb +12 -12
- data/test/stripe/coupon_test.rb +3 -3
- data/test/stripe/customer_card_test.rb +8 -8
- data/test/stripe/customer_test.rb +14 -14
- data/test/stripe/file_upload_test.rb +3 -3
- data/test/stripe/invoice_test.rb +6 -6
- data/test/stripe/list_object_test.rb +2 -2
- data/test/stripe/metadata_test.rb +10 -10
- data/test/stripe/recipient_card_test.rb +8 -8
- data/test/stripe/refund_test.rb +6 -6
- data/test/stripe/reversal_test.rb +6 -6
- data/test/stripe/subscription_test.rb +13 -13
- data/test/stripe/transfer_test.rb +4 -4
- data/test/test_data.rb +72 -67
- metadata +21 -35
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stripe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
5
|
-
prerelease:
|
4
|
+
version: 1.23.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Ross Boucher
|
@@ -10,102 +9,90 @@ authors:
|
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date: 2015-
|
12
|
+
date: 2015-07-07 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: rest-client
|
17
16
|
requirement: !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
17
|
requirements:
|
20
|
-
- - ~>
|
18
|
+
- - "~>"
|
21
19
|
- !ruby/object:Gem::Version
|
22
20
|
version: '1.4'
|
23
21
|
type: :runtime
|
24
22
|
prerelease: false
|
25
23
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
none: false
|
27
24
|
requirements:
|
28
|
-
- - ~>
|
25
|
+
- - "~>"
|
29
26
|
- !ruby/object:Gem::Version
|
30
27
|
version: '1.4'
|
31
28
|
- !ruby/object:Gem::Dependency
|
32
29
|
name: json
|
33
30
|
requirement: !ruby/object:Gem::Requirement
|
34
|
-
none: false
|
35
31
|
requirements:
|
36
|
-
- - ~>
|
32
|
+
- - "~>"
|
37
33
|
- !ruby/object:Gem::Version
|
38
34
|
version: 1.8.1
|
39
35
|
type: :runtime
|
40
36
|
prerelease: false
|
41
37
|
version_requirements: !ruby/object:Gem::Requirement
|
42
|
-
none: false
|
43
38
|
requirements:
|
44
|
-
- - ~>
|
39
|
+
- - "~>"
|
45
40
|
- !ruby/object:Gem::Version
|
46
41
|
version: 1.8.1
|
47
42
|
- !ruby/object:Gem::Dependency
|
48
43
|
name: mocha
|
49
44
|
requirement: !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
45
|
requirements:
|
52
|
-
- - ~>
|
46
|
+
- - "~>"
|
53
47
|
- !ruby/object:Gem::Version
|
54
48
|
version: 0.13.2
|
55
49
|
type: :development
|
56
50
|
prerelease: false
|
57
51
|
version_requirements: !ruby/object:Gem::Requirement
|
58
|
-
none: false
|
59
52
|
requirements:
|
60
|
-
- - ~>
|
53
|
+
- - "~>"
|
61
54
|
- !ruby/object:Gem::Version
|
62
55
|
version: 0.13.2
|
63
56
|
- !ruby/object:Gem::Dependency
|
64
57
|
name: shoulda
|
65
58
|
requirement: !ruby/object:Gem::Requirement
|
66
|
-
none: false
|
67
59
|
requirements:
|
68
|
-
- - ~>
|
60
|
+
- - "~>"
|
69
61
|
- !ruby/object:Gem::Version
|
70
62
|
version: 3.4.0
|
71
63
|
type: :development
|
72
64
|
prerelease: false
|
73
65
|
version_requirements: !ruby/object:Gem::Requirement
|
74
|
-
none: false
|
75
66
|
requirements:
|
76
|
-
- - ~>
|
67
|
+
- - "~>"
|
77
68
|
- !ruby/object:Gem::Version
|
78
69
|
version: 3.4.0
|
79
70
|
- !ruby/object:Gem::Dependency
|
80
71
|
name: test-unit
|
81
72
|
requirement: !ruby/object:Gem::Requirement
|
82
|
-
none: false
|
83
73
|
requirements:
|
84
|
-
- -
|
74
|
+
- - ">="
|
85
75
|
- !ruby/object:Gem::Version
|
86
76
|
version: '0'
|
87
77
|
type: :development
|
88
78
|
prerelease: false
|
89
79
|
version_requirements: !ruby/object:Gem::Requirement
|
90
|
-
none: false
|
91
80
|
requirements:
|
92
|
-
- -
|
81
|
+
- - ">="
|
93
82
|
- !ruby/object:Gem::Version
|
94
83
|
version: '0'
|
95
84
|
- !ruby/object:Gem::Dependency
|
96
85
|
name: rake
|
97
86
|
requirement: !ruby/object:Gem::Requirement
|
98
|
-
none: false
|
99
87
|
requirements:
|
100
|
-
- -
|
88
|
+
- - ">="
|
101
89
|
- !ruby/object:Gem::Version
|
102
90
|
version: '0'
|
103
91
|
type: :development
|
104
92
|
prerelease: false
|
105
93
|
version_requirements: !ruby/object:Gem::Requirement
|
106
|
-
none: false
|
107
94
|
requirements:
|
108
|
-
- -
|
95
|
+
- - ">="
|
109
96
|
- !ruby/object:Gem::Version
|
110
97
|
version: '0'
|
111
98
|
description: Stripe is the easiest way to accept payments online. See https://stripe.com
|
@@ -118,8 +105,8 @@ executables:
|
|
118
105
|
extensions: []
|
119
106
|
extra_rdoc_files: []
|
120
107
|
files:
|
121
|
-
- .gitignore
|
122
|
-
- .travis.yml
|
108
|
+
- ".gitignore"
|
109
|
+
- ".travis.yml"
|
123
110
|
- CONTRIBUTORS
|
124
111
|
- Gemfile
|
125
112
|
- History.txt
|
@@ -200,27 +187,26 @@ files:
|
|
200
187
|
homepage: https://stripe.com/api
|
201
188
|
licenses:
|
202
189
|
- MIT
|
190
|
+
metadata: {}
|
203
191
|
post_install_message:
|
204
192
|
rdoc_options: []
|
205
193
|
require_paths:
|
206
194
|
- lib
|
207
195
|
required_ruby_version: !ruby/object:Gem::Requirement
|
208
|
-
none: false
|
209
196
|
requirements:
|
210
|
-
- -
|
197
|
+
- - ">="
|
211
198
|
- !ruby/object:Gem::Version
|
212
199
|
version: '0'
|
213
200
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
214
|
-
none: false
|
215
201
|
requirements:
|
216
|
-
- -
|
202
|
+
- - ">="
|
217
203
|
- !ruby/object:Gem::Version
|
218
204
|
version: '0'
|
219
205
|
requirements: []
|
220
206
|
rubyforge_project:
|
221
|
-
rubygems_version:
|
207
|
+
rubygems_version: 2.2.2
|
222
208
|
signing_key:
|
223
|
-
specification_version:
|
209
|
+
specification_version: 4
|
224
210
|
summary: Ruby bindings for the Stripe API
|
225
211
|
test_files:
|
226
212
|
- test/stripe/account_test.rb
|