oddb2xml 2.3.4 → 2.3.5

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d0a865b8a3e2de90ecb0e96df994782cf60a34ec
4
- data.tar.gz: 2c453c126a5f50ff246f5466721f6e28dd170430
3
+ metadata.gz: 5029eb894e5fff0733694a035eb36498874dd86b
4
+ data.tar.gz: c3834f3d1ff71b013068706ef016e32e00237314
5
5
  SHA512:
6
- metadata.gz: 63eacbae5d49794781e65d5c1fb3a9e953b863cc2fe30f83d4cef17ce39e42652610500f9b97514ec9360fc76cceffeb4b8e2f79cda238d5dc815994bdb91c1f
7
- data.tar.gz: 08f80192c4d21fe65d18b233191c73d0c0471fc2be1ec9f9909b74e5b3f71a743cef281bad687b7af3df59b0f5f40f4214834d5d74034d8aa0f2072990d4881b
6
+ metadata.gz: 5a4a531b9d80fa34c42703a5d65f67a410464ceb6efde1c3dc49159da64dc4a847ad3e72b4417a46fea33d51c984e027d94a91329af195ed16cd15d1fab01f30
7
+ data.tar.gz: 38f0930241a840af95c532cd28f7fd2cca5008a7d65d0f85f26f47936b62bb0e4caf61e0f29b624efc61cd50addb12d609b6c8d19f7cd29d7385e8569a60885d
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- oddb2xml (2.3.4)
4
+ oddb2xml (2.3.5)
5
5
  archive-tar-minitar
6
6
  httpi (>= 2.4.1)
7
7
  mechanize
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 2.3.5 /21.01.2016
2
+
3
+ * Readded VDAT in oddb_article.xml for prices not from ZurRose
4
+
1
5
  === 2.3.4 /20.01.2016
2
6
 
3
7
  * Remove VDAT from oddb_article.xml as this is always updated to the current date and therefore changes the SHA256 attribute
@@ -911,6 +911,7 @@ module Oddb2xml
911
911
  if pac and pac[:prices]
912
912
  pac[:prices].each_pair do |key, price|
913
913
  xml.ARTPRI {
914
+ xml.VDAT price[:valid_date] unless price[:valid_date].empty?
914
915
  xml.PTYP price[:price_code] unless price[:price_code].empty?
915
916
  xml.PRICE price[:price] unless price[:price].empty?
916
917
  }
@@ -1,3 +1,3 @@
1
1
  module Oddb2xml
2
- VERSION = "2.3.4"
2
+ VERSION = "2.3.5"
3
3
  end
data/oddb2xml.xsd CHANGED
@@ -248,6 +248,7 @@
248
248
  <xs:complexType>
249
249
  <xs:sequence>
250
250
  <xs:sequence minOccurs="0">
251
+ <xs:element minOccurs="0" ref="ns1:VDAT"/>
251
252
  <xs:element ref="ns1:PTYP"/>
252
253
  </xs:sequence>
253
254
  <xs:element minOccurs="0" ref="ns1:PRICE"/>
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oddb2xml
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.4
4
+ version: 2.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yasuhiro Asaka, Zeno R.R. Davatz, Niklaus Giger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-20 00:00:00.000000000 Z
11
+ date: 2016-01-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubyzip