serverspec 2.41.2 → 2.41.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/serverspec/matcher/be_installed.rb +3 -3
- data/lib/serverspec/version.rb +1 -1
- 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: cb26e2d4cc304c82ee8478df2e7df998b62157b6
|
4
|
+
data.tar.gz: 4b27d9fca13ac961f28c7e2e88cb7335b0addb62
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f57de9c2728bcd8c52b39ad01eaf4946bea022a8695ea31a9e0074da7c36df7a33519bdbde23546f9b225e37db0b6a8f9f4430415d84525e1e6a9f0ed4b6bc23
|
7
|
+
data.tar.gz: 9bf5be62880f63c99d149f32f9654300d24749419ae68fd7fc11572e4d004a59edd09f32797fa8fddcda3481ecf3d0557880c3a5a6890054c9c876f462459407
|
@@ -1,9 +1,9 @@
|
|
1
1
|
RSpec::Matchers.define :be_installed do
|
2
|
-
match do |
|
2
|
+
match do |subject|
|
3
3
|
if subject.class.name == 'Serverspec::Type::SelinuxModule'
|
4
|
-
|
4
|
+
subject.installed?(@version)
|
5
5
|
else
|
6
|
-
|
6
|
+
subject.installed?(@provider, @version)
|
7
7
|
end
|
8
8
|
end
|
9
9
|
|
data/lib/serverspec/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: serverspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.41.
|
4
|
+
version: 2.41.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gosuke Miyashita
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|