stripe 3.12.0 → 3.12.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/stripe_object.rb +2 -1
- data/lib/stripe/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f69c49a7d892cd159ee277609a60cf58b0821661
|
4
|
+
data.tar.gz: a4fd07a861afdc99dee8847f6c0ea3fb4b5ed1e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be354b7d9ead42c6e276275fc92797852d40dbd0aed9af69582b56d41e162ee1988e74f23a7a8a284a66151ae0846bc73694a0a74d7c0565f071cf9ee58ea5db
|
7
|
+
data.tar.gz: d337e1b866dc73b92b7a461e52b0b83fa9bf08ee3520f5767e2837315bd39b308a002828f8e0c23ec68fd99e56241b4ed915359151639585e214410aa1c94e57
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,8 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 3.12.1 - 2018-04-05
|
4
|
+
* [#636](https://github.com/stripe/stripe-ruby/pull/636) Fix a warning for uninitialized instance variable `@additive_params`
|
5
|
+
|
3
6
|
## 3.12.0 - 2018-04-05
|
4
7
|
* [#632](https://github.com/stripe/stripe-ruby/pull/632) Introduce `additive_object_param` so that non-`metadata` subobjects don't zero their keys as they're being replaced
|
5
8
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.12.
|
1
|
+
3.12.1
|
data/lib/stripe/stripe_object.rb
CHANGED
@@ -64,7 +64,8 @@ module Stripe
|
|
64
64
|
# Returns whether the given name is an additive object parameter. See
|
65
65
|
# `.additive_object_param` for details.
|
66
66
|
def self.additive_object_param?(name)
|
67
|
-
|
67
|
+
@additive_params ||= Set.new
|
68
|
+
@additive_params.include?(name)
|
68
69
|
end
|
69
70
|
|
70
71
|
def initialize(id = nil, opts = {})
|
data/lib/stripe/version.rb
CHANGED