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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a24fb6f061f2e25259ff505959a4b3d0880964eb
4
- data.tar.gz: 4c3c769e6eddac9d2cbe13d7581db8db4817d597
3
+ metadata.gz: ccaad0063b9304473697f5bc0f74c8d7a8689181
4
+ data.tar.gz: 6fb727e744a3e84a1f0def6228ca3ffd9eca4b95
5
5
  SHA512:
6
- metadata.gz: c9b01280fc83d7186a452e8a1c0260b196f8bb271bb0ac7064ee494c0f86eeb012478f6b5455d154902b591340c995d76c5487bcb5904f62a0115cf6b48209ff
7
- data.tar.gz: bb655c753d99c71ae31d9e65e0704ed40af2cbcb3d756e11c3dc08018bb61fbd411629138c74ea189a3dd570e0eb28a62ebf1ea1aa7aeeba9d6097facadb0c51
6
+ metadata.gz: 062fdc2e61ebd2b37b80f87811ad2f323f63b147eaedfc9d20496e165260e667128c1218d05cdde8812ff5d34298134ec35638f53ec86ee456a34f443009b9e5
7
+ data.tar.gz: 398e236379f58c09762b833471a2efb16386346a11737391e44f09f0b2a27f61b3e1b2be78aa415878fd9f96e506fb6d8946c69b8ea626936cbd3e78e5861caf
@@ -78,9 +78,11 @@ module BillHicks
78
78
  chunk.each do |item|
79
79
  item.except!(:category_code)
80
80
 
81
- item[:item_identifier] = item[:name]
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] = item[:name].split.last
85
+ item[:mfg_number] = mfg_number
84
86
 
85
87
  if item[:long_description].present?
86
88
  features = self.parse_features(item[:long_description])
@@ -1,3 +1,3 @@
1
1
  module BillHicks
2
- VERSION = '2.0.7'.freeze
2
+ VERSION = '2.0.8'.freeze
3
3
  end
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.7
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: 2017-12-04 00:00:00.000000000 Z
11
+ date: 2018-01-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: smarter_csv