rundock-plugin-hook-serverspec 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c3f633135dec8d5f5a11dd9204e8ebe8128d60ef
4
- data.tar.gz: d782af52cf9f77d30d4769ff20286b344737fa30
3
+ metadata.gz: da3aa6dd7d460f9f6781ea54eab0664e97141429
4
+ data.tar.gz: 20106e1fa5fa88e8dad513708a257c73d82fa0f2
5
5
  SHA512:
6
- metadata.gz: 550c10bc5842bba18ce97bbeabbcb2340c1d910de282eee088dc01afe2ae33b39a44a866329375b407c876f7da0121aa56068408dfa5b82459944968169cf49d
7
- data.tar.gz: 55d6e536bd49285e18977f8318adcb2e9ec2473adaa054f76acca9616d41d36f2f3748c09bb9976214ec7dc0062e277009af6c29ff5ca3455c021bfffd782963
6
+ metadata.gz: 9fab2ea4e44ccc9f8cff089cdc5edeee6bbb1bc869444b2afd7e1a68f077cf4b49c58f647d36028f5c4bfa098b19639ab5767ab20aa93d0d2e0220d43cc1b043
7
+ data.tar.gz: 02a9a5f44f6c0cb35263f2fb20fcfb99e98ef6d07b9407614527f27681836ea358fa0884aedaa9e78e9089b9f220cb2a1b59ee730b5b15e86eb2750f6569c8ca
@@ -47,8 +47,9 @@ module Rundock
47
47
  # anykey2: value2
48
48
 
49
49
  class Serverspec < Base
50
- def hook(node_attributes, log_buffer)
51
- node_info = node_attributes[0][:nodeinfo]
50
+ def hook(operation_attributes, log_buffer)
51
+ node_info = operation_attributes[0][:nodeinfo]
52
+ node_info[:nodename] = operation_attributes[0][:nodename]
52
53
  setenv(node_info, @contents)
53
54
  load "#{::File.expand_path(::File.dirname(__FILE__))}/../../../../Rakefile"
54
55
  Logger.info("serverspec started: #{node_info[:nodename]}(#{node_info[:host]})")
@@ -2,7 +2,7 @@ module Rundock
2
2
  module Plugin
3
3
  module Hook
4
4
  module Serverspec
5
- VERSION = "0.2.1"
5
+ VERSION = "0.2.2"
6
6
  end
7
7
  end
8
8
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rundock-plugin-hook-serverspec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - hiracy
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-08-27 00:00:00.000000000 Z
11
+ date: 2015-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler