stripe 1.7.0 → 1.7.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +2 -0
- data/.travis.yml +8 -0
- data/CONTRIBUTORS +3 -0
- data/Gemfile +2 -0
- data/Gemfile.lock +34 -0
- data/History.txt +68 -0
- data/LICENSE +21 -0
- data/README.rdoc +28 -0
- data/Rakefile +9 -0
- data/VERSION +1 -0
- data/gemfiles/default-with-activesupport.gemfile +3 -0
- data/gemfiles/default-with-activesupport.gemfile.lock +39 -0
- data/gemfiles/json.gemfile +4 -0
- data/gemfiles/json.gemfile.lock +41 -0
- data/gemfiles/yajl.gemfile +4 -0
- data/gemfiles/yajl.gemfile.lock +41 -0
- data/lib/stripe.rb +62 -500
- data/lib/stripe/account.rb +4 -0
- data/lib/stripe/api_operations/create.rb +16 -0
- data/lib/stripe/api_operations/delete.rb +11 -0
- data/lib/stripe/api_operations/list.rb +16 -0
- data/lib/stripe/api_operations/update.rb +15 -0
- data/lib/stripe/api_resource.rb +33 -0
- data/lib/stripe/charge.rb +29 -0
- data/lib/stripe/coupon.rb +7 -0
- data/lib/stripe/customer.rb +51 -0
- data/lib/stripe/errors/api_connection_error.rb +4 -0
- data/lib/stripe/errors/api_error.rb +4 -0
- data/lib/stripe/errors/authentication_error.rb +4 -0
- data/lib/stripe/errors/card_error.rb +11 -0
- data/lib/stripe/errors/invalid_request_error.rb +10 -0
- data/lib/stripe/errors/stripe_error.rb +20 -0
- data/lib/stripe/event.rb +5 -0
- data/lib/stripe/invoice.rb +16 -0
- data/lib/stripe/invoice_item.rb +8 -0
- data/lib/stripe/json.rb +21 -0
- data/lib/stripe/plan.rb +8 -0
- data/lib/stripe/singleton_api_resource.rb +20 -0
- data/lib/stripe/stripe_object.rb +150 -0
- data/lib/stripe/token.rb +5 -0
- data/lib/stripe/transfer.rb +16 -0
- data/lib/stripe/util.rb +103 -0
- data/lib/stripe/version.rb +1 -1
- data/stripe.gemspec +28 -0
- data/test/test_helper.rb +175 -0
- data/test/test_stripe.rb +472 -0
- data/test/test_stripe_with_active_support.rb +3 -0
- metadata +54 -7
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stripe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 9
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 7
|
9
|
-
-
|
10
|
-
version: 1.7.
|
9
|
+
- 1
|
10
|
+
version: 1.7.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ross Boucher
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2012-
|
19
|
+
date: 2012-08-17 00:00:00 Z
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
22
|
type: :runtime
|
@@ -115,10 +115,55 @@ extensions: []
|
|
115
115
|
extra_rdoc_files: []
|
116
116
|
|
117
117
|
files:
|
118
|
+
- .gitignore
|
119
|
+
- .travis.yml
|
120
|
+
- CONTRIBUTORS
|
121
|
+
- Gemfile
|
122
|
+
- Gemfile.lock
|
123
|
+
- History.txt
|
124
|
+
- LICENSE
|
125
|
+
- README.rdoc
|
126
|
+
- Rakefile
|
127
|
+
- VERSION
|
118
128
|
- bin/stripe-console
|
129
|
+
- gemfiles/default-with-activesupport.gemfile
|
130
|
+
- gemfiles/default-with-activesupport.gemfile.lock
|
131
|
+
- gemfiles/json.gemfile
|
132
|
+
- gemfiles/json.gemfile.lock
|
133
|
+
- gemfiles/yajl.gemfile
|
134
|
+
- gemfiles/yajl.gemfile.lock
|
135
|
+
- lib/data/ca-certificates.crt
|
119
136
|
- lib/stripe.rb
|
137
|
+
- lib/stripe/account.rb
|
138
|
+
- lib/stripe/api_operations/create.rb
|
139
|
+
- lib/stripe/api_operations/delete.rb
|
140
|
+
- lib/stripe/api_operations/list.rb
|
141
|
+
- lib/stripe/api_operations/update.rb
|
142
|
+
- lib/stripe/api_resource.rb
|
143
|
+
- lib/stripe/charge.rb
|
144
|
+
- lib/stripe/coupon.rb
|
145
|
+
- lib/stripe/customer.rb
|
146
|
+
- lib/stripe/errors/api_connection_error.rb
|
147
|
+
- lib/stripe/errors/api_error.rb
|
148
|
+
- lib/stripe/errors/authentication_error.rb
|
149
|
+
- lib/stripe/errors/card_error.rb
|
150
|
+
- lib/stripe/errors/invalid_request_error.rb
|
151
|
+
- lib/stripe/errors/stripe_error.rb
|
152
|
+
- lib/stripe/event.rb
|
153
|
+
- lib/stripe/invoice.rb
|
154
|
+
- lib/stripe/invoice_item.rb
|
155
|
+
- lib/stripe/json.rb
|
156
|
+
- lib/stripe/plan.rb
|
157
|
+
- lib/stripe/singleton_api_resource.rb
|
158
|
+
- lib/stripe/stripe_object.rb
|
159
|
+
- lib/stripe/token.rb
|
160
|
+
- lib/stripe/transfer.rb
|
161
|
+
- lib/stripe/util.rb
|
120
162
|
- lib/stripe/version.rb
|
121
|
-
-
|
163
|
+
- stripe.gemspec
|
164
|
+
- test/test_helper.rb
|
165
|
+
- test/test_stripe.rb
|
166
|
+
- test/test_stripe_with_active_support.rb
|
122
167
|
homepage: https://stripe.com/api
|
123
168
|
licenses: []
|
124
169
|
|
@@ -152,5 +197,7 @@ rubygems_version: 1.8.21
|
|
152
197
|
signing_key:
|
153
198
|
specification_version: 3
|
154
199
|
summary: Ruby bindings for the Stripe API
|
155
|
-
test_files:
|
156
|
-
|
200
|
+
test_files:
|
201
|
+
- test/test_helper.rb
|
202
|
+
- test/test_stripe.rb
|
203
|
+
- test/test_stripe_with_active_support.rb
|