rsr_group 2.0.3 → 2.0.4

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
  SHA1:
3
- metadata.gz: 6ddf0e70821cb33d46d5bcab02f6e64ff416a39b
4
- data.tar.gz: f9692f7580124dee07bde21cd4cacc5bd2ab9b20
3
+ metadata.gz: fe5517c688477cb0af67c4b4710f8764ece96feb
4
+ data.tar.gz: b5fa94f53bf559d2854889233621a0899a48844a
5
5
  SHA512:
6
- metadata.gz: 3c5b7af41800c7f6efa1e7f3964d620832a8124f8051b9b43ed70327b2017430da7f5d4073c65ef4a09c8670e02067433cbb0463bb409cb69d04830e78729bc7
7
- data.tar.gz: fc0b7d5ca35c4b4cd6b1078ef8365ce53ad88197bd39ec94d2633b7f568013cfefee05a9ec492c1c9923a621abf88cef1cf4a1d05b6890d2ec938eb78707ce63
6
+ metadata.gz: 93c82484ea8805744e148640da0bf9c5e27f884dcfa7670688ef52f4a2f2419b2e91e9fc7b293c75606575e97656e60ec160d540f85844f7a21e861111bfa61c
7
+ data.tar.gz: c40e6c4b4652d40340b163d5995da8df7c02bef0051f5aabbf9097e97c88a078ffb170552420b1d10249ac3188d143e146c08b46f5044f121132064a9aaa36b5
@@ -62,23 +62,23 @@ module RsrGroup
62
62
 
63
63
  def process_row(row)
64
64
  {
65
- upc: sanitize(row[1]),
66
- item_identifier: sanitize(row[0]),
67
- name: sanitize(row[2]),
68
- short_description: sanitize(row[2]),
69
- category: row[3].nil? ? row[3] : RsrGroup::Department.new(row[3]).name,
70
- brand: sanitize(row[10]),
71
- map_price: sanitize(row[70]),
72
- price: sanitize(row[6]),
73
- quantity: (Integer(sanitize(row[8])) rescue 0),
74
- mfg_number: sanitize(row[11]),
75
- weight: sanitize(row[7]),
76
- long_description: sanitize(row[13]),
65
+ upc: sanitize(row[1]),
66
+ item_identifier: sanitize(row[0]),
67
+ name: sanitize(row[2]),
68
+ model: sanitize(row[9]),
69
+ short_description: sanitize(row[2]),
70
+ category: row[3].nil? ? row[3] : RsrGroup::Department.new(row[3]).name,
71
+ brand: sanitize(row[10]),
72
+ map_price: sanitize(row[70]),
73
+ price: sanitize(row[6]),
74
+ quantity: (Integer(sanitize(row[8])) rescue 0),
75
+ mfg_number: sanitize(row[11]),
76
+ weight: sanitize(row[7]),
77
+ long_description: sanitize(row[13]),
77
78
  features: {
78
- model: sanitize(row[9]),
79
- shipping_length: sanitize(row[74]),
80
- shipping_width: sanitize(row[75]),
81
- shipping_height: sanitize(row[76])
79
+ shipping_length: sanitize(row[74]),
80
+ shipping_width: sanitize(row[75]),
81
+ shipping_height: sanitize(row[76])
82
82
  }
83
83
  }
84
84
  end
@@ -1,3 +1,3 @@
1
1
  module RsrGroup
2
- VERSION = '2.0.3'.freeze
2
+ VERSION = '2.0.4'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rsr_group
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.3
4
+ version: 2.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dale Campbell