adyen-ruby-api-library 7.3.0 → 7.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/adyen/client.rb +7 -1
- data/lib/adyen/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f92203448587aeac3de504e35af2298e7b279dbec39272caf1b3502f79a6f77
|
4
|
+
data.tar.gz: 2366da0ada0249bbeae5d3f21f051150f2e687054122e782e4f671128a8fb471
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f10ac14eb9a75e8fd4c587f0419503982e59bcb5344c3a5bc771110bead40b163cd6d1051dc5fbe17cb1ccfd4e8021206f74e0bc057a1b1504a75489c8ad5b22
|
7
|
+
data.tar.gz: 6fdc37b92694ef969c8dce58fd1a89fa9a6e1e8c3b033ceb48532a5c452a8f28d484e9f6869ac55c4c9f18b3ecc5417090dd1c90bc41152a1034a1c091bd80c8
|
data/lib/adyen/client.rb
CHANGED
@@ -23,7 +23,13 @@ module Adyen
|
|
23
23
|
@oauth_token = oauth_token
|
24
24
|
@env = env
|
25
25
|
@adapter = adapter || Faraday.default_adapter
|
26
|
-
|
26
|
+
if Gem::Version.new(Faraday::VERSION) >= Gem::Version.new('2.1')
|
27
|
+
# for faraday 2.1 and higher
|
28
|
+
@adapter_options = adapter_options || Faraday.default_adapter_options
|
29
|
+
else
|
30
|
+
# for faraday 1.x and 2.0
|
31
|
+
@adapter_options = adapter_options || {}
|
32
|
+
end
|
27
33
|
@mock_service_url_base = mock_service_url_base || "http://localhost:#{mock_port}"
|
28
34
|
@live_url_prefix = live_url_prefix
|
29
35
|
@connection_options = connection_options || Faraday::ConnectionOptions.new
|
data/lib/adyen/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adyen-ruby-api-library
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.3.
|
4
|
+
version: 7.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adyen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-09
|
11
|
+
date: 2023-10-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|