stripe 1.7.0 → 1.7.1

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.
Files changed (48) hide show
  1. data/.gitignore +2 -0
  2. data/.travis.yml +8 -0
  3. data/CONTRIBUTORS +3 -0
  4. data/Gemfile +2 -0
  5. data/Gemfile.lock +34 -0
  6. data/History.txt +68 -0
  7. data/LICENSE +21 -0
  8. data/README.rdoc +28 -0
  9. data/Rakefile +9 -0
  10. data/VERSION +1 -0
  11. data/gemfiles/default-with-activesupport.gemfile +3 -0
  12. data/gemfiles/default-with-activesupport.gemfile.lock +39 -0
  13. data/gemfiles/json.gemfile +4 -0
  14. data/gemfiles/json.gemfile.lock +41 -0
  15. data/gemfiles/yajl.gemfile +4 -0
  16. data/gemfiles/yajl.gemfile.lock +41 -0
  17. data/lib/stripe.rb +62 -500
  18. data/lib/stripe/account.rb +4 -0
  19. data/lib/stripe/api_operations/create.rb +16 -0
  20. data/lib/stripe/api_operations/delete.rb +11 -0
  21. data/lib/stripe/api_operations/list.rb +16 -0
  22. data/lib/stripe/api_operations/update.rb +15 -0
  23. data/lib/stripe/api_resource.rb +33 -0
  24. data/lib/stripe/charge.rb +29 -0
  25. data/lib/stripe/coupon.rb +7 -0
  26. data/lib/stripe/customer.rb +51 -0
  27. data/lib/stripe/errors/api_connection_error.rb +4 -0
  28. data/lib/stripe/errors/api_error.rb +4 -0
  29. data/lib/stripe/errors/authentication_error.rb +4 -0
  30. data/lib/stripe/errors/card_error.rb +11 -0
  31. data/lib/stripe/errors/invalid_request_error.rb +10 -0
  32. data/lib/stripe/errors/stripe_error.rb +20 -0
  33. data/lib/stripe/event.rb +5 -0
  34. data/lib/stripe/invoice.rb +16 -0
  35. data/lib/stripe/invoice_item.rb +8 -0
  36. data/lib/stripe/json.rb +21 -0
  37. data/lib/stripe/plan.rb +8 -0
  38. data/lib/stripe/singleton_api_resource.rb +20 -0
  39. data/lib/stripe/stripe_object.rb +150 -0
  40. data/lib/stripe/token.rb +5 -0
  41. data/lib/stripe/transfer.rb +16 -0
  42. data/lib/stripe/util.rb +103 -0
  43. data/lib/stripe/version.rb +1 -1
  44. data/stripe.gemspec +28 -0
  45. data/test/test_helper.rb +175 -0
  46. data/test/test_stripe.rb +472 -0
  47. data/test/test_stripe_with_active_support.rb +3 -0
  48. metadata +54 -7
@@ -0,0 +1,3 @@
1
+ require 'active_support'
2
+ ActiveSupport.autoloads.each_key {|sym| ActiveSupport.const_get(sym)}
3
+ load File.expand_path(File.join(File.dirname(__FILE__), 'test_stripe.rb'))
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: 11
4
+ hash: 9
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 7
9
- - 0
10
- version: 1.7.0
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-05-17 00:00:00 Z
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
- - lib/data/ca-certificates.crt
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