stripe 7.2.0.pre.beta.3 → 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: fb4a6ca25aea7be267ae3073349ded87401973201c99381df9f465b4081102b3
4
- data.tar.gz: 4bca0f90f33ebc37b144b78833561c36d9f7d348767afdbfc06f2fa52d06856f
3
+ metadata.gz: 90a9a38af2438b7096201abb95f442a55f7ee0f6457f5f0857e431b96cda2479
4
+ data.tar.gz: 83cff37747a7e7de622b94388a5678440ebb6c749b89b04834b913e9adc5fe7d
5
5
  SHA512:
6
- metadata.gz: 4146bccf6f233c447333422555b5da6cd41d7ffc17297825dc342ff2922cedbd24f199af0092238e4ce80fa20aef4579438d5349d2a762dd35fb59685523b535
7
- data.tar.gz: a2ff49d31b4cf6b4ca0f260496d7c2cb05868d0ccfae6e30b0d055e6e25ed6b2e27debc349a4584eb03668333c640d2e16a46cd32aa00d84da403a032b154633
6
+ metadata.gz: eba51a2bc119fe1bfa4f80d3d2891c56eba29bb88300fa6a5c817556272588c8f97328e15ce6fd4ac1fdd40756bbc618c457979de178e63bdaeb5f06645fc32a
7
+ data.tar.gz: 107e710bd5018c51f2c53c14c4cc36b13f50b0b9d639524259503e2970a297fb49d37d185fdf866012fbba7c469393a1279f6a281b30d54bac6c2d0ab93c8b02
data/CHANGELOG.md CHANGED
@@ -1,9 +1,18 @@
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
+
9
+ ## 7.2.0-beta.4 - 2022-10-07
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)
11
+
3
12
  ## 7.2.0-beta.3 - 2022-09-26
4
13
  * [#1129](https://github.com/stripe/stripe-ruby/pull/1129) API Updates for beta branch
5
- * Updated stable APIs to the latest version
6
- * Add `FinancingOffer`, `FinancingSummary` and `FinancingTransaction` resources.
14
+ * Updated stable APIs to the latest version
15
+ * Add `FinancingOffer`, `FinancingSummary` and `FinancingTransaction` resources.
7
16
 
8
17
  ## 7.2.0-beta.2 - 2022-08-26
9
18
  * [#1127](https://github.com/stripe/stripe-ruby/pull/1127) API Updates for beta branch
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.3
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.3"
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.3
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-09-26 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.