papertrail 0.9.13 → 0.9.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/papertrail.rb +1 -1
- data/lib/papertrail/cli.rb +3 -3
- data/papertrail.gemspec +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ec5dc941ee73d3ac3e4d09ceb251ce98f6636ff
|
4
|
+
data.tar.gz: a2608baf753fd3c8a53cde255be5a85aace18de7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f0ce6f6e3a6d38025129ba4204c88ecf5cc394fdae9d51360b4e28f5557d9c2690c4a72167058950db8712e93fee2f9954be167d59c0ab7609022781c9ad077
|
7
|
+
data.tar.gz: 9582577a546c365bbc50eaf397d99db3bef26726022ef08f099da462f0f9d64050f0f8a3ab6a24843a8660ca1b7cf053a8adcd4be017bd86e013e25d171b84f9
|
data/lib/papertrail.rb
CHANGED
data/lib/papertrail/cli.rb
CHANGED
@@ -67,8 +67,8 @@ module Papertrail
|
|
67
67
|
opts.on("-j", "--json", "Output raw JSON data (off)") do |v|
|
68
68
|
options[:json] = true
|
69
69
|
end
|
70
|
-
opts.on("--color [program|
|
71
|
-
[:program, :
|
70
|
+
opts.on("--color [program|system|all|off] (program)",
|
71
|
+
[:program, :system, :all, :off],
|
72
72
|
"Attribute(s) to colorize based on") do |v|
|
73
73
|
options[:color] = v
|
74
74
|
end
|
@@ -152,7 +152,7 @@ module Papertrail
|
|
152
152
|
|
153
153
|
def colorize(event)
|
154
154
|
attribs = ""
|
155
|
-
if options[:color] == :
|
155
|
+
if options[:color] == :system || options[:color] == :all
|
156
156
|
attribs += event.data["hostname"]
|
157
157
|
end
|
158
158
|
if options[:color] == :program || options[:color] == :all
|
data/papertrail.gemspec
CHANGED
@@ -13,8 +13,8 @@ Gem::Specification.new do |s|
|
|
13
13
|
## If your rubyforge_project name is different, then edit it and comment out
|
14
14
|
## the sub! line in the Rakefile
|
15
15
|
s.name = 'papertrail'
|
16
|
-
s.version = '0.9.
|
17
|
-
s.date = '2015-12-
|
16
|
+
s.version = '0.9.14'
|
17
|
+
s.date = '2015-12-14'
|
18
18
|
s.rubyforge_project = 'papertrail'
|
19
19
|
|
20
20
|
## Make sure your summary is short. The description may be as long
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: papertrail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.14
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Papertrail
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-12-
|
11
|
+
date: 2015-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chronic
|