square.rb 22.0.0.20220817 → 22.1.0.20220823
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/square/api/base_api.rb +1 -1
- data/lib/square/client.rb +2 -2
- data/lib/square/configuration.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f952653c6d92ab4ba153d309a21a095d59ce4592c5f7660b3a0f91e15ff2815a
|
4
|
+
data.tar.gz: 2f714f5c6b9fcb2b93f999e0d351fffcd0f01a913bfddad6afa9df9429b6f143
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4ac0adc3626aea0ad54bf9a40b1200429e8359c19a72da3f8e359b33ea686642c29f0f97519a4d9f9831095e64e4b8d3b2dcec35c032dcdf20784baa4e1cb235
|
7
|
+
data.tar.gz: 6b6e81d0b85c809a44df30fd0e53754cc881ebe1c3a37722ef9b4db476f0b2fb8bcf67090ed061b79ea2b0468378fdc409ac2a278bf266fb5efc97567aa5a986
|
data/lib/square/api/base_api.rb
CHANGED
@@ -45,7 +45,7 @@ module Square
|
|
45
45
|
end
|
46
46
|
|
47
47
|
def get_user_agent
|
48
|
-
user_agent = 'Square-Ruby-SDK/22.
|
48
|
+
user_agent = 'Square-Ruby-SDK/22.1.0.20220823 ({api-version}) {engine}/{engine-version} ({os-info}) {detail}'
|
49
49
|
user_agent['{engine}'] = RUBY_ENGINE
|
50
50
|
user_agent['{engine-version}'] = RUBY_ENGINE_VERSION
|
51
51
|
user_agent['{os-info}'] = RUBY_PLATFORM
|
data/lib/square/client.rb
CHANGED
@@ -4,7 +4,7 @@ module Square
|
|
4
4
|
attr_reader :config
|
5
5
|
|
6
6
|
def sdk_version
|
7
|
-
'22.
|
7
|
+
'22.1.0.20220823'
|
8
8
|
end
|
9
9
|
|
10
10
|
def square_version
|
@@ -242,7 +242,7 @@ module Square
|
|
242
242
|
retry_statuses: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524],
|
243
243
|
retry_methods: %i[get put], environment: 'production',
|
244
244
|
custom_url: 'https://connect.squareup.com',
|
245
|
-
square_version: '2022-08-
|
245
|
+
square_version: '2022-08-23', access_token: '',
|
246
246
|
user_agent_detail: '', additional_headers: {}, config: nil)
|
247
247
|
@config = if config.nil?
|
248
248
|
Configuration.new(connection: connection, adapter: adapter,
|
data/lib/square/configuration.rb
CHANGED
@@ -20,7 +20,7 @@ module Square
|
|
20
20
|
retry_statuses: [408, 413, 429, 500, 502, 503, 504, 521, 522, 524],
|
21
21
|
retry_methods: %i[get put], environment: 'production',
|
22
22
|
custom_url: 'https://connect.squareup.com',
|
23
|
-
square_version: '2022-08-
|
23
|
+
square_version: '2022-08-23', access_token: '',
|
24
24
|
user_agent_detail: '', additional_headers: {})
|
25
25
|
# The Faraday connection object passed by the SDK user for making requests
|
26
26
|
@connection = connection
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: square.rb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 22.
|
4
|
+
version: 22.1.0.20220823
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Square Developer Platform
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-08-
|
11
|
+
date: 2022-08-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logging
|
@@ -31,9 +31,9 @@ dependencies:
|
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '2.0'
|
34
|
-
- - "
|
34
|
+
- - ">="
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version: 2.
|
36
|
+
version: 2.0.1
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -41,9 +41,9 @@ dependencies:
|
|
41
41
|
- - "~>"
|
42
42
|
- !ruby/object:Gem::Version
|
43
43
|
version: '2.0'
|
44
|
-
- - "
|
44
|
+
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 2.
|
46
|
+
version: 2.0.1
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: faraday-follow_redirects
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|