franz 1.5.11 → 1.5.12

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 +17 -16
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b7e30cf19de964b2ba4c104dd169620d1c5d0304
4
- data.tar.gz: a0a470af611914d018651bcd72323957fb4cccbe
3
+ metadata.gz: 022d5282e7924696be82dca5a9210acbc4d55a6f
4
+ data.tar.gz: 08368537b4c26ffcbe125a2b9cf018052707d3f5
5
5
  SHA512:
6
- metadata.gz: 40aa7003bd164c5482a8baa8c0ecfebda6dabbcb181efddda0fa4395c179b53a2c718b9ac201eafdfb7ec2312fd1c912a83b92eef2f9be380cb7d1f012aa3662
7
- data.tar.gz: 82fbb539f881f45d2f6572e73ecddaa3ea627739d0ea6e685e8a10a4648aca01b1380891d70ea4cbe457f4e0ab434f76cf55c75b49121912c26e4d5f687e7984
6
+ metadata.gz: 4fa3dcab4866a10fcf5207d688824eff8bd04fcbb4beb32551cb8be5259780924a9b214482615d7a62b20451fdefc6162b78db698cdaf8949330d47c0b9ad2fb
7
+ data.tar.gz: 689b0bd557e963ec683282876c5b918c04e4db5033f4f2e26b0743a4f39e27e83b9e6308b8c99c76cdf27b5d722036a4ea715dd989ed945419a2a9baa911705e
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.5.11
1
+ 1.5.12
data/lib/franz/output.rb CHANGED
@@ -57,22 +57,23 @@ module Franz
57
57
  event = opts[:input].shift
58
58
 
59
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', ''
60
+ # Can't use sub!, because :path is frozen
61
+ event[:path] = event[:path].sub '/home/denimuser/seam-builds/rel', ''
62
+ event[:path] = event[:path].sub '/home/denimuser/seam-builds/live', ''
63
+ event[:path] = event[:path].sub '/home/denimuser/seam-builds/beta', ''
64
+ event[:path] = event[:path].sub '/home/denimuser/builds/rel', ''
65
+ event[:path] = event[:path].sub '/home/denimuser/builds/live', ''
66
+ event[:path] = event[:path].sub '/home/denimuser/builds/beta', ''
67
+ event[:path] = event[:path].sub '/home/denimuser/cobalt-builds/rel', ''
68
+ event[:path] = event[:path].sub '/home/denimuser/cobalt-builds/live', ''
69
+ event[:path] = event[:path].sub '/home/denimuser/cobalt-builds/beta', ''
70
+ event[:path] = event[:path].sub '/home/denimuser/rivet-builds', ''
71
+ event[:path] = event[:path].sub '/home/denimuser/denim/logs', ''
72
+ event[:path] = event[:path].sub '/home/denimuser/seam/logs', ''
73
+ event[:path] = event[:path].sub '/home/denimuser/rivet/bjn/logs', ''
74
+ event[:path] = event[:path].sub '/home/denimuser', ''
75
+ event[:path] = event[:path].sub '/var/log/franz', ''
76
+ event[:path] = event[:path].sub '/var/log', ''
76
77
  end
77
78
 
78
79
  log.trace \
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.11
4
+ version: 1.5.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Clemmer