run_rabbit_run 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -21,7 +21,7 @@ module RunRabbitRun
21
21
  def _guid
22
22
  @guid = File.open(path, 'r') { |file| file.read }.strip if File.exists?(path)
23
23
  unless @guid
24
- @guid = SecureRandom.uuid
24
+ @guid = SecureRandom.uuid.gsub(/[^A-za-z0-9]/,"")
25
25
  save(@guid)
26
26
  end
27
27
 
@@ -24,7 +24,7 @@ module RunRabbitRun
24
24
 
25
25
  on_system_message_received do | from, message, data |
26
26
  begin
27
- RunRabbitRun.logger.info "[master] got message [#{message}] from [#{from}] with data [#{data.inspect}]"
27
+ RunRabbitRun.local_logger.info "[master] got message [#{message}] from [#{from}] with data [#{data.inspect}]"
28
28
 
29
29
  case message.to_sym
30
30
  when :add_worker
@@ -1,3 +1,3 @@
1
1
  module RunRabbitRun
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: run_rabbit_run
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-05-07 00:00:00.000000000 Z
12
+ date: 2013-05-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake