rundock 0.5.7 → 0.5.8

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: d8a23e3b42a6d06189c3ccedafbce905f5216e77
4
- data.tar.gz: e8556f0984bb264a72ec144ff3995a4879f09d70
3
+ metadata.gz: 43dbdf790071b14ebea25178fd8973656cfa8e6c
4
+ data.tar.gz: 0f713394a3c1ef39d41eab9a8bf00e63c2e8bf97
5
5
  SHA512:
6
- metadata.gz: d98ebcc2c7b3dcf7ba6fa71d0c512f3d103a0bb0c823f6149527ee5c95cbf1073fb51453427ce4550b7b4ff6f2ed82cf358f17b845f3e54452cf5bc80df82309
7
- data.tar.gz: 59f74b1b9a5e75559f19879669aa628c60c1f764167f05569724e5b72c2cf78eb285d0f8262e5b11a763d6b50b60c629f229eb385c4f528603598ed9e72a66f6
6
+ metadata.gz: 015c9558b26569b1aa5930068c957986491bbf336b8425f1b6c69409f3f10a460dfae69ddca334f110fe83efb38eb4536ac85d00532d8951c667f37700b3eece
7
+ data.tar.gz: e3c31def2ba3c258b0274537896cd814626552eb620a8a778cf2c5091b8a359fb39968c02c9c85270d6e6ad351352f9d8ae5a29c4669024b7fef7d1351072ba6
@@ -75,7 +75,12 @@ module Rundock
75
75
  node = Node.new(host, backend)
76
76
  node.hooks = HookBuilder.new(@options).build(['all'], nil)
77
77
  node.add_operation(
78
- build_cli_command_operation(@options[:command], Rundock::Attribute::NodeAttribute.new, @options))
78
+ build_cli_command_operation(
79
+ @options[:command],
80
+ Rundock::Attribute::NodeAttribute.new,
81
+ @options
82
+ )
83
+ )
79
84
  scen.nodes.push(node)
80
85
  end
81
86
 
@@ -54,7 +54,8 @@ module Rundock
54
54
  scenario_data[:main],
55
55
  @options[:command] ? scenario_data[:target_info] : TargetGroupBuilder.new(@options).build(scenario_data[:target_info]),
56
56
  TaskBuilder.new(@options).build(scenario_data[:tasks]),
57
- scenario_data[:hooks])
57
+ scenario_data[:hooks]
58
+ )
58
59
  end
59
60
  end
60
61
  end
@@ -5,7 +5,7 @@ module Rundock
5
5
  module Gem
6
6
  class Helper < Bundler::GemHelper
7
7
  def install
8
- desc "Run rundock with default configuration"
8
+ desc 'Run rundock with default configuration'
9
9
  task :rundock => 'rundock:do'
10
10
 
11
11
  namespace :rundock do
@@ -22,5 +22,3 @@ module Rundock
22
22
  end
23
23
  end
24
24
  end
25
-
26
-
@@ -107,7 +107,8 @@ module Rundock
107
107
  "%5s: %s%s\n" % [
108
108
  severity,
109
109
  ' ' * 2 * indent_depth,
110
- msg2str(msg)]
110
+ msg2str(msg)
111
+ ]
111
112
  elsif @short_header
112
113
  "%s: %s%s\n" % [severity[0, 1], ' ' * 2 * indent_depth, msg2str(msg)]
113
114
  else
@@ -115,7 +116,8 @@ module Rundock
115
116
  datetime.strftime('%Y-%m-%dT%H:%M:%S.%L'),
116
117
  severity,
117
118
  ' ' * 2 * indent_depth,
118
- msg2str(msg)]
119
+ msg2str(msg)
120
+ ]
119
121
  end
120
122
 
121
123
  out
@@ -167,8 +169,6 @@ module Rundock
167
169
  end
168
170
  end
169
171
 
170
- private
171
-
172
172
  def respond_to_missing?(method, include_private = false)
173
173
  logger.respond_to?(method)
174
174
  end
@@ -9,7 +9,8 @@ module Rundock
9
9
  end
10
10
 
11
11
  scenario = Rundock::Builder::ScenarioBuilder.new(nil, nil).build_task(
12
- attributes[:task_info][i.to_sym], backend, Rundock::Attribute::NodeAttribute.new(attributes))
12
+ attributes[:task_info][i.to_sym], backend, Rundock::Attribute::NodeAttribute.new(attributes)
13
+ )
13
14
 
14
15
  Logger.info("start task: #{i}")
15
16
 
@@ -1,3 +1,3 @@
1
1
  module Rundock
2
- VERSION = '0.5.7'
2
+ VERSION = '0.5.8'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rundock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.7
4
+ version: 0.5.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - hiracy
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-04-15 00:00:00.000000000 Z
11
+ date: 2016-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler