orion_wholesale 1.2.0 → 1.3.1

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: d86d91420ad8fbb4b61a9b8b282376f8fea820df10c17459dec9ac3a16e854cd
4
- data.tar.gz: 2918d80f92b3a665b6c51a619893f775a16daa8e7de3348f1cdd93008518321a
3
+ metadata.gz: b0b302e1e3f59b9e73d6f0fdf1f9b25ddf4528240867c929add29906388eddae
4
+ data.tar.gz: b782157da2dc17ae63c68879009f56d04eed226e82893aa522fbe892fbe418d2
5
5
  SHA512:
6
- metadata.gz: 98fddca67ae56c44fff9810061b6a4aab42883088b64efbea3abe25d7d633cd1cdcbbd70434121abdbc0e6efdb45e890181517f6913541d450b8ce42df4f3de8
7
- data.tar.gz: a8c494e532cffd8d28ac80be8d6349695bff436c4d1aecc22935be44b0506476b2f8bc5b2e0ddd7a7959dc39c11e69c3439def04d27c86ca51e80dfa2771adc5
6
+ metadata.gz: 767f1e0cfcaec7623ebc22d92d6926a9b9b44c27b780f8b91e44997ae7d37fe877f6d81eda94f39478cde039e8c01dd7f1a60240c9a736c6c6fc3b6f9f2ae739
7
+ data.tar.gz: 4c3eb2601cde8720d7b297f436b21f19d237ec4d90ace05c4cce96f00b3c24096b990244146bf3682c827f51e5397d36f00942de69c184d9f263d8520aefb2d1
@@ -46,9 +46,12 @@ module OrionWholesale
46
46
  quantity: row[@headers.index('Qty available')].to_i,
47
47
  price: row[@headers.index('Price')].try(:strip),
48
48
  brand: row[@headers.index('Brand')].try(:strip),
49
- item_identifier: row[@headers.index("ImageFileName\n")].try(:strip),
49
+ item_identifier: row[@headers.index("Item ID")].try(:strip),
50
50
  category: @category,
51
51
  subcategory: @subcategory,
52
+ features: {
53
+ image_name: row[@headers.index("ImageFileName\n")].try(:strip),
54
+ },
52
55
  }
53
56
 
54
57
  items << item
@@ -1,3 +1,3 @@
1
1
  module OrionWholesale
2
- VERSION = '1.2.0'.freeze
2
+ VERSION = '1.3.1'.freeze
3
3
  end
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
22
22
  spec.require_paths = ["lib"]
23
23
 
24
- spec.add_runtime_dependency "activesupport", ">= 5", "< 7"
24
+ spec.add_runtime_dependency "activesupport", ">= 5"
25
25
  spec.add_runtime_dependency "net-sftp"
26
26
 
27
27
  spec.add_development_dependency "bundler", ">= 1.15"
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.2.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tony Beninate
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-10-12 00:00:00.000000000 Z
11
+ date: 2023-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -17,9 +17,6 @@ dependencies:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '5'
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: '7'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
@@ -27,9 +24,6 @@ dependencies:
27
24
  - - ">="
28
25
  - !ruby/object:Gem::Version
29
26
  version: '5'
30
- - - "<"
31
- - !ruby/object:Gem::Version
32
- version: '7'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: net-sftp
35
29
  requirement: !ruby/object:Gem::Requirement
@@ -115,7 +109,7 @@ homepage: ''
115
109
  licenses:
116
110
  - MIT
117
111
  metadata: {}
118
- post_install_message:
112
+ post_install_message:
119
113
  rdoc_options: []
120
114
  require_paths:
121
115
  - lib
@@ -130,8 +124,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
130
124
  - !ruby/object:Gem::Version
131
125
  version: '0'
132
126
  requirements: []
133
- rubygems_version: 3.0.8
134
- signing_key:
127
+ rubygems_version: 3.4.8
128
+ signing_key:
135
129
  specification_version: 4
136
130
  summary: Ruby library for OrionWholesale
137
131
  test_files: []