gun_accessory_supply 0.0.3 → 0.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: e975f68915ef480c52d02432b7c398e1e3138fea406e95046b19c20afc3c0363
4
- data.tar.gz: b74e8ee0f1c264d8411cf82dc5db99cfe2f118dad8ad71ba4401e9c77d1024cd
3
+ metadata.gz: 2cb360468009585d6c544174df5a98e085a8ff8504acd2af87d97d3f91d5e111
4
+ data.tar.gz: 8ffea43be565f45d76e1dd08b13ddc17fdf7555b01d84abc9bd4e32bd70ddb03
5
5
  SHA512:
6
- metadata.gz: 6de5bf2dbe16f76c55f1ba25723f25c89968932885149644fcf23260c32203059f44e9d52e1d72b44c67b7582a4f5ca6c71f2a2ab34d5c1f123edb8091a2b27f
7
- data.tar.gz: 7154b5c648b7c9325fa6ffa33d3d1cbeb75c5378a8e024efe9db53d9018d4852c8c7048fdf4d5a5c5f39656730699be3e21bc2754b6f4018c884dac1f3a73f00
6
+ metadata.gz: 714b1a759af4f27ed31aeb28caaee92abbac0e7f75cfe11b1563fe3df7ff9f68878516e8bec584940d8661e9abbec0869891ff7ec474bd9e320b7e97efeb6385
7
+ data.tar.gz: de7c514d94c2f18b1611db4a45af9da44b6169bdd662aeebedd42ab21783f6a084366333c4afbbf937f4a019accde79efb9a3e6135e269365fb9b0042bcad114
@@ -70,23 +70,23 @@ module GunAccessorySupply
70
70
  xml.cXML(timestamp: Time.now) do
71
71
  xml.Header do
72
72
  xml.From do
73
- xml.Credential(domain: @xml_domain) do
74
- xml.Identity @xml_domain
75
- xml.SharedSecret @xml_secret
73
+ xml.Credential(domain: GunAccessorySupply.config.xml_domain) do
74
+ xml.Identity GunAccessorySupply.config.xml_domain
75
+ xml.SharedSecret GunAccessorySupply.config.xml_secret
76
76
  xml.OrderID @po_number
77
77
  end
78
78
  end
79
79
  xml.To do
80
- xml.Credential(domain: @xml_domain) do
81
- xml.Identity @xml_domain
82
- xml.SharedSecret @xml_secret
80
+ xml.Credential(domain: GunAccessorySupply.config.xml_domain) do
81
+ xml.Identity GunAccessorySupply.config.xml_domain
82
+ xml.SharedSecret GunAccessorySupply.config.xml_secret
83
83
  xml.OrderID @po_number
84
84
  end
85
85
  end
86
86
  xml.Sender do
87
- xml.Credential(domain: @xml_domain) do
88
- xml.Identity @xml_domain
89
- xml.SharedSecret @xml_secret
87
+ xml.Credential(domain: GunAccessorySupply.config.xml_domain) do
88
+ xml.Identity GunAccessorySupply.config.xml_domain
89
+ xml.SharedSecret GunAccessorySupply.config.xml_secret
90
90
  xml.OrderID @po_number
91
91
  end
92
92
  end
@@ -1,3 +1,3 @@
1
1
  module GunAccessorySupply
2
- VERSION = '0.0.3'.freeze
2
+ VERSION = '0.0.4'.freeze
3
3
  end
@@ -1,11 +1,8 @@
1
1
  require 'gun_accessory_supply/version'
2
-
3
2
  require 'csv'
4
3
  require 'net/sftp'
5
4
  require 'tempfile'
6
-
7
5
  require 'active_support/all'
8
-
9
6
  require 'gun_accessory_supply/base'
10
7
  require 'gun_accessory_supply/catalog'
11
8
  require 'gun_accessory_supply/category'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gun_accessory_supply
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tony Beninate