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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f8247290f8693f24e63078e9d02fade2c040fe5f
4
- data.tar.gz: c2e28b72b7015f6646632cbe6a0a7edacc4891bc
3
+ metadata.gz: 8f621fe59fb2ee09abc38559438e8d125e9c9457
4
+ data.tar.gz: 2f967bcb11282f48b112be961929e9b0bfd946ee
5
5
  SHA512:
6
- metadata.gz: 20acb8ed594cbb3aca4648ddf7f2424c045ca9809e26b11211b08555173e053c15373ecda9c9ff6921416d45c330fea9ded126827e1eda9e53fe5c4342797188
7
- data.tar.gz: f5a76255ea11a6d108c828f3f7555dfe91821bda499b13cd1c4b4afba26152fea42b933526f2876eded41b9705807b593acbe37fad674a1c656894a142960fe4
6
+ metadata.gz: fb6fa345d6fd753cfaa84c817c0ab03b441ead4643b47b61c151fdf77db307b0e6610adbdd5c5af3bd2fd807353af098a59c0c2a5cba116d0a44e985feb4f432
7
+ data.tar.gz: 024894096b06c96f9c6f11f258e39bf1fa08ffe2ddba3aacdabf6ae1849e4d6c67aaa3f8803bcfa530ec35173544920e46aee46da5ee9ffaacd00dc1e3643aa4
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nodespec (1.0.1)
4
+ nodespec (1.0.2)
5
5
  net-ssh
6
6
  os
7
7
  serverspec (~> 2.3)
@@ -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
@@ -1,3 +1,3 @@
1
1
  module NodeSpec
2
- VERSION = '1.0.1'
2
+ VERSION = '1.0.2'
3
3
  end
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.1
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-02 00:00:00.000000000 Z
11
+ date: 2014-11-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-ssh