orion_wholesale 1.1.6 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/orion_wholesale/catalog.rb +9 -8
- data/lib/orion_wholesale/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d86d91420ad8fbb4b61a9b8b282376f8fea820df10c17459dec9ac3a16e854cd
|
4
|
+
data.tar.gz: 2918d80f92b3a665b6c51a619893f775a16daa8e7de3348f1cdd93008518321a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 98fddca67ae56c44fff9810061b6a4aab42883088b64efbea3abe25d7d633cd1cdcbbd70434121abdbc0e6efdb45e890181517f6913541d450b8ce42df4f3de8
|
7
|
+
data.tar.gz: a8c494e532cffd8d28ac80be8d6349695bff436c4d1aecc22935be44b0506476b2f8bc5b2e0ddd7a7959dc39c11e69c3439def04d27c86ca51e80dfa2771adc5
|
data/Gemfile.lock
CHANGED
@@ -40,14 +40,15 @@ module OrionWholesale
|
|
40
40
|
end
|
41
41
|
|
42
42
|
item = {
|
43
|
-
mfg_number:
|
44
|
-
upc:
|
45
|
-
name:
|
46
|
-
quantity:
|
47
|
-
price:
|
48
|
-
brand:
|
49
|
-
|
50
|
-
|
43
|
+
mfg_number: row[@headers.index('Item ID')].try(:strip),
|
44
|
+
upc: row[@headers.index('Bar Code')].try(:strip),
|
45
|
+
name: row[@headers.index('Description')].try(:strip),
|
46
|
+
quantity: row[@headers.index('Qty available')].to_i,
|
47
|
+
price: row[@headers.index('Price')].try(:strip),
|
48
|
+
brand: row[@headers.index('Brand')].try(:strip),
|
49
|
+
item_identifier: row[@headers.index("ImageFileName\n")].try(:strip),
|
50
|
+
category: @category,
|
51
|
+
subcategory: @subcategory,
|
51
52
|
}
|
52
53
|
|
53
54
|
items << item
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: orion_wholesale
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tony Beninate
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-10-
|
11
|
+
date: 2020-10-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|