foreman_cockpit 2.0.0 → 2.0.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5866c005bbf9e11fa1b284895376fd75815cd01b
|
4
|
+
data.tar.gz: 8d8ee2b3aaff6630423775a232f0fa6d4399268c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cbb4494be80769a9d1ea5cd65947b061ccc2c04b1f47d3a1a971af8d1f9fe41b0036af901c14310801413d94894edb0a87b4d4fec45b9ba48246865be61e58c8
|
7
|
+
data.tar.gz: acacd39e7ea3214ca2af5a35e496b2553c43afb961a84e86497e324a1d925e2e5c40c005740d302fa7a146381419159b04946fcf9508eec93c0818f090d1a9a8
|
@@ -13,7 +13,7 @@ class CockpitTest < ActiveSupport::TestCase
|
|
13
13
|
|
14
14
|
context 'when host uses a cockpit-enabled OS' do
|
15
15
|
setup do
|
16
|
-
@dummy_host.stubs(:os).returns(OpenStruct.new(:type => '
|
16
|
+
@dummy_host.stubs(:os).returns(OpenStruct.new(:type => 'Redhat'))
|
17
17
|
end
|
18
18
|
|
19
19
|
test 'cockpit is enabled if cockpit ping is successful' do
|
@@ -37,7 +37,7 @@ class CockpitTest < ActiveSupport::TestCase
|
|
37
37
|
end
|
38
38
|
|
39
39
|
test 'cockpit is not displayed for incompatible OSs' do
|
40
|
-
@dummy_host.stubs(:os).returns(OpenStruct.new(:type => '
|
40
|
+
@dummy_host.stubs(:os).returns(OpenStruct.new(:type => 'Altlinux'))
|
41
41
|
@dummy_host.stubs(:fqdn).returns('foo.bar')
|
42
42
|
refute @dummy_host.cockpit_enabled?
|
43
43
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_cockpit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Lobato Garcia
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: deface
|