mercadolibre 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/mercadolibre/entity/order.rb +3 -3
- data/lib/mercadolibre/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ab451fc8a6d2632fbefb9f49d5c224d56d078ac
|
4
|
+
data.tar.gz: 5b92cb1c5668fd031aa800dfc44f3035bd6f655f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7a6e6349941ced5ba7350bf8b0782682d1d0023414642af84c8c41c81fe92ff05495160c5738a202011b5408f5fe7348f62276ff16987e6042811942809bdef3
|
7
|
+
data.tar.gz: a03c9be048ca542cf1f5c89f73fe6cacce21e206e9d87546520aea3335a0c56ee2eefee95dc6e556d1c4a3a7c30c3b7bbd53d4414710356c0fe46fc567caaba4
|
data/CHANGELOG.md
CHANGED
@@ -4,8 +4,8 @@ module Mercadolibre
|
|
4
4
|
def self.attr_list
|
5
5
|
[:id, :status, :status_detail, :date_created, :date_closed, :last_updated,
|
6
6
|
:order_items, :currency_id, :buyer, :seller, :payments, :feedback, :shipping,
|
7
|
-
:tags, :mediations, :
|
8
|
-
:paid_amount]
|
7
|
+
:tags, :mediations, :comments, :expiration_date, :coupon, :total_amount,
|
8
|
+
:total_amount_with_shipping, :paid_amount]
|
9
9
|
end
|
10
10
|
|
11
11
|
attr_reader *attr_list
|
@@ -26,7 +26,7 @@ module Mercadolibre
|
|
26
26
|
self.send("#{k}=", User.new(v)) unless v.nil?
|
27
27
|
elsif k.to_s == 'mediations'
|
28
28
|
self.mediations = v.map { |x| Mediation.new(x) } unless v.nil?
|
29
|
-
elsif ['date_created', 'date_closed', 'last_updated'].include?(k.to_s)
|
29
|
+
elsif ['date_created', 'date_closed', 'last_updated', 'expiration_date'].include?(k.to_s)
|
30
30
|
self.send("#{k}=", Time.parse(v)) unless v.nil?
|
31
31
|
else
|
32
32
|
self.send("#{k}=", v) if self.respond_to?(k)
|
data/lib/mercadolibre/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mercadolibre
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matias Hick
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-11-
|
11
|
+
date: 2015-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|