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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5ab1f966d78d341a0db7bf32da931fd11ff0ad3c631659dcc5164ccf9f7432cd
4
- data.tar.gz: 95be73ee79fe010f1b0f1607813751633789c37ee6a06a78adda52f91141f374
3
+ metadata.gz: 94efa68d0a6acf4fa2471953fe46666ed375de8081ef156ae5176e7bdb4d13f8
4
+ data.tar.gz: a3912f9bef3ad4c6abf79faf8084df79a5f58aeb4c837ea63bdb5f9fb3051fec
5
5
  SHA512:
6
- metadata.gz: 8f71b9d1c62c52d4244abc297d2e58b80d179081ed3560daede5cd9137bf3146b46f78b495a31af8d49908a0af4de2c06830f55c1b723ba0aa468495b1494fa2
7
- data.tar.gz: bd7763a8bf57a3573b1590c6f36b626bdf6007bf0a5f0ca3018c6d4aab1120f0134cf07902d660f35e56390d1e9e5a6eb6559e6d1c18b39ead54b5e9dbfd559c
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 = :rifle
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
@@ -1,3 +1,3 @@
1
1
  module MgeWholesale
2
- VERSION = '1.0.3'.freeze
2
+ VERSION = '1.0.4'.freeze
3
3
  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.3
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-08-31 00:00:00.000000000 Z
11
+ date: 2018-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri