stripe 5.49.0 → 5.50.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 86b2523f0ba5dc9577ec83de2608e76e77d5d08cd7611c92f41a957a90a019e6
4
- data.tar.gz: 849e0b6f2adcc0db8b496da23873d250be962ae9f4e5c3e47fc161d44e1602fd
3
+ metadata.gz: fce0f5c23e8da3e798135433067340f179ef446af78e0369a08dce4bb4decbf6
4
+ data.tar.gz: 4def88cada3eaa50f3ffa26cdbdfbd4e1046218f6a274ba4aa86ddc17ec77374
5
5
  SHA512:
6
- metadata.gz: c75a5b1d4229f4489e5198dce6ab38f444106891e3ff42d74b68138b4a1d4258c7a1c3f827007bf74d1d525b7f9b741ba34144b85cf6366b170bf45c0255e90d
7
- data.tar.gz: '0835cbdf3d368a81801e3171d3affb69eb94dee7ca91bc46a402506b7525f0887f1f8b1b27c97abb9db3bc14cf4bac92d9eccdb76474f9fc842a72ce4df3bea0'
6
+ metadata.gz: 56b9783c1e29d3d814362123bebdcf4bc4cc47f4a4c69f4c4fc5cf39c41e6c70e7c09280c4761ae350164efcdee11292e970695f81b2160fb1def046464b6586
7
+ data.tar.gz: 3a36f7f199efd52d77de56a8d7c04be6318f4d994522036b3991e10c0f27f78f2c4c9d848e95b1411dd73fbcefe359beebc38f8a2159a060e7943a4ac952fa9d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 5.50.0 - 2022-04-13
4
+ * [#1045](https://github.com/stripe/stripe-ruby/pull/1045) API Updates
5
+ * Add support for `increment_authorization` method on resource `PaymentIntent`
6
+
3
7
  ## 5.49.0 - 2022-04-08
4
8
  * [#1043](https://github.com/stripe/stripe-ruby/pull/1043) API Updates
5
9
  * Add support for `apply_customer_balance` method on resource `PaymentIntent`
data/Makefile ADDED
@@ -0,0 +1,7 @@
1
+ .PHONY: update-version codegen-format
2
+ update-version:
3
+ @echo "$(VERSION)" > VERSION
4
+ @perl -pi -e 's|VERSION = "[.\d]+"|VERSION = "$(VERSION)"|' lib/stripe/version.rb
5
+
6
+ codegen-format:
7
+ bundle exec rubocop -o /dev/null --auto-correct
data/VERSION CHANGED
@@ -1 +1 @@
1
- 5.49.0
1
+ 5.50.0
@@ -14,6 +14,7 @@ module Stripe
14
14
  custom_method :cancel, http_verb: :post
15
15
  custom_method :capture, http_verb: :post
16
16
  custom_method :confirm, http_verb: :post
17
+ custom_method :increment_authorization, http_verb: :post
17
18
  custom_method :verify_microdeposits, http_verb: :post
18
19
 
19
20
  def apply_customer_balance(params = {}, opts = {})
@@ -52,6 +53,15 @@ module Stripe
52
53
  )
53
54
  end
54
55
 
56
+ def increment_authorization(params = {}, opts = {})
57
+ request_stripe_object(
58
+ method: :post,
59
+ path: resource_url + "/increment_authorization",
60
+ params: params,
61
+ opts: opts
62
+ )
63
+ end
64
+
55
65
  def verify_microdeposits(params = {}, opts = {})
56
66
  request_stripe_object(
57
67
  method: :post,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stripe
4
- VERSION = "5.49.0"
4
+ VERSION = "5.50.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: 5.49.0
4
+ version: 5.50.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-04-08 00:00:00.000000000 Z
11
+ date: 2022-04-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.
@@ -24,6 +24,7 @@ files:
24
24
  - Gemfile
25
25
  - History.txt
26
26
  - LICENSE
27
+ - Makefile
27
28
  - README.md
28
29
  - Rakefile
29
30
  - VERSION