amzn_sp_api 1.0.4 → 1.0.5

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: 80bf8688bea76df9b46709937b61318268d7c6e3e99b1ba9714dc395df0f6330
4
- data.tar.gz: 7b87948a0b39c30d971eaa5e6f0e4cb9840fc5f755287fcd0f47948f25bfe129
3
+ metadata.gz: e7424bcff8e25c4e9c7b09d2b8cbcccd3bc7ab13458490489c22a5e198d6297c
4
+ data.tar.gz: 4260c22f8a1447c852e648659b7833291654837d24552cf115ebbd6d86179a96
5
5
  SHA512:
6
- metadata.gz: ac3aa7cb6409122edfd5b15ac522d2c5445f07a01100ab5bb46dbea99ff064989753a8bb1ec3b917f4837af75299eddecedc8fa386835844b5097119e0e40fa0
7
- data.tar.gz: 9014c07ec0c9958f1136040b3f1f45c8bc158290b93febcedf6b5a45cbd12d5a5bbf468c41005fc1860418822f633adf7aa9da7e29775c4e877dfdf4aca3892f
6
+ metadata.gz: 60197145355f2b7415995648148cab125ac2acbadda946257cb02de676377f061288ba4466c69bc5cbc7e302a371d046dea5c703614db2b015d036137ee3c905
7
+ data.tar.gz: a5d7003b369f201b3904482fcb376676acb9c055b62b3d94e6d4ae5fabb64023d3ce0d2b663e7aa3e1838170fcb58bbf2d9aab0b0eb178b7d44816fba9231791
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- amzn_sp_api (1.0.4)
4
+ amzn_sp_api (1.0.5)
5
5
  aws-sigv4 (~> 1.5)
6
6
  json (~> 2.6)
7
7
  typhoeus (~> 1.4)
@@ -1,3 +1,3 @@
1
1
  module AmznSpApi
2
- VERSION = '1.0.4'
2
+ VERSION = '1.0.5'
3
3
  end
@@ -45,7 +45,7 @@ module AmznSpApi
45
45
  client_id: config.client_id,
46
46
  client_secret: config.client_secret
47
47
  }
48
- scope = config.grant_type == 'client_credentials' ? AmznSpApi::SpApiConfiguration::SCOPE : nil
48
+ scope = config.grant_type == 'client_credentials' ? AmznSpApi::SpApiConfiguration::SCOPE.join(' ') : nil
49
49
  form_params.merge!(scope: scope) if scope
50
50
  data, status_code, headers = new_access_token.super_call_api(:POST, '/auth/o2/token',
51
51
  header_params: header_params,
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: amzn_sp_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - zevinto