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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 14cb932f540318ae3a4406f2b310c298c63c092f62be52dd31a5296ddbc058b2
4
- data.tar.gz: f89621f47f5018f2c1b16e0ff0a50fd276c5afebc5f548bc03c67ee9d7bedf07
3
+ metadata.gz: 3c1ba171bbf6c28816da8dd5de03e216b4dac88ac535e374f193b5e1d57266a2
4
+ data.tar.gz: 2914763a6293481810d89ba2e1b53c07dafdbcf6fa762495ffcabdb6e048055c
5
5
  SHA512:
6
- metadata.gz: fadcebdc50392fdd0686eec56b50d7a969f74d0aa32bd0a43a07ca50e07db932bee172c1d83aa344bf5822596108e55ad51259a28e97d90223b7656ecb668999
7
- data.tar.gz: bbb4bd2ce0a8ec806a4354004cb219ab7a3563830aaac170537e9575b3e0ffbd33f0a797af3dec06b32fce4397e6b14c4ea9ef48fabf7110c8a1226001bb7a8f
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')],
@@ -1,3 +1,3 @@
1
1
  module SportsmansSupply
2
- VERSION = '1.0.0-pre'.freeze
2
+ VERSION = '1.0.1-pre'.freeze
3
3
  end
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.0.pre.pre
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-12 00:00:00.000000000 Z
11
+ date: 2022-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport