promoqui-api-sdk 1.7.9 → 1.8.0

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
  SHA1:
3
- metadata.gz: 48d1bfd2aa07022f24a2422b50302bdc517350f1
4
- data.tar.gz: 38d1614cd519605a9ce3c285d19e4ed226dcb24d
3
+ metadata.gz: 17b7f84b47fb2aa02f816ac4d38cee9aa55cb207
4
+ data.tar.gz: ac7eb2bc4672c4a6b09481048b41b27e68c23a56
5
5
  SHA512:
6
- metadata.gz: 922f960cef44071a6ea698ba61049a3e07a8067b9f1d34b12143ac3709c0796adc1c463451f4877b1d10e49a9ede4406df0752e42d9361a4eb77f78f01e70391
7
- data.tar.gz: 2ed2ccfe149a58b67a71b4e422d5105e80aa5d6228eb25f98020f54ee80c491fea72fa7d7e2cd353bc4cc993338413139c691be7905353c8a2dae91dcec8889f
6
+ metadata.gz: 807a707ee73bb85233765a932b885073ffe899c84e86ec3be0c79d670f4c8768fa50e72dc923bddbe271e9712a7354e9d7c66df108f1faec26d0e528232da101
7
+ data.tar.gz: 4fa91b5dbebb3d3a26c073b0866616928d40e3946b583063914f5a84e21cb2e131e8d8e38f81e287d14719550f043e721e6d85186fe7a9d8736bfb0087f1b476
data/lib/pqsdk/leaflet.rb CHANGED
@@ -50,7 +50,7 @@ module PQSDK
50
50
  fields['image_urls'] = image_urls.try(:to_json) || []
51
51
  fields['store_ids'] = store_ids.try(:to_json) || []
52
52
 
53
- res = RestLayer.send(method, endpoint, fields, {'Authorization' => "Bearer #{Token.access_token}", 'Content-Type' => 'application/json'})
53
+ res = RestLayer.send(method, endpoint, fields, {'Authorization' => "Bearer #{Token.access_token}"})
54
54
 
55
55
  if res[0] != expected_status
56
56
  raise Exception.new("Unexpected HTTP status code #{res[0]}, #{res[1]}")
data/lib/pqsdk/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module PQSDK
2
- VERSION = '1.7.9'
2
+ VERSION = '1.8.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: promoqui-api-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.7.9
4
+ version: 1.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francesco Boffa
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-12-18 00:00:00.000000000 Z
11
+ date: 2016-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json