stripe 7.0.0 → 7.1.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: c8c056c26e7e957d838175e3ce97e714dd57d135d4334514d941a66774eaa01f
4
- data.tar.gz: 4419dec5287e23621c54ac8f66eee626cfcdb1148d08febec6a58f0c490dac77
3
+ metadata.gz: 989ee2b99d22b4fef0e7862b8ff6cd4a043ca09668ed9eb457864c408bb8eb4a
4
+ data.tar.gz: 872b69c6afe17c944f48a8f6b5e96494aa86d378eb0a281f8d8b05ae122ea8a6
5
5
  SHA512:
6
- metadata.gz: 1554ab4b614fcc677450b098fc96933d496e7c00e8a8711a564b827adf4785427cc4c6539b4ee74f014f98760cb6cc75de5d62d8d709a3c68366a67cf4ff620d
7
- data.tar.gz: 0347a43b7406f460889a749c964135ee686211c34f7d3de568dd86ebf0026a34f38ecafa6d5419e8ff34100822295b9864cab52ae763db82db9bc4e14de1ad5a
6
+ metadata.gz: d82ab0a2ea55ca4551695c286fcfc72ef35cbcd61f31d340ad37158bb1052f1a8330aabd5b92c10af5ac7fd84fea1d889f37c87b273fdb0d9305cdfb92328077
7
+ data.tar.gz: 5ea3f368e59bdcc12cf68fabee95eac23f07792e3506afd1dcb77d7e5e2986c006d8292b74a711190c49444b31c7af07a4c7ee31f86b928b00cc5ebf0bcf1697
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## 7.1.0 - 2022-08-19
4
+ * [#1116](https://github.com/stripe/stripe-ruby/pull/1116) API Updates
5
+ * Add support for new resource `CustomerCashBalanceTransaction`
6
+ * [#1118](https://github.com/stripe/stripe-ruby/pull/1118) Update AllowedChars in rubocop config
7
+ * [#1117](https://github.com/stripe/stripe-ruby/pull/1117) Refresh rubocop config.
8
+ * [#1115](https://github.com/stripe/stripe-ruby/pull/1115) Add a support section to the readme
9
+
3
10
  ## 7.0.0 - 2022-08-02
4
11
 
5
12
  Breaking changes that arose during code generation of the library that we postponed for the next major version. For changes to the SDK, read more detailed description at https://github.com/stripe/stripe-ruby/wiki/Migration-guide-for-v7. For changes to the Stripe products, read more at https://stripe.com/docs/upgrades#2022-08-01.
data/OPENAPI_VERSION CHANGED
@@ -1 +1 @@
1
- v174
1
+ v183
data/README.md CHANGED
@@ -16,6 +16,10 @@ The library also provides other features. For example:
16
16
  - Built-in mechanisms for the serialization of parameters according to the
17
17
  expectations of Stripe's API.
18
18
 
19
+ ## Support
20
+
21
+ New features and bug fixes are released on the latest major version of the Stripe Ruby library. If you are on an older major version, we recommend that you upgrade to the latest in order to use the new features and bug fixes including those for security vulnerabilities. Older major versions of the package will continue to be available for use, but will not be receiving any updates.
22
+
19
23
  ## Documentation
20
24
 
21
25
  See the [Ruby API docs](https://stripe.com/docs/api?lang=ruby).
data/VERSION CHANGED
@@ -1 +1 @@
1
- 7.0.0
1
+ 7.1.0
@@ -34,6 +34,7 @@ module Stripe
34
34
  CreditNoteLineItem::OBJECT_NAME => CreditNoteLineItem,
35
35
  Customer::OBJECT_NAME => Customer,
36
36
  CustomerBalanceTransaction::OBJECT_NAME => CustomerBalanceTransaction,
37
+ CustomerCashBalanceTransaction::OBJECT_NAME => CustomerCashBalanceTransaction,
37
38
  Discount::OBJECT_NAME => Discount,
38
39
  Dispute::OBJECT_NAME => Dispute,
39
40
  EphemeralKey::OBJECT_NAME => EphemeralKey,
@@ -14,6 +14,8 @@ module Stripe
14
14
 
15
15
  nested_resource_class_methods :balance_transaction,
16
16
  operations: %i[create retrieve update list]
17
+ nested_resource_class_methods :cash_balance_transaction,
18
+ operations: %i[retrieve list]
17
19
  nested_resource_class_methods :tax_id,
18
20
  operations: %i[create retrieve delete list]
19
21
 
@@ -0,0 +1,10 @@
1
+ # File generated from our OpenAPI spec
2
+ # frozen_string_literal: true
3
+
4
+ module Stripe
5
+ class CustomerCashBalanceTransaction < APIResource
6
+ extend Stripe::APIOperations::List
7
+
8
+ OBJECT_NAME = "customer_cash_balance_transaction"
9
+ end
10
+ end
@@ -23,6 +23,7 @@ require "stripe/resources/credit_note"
23
23
  require "stripe/resources/credit_note_line_item"
24
24
  require "stripe/resources/customer"
25
25
  require "stripe/resources/customer_balance_transaction"
26
+ require "stripe/resources/customer_cash_balance_transaction"
26
27
  require "stripe/resources/discount"
27
28
  require "stripe/resources/dispute"
28
29
  require "stripe/resources/ephemeral_key"
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stripe
4
- VERSION = "7.0.0"
4
+ VERSION = "7.1.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: 7.0.0
4
+ version: 7.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stripe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-02 00:00:00.000000000 Z
11
+ date: 2022-08-19 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.
@@ -74,6 +74,7 @@ files:
74
74
  - lib/stripe/resources/credit_note_line_item.rb
75
75
  - lib/stripe/resources/customer.rb
76
76
  - lib/stripe/resources/customer_balance_transaction.rb
77
+ - lib/stripe/resources/customer_cash_balance_transaction.rb
77
78
  - lib/stripe/resources/discount.rb
78
79
  - lib/stripe/resources/dispute.rb
79
80
  - lib/stripe/resources/ephemeral_key.rb