acquiring-sdk-ruby 1.3.0 → 1.3.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46aa01674e74976f710dcf41752ee16753bda971dcd6cc9e537868ddf2376f91
|
4
|
+
data.tar.gz: 76be61e45ce52f048298ef5aa44ad97a9d13fcb450156e28ed234c28fa1ee843
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f349cf0bbc61955a96bce913951003fdf627bf75d9f1f15330c81dcf89072cc76f2a4b33f40febda8a850447ce9a9ca86f55060cb799c5142fc8dba0c3acdab4
|
7
|
+
data.tar.gz: a4513b41c5ed3b128e3a63b6bc8015701d5bd091b11cded17e9217df067a3050671f2c8a5148dbbd41ea848ba48675e880cd34715dfba6a13369acdaa571e244
|
data/acquiring-sdk-ruby.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = 'acquiring-sdk-ruby'
|
3
|
-
spec.version = '1.3.
|
3
|
+
spec.version = '1.3.1'
|
4
4
|
spec.authors = ['Worldline Acquiring']
|
5
5
|
spec.email = ['github.acquiring@worldline.com']
|
6
6
|
spec.summary = %q{SDK to communicate with the Worldline Acquiring platform using the Worldline Acquiring API}
|
@@ -14,7 +14,7 @@ module Worldline
|
|
14
14
|
class MetadataProvider
|
15
15
|
private
|
16
16
|
|
17
|
-
SDK_VERSION = '1.3.
|
17
|
+
SDK_VERSION = '1.3.1'.freeze
|
18
18
|
SERVER_META_INFO_HEADER = 'X-WL-ServerMetaInfo'.freeze
|
19
19
|
PROHIBITED_HEADERS = [SERVER_META_INFO_HEADER, 'Date', 'Content-Type', 'Authorization'].sort!.freeze
|
20
20
|
CHARSET = 'utf-8'.freeze
|
@@ -43,8 +43,8 @@ module Worldline
|
|
43
43
|
def self.create_communicator_from_configuration(configuration, metadata_provider: nil,
|
44
44
|
connection: nil, authenticator: nil, marshaller: nil)
|
45
45
|
unless metadata_provider
|
46
|
-
metadata_provider = MetadataProvider.new(configuration.integrator,
|
47
|
-
|
46
|
+
metadata_provider = Communication::MetadataProvider.new(configuration.integrator,
|
47
|
+
shopping_cart_extension: configuration.shopping_cart_extension)
|
48
48
|
end
|
49
49
|
unless connection
|
50
50
|
connection = Communication::DefaultConnection.new({ connect_timeout: configuration.connect_timeout,
|
@@ -56,7 +56,7 @@ module Worldline
|
|
56
56
|
authenticator = get_authenticator(configuration)
|
57
57
|
end
|
58
58
|
unless marshaller
|
59
|
-
marshaller = DefaultMarshaller.instance
|
59
|
+
marshaller = JSON::DefaultMarshaller.instance
|
60
60
|
end
|
61
61
|
Communicator.new(configuration.api_endpoint, connection, authenticator, metadata_provider, marshaller)
|
62
62
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acquiring-sdk-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Worldline Acquiring
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-
|
11
|
+
date: 2025-06-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httpclient
|