stripe 18.4.1 → 18.4.3
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/lib/data/ca-certificates.crt +290 -3504
- data/lib/stripe/api_requestor.rb +2 -1
- data/lib/stripe/version.rb +1 -1
- metadata +5 -5
data/lib/stripe/api_requestor.rb
CHANGED
|
@@ -110,7 +110,7 @@ module Stripe
|
|
|
110
110
|
return false if num_retries >= config.max_network_retries
|
|
111
111
|
|
|
112
112
|
case error
|
|
113
|
-
when Net::OpenTimeout, Net::ReadTimeout
|
|
113
|
+
when Net::OpenTimeout, Net::ReadTimeout, Net::HTTPFatalError
|
|
114
114
|
# Retry on timeout-related problems (either on open or read).
|
|
115
115
|
true
|
|
116
116
|
when EOFError, Errno::ECONNREFUSED, Errno::ECONNRESET, # rubocop:todo Lint/DuplicateBranch
|
|
@@ -350,6 +350,7 @@ module Stripe
|
|
|
350
350
|
Errno::ETIMEDOUT => ERROR_MESSAGE_TIMEOUT_CONNECT,
|
|
351
351
|
SocketError => ERROR_MESSAGE_CONNECTION,
|
|
352
352
|
|
|
353
|
+
Net::HTTPFatalError => ERROR_MESSAGE_CONNECTION,
|
|
353
354
|
Net::OpenTimeout => ERROR_MESSAGE_TIMEOUT_CONNECT,
|
|
354
355
|
Net::ReadTimeout => ERROR_MESSAGE_TIMEOUT_READ,
|
|
355
356
|
|
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: 18.4.
|
|
4
|
+
version: 18.4.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Stripe
|
|
8
|
-
autorequire:
|
|
8
|
+
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-10-27 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.
|
|
@@ -1060,7 +1060,7 @@ metadata:
|
|
|
1060
1060
|
homepage_uri: https://stripe.com/docs/api?lang=ruby
|
|
1061
1061
|
source_code_uri: https://github.com/stripe/stripe-ruby
|
|
1062
1062
|
rubygems_mfa_required: 'false'
|
|
1063
|
-
post_install_message:
|
|
1063
|
+
post_install_message:
|
|
1064
1064
|
rdoc_options: []
|
|
1065
1065
|
require_paths:
|
|
1066
1066
|
- lib
|
|
@@ -1076,7 +1076,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
1076
1076
|
version: '0'
|
|
1077
1077
|
requirements: []
|
|
1078
1078
|
rubygems_version: 3.3.27
|
|
1079
|
-
signing_key:
|
|
1079
|
+
signing_key:
|
|
1080
1080
|
specification_version: 4
|
|
1081
1081
|
summary: Ruby bindings for the Stripe API
|
|
1082
1082
|
test_files: []
|