rundock 0.2.10 → 0.2.11

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: f19b1b0d72897240ff3c158f0b88fa87aef2dd09
4
- data.tar.gz: 91196ecf20088a5cebb57fbb179e90d96c50c9bf
3
+ metadata.gz: a1c20f68b7352582d6a023f09191b0b5723053c5
4
+ data.tar.gz: bc343ba950dfa57b08a54c114d5b98ac1c24c260
5
5
  SHA512:
6
- metadata.gz: a93435634ab5972e631988d490bb86f8e3994f85b743adb4e0a0e0013a2aeb3f00156677af5c266d09bc0662e5fbdb6f6637b60ac7f5ac2186a5b81f6e0f1f2c
7
- data.tar.gz: 3d71104a81a804218047e349044c9b622256aaf038c40dccb04f27a9320e281ad58ae123b030be354a288b3debe5c72c0da8c8d54db7094947e325f19d6178da
6
+ metadata.gz: d491b7147454a26d66ccc92de7d020b86bcc2a24977c149230de511afbf17361a58ee9cfa1c1b851e27c571b8102250a2c33caef53a789c8abf954d73521a1fc
7
+ data.tar.gz: 954dd9a0c274019ea80e424831076b062ee7ee9927c635916f46de986337a77685a5b8762d6e1d5895f98f88b1b215d29bc3ca76dd063b93c76a3ecb4cec768c
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## v0.2.11
2
+
3
+ Fix
4
+
5
+ - Fix attributes has lost original nodeinfo and others
6
+
1
7
  ## v0.2.10
2
8
 
3
9
  Improvements
data/lib/rundock/node.rb CHANGED
@@ -19,18 +19,18 @@ module Rundock
19
19
 
20
20
  def complete(scenario)
21
21
  @operations.each do |ope|
22
- ope.attributes[:nodeinfo] = scenario.node_info
22
+ ope.attributes[:nodeinfo].merge!(scenario.node_info)
23
23
  end
24
24
  end
25
25
 
26
26
  def run
27
- Logger.debug("run name: #{@name}")
27
+ Logger.debug("run node: #{@name}")
28
28
  if @operations.blank?
29
29
  Logger.warn("no operation running: #{@name}")
30
30
  return
31
31
  end
32
32
  @operations.each do |ope|
33
- Logger.debug("operation type: #{ope.class}")
33
+ Logger.debug("run operation: #{ope.class}")
34
34
  ope.run(@backend, ope.attributes)
35
35
  end
36
36
  end
@@ -12,6 +12,7 @@ module Rundock
12
12
 
13
13
  def create(instruction, attributes)
14
14
  klass = "Rundock::Operation::#{@type.to_s.to_camel_case}"
15
+ Logger.debug("initialize #{klass} operation")
15
16
  raise OperationNotImplementedError unless Rundock::Operation::Base.subclasses.map(&:to_s).include?(klass)
16
17
 
17
18
  obj = nil
@@ -1,3 +1,3 @@
1
1
  module Rundock
2
- VERSION = '0.2.10'
2
+ VERSION = '0.2.11'
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.2.10
4
+ version: 0.2.11
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-09 00:00:00.000000000 Z
11
+ date: 2015-08-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler