g5_foundation_client 0.0.12 → 0.0.13
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
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9cde2a1e00bfb67417b3dab369e32d89546250f5
|
4
|
+
data.tar.gz: 5f1c379a887fe60fc3f9fa323029d32c0346364f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f38b3c83fa1c7aaa34c695fbbe57c00e6befada468c7d89c16d27c4048e11c05a1382b8cc307e6afadc5787f1253e38e1273a93ac2a35d7d7388212282651370
|
7
|
+
data.tar.gz: 9fa6fcdc5d0df555fa400b61c58cd26367260b5bd72ac6fd0d6ff8a406a33021c61123ca5bec7e8108137f82cd9096206923b8528afa44f3cbc2ea3a609a1a08
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.1.3
|
@@ -19,7 +19,7 @@ class G5FoundationClient::IntegrationSetting
|
|
19
19
|
'inventory' == self.vendor_action
|
20
20
|
end
|
21
21
|
|
22
|
-
[:job_frequency_in_minutes, :vendor_action, :strategy_name, :vendor_endpoint, :vendor_user_name, :vendor_password].each do |field|
|
22
|
+
[:urn, :uid, :job_frequency_in_minutes, :vendor_action, :strategy_name, :vendor_endpoint, :vendor_user_name, :vendor_password].each do |field|
|
23
23
|
define_method(field) { self.integration_setting_hash[field] }
|
24
24
|
end
|
25
25
|
|
@@ -4,6 +4,8 @@ describe G5FoundationClient::IntegrationSetting do
|
|
4
4
|
before { G5FoundationClient.access_token = 'token' }
|
5
5
|
|
6
6
|
describe 'instantiating with a hash' do
|
7
|
+
let(:uid) { 'http://uid-is.com' }
|
8
|
+
let(:urn) { 'is' }
|
7
9
|
let(:job_frequency_in_minutes) { 60 }
|
8
10
|
let(:service_url) { 'http://inventory.service.example.com' }
|
9
11
|
let(:location) { 'location' }
|
@@ -20,6 +22,8 @@ describe G5FoundationClient::IntegrationSetting do
|
|
20
22
|
vendor_endpoint: vendor_endpoint,
|
21
23
|
vendor_user_name: vendor_user_name,
|
22
24
|
vendor_password: vendor_password,
|
25
|
+
uid: uid,
|
26
|
+
urn: urn,
|
23
27
|
vendor_action: 'inventory'
|
24
28
|
} }
|
25
29
|
|
@@ -27,6 +31,8 @@ describe G5FoundationClient::IntegrationSetting do
|
|
27
31
|
|
28
32
|
its(:job_frequency_in_minutes) { should eql(job_frequency_in_minutes) }
|
29
33
|
its(:location) { should eql(location) }
|
34
|
+
its(:uid) { should eql(uid) }
|
35
|
+
its(:urn) { should eql(urn) }
|
30
36
|
its(:vendor_action) { should eql(vendor_action) }
|
31
37
|
its(:vendor_endpoint) { should eql(vendor_endpoint) }
|
32
38
|
its(:vendor_user_name) { should eql(vendor_user_name) }
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: g5_foundation_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Don Petersen
|
@@ -131,6 +131,7 @@ extra_rdoc_files: []
|
|
131
131
|
files:
|
132
132
|
- ".gitignore"
|
133
133
|
- ".rspec"
|
134
|
+
- ".ruby-version"
|
134
135
|
- ".travis.yml"
|
135
136
|
- Gemfile
|
136
137
|
- LICENSE.txt
|
@@ -176,7 +177,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
176
177
|
version: '0'
|
177
178
|
requirements: []
|
178
179
|
rubyforge_project:
|
179
|
-
rubygems_version: 2.2.
|
180
|
+
rubygems_version: 2.2.2
|
180
181
|
signing_key:
|
181
182
|
specification_version: 4
|
182
183
|
summary: Client gem to interact with G5 services.
|