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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7406eafacea5f827425c9891d255ae7294e87d6129ca8fdbe9c6d3afe2ca8976
4
- data.tar.gz: fbada6b040581a4189aae2d6aa6a55ba76be2551e08191d94f054b2aa4133c96
3
+ metadata.gz: f952653c6d92ab4ba153d309a21a095d59ce4592c5f7660b3a0f91e15ff2815a
4
+ data.tar.gz: 2f714f5c6b9fcb2b93f999e0d351fffcd0f01a913bfddad6afa9df9429b6f143
5
5
  SHA512:
6
- metadata.gz: a13e3097da587460e8d566a5f51c389707d0945840c569795473d3e27851706a96f3e944656cc9cd1d6fd2309f784d77cc91ff35323257a93594f58f6c310cba
7
- data.tar.gz: 876ee033a900d638697c0e992a73d8406febe43b9a1cab66666cfc4f3f375c2feca3763cdc32d4161b5b7545cb5e91d3e24d61867d68959c3ad3611191e2e909
6
+ metadata.gz: 4ac0adc3626aea0ad54bf9a40b1200429e8359c19a72da3f8e359b33ea686642c29f0f97519a4d9f9831095e64e4b8d3b2dcec35c032dcdf20784baa4e1cb235
7
+ data.tar.gz: 6b6e81d0b85c809a44df30fd0e53754cc881ebe1c3a37722ef9b4db476f0b2fb8bcf67090ed061b79ea2b0468378fdc409ac2a278bf266fb5efc97567aa5a986
@@ -45,7 +45,7 @@ module Square
45
45
  end
46
46
 
47
47
  def get_user_agent
48
- user_agent = 'Square-Ruby-SDK/22.0.0.20220817 ({api-version}) {engine}/{engine-version} ({os-info}) {detail}'
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.0.0.20220817'
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-17', access_token: '',
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,
@@ -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-17', access_token: '',
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.0.0.20220817
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-16 00:00:00.000000000 Z
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.5.0
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.5.0
46
+ version: 2.0.1
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: faraday-follow_redirects
49
49
  requirement: !ruby/object:Gem::Requirement