sports_south 2.0.8 → 2.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sports_south/catalog.rb +2 -0
- data/lib/sports_south/version.rb +1 -1
- 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: 1606f6587996516c551a45f1cf8a824b4baa578b
|
4
|
+
data.tar.gz: 8adeef0e6335e69773469c59f0286d6bc13d3b30
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f88070334f9144360ee18e2b81894af4c5c80704cab861aba7dfe789c755b22c5f3be3b2fb1de9fb37f27e6f2eff1f9a56b1869fb86adc58a3eeada55c5cea46
|
7
|
+
data.tar.gz: 542abb8f3b820c5effa00ca7ec76f49ab860e35cf4c9f8f6f55cad2ca988f2bd76347b89b0516c518f7907ba1b0b31e2c8ee75852d1b157b63dee2d55a85fdfb
|
data/lib/sports_south/catalog.rb
CHANGED
@@ -95,6 +95,7 @@ module SportsSouth
|
|
95
95
|
def map_hash(node, full_product = false)
|
96
96
|
category = @categories.find { |category| category[:category_id] == content_for(node, 'CATID') }
|
97
97
|
brand = @brands.find { |brand| brand[:brand_id] == content_for(node, 'ITBRDNO') }
|
98
|
+
caliber = content_for(node, 'ITATR3').present? ? content_for(node, 'ITATR3') : nil
|
98
99
|
|
99
100
|
if full_product
|
100
101
|
long_description = self.get_description(content_for(node, 'ITEMNO'))
|
@@ -115,6 +116,7 @@ module SportsSouth
|
|
115
116
|
product_type: ITEM_TYPES[content_for(node, 'ITYPE')],
|
116
117
|
mfg_number: content_for(node, 'IMFGNO'),
|
117
118
|
weight: content_for(node, 'WTPBX'),
|
119
|
+
caliber: caliber,
|
118
120
|
map_price: content_for(node, 'MFPRC'),
|
119
121
|
brand: brand.present? ? brand[:name] : nil,
|
120
122
|
features: {
|
data/lib/sports_south/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sports_south
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dale Campbell
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|