stripe 11.6.0 → 11.7.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 +4 -0
- data/VERSION +1 -1
- data/lib/stripe/stripe_client.rb +4 -0
- data/lib/stripe/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10d590e76f5c8524bee12dc767dee9b845fa9732aa4eed9621d0c10d05dfef4c
|
4
|
+
data.tar.gz: 803b1a9728c6322b40cce127b3464e1abff35c2ad515a73ec2b11ae1fe5b0476
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f324debcf2d8d68f425a1fd934d981656f695d8440ca3c4cef5dab5b618d56407e324420b0ceee896f69c21281133d8fe4fb931b9bca34a9fece9fc281b6ef3
|
7
|
+
data.tar.gz: 6d17556b19ccac9ce7d9a102b6a3d7984b042f98fcaeb3014dd177a232fba50897bbba9b2ddf6addc76fad6a99b607e4f0069c994047e38217f53ee81b61ed7c
|
data/CHANGELOG.md
CHANGED
@@ -1,4 +1,8 @@
|
|
1
1
|
# Changelog
|
2
|
+
## 11.7.0 - 2024-06-13
|
3
|
+
* [#1415](https://github.com/stripe/stripe-ruby/pull/1415) Deprecate StripeClient#request
|
4
|
+
* Add deprecation warning for `StripeClient#request`. This helper method will be removed in a future major version. To access response objects, use the `last_response` property on the returned resource instead. Refer to [Accessing a response object](https://github.com/stripe/stripe-ruby?tab=readme-ov-file#accessing-a-response-object) in the README for usage details.
|
5
|
+
|
2
6
|
## 11.6.0 - 2024-05-30
|
3
7
|
* [#1404](https://github.com/stripe/stripe-ruby/pull/1404) Add method to list invoice line items
|
4
8
|
* Add methods `list_lines()` on the class `Invoice` to list the invoice line items
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
11.
|
1
|
+
11.7.0
|
data/lib/stripe/stripe_client.rb
CHANGED
@@ -190,6 +190,7 @@ module Stripe
|
|
190
190
|
# client = StripeClient.new
|
191
191
|
# charge, resp = client.request { Charge.create }
|
192
192
|
#
|
193
|
+
|
193
194
|
def request
|
194
195
|
@usage = ["stripe_client_request"]
|
195
196
|
old_stripe_client = self.class.current_thread_context.active_client
|
@@ -211,6 +212,9 @@ module Stripe
|
|
211
212
|
self.class.current_thread_context.last_responses.delete(object_id)
|
212
213
|
end
|
213
214
|
end
|
215
|
+
deprecate :request, "the `last_response` property on the returned resource (see " \
|
216
|
+
"https://github.com/stripe/stripe-ruby?tab=readme-ov-file#accessing-a-response-object " \
|
217
|
+
"for usage examples)", 2024, 6
|
214
218
|
|
215
219
|
def execute_request(method, path,
|
216
220
|
api_base: nil, api_key: nil, headers: {}, params: {}, usage: [])
|
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: 11.
|
4
|
+
version: 11.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stripe
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-14 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.
|