stripe 4.4.0 → 4.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/VERSION +1 -1
- data/lib/stripe/account.rb +1 -1
- data/lib/stripe/stripe_client.rb +1 -1
- data/lib/stripe/version.rb +1 -1
- data/test/stripe/stripe_object_test.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d1df52a297e70052aeb384082e215945ae3ca4c7f5269b284fab2e3f2a14c3f7
|
4
|
+
data.tar.gz: 3841e60c6dc529a32b175b67020fc5b55bb7ae684a45d4b5c650071a3e841491
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9c6d3cd1d35c6ee4d6203f82d03682fa97319fbc1ec601c974465d3e98917ed330e33a04e96008efdb8f16116886d0a6bbfbd111f38d2fb120f5af2ee1a426c
|
7
|
+
data.tar.gz: 3c6e277707c0bbe950f63b964c61eb012668ae3750c06e0b0e601c194fbe9038cd8be6bebae7ebd2fe92cf546adc9fcb96d9d6dcd454e55658971d4762826989
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
4.4.
|
1
|
+
4.4.1
|
data/lib/stripe/account.rb
CHANGED
@@ -103,7 +103,7 @@ module Stripe
|
|
103
103
|
end
|
104
104
|
|
105
105
|
def legal_entity=(_)
|
106
|
-
raise NoMethodError, '
|
106
|
+
raise NoMethodError, 'Overriding legal_entity can cause serious issues. Instead, set the individual fields of legal_entity like blah.legal_entity.first_name = \'Blah\''
|
107
107
|
end
|
108
108
|
|
109
109
|
def deauthorize(client_id = nil, opts = {})
|
data/lib/stripe/stripe_client.rb
CHANGED
@@ -278,7 +278,7 @@ module Stripe
|
|
278
278
|
end
|
279
279
|
|
280
280
|
# Formats a plugin "app info" hash into a string that we can tack onto the
|
281
|
-
# end of a User-Agent string where it'll be fairly
|
281
|
+
# end of a User-Agent string where it'll be fairly prominent in places like
|
282
282
|
# the Dashboard. Note that this formatting has been implemented to match
|
283
283
|
# other libraries, and shouldn't be changed without universal consensus.
|
284
284
|
def format_app_info(info)
|
data/lib/stripe/version.rb
CHANGED
@@ -452,14 +452,14 @@ module Stripe
|
|
452
452
|
|
453
453
|
should "#to_s will call to_s for all embedded stripe objects" do
|
454
454
|
obj = Stripe::StripeObject.construct_from(id: "id",
|
455
|
-
#
|
455
|
+
# embedded list object
|
456
456
|
refunds: Stripe::ListObject.construct_from(data: [
|
457
457
|
# embedded object in list
|
458
458
|
Stripe::StripeObject.construct_from(id: "id",
|
459
459
|
# embedded object in an object in a list object
|
460
460
|
metadata: Stripe::StripeObject.construct_from(foo: "bar")),
|
461
461
|
]),
|
462
|
-
#
|
462
|
+
# embedded stripe object
|
463
463
|
metadata: Stripe::StripeObject.construct_from(foo: "bar"))
|
464
464
|
expected = JSON.pretty_generate(id: "id",
|
465
465
|
refunds: {
|
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: 4.4.
|
4
|
+
version: 4.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stripe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-12-
|
11
|
+
date: 2018-12-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|