mercadolibre 0.9.2 → 0.9.3

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: e619a2e1ac260a8bd79f37089db26b8e3e498448
4
- data.tar.gz: 26cca4bd23b60dc2ea3ea9660ead8d6d639856eb
3
+ metadata.gz: 93e1a190817125ce47f4a6ab1faffe5ae9a89270
4
+ data.tar.gz: 064c46e8f465c3da99f8c5fde466f4b299c4ca79
5
5
  SHA512:
6
- metadata.gz: a7ed55d583253ec836a25405efbee39ff3d29a3b4aa184213c358c81ee3628003873f5ee60d5ac94ca994e760cf519f94bf5f085151bfdaf997dda504b11edae
7
- data.tar.gz: e0f6817c30c83d9d5438a68c60692519d83e613fbff5017d4a2ed23de840dc8e65c66b838be714c46a91ecbdc7e75a0c79d45bd24e9c9ec7c715d00e7c3db822
6
+ metadata.gz: af92f015f9c44ca9e646ebdf43e9da75c3d9d935bcf34f62bf7478912390f1514f4b71e7e3d85ef23fce31298b54957b1ed7f42b6fdfe5e6c9617496119ee781
7
+ data.tar.gz: 1d0b255074e7037b01616da165fc70c3658ac70a5b801b0641664adcd68106616038c3c65244b21286a0005c6947fc13fb0ce4581d043b0719dada432fa5fe55
data/CHANGELOG.md CHANGED
@@ -177,3 +177,7 @@
177
177
  ## v0.9.2
178
178
 
179
179
  * Changed response on update item methods
180
+
181
+ ## v0.9.3
182
+
183
+ * Return boolean on update item methods
@@ -220,7 +220,7 @@ module Mercadolibre
220
220
 
221
221
  headers = { content_type: :json, accept: :json }
222
222
 
223
- put_request("/items/#{item_id}?access_token=#{@access_token}", payload, headers)
223
+ put_request("/items/#{item_id}?access_token=#{@access_token}", payload, headers)[:status_code] == 200
224
224
 
225
225
  end
226
226
 
@@ -229,7 +229,7 @@ module Mercadolibre
229
229
 
230
230
  headers = { content_type: :json, accept: :json }
231
231
 
232
- put_request("/items/#{item_id}?access_token=#{@access_token}", payload, headers)
232
+ put_request("/items/#{item_id}?access_token=#{@access_token}", payload, headers)[:status_code] == 200
233
233
  end
234
234
 
235
235
  def update_item_identifiers(item_id, attrs)
@@ -237,7 +237,7 @@ module Mercadolibre
237
237
 
238
238
  headers = { content_type: :json }
239
239
 
240
- put_request("/items/#{item_id}/product_identifiers?access_token=#{@access_token}", payload, headers)
240
+ put_request("/items/#{item_id}/product_identifiers?access_token=#{@access_token}", payload, headers)[:status_code] == 200
241
241
  end
242
242
 
243
243
  def get_item_identifiers(item_id)
@@ -1,3 +1,3 @@
1
1
  module Mercadolibre
2
- VERSION = "0.9.2"
2
+ VERSION = "0.9.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mercadolibre
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matias Hick