mge_wholesale 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mge_wholesale/catalog.rb +2 -1
- data/lib/mge_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: 94efa68d0a6acf4fa2471953fe46666ed375de8081ef156ae5176e7bdb4d13f8
|
4
|
+
data.tar.gz: a3912f9bef3ad4c6abf79faf8084df79a5f58aeb4c837ea63bdb5f9fb3051fec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fba07faa86b192bf3bfa88e63b172d693cd65c4dccbeeae858f7ec1f59a29db4d81bf1c669a7e19590b4e76ee9be163b3806c1c1f4aee27ba7bacefd0accef5a
|
7
|
+
data.tar.gz: a5afcdf5b2e0eb92778ef2e21c8a58e9d2b38573ff0421a26444011915c7b123232823916b25960050df878ebbf768ae63cce8312b4308ba79c82797057a6411
|
@@ -77,7 +77,7 @@ module MgeWholesale
|
|
77
77
|
when 'Pistol', 'Revolver'
|
78
78
|
product_type = :handgun
|
79
79
|
when 'Rifle', 'Rifle Frame', 'Shotgun', 'Short Barrel Rifle'
|
80
|
-
product_type = :
|
80
|
+
product_type = :long_gun
|
81
81
|
end
|
82
82
|
when 'NFA - Class 3'
|
83
83
|
case subcategory
|
@@ -99,6 +99,7 @@ module MgeWholesale
|
|
99
99
|
mfg_number: content_for(node, 'vendorItemNo'),
|
100
100
|
weight: content_for(node, 'Weight'),
|
101
101
|
brand: content_for(node, 'Brand'),
|
102
|
+
caliber: content_for(node, 'Caliber') || content_for(node, 'Caliber_Gauge'),
|
102
103
|
features: features
|
103
104
|
}
|
104
105
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mge_wholesale
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ken Ebling
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|