franz 1.5.10 → 1.5.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/lib/franz/output.rb +18 -15
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4a2225626aaa28e072d55bcb249af3861f98473d
4
- data.tar.gz: 6c0dca54875a2c75b4513cdf5b6af30542220c70
3
+ metadata.gz: b7e30cf19de964b2ba4c104dd169620d1c5d0304
4
+ data.tar.gz: a0a470af611914d018651bcd72323957fb4cccbe
5
5
  SHA512:
6
- metadata.gz: 922d78336e5f9fbf5964a9df7b28624f3c3fa1d0178b307595cefb0397d5c50cf89b5ff23536218fb0ba5fa22687841a89a389f397d6bc1135941d66ca1b57c0
7
- data.tar.gz: 08204709d968ce6ff1f7bd5c1d8243f3e9437048f4510e1abca88160933760326360b3af9dd6e76da410de9ce833ab70af909a3e69cfe75a20aaa180f5a50ecd
6
+ metadata.gz: 40aa7003bd164c5482a8baa8c0ecfebda6dabbcb181efddda0fa4395c179b53a2c718b9ac201eafdfb7ec2312fd1c912a83b92eef2f9be380cb7d1f012aa3662
7
+ data.tar.gz: 82fbb539f881f45d2f6572e73ecddaa3ea627739d0ea6e685e8a10a4648aca01b1380891d70ea4cbe457f4e0ab434f76cf55c75b49121912c26e4d5f687e7984
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.5.10
1
+ 1.5.11
data/lib/franz/output.rb CHANGED
@@ -56,21 +56,24 @@ module Franz
56
56
  until @stop
57
57
  event = opts[:input].shift
58
58
 
59
- event[:path] = event[:path].sub('/home/denimuser/seam-builds/rel', '')
60
- event[:path] = event[:path].sub('/home/denimuser/seam-builds/live', '')
61
- event[:path] = event[:path].sub('/home/denimuser/seam-builds/beta', '')
62
- event[:path] = event[:path].sub('/home/denimuser/builds/rel', '')
63
- event[:path] = event[:path].sub('/home/denimuser/builds/live', '')
64
- event[:path] = event[:path].sub('/home/denimuser/builds/beta', '')
65
- event[:path] = event[:path].sub('/home/denimuser/cobalt-builds/rel', '')
66
- event[:path] = event[:path].sub('/home/denimuser/cobalt-builds/live', '')
67
- event[:path] = event[:path].sub('/home/denimuser/cobalt-builds/beta', '')
68
- event[:path] = event[:path].sub('/home/denimuser/rivet-builds', '')
69
- event[:path] = event[:path].sub('/home/denimuser/denim/logs', '')
70
- event[:path] = event[:path].sub('/home/denimuser/seam/logs', '')
71
- event[:path] = event[:path].sub('/home/denimuser/rivet/bjn/logs', '')
72
- event[:path] = event[:path].sub('/home/denimuser', '')
73
- event[:path] = event[:path].sub('/var/log', '')
59
+ if event[:path]
60
+ event[:path].sub! '/home/denimuser/seam-builds/rel', ''
61
+ event[:path].sub! '/home/denimuser/seam-builds/live', ''
62
+ event[:path].sub! '/home/denimuser/seam-builds/beta', ''
63
+ event[:path].sub! '/home/denimuser/builds/rel', ''
64
+ event[:path].sub! '/home/denimuser/builds/live', ''
65
+ event[:path].sub! '/home/denimuser/builds/beta', ''
66
+ event[:path].sub! '/home/denimuser/cobalt-builds/rel', ''
67
+ event[:path].sub! '/home/denimuser/cobalt-builds/live', ''
68
+ event[:path].sub! '/home/denimuser/cobalt-builds/beta', ''
69
+ event[:path].sub! '/home/denimuser/rivet-builds', ''
70
+ event[:path].sub! '/home/denimuser/denim/logs', ''
71
+ event[:path].sub! '/home/denimuser/seam/logs', ''
72
+ event[:path].sub! '/home/denimuser/rivet/bjn/logs', ''
73
+ event[:path].sub! '/home/denimuser', ''
74
+ event[:path].sub! '/var/log/franz', ''
75
+ event[:path].sub! '/var/log', ''
76
+ end
74
77
 
75
78
  log.trace \
76
79
  event: 'publish',
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: franz
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.10
4
+ version: 1.5.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Clemmer