cardmagic-etsy 0.3.5 → 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/etsy.gemspec +1 -1
- data/lib/etsy/listing.rb +7 -2
- data/lib/etsy/transaction.rb +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6f41bb7bc9d10fe76e2326b9478471e8696ee686f45125ce495b814e92ba9b64
|
4
|
+
data.tar.gz: 28f7488b3300e7603a57ddf5695f36cd8140e1077ed93ed9cf89c29ed8c1e737
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1d5dfa7d63fca86ce47fd2f2461a217709c90c59016f3efce4faf42c45c4c250f1f74b2d0508ebc51e5f7a57176de22ab419f8d2a6ce5237a34be4bc2df1b7e
|
7
|
+
data.tar.gz: aafd1bacedb4c95758d3dc4d05cb1169750d62d1117f0c7d297306d8c6c7ad83ea749c978ee4445f41db2502adf9f5ad6eaaed536f43ddbe4e4ffd3ca432fc94
|
data/etsy.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |gem|
|
|
13
13
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
14
14
|
gem.name = "cardmagic-etsy"
|
15
15
|
gem.require_paths = ["lib"]
|
16
|
-
gem.version = "0.3.
|
16
|
+
gem.version = "0.3.6"
|
17
17
|
gem.license = 'MIT'
|
18
18
|
|
19
19
|
gem.required_rubygems_version = Gem::Requirement.new(">= 0") if gem.respond_to? :required_rubygems_version=
|
data/lib/etsy/listing.rb
CHANGED
@@ -38,6 +38,7 @@ module Etsy
|
|
38
38
|
attribute :id, :from => :listing_id
|
39
39
|
attribute :view_count, :from => :views
|
40
40
|
attribute :created, :from => :creation_tsz
|
41
|
+
attribute :original_created, :from => :original_creation_tsz
|
41
42
|
attribute :modified, :from => :last_modified_tsz
|
42
43
|
attribute :currency, :from => :currency_code
|
43
44
|
attribute :ending, :from => :ending_tsz
|
@@ -47,8 +48,7 @@ module Etsy
|
|
47
48
|
:tags, :materials, :hue, :saturation, :brightness, :is_black_and_white,
|
48
49
|
:featured_rank, :occasion, :num_favorers, :user_id,
|
49
50
|
:shipping_template_id, :who_made, :when_made,
|
50
|
-
:
|
51
|
-
:taxonomy_id, :taxonomy_attributes
|
51
|
+
:style, :category_path, :taxonomy_id, :taxonomy_attributes
|
52
52
|
|
53
53
|
association :image, :from => 'Images'
|
54
54
|
|
@@ -214,6 +214,11 @@ module Etsy
|
|
214
214
|
Time.at(created)
|
215
215
|
end
|
216
216
|
|
217
|
+
# Time that this listing was originally created
|
218
|
+
def original_created_at
|
219
|
+
Time.at(original_created)
|
220
|
+
end
|
221
|
+
|
217
222
|
# Time that this listing was last modified
|
218
223
|
#
|
219
224
|
def modified_at
|
data/lib/etsy/transaction.rb
CHANGED