stripe 8.4.0 → 8.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 67db1dd1caf8637a08e9847859bdd21a3822fef60a04527ec589ddeee741caac
4
- data.tar.gz: d5fc4eee401eb7398ee21ab2bf21f0523c4ef249a71ff584262836f43ea2e1ba
3
+ metadata.gz: 69907e69481fc6350f4a226975cf5988a770b61eb1d6eed36f4d935452dcada1
4
+ data.tar.gz: 982881d50f24782e00eeb5f5c3daa6e508eccb9991b7ef02caed9e51719a8ba4
5
5
  SHA512:
6
- metadata.gz: d3768352b55e9b134da85cf5d2564454d5188110fc30a87a43c04e2232d4e8df15a68198da64312c5d6ebcd58c35165d86c8639eb0e142d04c26ba0d32bbaf40
7
- data.tar.gz: 9c5982edca7aaf071979186da8ec65913bafafcf9786313b793ead23b62de43305eae733167e99ab68c5c8bfcf140c2cea997d7727fb7995a01232bda1a1a0d5
6
+ metadata.gz: 7de7cb6d5319da3553d0663ef6bcaa5a5231578ed204ab756b9ff0e0d7396a137944b7bb7032d731257fb65089ca00da510d9f0e26c2502a6e7bd473e7c8913d
7
+ data.tar.gz: e46980b615f80e4c6a4656ad85fd83acdae65bca8a76f808572ecdccc903aae5bfcf85fab9f3c234b746a193ebec98ab216d3b65606a2e77f91a344595e10f5a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 8.5.0 - 2023-03-30
4
+ * [#1203](https://github.com/stripe/stripe-ruby/pull/1203) Update generated code
5
+ * Remove support for `create` method on resource `Tax.Transaction`
6
+ * This is not a breaking change, as this method was deprecated before the Tax Transactions API was released in favor of the `create_from_calculation` method.
7
+ * [#1201](https://github.com/stripe/stripe-ruby/pull/1201) Update save deprecation message
8
+
3
9
  ## 8.4.0 - 2023-03-23
4
10
  * [#1197](https://github.com/stripe/stripe-ruby/pull/1197) Update generated code (new)
5
11
  * Add support for new resources `Tax.CalculationLineItem`, `Tax.Calculation`, `Tax.TransactionLineItem`, and `Tax.Transaction`
data/OPENAPI_VERSION CHANGED
@@ -1 +1 @@
1
- v277
1
+ v285
data/VERSION CHANGED
@@ -1 +1 @@
1
- 8.4.0
1
+ 8.5.0
@@ -72,7 +72,9 @@ module Stripe
72
72
  initialize_from(resp.data, opts)
73
73
  end
74
74
  extend Gem::Deprecate
75
- deprecate :save, :update, 2022, 11
75
+ deprecate :save, "the `update` class method (for examples"\
76
+ " see https://github.com/stripe/stripe-ruby"\
77
+ "/wiki/Migration-guide-for-v8)", 2022, 11
76
78
 
77
79
  def self.included(base)
78
80
  # Set `metadata` as additive so that when it's set directly we remember
@@ -5,8 +5,6 @@ module Stripe
5
5
  module Tax
6
6
  # A Tax transaction records the tax collected from or refunded to your customer.
7
7
  class Transaction < APIResource
8
- extend Stripe::APIOperations::Create
9
-
10
8
  OBJECT_NAME = "tax.transaction"
11
9
 
12
10
  def list_line_items(params = {}, opts = {})
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stripe
4
- VERSION = "8.4.0"
4
+ VERSION = "8.5.0"
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: 8.4.0
4
+ version: 8.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: 2023-03-23 00:00:00.000000000 Z
11
+ date: 2023-03-30 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.