goods 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/goods/version.rb +1 -1
- data/lib/support/shops.dtd +4 -4
- data/spec/fixtures/simple_catalog.xml +2 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 590c2eb46379c8effa021917ad4fa6e9bcde85e1
|
4
|
+
data.tar.gz: 4ca5c70b75763626289e273bbaab5951555ec06d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58b0249f9a8fae403b4fd89233dffbc1484a9f8fcd325d36e5e2707ffbac814f27c13d3fade5cc98ff1320fbf9c6f9850d89ab53c8f7e9972fac1fa4dfa01a68
|
7
|
+
data.tar.gz: 64e77b90987302ab8f02e4eafbb9cbacaefc7c467123b9e59e5023a6b22e8647c35c7751e402c4a618a62d5d2f064013ced827571d0dacb5048fe04f05356953
|
data/lib/goods/version.rb
CHANGED
data/lib/support/shops.dtd
CHANGED
@@ -1,9 +1,8 @@
|
|
1
1
|
<!ELEMENT yml_catalog (shop)>
|
2
2
|
<!ATTLIST yml_catalog
|
3
|
-
date CDATA #REQUIRED
|
4
|
-
count CDATA #IMPLIED>
|
3
|
+
date CDATA #REQUIRED>
|
5
4
|
|
6
|
-
<!ELEMENT shop (name, company, url, phone?, platform?, version?, agency?, email*, currencies, categories, store?, pickup?, delivery?, deliveryIncluded?, local_delivery_cost?, adult?, offers)>
|
5
|
+
<!ELEMENT shop (name, company, url, phone?, platform?, version?, agency?, email*, currencies, categories, store?, pickup?, delivery?, deliveryIncluded?, local_delivery_cost?, adult?, cpa?, offers)>
|
7
6
|
<!ELEMENT company (#PCDATA)>
|
8
7
|
<!ELEMENT phone (#PCDATA)>
|
9
8
|
|
@@ -38,6 +37,7 @@
|
|
38
37
|
manufacturer_warranty?, country_of_origin?, downloadable?, adult?,
|
39
38
|
age?,
|
40
39
|
barcode*,
|
40
|
+
cpa?,
|
41
41
|
param*,
|
42
42
|
related_offer*
|
43
43
|
)>
|
@@ -145,5 +145,5 @@
|
|
145
145
|
<!ELEMENT is_premiere (#PCDATA)>
|
146
146
|
<!ELEMENT is_kids (#PCDATA)>
|
147
147
|
<!ELEMENT date (#PCDATA)>
|
148
|
-
|
148
|
+
<!ELEMENT cpa (#PCDATA)>
|
149
149
|
|
@@ -27,6 +27,7 @@
|
|
27
27
|
</categories>
|
28
28
|
|
29
29
|
<local_delivery_cost>300</local_delivery_cost>
|
30
|
+
<cpa>1</cpa>
|
30
31
|
|
31
32
|
<offers>
|
32
33
|
<offer id=" 123 " type="vendor.model" bid="13" cbid="20">
|
@@ -56,6 +57,7 @@
|
|
56
57
|
<description>A4, 64Mb, 600x600 dpi, USB 2.0, 29стр/мин ч/б / 15стр/мин цв, лотки на 100л и 250л, плотность до 175г/м, до 60000 стр/месяц </description>
|
57
58
|
<manufacturer_warranty>true</manufacturer_warranty>
|
58
59
|
<country_of_origin>Япония</country_of_origin>
|
60
|
+
<cpa>0</cpa>
|
59
61
|
</offer>
|
60
62
|
|
61
63
|
<offer id="1234" type="book" bid="17" available="false">
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: goods
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Artem Pyanykh
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -149,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
149
149
|
version: '0'
|
150
150
|
requirements: []
|
151
151
|
rubyforge_project:
|
152
|
-
rubygems_version: 2.
|
152
|
+
rubygems_version: 2.2.2
|
153
153
|
signing_key:
|
154
154
|
specification_version: 4
|
155
155
|
summary: Simple parser for YML (Yandex Market Language) files with a few twists.
|