arsenicum 0.2.1 → 0.2.1.1

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: df413e74baaf43c88a1b843636e7ed5cb126f983
4
- data.tar.gz: 832807ce547f0e6d999eca341fa68bc19a1458d1
3
+ metadata.gz: a97f7f6c419ed5ba11e0b4cc8ec0551af8400e5e
4
+ data.tar.gz: 6b3fdcf89f6ff38246d0486fc556ce181d3407c2
5
5
  SHA512:
6
- metadata.gz: 5b66eb20da90735419f32c4156bb9361d9c3c5b8640f3afabe7787cbc6fc8972979508e81c54ef00c2869a61ed71946674db24e875ebfab69c67e2f3544c5134
7
- data.tar.gz: 2745f17275d8fc0883467ed8ca6597a15590f60d572419b0369435486cc9cd0389c0b71e263901d0f8d150be64b36a32d8719ff4720193f21705e2f60c8aef70
6
+ metadata.gz: 2ec82a578e2770bac8bc5c10c125ad4681a648a6da7d331d79abb877417ea1549e3047f699042045bc3997f2116f4aa317b93fd45138d0e151ba32c4b2213772
7
+ data.tar.gz: 948332737fc834471d3330ab0f2572f9fcb6e2a38e5cd53f2550e36021e065ad16f93e59c548f8ee24c9090bab9ecd52410ef9e91a16332db5b98d50aad0bb68
@@ -27,9 +27,9 @@ class Arsenicum::Core::Worker
27
27
  begin
28
28
  loop do
29
29
  begin
30
- Arsenicum::Logger.debug {log_message_for 'to read initial command'}
30
+ Arsenicum::Logger.debug {log_message_for '[child]to read initial command'}
31
31
  command = read_code in_child
32
- Arsenicum::Logger.debug {log_message_for 'Command: 0x%02x' % command}
32
+ Arsenicum::Logger.debug {log_message_for '[child]Command: 0x%02x' % command}
33
33
  break if command == COMMAND_STOP
34
34
  task_id_string = read_string in_child
35
35
  content = read_string in_child
@@ -44,9 +44,13 @@ class Arsenicum::Core::Worker
44
44
  parameters = deserialize content
45
45
 
46
46
  begin
47
+ Arsenicum::Logger.info {log_message_for "[child]Task start"}
48
+ Arsenicum::Logger.info {log_message_for "[child]Parameters: #{parameters.inspect}"
47
49
  task.run *parameters
50
+ Arsenicum::Logger.info {log_message_for "[child]Task success"}
48
51
  write_code out_child, 0
49
52
  rescue Exception => e
53
+ Arsenicum::Logger.error {log_message_for "[child]Task Failure with #{e.class.name}#{":#{e.message}" if e.message}"}
50
54
  write_code out_child, 1
51
55
  write_string out_child, Marshal.dump(e)
52
56
  end
@@ -1,3 +1,3 @@
1
1
  module Arsenicum
2
- VERSION = '0.2.1'
2
+ VERSION = '0.2.1.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arsenicum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - condor
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-20 00:00:00.000000000 Z
11
+ date: 2014-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk