bill_hicks 1.3.7 → 1.3.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a091c0d938afc4530512ed36c48075e64cbccc70
4
- data.tar.gz: 2555b2a398bce03ccf50abb9d31caa0c42284437
3
+ metadata.gz: 90bdfb95db60c2341652c015b6c6bdc3f0b5394e
4
+ data.tar.gz: 208836c7ed23729d830f933ec81eaf9010542754
5
5
  SHA512:
6
- metadata.gz: a128ddc72c467f22ba103de7b9effc08273fbaa4380528471bdd69a0e2392c43af25554333779908920719ce252342b09020efa765d6b2a24c92171ee435202f
7
- data.tar.gz: 88437c3a67446b7f63555e54515260511d971ebd2361f9cea6f9dee4757ce277e7487ff5c99d6e8e762f15a99822139f2a85e2498bcef3a209372d39f14d26a2
6
+ metadata.gz: b0012d03657f1b9c261a31a0de9a8a35e48e976c2851103de66f96e1b0aaf30c55dd2bc2ce76c761401aa8581842511656a45b7dd9a57ec89e9ff38f68cf8273
7
+ data.tar.gz: 2cbdaf3a344b9c9c65e46b8d43ca4fb4b547bb91c51855922a26af458f987550c42a1758f0a4a5c2a01cfdb525197b50cf2ac2a00cb0e9ece9ee5047f3ecd746
@@ -80,6 +80,10 @@ module BillHicks
80
80
  }
81
81
 
82
82
  SmarterCSV.process(File.open(tempfile, "r:iso-8859-1"), smart_options) do |chunk|
83
+ chunk.each do |item|
84
+ item[:brand_name] = BillHicks::BrandConverter.convert(item[:product])
85
+ end
86
+
83
87
  yield(chunk)
84
88
  end
85
89
 
@@ -1,3 +1,3 @@
1
1
  module BillHicks
2
- VERSION = '1.3.7'.freeze
2
+ VERSION = '1.3.8'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bill_hicks
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.7
4
+ version: 1.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dale Campbell