davidsons 5.0.0 → 5.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/davidsons/catalog.rb +2 -2
- data/lib/davidsons/inventory.rb +1 -1
- data/lib/davidsons/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: 412d169a955ca01bd2f988ed956873c24e141415
|
4
|
+
data.tar.gz: 984b7f63c5b74a6e694b4f9e5c9a9d280a1b86a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1335d44af62e7ea974bdd5b4029f388432c38a09c4098cbd9a4f9b81118113006545528028ae78acb292d1dc76b3e0c56760a1feb58992e9687678b2e3286675
|
7
|
+
data.tar.gz: f8fa924866a82cffd3c2bf9a40633adef9e1f14a7f2c7201fb8e65e461c1723a896e36c3de76e461fd851aa0fa1f4ddac5b771a7fb0f8b260ffe730bfb008202
|
data/lib/davidsons/catalog.rb
CHANGED
@@ -39,8 +39,8 @@ module Davidsons
|
|
39
39
|
|
40
40
|
SmarterCSV.process(tempfile, DEFAULT_SMART_OPTS) do |chunk|
|
41
41
|
chunk.each do |item|
|
42
|
-
item[:msrp]
|
43
|
-
item[:upc]
|
42
|
+
item[:msrp]&.tr!('$', '')
|
43
|
+
item[:upc]&.tr!('#', '')
|
44
44
|
|
45
45
|
item[:price] = lowest_price(item)
|
46
46
|
item[:mfg_number] = item[:item_identifier]
|
data/lib/davidsons/inventory.rb
CHANGED
data/lib/davidsons/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: davidsons
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.0.
|
4
|
+
version: 5.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Knight
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2020-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: savon
|