top4r 0.1.1 → 0.1.2
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.
- data/lib/top4r/model/item.rb +3 -3
- data/lib/top4r/version.rb +1 -1
- metadata +4 -4
data/lib/top4r/model/item.rb
CHANGED
|
@@ -51,7 +51,7 @@ module Top4R
|
|
|
51
51
|
class Item
|
|
52
52
|
include ModelMixin
|
|
53
53
|
@@ATTRIBUTES = [:id, :iid, :detail_url, :num_iid, :title, :nick, :type, :cid,
|
|
54
|
-
:seller_cids, :props, :input_pids, :input_str, :desc, :
|
|
54
|
+
:seller_cids, :props, :input_pids, :input_str, :desc, :pic_url, :num, :valid_thru,
|
|
55
55
|
:list_time, :delist_time, :stuff_status, :location, :price, :post_fee, :express_fee,
|
|
56
56
|
:ems_fee, :has_discount, :freight_payer, :has_invoice, :has_warranty, :has_showcase,
|
|
57
57
|
:modified, :increment, :approve_status, :postage_id, :product_id, :auction_point,
|
|
@@ -64,9 +64,9 @@ module Top4R
|
|
|
64
64
|
def attributes; @@ATTRIBUTES; end
|
|
65
65
|
|
|
66
66
|
def default_public_fields
|
|
67
|
-
["approve_status", "iid", "num_iid", "title", "nick", "type", "cid", "
|
|
67
|
+
["approve_status", "iid", "num_iid", "title", "nick", "type", "cid", "pic_url", "num", "props",
|
|
68
68
|
"valid_thru", "list_time", "price", "has_discount", "has_invoice", "has_warranty",
|
|
69
|
-
"has_showcase", "modified", "delist_time", "postage_id", "seller_cids", "outer_id"]
|
|
69
|
+
"has_showcase", "modified", "delist_time", "postage_id", "seller_cids", "outer_id", "detail_url"]
|
|
70
70
|
end
|
|
71
71
|
end
|
|
72
72
|
|
data/lib/top4r/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: top4r
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 31
|
|
5
5
|
prerelease: false
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 1
|
|
9
|
-
-
|
|
10
|
-
version: 0.1.
|
|
9
|
+
- 2
|
|
10
|
+
version: 0.1.2
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Nowa Zhu
|
|
@@ -15,7 +15,7 @@ autorequire: top4r
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2010-09-
|
|
18
|
+
date: 2010-09-28 00:00:00 +08:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|