stripe 13.1.0 → 13.1.2

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
  SHA256:
3
- metadata.gz: 7d8897809fe1d6947e9bfa68f8b2ac85377a67891665d8bffd419a2aa35cdf00
4
- data.tar.gz: b3a3fff8634929b3b5568ecefad7914e4449cc0a8bbc9123c5fcf4b8bb234700
3
+ metadata.gz: 8209f6cb6e20053417cb941ca8a915e0f6798a62e6d6a18014f71ecedf7c3123
4
+ data.tar.gz: eb91402c16bb912016fdd3729f2a59a77cc568d1b8e4d00850b4e47902d4539f
5
5
  SHA512:
6
- metadata.gz: 265f63bbec2bf7d128e41a1beeb835f0a8517fae8af5618d2f8405b6c2f11ef408284b391b0cf25264f95374991434c1e6cce1fa3eed5f18e769bf25d43b068f
7
- data.tar.gz: 6500471acc623c0ab6fe2a3e788120bac5cbc2c3803640b93d686f36c3d5ad97d3e40abc466352620daaf3f392f8e95dada2d65f40638636622185483d1a4838
6
+ metadata.gz: cf7ead73040db6d8c8926606969765dca5ac1152c6f0fb26822b744cb166cfc0f72010092ce145765ac6e932825a59485e045ace9507c16a28af93f7c75e9ef8
7
+ data.tar.gz: 0d6d650211a60020516d1d17b07f984ea880bc5d28d32feaed332973e8f1aaaf2f468e9842fd333433781e57c2c91d3c759ae63ccc68845a6e4e37643b34070d
data/CHANGELOG.md CHANGED
@@ -1,6 +1,14 @@
1
1
  # Changelog
2
+ ## 13.1.2 - 2024-11-15
3
+ * [#1488](https://github.com/stripe/stripe-ruby/pull/1488) Fix incorrect key in param encoding
4
+ * [#1487](https://github.com/stripe/stripe-ruby/pull/1487) Update VSCode default extensions to use solargraph instead of ruby lsp
5
+
6
+ ## 13.1.1 - 2024-11-06
7
+ * [#1483](https://github.com/stripe/stripe-ruby/pull/1483) Fix APIResource#retrieve not sending `stripe_version`
8
+ * [#1478](https://github.com/stripe/stripe-ruby/pull/1478) Update changelog with a note on 2024-10-28.acacia API version
9
+
2
10
  ## 13.1.0 - 2024-10-29
3
- * [#1472](https://github.com/stripe/stripe-ruby/pull/1472) Update generated code
11
+ * [#1472](https://github.com/stripe/stripe-ruby/pull/1472) This release changes the pinned API version to `2024-10-28.acacia`.
4
12
  * Add support for `submit_card` test helper method on resource `Issuing.Card`
5
13
  * Add support for new resource `V2.EventDestinations`
6
14
  * Add support for `create`, `retrieve`, `update`, `list`, `delete`, `disable`, `enable` and `ping` methods on resource `V2.EventDestinations`
data/VERSION CHANGED
@@ -1 +1 @@
1
- 13.1.0
1
+ 13.1.2
@@ -63,7 +63,7 @@ module Stripe
63
63
  idempotency_key: req_opts[:idempotency_key],
64
64
  stripe_account: req_opts[:stripe_account] || object_opts[:stripe_account],
65
65
  stripe_context: req_opts[:stripe_context] || object_opts[:stripe_context],
66
- stripe_version: req_opts[:stripe_version] || object_opts[:api_version],
66
+ stripe_version: req_opts[:stripe_version] || object_opts[:stripe_version],
67
67
  }
68
68
 
69
69
  # Remove nil values from headers
data/lib/stripe/util.rb CHANGED
@@ -259,7 +259,7 @@ module Stripe
259
259
  if elem.is_a?(Hash)
260
260
  result += flatten_params(elem, api_mode, "#{calculated_key}[#{i}]")
261
261
  elsif elem.is_a?(Array)
262
- result += flatten_params_array(elem, calculated_key, api_mode)
262
+ result += flatten_params_array(elem, api_mode, calculated_key)
263
263
  else
264
264
  result << if api_mode == :v2
265
265
  [calculated_key, elem]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stripe
4
- VERSION = "13.1.0"
4
+ VERSION = "13.1.2"
5
5
  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: 13.1.0
4
+ version: 13.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stripe
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-10-29 00:00:00.000000000 Z
11
+ date: 2024-11-15 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Stripe is the easiest way to accept payments online. See https://stripe.com
14
14
  for details.