wss_agent 0.0.22 → 0.0.23
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wss_agent/specifications.rb +1 -1
- data/lib/wss_agent/version.rb +1 -1
- data/spec/wss_agent/specifications_spec.rb +8 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 30a45b25697365d6784786aa0822264980c096dc
|
4
|
+
data.tar.gz: f18c9d67fb7a17fc4cdd77a8d46d86ae8c97fed6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee7735d701b55b9893ea5e5041812ff3d833191a2c01211d2243f32f340096b93244e8dca145ce54e5f55f4577eed63db42621683652ae447bfbfbca360b49dd
|
7
|
+
data.tar.gz: dfa4e269e4c1e50dfaa115ba8ff01546fa496e1c7ec09b813b8bb3c9a0bfe42b730a40f598e74246a38a5b022a291bbc890d68b766f3206b835a919f48a08388
|
data/lib/wss_agent/version.rb
CHANGED
@@ -61,7 +61,8 @@ describe WssAgent::Specifications, vcr: true do
|
|
61
61
|
allow_any_instance_of(WssAgent::Client).to receive(:update)
|
62
62
|
.and_return(success_response)
|
63
63
|
allow(WssAgent::Specifications).to receive(:list).and_return(gem_list)
|
64
|
-
|
64
|
+
res = WssAgent::Specifications.update
|
65
|
+
expect(res.success?).to be true
|
65
66
|
end
|
66
67
|
end
|
67
68
|
|
@@ -77,8 +78,8 @@ describe WssAgent::Specifications, vcr: true do
|
|
77
78
|
allow(policy_success_response).to receive(:policy_violations?).and_return(true)
|
78
79
|
expect(wss_client).to receive(:check_policies).and_return(policy_success_response)
|
79
80
|
expect(wss_client).to_not receive(:update)
|
80
|
-
|
81
|
-
expect(
|
81
|
+
res = WssAgent::Specifications.update
|
82
|
+
expect(res.success?).to be false
|
82
83
|
end
|
83
84
|
end
|
84
85
|
|
@@ -89,7 +90,8 @@ describe WssAgent::Specifications, vcr: true do
|
|
89
90
|
expect(wss_client).to receive(:check_policies).and_return(policy_success_response)
|
90
91
|
expect(wss_client).to receive(:update).and_return(success_response)
|
91
92
|
|
92
|
-
|
93
|
+
res = WssAgent::Specifications.update
|
94
|
+
expect(res.success?).to be true
|
93
95
|
end
|
94
96
|
end
|
95
97
|
end
|
@@ -106,7 +108,8 @@ describe WssAgent::Specifications, vcr: true do
|
|
106
108
|
expect(wss_client).to_not receive(:check_policies)
|
107
109
|
expect(wss_client).to receive(:update).and_return(success_response)
|
108
110
|
|
109
|
-
|
111
|
+
res = WssAgent::Specifications.update
|
112
|
+
expect(res.success?).to be true
|
110
113
|
end
|
111
114
|
end
|
112
115
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wss_agent
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.23
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Maxim Pechnikov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|