stripe 3.12.0 → 3.12.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 78c2ddb890e46edf9e8e3d9b726ea6799d3aea52
4
- data.tar.gz: ac32ac6e198a21dc2dd448a00601801d604e56fb
3
+ metadata.gz: f69c49a7d892cd159ee277609a60cf58b0821661
4
+ data.tar.gz: a4fd07a861afdc99dee8847f6c0ea3fb4b5ed1e8
5
5
  SHA512:
6
- metadata.gz: df6c4329f75ef7bb548630cc4d097d900b2a006c45d14c9bdea8884c9d27ccf7cfe746c302bc8e14bff25dc02c5a1d6b9f10967c97f86aa29628d6cfe0bcc5dd
7
- data.tar.gz: 1e467d30f83de17b389f656343e90f5f9725e769e16b2c54fa755e8767cb7c13bb81d375f2671dccf8831d2d0a73f3a505939c3861860d9ecadf153a006d9d7d
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.0
1
+ 3.12.1
@@ -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
- !@additive_params.nil? && @additive_params.include?(name)
67
+ @additive_params ||= Set.new
68
+ @additive_params.include?(name)
68
69
  end
69
70
 
70
71
  def initialize(id = nil, opts = {})
@@ -1,3 +1,3 @@
1
1
  module Stripe
2
- VERSION = "3.12.0".freeze
2
+ VERSION = "3.12.1".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stripe
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.12.0
4
+ version: 3.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stripe