papertrail 0.10.0 → 0.10.1
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 +1 -1
- data/lib/papertrail/event.rb +1 -1
- 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: bb401f55f2bc32e9e011d42c3581a31d0968e177
|
4
|
+
data.tar.gz: 310b8a52dd4940489df86183e6086802813cf766
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87b529e95bb3d3a32d8b7ec4f42f970b8b5ca41a585430578c5331690e96a640ac060bb76b844dfcbfda4fcac8927775a18c31e44b2085d9b3ae3ec16280544e
|
7
|
+
data.tar.gz: f40be823af90e8b15e871a77452e1e03edd9e3399447bf8ce1a465a70b9b8c4eb5623ef436dab168403e9fe76fa69dd2cd1376a18d620f56a262d4d77fdb1149
|
data/lib/papertrail.rb
CHANGED
data/lib/papertrail/cli.rb
CHANGED
@@ -166,7 +166,7 @@ module Papertrail
|
|
166
166
|
|
167
167
|
idx = attribs.hash % 5
|
168
168
|
color = COLORS[idx]
|
169
|
-
pre = "#{event.received_at.strftime('%b %
|
169
|
+
pre = "#{event.received_at.strftime('%b %d %X')} #{event.data['hostname']} #{event.data['program']}:"
|
170
170
|
post = " #{event.data['message']}"
|
171
171
|
pre.ansi(color) + post
|
172
172
|
end
|
data/lib/papertrail/event.rb
CHANGED
@@ -13,7 +13,7 @@ module Papertrail
|
|
13
13
|
end
|
14
14
|
|
15
15
|
def to_s
|
16
|
-
"#{received_at.strftime('%b %
|
16
|
+
"#{received_at.strftime('%b %d %X')} #{data['hostname']} #{data['program']}: #{data['message']}"
|
17
17
|
end
|
18
18
|
end
|
19
19
|
end
|
data/papertrail.gemspec
CHANGED
@@ -9,8 +9,8 @@ Gem::Specification.new do |s|
|
|
9
9
|
## If your rubyforge_project name is different, then edit it and comment out
|
10
10
|
## the sub! line in the Rakefile
|
11
11
|
s.name = 'papertrail'
|
12
|
-
s.version = '0.10.
|
13
|
-
s.date = '2016-12-
|
12
|
+
s.version = '0.10.1'
|
13
|
+
s.date = '2016-12-08'
|
14
14
|
s.rubyforge_project = 'papertrail'
|
15
15
|
|
16
16
|
## 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.10.
|
4
|
+
version: 0.10.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Papertrail
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-12-
|
11
|
+
date: 2016-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chronic
|