bill_hicks 2.0.7 → 2.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bill_hicks/catalog.rb +4 -2
- data/lib/bill_hicks/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: ccaad0063b9304473697f5bc0f74c8d7a8689181
|
4
|
+
data.tar.gz: 6fb727e744a3e84a1f0def6228ca3ffd9eca4b95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 062fdc2e61ebd2b37b80f87811ad2f323f63b147eaedfc9d20496e165260e667128c1218d05cdde8812ff5d34298134ec35638f53ec86ee456a34f443009b9e5
|
7
|
+
data.tar.gz: 398e236379f58c09762b833471a2efb16386346a11737391e44f09f0b2a27f61b3e1b2be78aa415878fd9f96e506fb6d8946c69b8ea626936cbd3e78e5861caf
|
data/lib/bill_hicks/catalog.rb
CHANGED
@@ -78,9 +78,11 @@ module BillHicks
|
|
78
78
|
chunk.each do |item|
|
79
79
|
item.except!(:category_code)
|
80
80
|
|
81
|
-
|
81
|
+
mfg_number = item[:name].split.last
|
82
|
+
|
83
|
+
item[:item_identifier] = mfg_number
|
82
84
|
item[:brand] = BillHicks::BrandConverter.convert(item[:name])
|
83
|
-
item[:mfg_number] =
|
85
|
+
item[:mfg_number] = mfg_number
|
84
86
|
|
85
87
|
if item[:long_description].present?
|
86
88
|
features = self.parse_features(item[:long_description])
|
data/lib/bill_hicks/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bill_hicks
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dale Campbell
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-01-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: smarter_csv
|