stripe 7.2.0.pre.beta.4 → 7.2.0.pre.beta.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8c8982fcc64e2c501599c98d1d10c02d483e304d24e0baf9481e7d59817b2ade
4
- data.tar.gz: 4ade6e6f3b446d0c8229f08aa2a351efcdf3433fdb7eb311bc92e38311358add
3
+ metadata.gz: 90a9a38af2438b7096201abb95f442a55f7ee0f6457f5f0857e431b96cda2479
4
+ data.tar.gz: 83cff37747a7e7de622b94388a5678440ebb6c749b89b04834b913e9adc5fe7d
5
5
  SHA512:
6
- metadata.gz: 159ffc22a644b187d4ba86d6e18c38b1a1e37f25063589e11e9e186c2e02de4a0b9d40738615bedfff932e4e5bc2efb7839b9789eba5d8ac1817f3a988b35587
7
- data.tar.gz: 288db6922279f3fe6b9e85d0e9697b0e6653f572e43a93a250d092e66b1d1803eab27335ff63046f2cccd6bd4252a93e4091e885f7c3c1e7d6a9c497eee7b088
6
+ metadata.gz: eba51a2bc119fe1bfa4f80d3d2891c56eba29bb88300fa6a5c817556272588c8f97328e15ce6fd4ac1fdd40756bbc618c457979de178e63bdaeb5f06645fc32a
7
+ data.tar.gz: 107e710bd5018c51f2c53c14c4cc36b13f50b0b9d639524259503e2970a297fb49d37d185fdf866012fbba7c469393a1279f6a281b30d54bac6c2d0ab93c8b02
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 7.2.0-beta.5 - 2022-11-02
4
+ * [#1139](https://github.com/stripe/stripe-ruby/pull/1139) API Updates for beta branch
5
+ * Updated beta APIs to the latest stable version
6
+ * [#1135](https://github.com/stripe/stripe-ruby/pull/1135) API Updates for beta branch
7
+ * Updated stable APIs to the latest version
8
+
3
9
  ## 7.2.0-beta.4 - 2022-10-07
4
10
  * [#999](https://github.com/stripe/stripe-ruby/pull/999) DESCRIBE CHANGES HERE (try to use the same style, tense, etc. as the other entries)
5
11
 
data/OPENAPI_VERSION CHANGED
@@ -1 +1 @@
1
- v196
1
+ v205
data/README.md CHANGED
@@ -261,9 +261,13 @@ For example:
261
261
 
262
262
  ```ruby
263
263
  Stripe::Instrumentation.subscribe(:request_end) do |request_event|
264
+ # Filter out high-cardinality ids from `path`
265
+ path_parts = event.path.split("/").drop(2)
266
+ resource = path_parts.map { |part| part.match?(/\A[a-z_]+\z/) ? part : ":id" }.join("/")
267
+
264
268
  tags = {
265
269
  method: request_event.method,
266
- resource: request_event.path.split('/')[2],
270
+ resource: resource,
267
271
  code: request_event.http_status,
268
272
  retries: request_event.num_retries
269
273
  }
data/VERSION CHANGED
@@ -1 +1 @@
1
- 7.2.0-beta.4
1
+ 7.2.0-beta.5
@@ -2,13 +2,13 @@
2
2
  # frozen_string_literal: true
3
3
 
4
4
  module Stripe
5
- # An AccountSession allows a Connect platform to grant access to a connected account in Connect Embedded UIs.
5
+ # An AccountSession allows a Connect platform to grant access to a connected account in Connect embedded UIs.
6
6
  #
7
7
  # We recommend that you create an AccountSession each time you need to display an embedded UI
8
8
  # to your user. Do not save AccountSessions to your database as they expire relatively
9
9
  # quickly, and cannot be used more than once.
10
10
  #
11
- # Related guide: [Connect Embedded UIs](https://stripe.com/docs/connect/get-started-connect-elements).
11
+ # Related guide: [Connect embedded UIs](https://stripe.com/docs/connect/get-started-connect-embedded-uis).
12
12
  class AccountSession < APIResource
13
13
  extend Stripe::APIOperations::Create
14
14
 
@@ -6,6 +6,10 @@ module Stripe
6
6
  # but not yet refunded. Funds will be refunded to the credit or debit card that
7
7
  # was originally charged.
8
8
  #
9
+ # Stripe Tax users with recurring payments and invoices can create [Credit Notes](https://stripe.com/docs/api/credit_notes),
10
+ # which reduce overall tax liability because tax is correctly recalculated and
11
+ # apportioned to the related invoice.
12
+ #
9
13
  # Related guide: [Refunds](https://stripe.com/docs/refunds).
10
14
  class Refund < APIResource
11
15
  extend Stripe::APIOperations::Create
@@ -7,6 +7,10 @@ module Stripe
7
7
  # just like a `Card` object: once chargeable, they can be charged, or can be
8
8
  # attached to customers.
9
9
  #
10
+ # Stripe doesn't recommend using the deprecated [Sources API](https://stripe.com/docs/api/sources).
11
+ # We recommend that you adopt the [PaymentMethods API](https://stripe.com/docs/api/payment_methods).
12
+ # This newer API provides access to our latest features and payment method types.
13
+ #
10
14
  # Related guides: [Sources API](https://stripe.com/docs/sources) and [Sources & Customers](https://stripe.com/docs/sources/customers).
11
15
  class Source < APIResource
12
16
  extend Stripe::APIOperations::Create
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stripe
4
- VERSION = "7.2.0-beta.4"
4
+ VERSION = "7.2.0-beta.5"
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: 7.2.0.pre.beta.4
4
+ version: 7.2.0.pre.beta.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stripe
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-10-07 00:00:00.000000000 Z
11
+ date: 2022-11-02 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.