rixml 0.4.7 → 0.4.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rixml.rb +3 -1
- data/rixml.gemspec +2 -2
- 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: db768cb2bf306f25477e1ab267bfbf4833018449
|
4
|
+
data.tar.gz: 188bda789fe4b822116fc6d38b9e42ea0a5c3606
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7269c45ffaa2b497b5f9b0610ca3664f2c3e2b968cc61056424937cd4061427aeadf46fbf52ad6ab2e4325fae9e4bf2ddf26cd855c2b60e4b6210eef3455b781
|
7
|
+
data.tar.gz: a9808fa3c482eaa12bf36f227a18c0b036d9779f660ad4f2a5c3ca17fb1b212c517bfae535496869563d43d480bb21ba3b376fd3ee549968d798b9cd1b6ca87e
|
data/lib/rixml.rb
CHANGED
@@ -160,7 +160,9 @@ class RIXML
|
|
160
160
|
end
|
161
161
|
|
162
162
|
def parse_product_category_from_context(context)
|
163
|
-
context.dig('ProductDetails', 'ProductCategory'
|
163
|
+
product_category = context.dig('ProductDetails', 'ProductCategory')
|
164
|
+
return product_category['productCategory'] if product_category.is_a?(Hash)
|
165
|
+
product_category
|
164
166
|
end
|
165
167
|
|
166
168
|
def parse_publication_date_from_context(context)
|
data/rixml.gemspec
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
s.name = 'rixml'
|
4
|
-
s.version = '0.4.
|
5
|
-
s.date = '2017-09-
|
4
|
+
s.version = '0.4.8'
|
5
|
+
s.date = '2017-09-25'
|
6
6
|
s.summary = 'RIXML Parser'
|
7
7
|
s.description = 'Parse RIXML files'
|
8
8
|
s.homepage = 'https://github.com/AlphaExchange/rixml'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rixml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Correia Santos
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-09-
|
12
|
+
date: 2017-09-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|