stripe 5.44.0 → 5.45.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -2
- data/VERSION +1 -1
- data/lib/stripe/object_types.rb +1 -0
- data/lib/stripe/resources/test_helpers/test_clock.rb +25 -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: 2971f0ad2ef29349e932246a9bc9065d5d1ce53f21c14f7bcdb205b443779a42
|
|
4
|
+
data.tar.gz: a9a980c5cbdc14d79d60f5873f267db10153bd556c81378ec3c3ca270d87252d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 47c89bc9c732bafeae007d6663ca82cbf5e32938d392bb130209d389f7fa59fa54ecb26b0f7b93658b8cd18eab82127c2bfedd6b8c6e3887bb92c99bcc41f11b
|
|
7
|
+
data.tar.gz: a73469bc20fbf0fae44c6409efbe53ce8d90c54dca56fe2f99dfc8a8fd045e9ac295b9df86f13be555648ead094746cb385cb2731cdbb40edbae858f2083f292
|
data/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 5.45.0 - 2022-03-01
|
|
4
|
+
* [#1035](https://github.com/stripe/stripe-ruby/pull/1035) API Updates
|
|
5
|
+
* Add support for new resource `TestHelpers.TestClock`
|
|
6
|
+
|
|
3
7
|
## 5.44.0 - 2022-02-16
|
|
4
8
|
* [#1032](https://github.com/stripe/stripe-ruby/pull/1032) API Updates
|
|
5
|
-
* Add support for `verify_microdeposits` method on resources `PaymentIntent` and `SetupIntent`
|
|
6
|
-
|
|
9
|
+
* Add support for `verify_microdeposits` method on resources `PaymentIntent` and `SetupIntent`
|
|
7
10
|
|
|
8
11
|
## 5.43.0 - 2022-01-20
|
|
9
12
|
* [#1031](https://github.com/stripe/stripe-ruby/pull/1031) API Updates
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
5.
|
|
1
|
+
5.45.0
|
data/lib/stripe/object_types.rb
CHANGED
|
@@ -94,6 +94,7 @@ module Stripe
|
|
|
94
94
|
Terminal::ConnectionToken::OBJECT_NAME => Terminal::ConnectionToken,
|
|
95
95
|
Terminal::Location::OBJECT_NAME => Terminal::Location,
|
|
96
96
|
Terminal::Reader::OBJECT_NAME => Terminal::Reader,
|
|
97
|
+
TestHelpers::TestClock::OBJECT_NAME => TestHelpers::TestClock,
|
|
97
98
|
ThreeDSecure::OBJECT_NAME => ThreeDSecure,
|
|
98
99
|
Token::OBJECT_NAME => Token,
|
|
99
100
|
Topup::OBJECT_NAME => Topup,
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# File generated from our OpenAPI spec
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
+
|
|
4
|
+
module Stripe
|
|
5
|
+
module TestHelpers
|
|
6
|
+
class TestClock < APIResource
|
|
7
|
+
extend Stripe::APIOperations::Create
|
|
8
|
+
include Stripe::APIOperations::Delete
|
|
9
|
+
extend Stripe::APIOperations::List
|
|
10
|
+
|
|
11
|
+
OBJECT_NAME = "test_helpers.test_clock"
|
|
12
|
+
|
|
13
|
+
custom_method :advance, http_verb: :post
|
|
14
|
+
|
|
15
|
+
def advance(params = {}, opts = {})
|
|
16
|
+
request_stripe_object(
|
|
17
|
+
method: :post,
|
|
18
|
+
path: resource_url + "/advance",
|
|
19
|
+
params: params,
|
|
20
|
+
opts: opts
|
|
21
|
+
)
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
data/lib/stripe/resources.rb
CHANGED
|
@@ -83,6 +83,7 @@ require "stripe/resources/tax_rate"
|
|
|
83
83
|
require "stripe/resources/terminal/connection_token"
|
|
84
84
|
require "stripe/resources/terminal/location"
|
|
85
85
|
require "stripe/resources/terminal/reader"
|
|
86
|
+
require "stripe/resources/test_helpers/test_clock"
|
|
86
87
|
require "stripe/resources/three_d_secure"
|
|
87
88
|
require "stripe/resources/token"
|
|
88
89
|
require "stripe/resources/topup"
|
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: 5.
|
|
4
|
+
version: 5.45.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-
|
|
11
|
+
date: 2022-03-01 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.
|
|
@@ -128,6 +128,7 @@ files:
|
|
|
128
128
|
- lib/stripe/resources/terminal/connection_token.rb
|
|
129
129
|
- lib/stripe/resources/terminal/location.rb
|
|
130
130
|
- lib/stripe/resources/terminal/reader.rb
|
|
131
|
+
- lib/stripe/resources/test_helpers/test_clock.rb
|
|
131
132
|
- lib/stripe/resources/three_d_secure.rb
|
|
132
133
|
- lib/stripe/resources/token.rb
|
|
133
134
|
- lib/stripe/resources/topup.rb
|