square.rb 23.0.0.20220921 → 24.0.0.20221019
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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f44f7db801dca9eabe4e9ec3b3a9efebaf9d7e67573a3f15a19bd998a13f9cbf
|
4
|
+
data.tar.gz: f5c70958388a7a72f45bd286403db52c72c525beb52b3dd70fe076ee31eb2384
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d512e32b13ae4d8d7d1ca7ef3e71576a6b8f79b52c990c9ae438dfcf612236d371cf62a5101643d9b2b6ab7f3e49f0ca66bebfb35adf73cf7fb20347dfc279e3
|
7
|
+
data.tar.gz: 5d4bfd92ee8d7fb2598b49861fb36b46250d0517a73235b9a3f28b43306d7db295ade4ddd22f96b317a201ae1b544a7c032674a6901cd2265a00e21cce25b24c
|
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/
|
48
|
+
user_agent = 'Square-Ruby-SDK/24.0.0.20221019 ({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
|
-
'
|
7
|
+
'24.0.0.20221019'
|
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-
|
245
|
+
square_version: '2022-10-19', 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-
|
23
|
+
square_version: '2022-10-19', 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:
|
4
|
+
version: 24.0.0.20221019
|
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-
|
11
|
+
date: 2022-10-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logging
|