sportsmans-supply 1.0.0.pre.pre → 1.0.1.pre.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sportsmans-supply/catalog.rb +3 -3
- data/lib/sportsmans-supply/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: 3c1ba171bbf6c28816da8dd5de03e216b4dac88ac535e374f193b5e1d57266a2
|
4
|
+
data.tar.gz: 2914763a6293481810d89ba2e1b53c07dafdbcf6fa762495ffcabdb6e048055c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40a0b4372bca1cf689b436f20d7dd6d08e68a0197625e01a1d48a3236789326a0d2aaf9027237454756e7188c6efcb677959f848e96ace4628e05d173e64891a
|
7
|
+
data.tar.gz: 959ec5c582288e39744563175391a1a8468d13fac32d0c9e14a6051756ffc9f74514bd7735f8222da3feb0dc3d1bc6d93a92e920e1078785144be6b2c391ea85
|
@@ -27,7 +27,7 @@ module SportsmansSupply
|
|
27
27
|
end
|
28
28
|
|
29
29
|
inventory_data[row[@headers.index('sku')]] = {
|
30
|
-
price: row[@headers.index('rapid retail price')],
|
30
|
+
price: row[@headers.index('rapid retail price')].to_f,
|
31
31
|
quantity: row[@headers.index('qty')].to_i
|
32
32
|
}
|
33
33
|
end
|
@@ -52,8 +52,8 @@ module SportsmansSupply
|
|
52
52
|
name: description,
|
53
53
|
quantity: inventory_datum[:quantity],
|
54
54
|
price: inventory_datum[:price],
|
55
|
-
map_price: row[@headers.index('map')],
|
56
|
-
msrp: row[@headers.index('msrp')],
|
55
|
+
map_price: row[@headers.index('map')].to_f,
|
56
|
+
msrp: row[@headers.index('msrp')].to_f,
|
57
57
|
brand: row[@headers.index('manufacturer')],
|
58
58
|
item_identifier: sku,
|
59
59
|
category: row[@headers.index('category')],
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sportsmans-supply
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1.pre.pre
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jeffrey Dill
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-01-
|
11
|
+
date: 2022-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|