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 +4 -4
- data/History.txt +4 -0
- data/VERSION +1 -1
- data/lib/stripe/util.rb +1 -1
- data/lib/stripe/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4f4a87a330e0cdcde4a35762e56dfaee640ad0b
|
4
|
+
data.tar.gz: e678908e0ce2cbb76c380b59a61057aaad6d0506
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35501ad53bbd37c8846938041b2b0c0fdeeb6f4c46982b71ebca335c5634230619bdf83e2bdaa4b083f99d944cfb0b296277e7e025220f708340443ef02b9bd5
|
7
|
+
data.tar.gz: 14dfd0b06b93e26df2eb54b8795a059708232957ac9cc1f24f579385c3c970f7bca268b5002162fcbe16fdf676ddc404a9197ca618f27dbf508cfbf5c13b90b8
|
data/History.txt
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.5.0
|
data/lib/stripe/util.rb
CHANGED
@@ -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) }
|
data/lib/stripe/version.rb
CHANGED
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
|
+
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-
|
11
|
+
date: 2017-04-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|