reacter 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/reacter/util.rb +1 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 65d4940e44100a26a4e34b7992bdc2e070fb728d
4
- data.tar.gz: df0793bcfc614346de873353045304f0db73473d
3
+ metadata.gz: 7174eaf70cf7ce3c97eee6d272710eb0be8a85fd
4
+ data.tar.gz: 55627a20739dcb898e1815b5b79c895186b0bbe1
5
5
  SHA512:
6
- metadata.gz: 265c4d8e3c903d267198a2fdeb7fa996f88abb8f6e747176f6f5f408182e1962761588fad1024f5eb19c1427b8ecb38516793c26c19bbddfa47c5ce9c42eb204
7
- data.tar.gz: f596b463aacfe2327ace8d59ce44488a804290485cc521dcc8d101dcb3780e47fe30481c380210c481d4bfaef727b8e7c218d82f9b0d6ba7ca796ec665e84232
6
+ metadata.gz: b7477ce807b0b94a396a2abc35ec741c0bd7c57c6a833314e9dad6354b3f7de40b15ae5f04d3a4ff11acb5103ecab91361fdab7b9e81ce348e57a4af682144ee
7
+ data.tar.gz: fc26e258fac195b3a259dc1789ac35a72a9e277b8616d117cd921afeb850e2415b2e0a183b2a497e1d629305cc9ec4d6be483434c01dc56a0c999504de3d655d
data/lib/reacter/util.rb CHANGED
@@ -11,7 +11,7 @@ class Reacter
11
11
  }
12
12
 
13
13
  def signature(custom=nil)
14
- [%x{hostname -f}, Process.pid, custom].compact.join(':')
14
+ ([%x{hostname -f}.strip.chomp, Process.pid]+[*custom]).compact.join(':')
15
15
  end
16
16
 
17
17
  def log(message, severity=:info, log=:default)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reacter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gary Hetzel