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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5327015cf4d283298b30e7b29ff67a3adfffe55b
4
- data.tar.gz: 03f354db49d33b5b0aca4b6e32dc0ae1b31259fe
3
+ metadata.gz: 6ec5dc941ee73d3ac3e4d09ceb251ce98f6636ff
4
+ data.tar.gz: a2608baf753fd3c8a53cde255be5a85aace18de7
5
5
  SHA512:
6
- metadata.gz: 155917c02088843bb3c9cc86f84f8496393260cefd1330f857a4ab585577b39c0a973ea63c49c42f85c6e8ea47fbe10e05b748e0769a6e543e99365a04dd6c0e
7
- data.tar.gz: 83c6bdb35966d3600964911c7591b8a9fb9f278c41f4a96adcf81b20127aa5747b78185bea4a01cd1348ba04197e345e2608036252dd0af7350d4e87d0b532e5
6
+ metadata.gz: 1f0ce6f6e3a6d38025129ba4204c88ecf5cc394fdae9d51360b4e28f5557d9c2690c4a72167058950db8712e93fee2f9954be167d59c0ab7609022781c9ad077
7
+ data.tar.gz: 9582577a546c365bbc50eaf397d99db3bef26726022ef08f099da462f0f9d64050f0f8a3ab6a24843a8660ca1b7cf053a8adcd4be017bd86e013e25d171b84f9
@@ -1,5 +1,5 @@
1
1
  module Papertrail
2
- VERSION = "0.9.13"
2
+ VERSION = "0.9.14"
3
3
  end
4
4
 
5
5
  require 'papertrail/connection'
@@ -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|sender|all|off] (program)",
71
- [:program, :sender, :all, :off],
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] == :sender || options[:color] == :all
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
@@ -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.13'
17
- s.date = '2015-12-09'
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.13
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-09 00:00:00.000000000 Z
11
+ date: 2015-12-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: chronic