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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f1037a07921e73f33f2f3b1bb618a0f2215d8c22
4
- data.tar.gz: 9be5a8d6d3baa1923806a2a7aac5dc18d57aeb9c
3
+ metadata.gz: 1606f6587996516c551a45f1cf8a824b4baa578b
4
+ data.tar.gz: 8adeef0e6335e69773469c59f0286d6bc13d3b30
5
5
  SHA512:
6
- metadata.gz: 8e9d9f66ee0ece5bf1daadc8193fbd01d9016b02ad27abe0491dd0611853fd0d18d21762ff61ffd59993012be93d12e8cb7aca46fd5613d4a51493e78926a77e
7
- data.tar.gz: d46310e304bf6d012ef104110fe4911a46c8a42fbca37539a8125cfa1d8e07b8f1f0e8f1e2131ba1ca74d78cdc91380956d49c28eb069c8d3ef818734416de32
6
+ metadata.gz: f88070334f9144360ee18e2b81894af4c5c80704cab861aba7dfe789c755b22c5f3be3b2fb1de9fb37f27e6f2eff1f9a56b1869fb86adc58a3eeada55c5cea46
7
+ data.tar.gz: 542abb8f3b820c5effa00ca7ec76f49ab860e35cf4c9f8f6f55cad2ca988f2bd76347b89b0516c518f7907ba1b0b31e2c8ee75852d1b157b63dee2d55a85fdfb
@@ -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: {
@@ -1,3 +1,3 @@
1
1
  module SportsSouth
2
- VERSION = '2.0.8'
2
+ VERSION = '2.0.9'
3
3
  end
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.8
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-03 00:00:00.000000000 Z
11
+ date: 2017-11-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri