stripe 2.4.0 → 2.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fa5a5d77a37b6f87fe0e40d1eb03072b82d0b4cf
4
- data.tar.gz: aacdfe4bb67bdc6671e300a899a0e9cf037332ac
3
+ metadata.gz: b4f4a87a330e0cdcde4a35762e56dfaee640ad0b
4
+ data.tar.gz: e678908e0ce2cbb76c380b59a61057aaad6d0506
5
5
  SHA512:
6
- metadata.gz: 79d65a44f1a015f5d052396ae54a7a103ff35821ea9b7e290e52f0aa35b5ed0e70f0e9c2230a0ee8cbc2e03508517a4d8bcad79e3248ce2d08a869febfa08207
7
- data.tar.gz: c57103af7cdbf0026211c11a121764bb02f859d00ad822cb29ec49f5a45181274a06c6cb54f86fb9cb9a28e27231490e836b2b29dc4d62273387f66b79653b93
6
+ metadata.gz: 35501ad53bbd37c8846938041b2b0c0fdeeb6f4c46982b71ebca335c5634230619bdf83e2bdaa4b083f99d944cfb0b296277e7e025220f708340443ef02b9bd5
7
+ data.tar.gz: 14dfd0b06b93e26df2eb54b8795a059708232957ac9cc1f24f579385c3c970f7bca268b5002162fcbe16fdf676ddc404a9197ca618f27dbf508cfbf5c13b90b8
@@ -1,3 +1,7 @@
1
+ === 2.5.0 2017-04-24
2
+
3
+ * Make `opts` argument in `Util.convert_to_stripe_object` optional
4
+
1
5
  === 2.4.0 2017-04-18
2
6
 
3
7
  * Add `Stripe.set_app_info` for use by plugin creators
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.4.0
1
+ 2.5.0
@@ -74,7 +74,7 @@ module Stripe
74
74
  # * +data+ - Hash of fields and values to be converted into a StripeObject.
75
75
  # * +opts+ - Options for +StripeObject+ like an API key that will be reused
76
76
  # on subsequent API calls.
77
- def self.convert_to_stripe_object(data, opts)
77
+ def self.convert_to_stripe_object(data, opts = {})
78
78
  case data
79
79
  when Array
80
80
  data.map { |i| convert_to_stripe_object(i, opts) }
@@ -1,3 +1,3 @@
1
1
  module Stripe
2
- VERSION = '2.4.0'
2
+ VERSION = '2.5.0'
3
3
  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: 2.4.0
4
+ version: 2.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stripe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-18 00:00:00.000000000 Z
11
+ date: 2017-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday