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 +4 -4
- data/CHANGELOG.md +7 -0
- data/OPENAPI_VERSION +1 -1
- data/README.md +4 -0
- data/VERSION +1 -1
- data/lib/stripe/object_types.rb +1 -0
- data/lib/stripe/resources/customer.rb +2 -0
- data/lib/stripe/resources/customer_cash_balance_transaction.rb +10 -0
- data/lib/stripe/resources.rb +1 -0
- data/lib/stripe/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 989ee2b99d22b4fef0e7862b8ff6cd4a043ca09668ed9eb457864c408bb8eb4a
|
4
|
+
data.tar.gz: 872b69c6afe17c944f48a8f6b5e96494aa86d378eb0a281f8d8b05ae122ea8a6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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.
|
1
|
+
7.1.0
|
data/lib/stripe/object_types.rb
CHANGED
@@ -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
|
|
data/lib/stripe/resources.rb
CHANGED
@@ -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"
|
data/lib/stripe/version.rb
CHANGED
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.
|
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-
|
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
|