sports_south 2.0.19 → 2.0.20
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 +17 -17
- data/lib/sports_south/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e4d5019e2a4d0b8aebe84e8268e3445262403cbc
|
4
|
+
data.tar.gz: f4ea5e551daefa18f9fcd91f91cfca07f467c9c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0bcfeeb10b496f261220f3d1653498bf733f21d4abc833e20f9b9fa39c871678e2e2d4d24460447eb8e3b240ccd029de2a6ac71823cc98200d54c69d9b95a621
|
7
|
+
data.tar.gz: 01e5d034a2820ad1dff1b851e93b97c2a21f329e0b052f0eb401937ae7e7c4a719ce93a971f227d13fc02e6bcb1fb9c05662b0d65bd2e1114b6fefcccbb6c926
|
data/lib/sports_south/catalog.rb
CHANGED
@@ -114,27 +114,27 @@ module SportsSouth
|
|
114
114
|
end
|
115
115
|
|
116
116
|
if features.respond_to?(:[]=)
|
117
|
-
features[:model] = content_for(node, 'IMODEL')
|
118
117
|
features[:series] = content_for(node, 'SERIES')
|
119
118
|
end
|
120
119
|
|
121
120
|
{
|
122
|
-
name:
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
121
|
+
name: content_for(node, 'IDESC').gsub(/\s+/, ' '),
|
122
|
+
model: content_for(node, 'IMODEL'),
|
123
|
+
upc: content_for(node, 'ITUPC').rjust(12, "0"),
|
124
|
+
item_identifier: content_for(node, 'ITEMNO'),
|
125
|
+
quantity: content_for(node, 'QTYOH').to_i,
|
126
|
+
price: content_for(node, 'CPRC'),
|
127
|
+
short_description: content_for(node, 'SHDESC'),
|
128
|
+
long_description: long_description,
|
129
|
+
category: category[:description],
|
130
|
+
product_type: ITEM_TYPES[content_for(node, 'ITYPE')],
|
131
|
+
mfg_number: content_for(node, 'MFGINO'),
|
132
|
+
weight: content_for(node, 'WTPBX'),
|
133
|
+
caliber: caliber,
|
134
|
+
action: action,
|
135
|
+
map_price: content_for(node, 'MFPRC'),
|
136
|
+
brand: brand.present? ? brand[:name] : nil,
|
137
|
+
features: features
|
138
138
|
}
|
139
139
|
end
|
140
140
|
|
data/lib/sports_south/version.rb
CHANGED