stripe 8.6.0.pre.beta.6 → 8.7.0.pre.beta.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +37 -3
- data/OPENAPI_VERSION +1 -1
- data/VERSION +1 -1
- data/lib/stripe/api_version.rb +1 -1
- data/lib/stripe/object_types.rb +1 -0
- data/lib/stripe/resources/customer_session.rb +1 -1
- data/lib/stripe/resources/financial_connections/account_owner.rb +1 -0
- data/lib/stripe/resources/payment_method_configuration.rb +13 -0
- data/lib/stripe/resources.rb +1 -0
- data/lib/stripe/stripe_configuration.rb +4 -1
- 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: 4d6ac8a47052e7d62cc1c90a820a80e48ba2b41afc762adaa4484d66285c7be6
|
4
|
+
data.tar.gz: 5402314f589374d47902af46944ba32e52f677b08c58dbda6f8f712d73e9ac2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c689945d61327093b962ce9ee5c25e804fcd6010b6f6da08580af905db6fb9b6fe37be15d1868fbcfd5e67d5bc02da6478d45ebf039edb829fac9db95057e17c
|
7
|
+
data.tar.gz: c7b986c14cbc246109e61041362ee3e303ce073eda4fa51c0b740f0483bb484926963939abe9bd4020eb1e089c306b4fa542466d9d3c61ff69c65c66e301b948
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,42 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 8.7.0-beta.1 - 2023-07-13
|
4
|
+
* [#1245](https://github.com/stripe/stripe-ruby/pull/1245) Update generated code for beta
|
5
|
+
Release specs are identical.
|
6
|
+
* [#1243](https://github.com/stripe/stripe-ruby/pull/1243) Update generated code for beta
|
7
|
+
* Add support for new resource `PaymentMethodConfiguration`
|
8
|
+
* Add support for `create`, `list`, `retrieve`, and `update` methods on resource `PaymentMethodConfiguration`
|
9
|
+
* [#1239](https://github.com/stripe/stripe-ruby/pull/1239) Update generated code for beta
|
10
|
+
|
11
|
+
|
12
|
+
## 8.6.0 - 2023-07-13
|
13
|
+
* [#1244](https://github.com/stripe/stripe-ruby/pull/1244) Update generated code
|
14
|
+
* Add support for new resource `Tax.Settings`
|
15
|
+
* Add support for `retrieve` and `update` methods on resource `Settings`
|
16
|
+
* [#1241](https://github.com/stripe/stripe-ruby/pull/1241) Update generated code
|
17
|
+
|
18
|
+
* [#1209](https://github.com/stripe/stripe-ruby/pull/1209) Update shoulda-context version
|
19
|
+
* [#1235](https://github.com/stripe/stripe-ruby/pull/1235) Allow "error" string as log level
|
20
|
+
* [#1238](https://github.com/stripe/stripe-ruby/pull/1238) Update log level error message to include `error`
|
21
|
+
* [#1231](https://github.com/stripe/stripe-ruby/pull/1231) fix: variable typo in README for instrumentation
|
22
|
+
* [#1234](https://github.com/stripe/stripe-ruby/pull/1234) Update generated code
|
23
|
+
|
24
|
+
* [#1230](https://github.com/stripe/stripe-ruby/pull/1230) Update generated code
|
25
|
+
* Release specs are identical.
|
26
|
+
* [#1226](https://github.com/stripe/stripe-ruby/pull/1226) Update generated code
|
27
|
+
|
28
|
+
* [#1223](https://github.com/stripe/stripe-ruby/pull/1223) Update generated code
|
29
|
+
|
30
|
+
* [#1225](https://github.com/stripe/stripe-ruby/pull/1225) Downgrade jaro_winkler
|
31
|
+
* [#1219](https://github.com/stripe/stripe-ruby/pull/1219) Update generated code
|
32
|
+
|
33
|
+
Documentation updates.
|
34
|
+
* [#1215](https://github.com/stripe/stripe-ruby/pull/1215) Update generated code
|
35
|
+
|
36
|
+
* [#1208](https://github.com/stripe/stripe-ruby/pull/1208) Update generated code
|
37
|
+
|
38
|
+
* [#1204](https://github.com/stripe/stripe-ruby/pull/1204) Update generated code
|
39
|
+
|
3
40
|
## 8.6.0-beta.6 - 2023-06-22
|
4
41
|
* [#1237](https://github.com/stripe/stripe-ruby/pull/1237) Update generated code for beta
|
5
42
|
* Add support for new resource `CustomerSession`
|
@@ -20,7 +57,6 @@
|
|
20
57
|
* [#1216](https://github.com/stripe/stripe-ruby/pull/1216) Update generated code for beta
|
21
58
|
* [#1214](https://github.com/stripe/stripe-ruby/pull/1214) Update generated code for beta
|
22
59
|
|
23
|
-
|
24
60
|
## 8.6.0-beta.3 - 2023-04-17
|
25
61
|
* [#1211](https://github.com/stripe/stripe-ruby/pull/1211) Update generated code for beta
|
26
62
|
* [#1210](https://github.com/stripe/stripe-ruby/pull/1210), [#1212](https://github.com/stripe/stripe-ruby/pull/1212), [#1213](https://github.com/stripe/stripe-ruby/pull/1213) Add support for request signing
|
@@ -30,11 +66,9 @@
|
|
30
66
|
* Add support for `collect_payment_method` and `confirm_payment_intent` methods on resource `Terminal.Reader`
|
31
67
|
* [#1205](https://github.com/stripe/stripe-ruby/pull/1205) Update generated code for beta
|
32
68
|
|
33
|
-
|
34
69
|
## 8.6.0-beta.1 - 2023-03-30
|
35
70
|
* [#1202](https://github.com/stripe/stripe-ruby/pull/1202) Update generated code for beta
|
36
71
|
|
37
|
-
|
38
72
|
## 8.5.0 - 2023-03-30
|
39
73
|
* [#1203](https://github.com/stripe/stripe-ruby/pull/1203) Update generated code
|
40
74
|
* Remove support for `create` method on resource `Tax.Transaction`
|
data/OPENAPI_VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
v417
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
8.
|
1
|
+
8.7.0-beta.1
|
data/lib/stripe/api_version.rb
CHANGED
data/lib/stripe/object_types.rb
CHANGED
@@ -77,6 +77,7 @@ module Stripe
|
|
77
77
|
PaymentIntent::OBJECT_NAME => PaymentIntent,
|
78
78
|
PaymentLink::OBJECT_NAME => PaymentLink,
|
79
79
|
PaymentMethod::OBJECT_NAME => PaymentMethod,
|
80
|
+
PaymentMethodConfiguration::OBJECT_NAME => PaymentMethodConfiguration,
|
80
81
|
Payout::OBJECT_NAME => Payout,
|
81
82
|
Person::OBJECT_NAME => Person,
|
82
83
|
Plan::OBJECT_NAME => Plan,
|
@@ -2,7 +2,7 @@
|
|
2
2
|
# frozen_string_literal: true
|
3
3
|
|
4
4
|
module Stripe
|
5
|
-
# A customer session allows you to grant client access to Stripe's frontend SDKs (like
|
5
|
+
# A customer session allows you to grant client access to Stripe's frontend SDKs (like StripeJs)
|
6
6
|
# control over a customer.
|
7
7
|
class CustomerSession < APIResource
|
8
8
|
extend Stripe::APIOperations::Create
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# File generated from our OpenAPI spec
|
2
|
+
# frozen_string_literal: true
|
3
|
+
|
4
|
+
module Stripe
|
5
|
+
# An object detailing payment method configurations.
|
6
|
+
class PaymentMethodConfiguration < APIResource
|
7
|
+
extend Stripe::APIOperations::Create
|
8
|
+
extend Stripe::APIOperations::List
|
9
|
+
include Stripe::APIOperations::Save
|
10
|
+
|
11
|
+
OBJECT_NAME = "payment_method_configuration"
|
12
|
+
end
|
13
|
+
end
|
data/lib/stripe/resources.rb
CHANGED
@@ -64,6 +64,7 @@ require "stripe/resources/order"
|
|
64
64
|
require "stripe/resources/payment_intent"
|
65
65
|
require "stripe/resources/payment_link"
|
66
66
|
require "stripe/resources/payment_method"
|
67
|
+
require "stripe/resources/payment_method_configuration"
|
67
68
|
require "stripe/resources/payout"
|
68
69
|
require "stripe/resources/person"
|
69
70
|
require "stripe/resources/plan"
|
@@ -89,13 +89,16 @@ module Stripe
|
|
89
89
|
val = Stripe::LEVEL_DEBUG
|
90
90
|
elsif val == "info"
|
91
91
|
val = Stripe::LEVEL_INFO
|
92
|
+
elsif val == "error"
|
93
|
+
val = Stripe::LEVEL_ERROR
|
92
94
|
end
|
93
95
|
|
94
96
|
levels = [Stripe::LEVEL_INFO, Stripe::LEVEL_DEBUG, Stripe::LEVEL_ERROR]
|
95
97
|
|
96
98
|
if !val.nil? && !levels.include?(val)
|
97
99
|
raise ArgumentError,
|
98
|
-
"log_level should only be set to `nil`, `debug
|
100
|
+
"log_level should only be set to `nil`, `debug`, `info`," \
|
101
|
+
" or `error`"
|
99
102
|
end
|
100
103
|
@log_level = val
|
101
104
|
end
|
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: 8.
|
4
|
+
version: 8.7.0.pre.beta.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stripe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-07-13 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.
|
@@ -116,6 +116,7 @@ files:
|
|
116
116
|
- lib/stripe/resources/payment_intent.rb
|
117
117
|
- lib/stripe/resources/payment_link.rb
|
118
118
|
- lib/stripe/resources/payment_method.rb
|
119
|
+
- lib/stripe/resources/payment_method_configuration.rb
|
119
120
|
- lib/stripe/resources/payout.rb
|
120
121
|
- lib/stripe/resources/person.rb
|
121
122
|
- lib/stripe/resources/plan.rb
|