zanders 5.0.5 → 5.0.6

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: 52880c26700658916eeca8313e9b38cc85dba6234049a921a7bd6b053b1b36a8
4
- data.tar.gz: 1dc7740edcac024a7c58123947412a5edf377bee4b8a32a31c903b12345a23db
3
+ metadata.gz: c226b165a425dac8ee88fc6a8f6abc4670e405628c5c4f43f488cde7374daffc
4
+ data.tar.gz: 319c0d000c94dd32e5949b2c922d955a2b6dfda17fb9d614a42c9d219142d03e
5
5
  SHA512:
6
- metadata.gz: 5021674e822a990653da4d9e540941a7de1cbe495e2abd502744d384f50d24013120f86f8ae9c38bcce721572fe69d3551889735a52f3f0e675b4d7f92a65f93
7
- data.tar.gz: 332fd8df0f24016d13c972e664bde5c2d27b77775b1b5465a0f2434262a6676fb19c9ce46d74a01b018a655e83df455dd66a580c454dbfa7ce03e4b039118896
6
+ metadata.gz: 03ffd7dfc8ebaad8a0eac879a66a94e06d6c7b17957caaa536323c9049a6eb9b038e283d95ead2529f0aba7f82c41063e11323218e96c684abf4f8e0df5a6c45
7
+ data.tar.gz: a6482867c79930bd286c245ac0b786b2f723d95593bf63b2db2883e2552076be1691fbbf9a248f24b569f47c38bf9e8d0b6ca50a69e1bef45b116906f781d946
data/lib/zanders/order.rb CHANGED
@@ -64,7 +64,14 @@ module Zanders
64
64
  ])
65
65
  end
66
66
 
67
- shipping_code = (@options[:account] == :accessory ? 'UM' : 'UG')
67
+ shipping_code = case @options[:account]
68
+ when :accessory
69
+ 'UM'
70
+ when :firearm
71
+ 'UG'
72
+ when :default
73
+ 'BW'
74
+ end
68
75
 
69
76
  shipping_information.push(*[
70
77
  { key: 'shipDate', value: Time.now.strftime("%Y-%m-%d") },
@@ -1,3 +1,3 @@
1
1
  module Zanders
2
- VERSION = '5.0.5'.freeze
2
+ VERSION = '5.0.6'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zanders
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.5
4
+ version: 5.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Knight
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2023-08-29 00:00:00.000000000 Z
12
+ date: 2023-09-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri