g5_foundation_client 0.0.13 → 0.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9cde2a1e00bfb67417b3dab369e32d89546250f5
4
- data.tar.gz: 5f1c379a887fe60fc3f9fa323029d32c0346364f
3
+ metadata.gz: ebde6eea4a7c71b04b7f0b37b92257d84b11f3c5
4
+ data.tar.gz: e8862eb75387f21338f8a3912f6f62400076b978
5
5
  SHA512:
6
- metadata.gz: f38b3c83fa1c7aaa34c695fbbe57c00e6befada468c7d89c16d27c4048e11c05a1382b8cc307e6afadc5787f1253e38e1273a93ac2a35d7d7388212282651370
7
- data.tar.gz: 9fa6fcdc5d0df555fa400b61c58cd26367260b5bd72ac6fd0d6ff8a406a33021c61123ca5bec7e8108137f82cd9096206923b8528afa44f3cbc2ea3a609a1a08
6
+ metadata.gz: cfa222ead4d630fea53d07582a45b945ce9eee0e5b4ba94e0ce1e064186c6f1b6ba750be12276565b78e2c7608833ff4d7b314708e062cd840544da5a7c6cce9
7
+ data.tar.gz: 9284c7effa77f1b73ec9ec434b619f8c890ecdf1db3aabef2516cbc6d4327e57921057c1a2b03c9ceba867b1c5d1e8712e4bdea325e2e14cb8eb106870c7da75
@@ -19,7 +19,8 @@ class G5FoundationClient::IntegrationSetting
19
19
  'inventory' == self.vendor_action
20
20
  end
21
21
 
22
- [:urn, :uid, :job_frequency_in_minutes, :vendor_action, :strategy_name, :vendor_endpoint, :vendor_user_name, :vendor_password].each do |field|
22
+ [:location_uid, :urn, :uid, :job_frequency_in_minutes, :vendor_action, :strategy_name,
23
+ :vendor_endpoint, :vendor_user_name, :vendor_password].each do |field|
23
24
  define_method(field) { self.integration_setting_hash[field] }
24
25
  end
25
26
 
@@ -1,3 +1,3 @@
1
1
  module G5FoundationClient
2
- VERSION = '0.0.13'
2
+ VERSION = '0.0.14'
3
3
  end
@@ -9,6 +9,7 @@ describe G5FoundationClient::IntegrationSetting do
9
9
  let(:job_frequency_in_minutes) { 60 }
10
10
  let(:service_url) { 'http://inventory.service.example.com' }
11
11
  let(:location) { 'location' }
12
+ let(:location_uid) { 'location-uid' }
12
13
  let(:strategy_name) { 'Centershift' }
13
14
  let(:vendor_endpoint) { 'http://centershift.example.com' }
14
15
  let(:vendor_user_name) { 'uname' }
@@ -22,15 +23,17 @@ describe G5FoundationClient::IntegrationSetting do
22
23
  vendor_endpoint: vendor_endpoint,
23
24
  vendor_user_name: vendor_user_name,
24
25
  vendor_password: vendor_password,
26
+ vendor_action: 'inventory',
27
+ location_uid: location_uid,
25
28
  uid: uid,
26
- urn: urn,
27
- vendor_action: 'inventory'
29
+ urn: urn
28
30
  } }
29
31
 
30
32
  subject { G5FoundationClient::IntegrationSetting.new(init_hash) }
31
33
 
32
34
  its(:job_frequency_in_minutes) { should eql(job_frequency_in_minutes) }
33
35
  its(:location) { should eql(location) }
36
+ its(:location_uid) { should eql(location_uid) }
34
37
  its(:uid) { should eql(uid) }
35
38
  its(:urn) { should eql(urn) }
36
39
  its(:vendor_action) { should eql(vendor_action) }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: g5_foundation_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.13
4
+ version: 0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Don Petersen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-30 00:00:00.000000000 Z
11
+ date: 2014-10-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -190,3 +190,4 @@ test_files:
190
190
  - spec/lib/g5_foundation_client/models/location_spec.rb
191
191
  - spec/lib/g5_foundation_client_spec.rb
192
192
  - spec/spec_helper.rb
193
+ has_rdoc: