rundock 0.4.12 → 0.4.13

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: 6378718efb1db70de8299affa8a247584599d959
4
- data.tar.gz: 5ef90fdec9c287e34094d69a5482c04fb8f4f5eb
3
+ metadata.gz: d595ccd996e72ba1cce4af64caa8c861cb668c00
4
+ data.tar.gz: 7d613efd79a379490038c54db99f779e2760d49e
5
5
  SHA512:
6
- metadata.gz: 638692c6748485e004a58c83535315d0bbf66e524e6dd21838606edfff9cabff519a4e52fa90f099c1cb87e33a0cfce9b5c3547a43aaaf3e2b8786b194dc8f61
7
- data.tar.gz: 809bd4ebf09d51150c1929cccbb6cc73e564c69022b246832ac58f40541b9987299af2dd3246372d677c20d8946214e197c16e7f0f3b61eeba64574b7857e59e
6
+ metadata.gz: 5e336be46f8516772c239b26ef3caf7d70a9945d47a49a09145a37b619c8933103f4a42317a833aa60628d36e1e00769dd6a7a194e9396bd7794bc1bb6df4b82
7
+ data.tar.gz: 699701486f7bbe7505f2da4f717530d2e629b13224a30020fb811fedeac9b651a1c0ec65db69d00d0e45e1546e33eb0af572bd9eaf25b0091ce1022ea0b61973
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## v0.4.13
2
+
3
+ Update
4
+
5
+ - Rename node_attributes to operation_attributes
6
+
1
7
  ## v0.4.11
2
8
 
3
9
  Update
@@ -11,7 +11,7 @@ module Rundock
11
11
  @contents = contents
12
12
  end
13
13
 
14
- def hook(node_attributes = [], log_buffer = [])
14
+ def hook(operation_attributes = [], log_buffer = [])
15
15
  raise HookNotImplementedError
16
16
  end
17
17
  end
@@ -32,9 +32,9 @@ module Rundock
32
32
  # key: ~/.ssh/id_rsa
33
33
  # ---
34
34
  class File < Base
35
- def hook(node_attributes, log_buffer)
35
+ def hook(operation_attributes, log_buffer)
36
36
  file = ::File.open(@contents[:filepath], 'w')
37
- file.puts("[hookname:#{@name} node:#{node_attributes[0][:nodename]}]")
37
+ file.puts("[hookname:#{@name} node:#{operation_attributes[0][:nodename]}]")
38
38
  log_buffer.each do |log|
39
39
  file.puts("[\%5s:] %s%s\n" % [log.severity, ' ' * 2 * log.indent_depth, log.msg])
40
40
  end
@@ -1,3 +1,3 @@
1
1
  module Rundock
2
- VERSION = '0.4.12'
2
+ VERSION = '0.4.13'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rundock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.12
4
+ version: 0.4.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - hiracy