nodespec 1.0.1 → 1.0.2
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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/nodespec.rb +3 -4
- data/lib/nodespec/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: 8f621fe59fb2ee09abc38559438e8d125e9c9457
|
|
4
|
+
data.tar.gz: 2f967bcb11282f48b112be961929e9b0bfd946ee
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fb6fa345d6fd753cfaa84c817c0ab03b441ead4643b47b61c151fdf77db307b0e6610adbdd5c5af3bd2fd807353af098a59c0c2a5cba116d0a44e985feb4f432
|
|
7
|
+
data.tar.gz: 024894096b06c96f9c6f11f258e39bf1fa08ffe2ddba3aacdabf6ae1849e4d6c67aaa3f8803bcfa530ec35173544920e46aee46da5ee9ffaacd00dc1e3643aa4
|
data/Gemfile.lock
CHANGED
data/lib/nodespec.rb
CHANGED
|
@@ -21,12 +21,11 @@ RSpec.configure do |config|
|
|
|
21
21
|
config.before :all do |eg|
|
|
22
22
|
if eg.class.metadata.key?(:nodespec)
|
|
23
23
|
NodeSpec.set_current_node(eg.class.description, eg.class.metadata[:nodespec]) do |node|
|
|
24
|
-
property[:os] = nil # prevent os caching so we can switch os for any node test
|
|
25
|
-
config.os = Specinfra::Helper::DetectOs.const_get(node.os).detect if node.os
|
|
26
|
-
|
|
27
24
|
Specinfra.configuration.backend = node.communicator.backend
|
|
28
|
-
|
|
29
25
|
node.communicator.init_session(NodeSpec::ConfigurationBinding.new(config))
|
|
26
|
+
|
|
27
|
+
property[:os] = nil # prevent os caching so we can switch os for any node test
|
|
28
|
+
config.os = Specinfra::Helper::DetectOs.const_get(node.os).detect if node.os
|
|
30
29
|
end
|
|
31
30
|
end
|
|
32
31
|
end
|
data/lib/nodespec/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: nodespec
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Silvio Montanari
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-11-
|
|
11
|
+
date: 2014-11-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: net-ssh
|