logstash-codec-rubydebug 2.0.2 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 27fb6d94ab6461c92646fb59ad08181ff130d295
4
- data.tar.gz: ad6ef7726bf6df5b97f6e63fde7bce6a9f71cb1b
3
+ metadata.gz: 9089b5ac27ec7cef2e09fbaaca4a65f5a43c999c
4
+ data.tar.gz: 5fc06167b8539f5b7ce6d60cda8ee232764c0fb3
5
5
  SHA512:
6
- metadata.gz: 541be93d49183b1c399097e18b34d03ea2403d8b8b9932aa85a33bbc2864e412c3dce8aa2299903fabdc0db7d9ca04bc1f24e26a37c6f94876dba5a770400c1b
7
- data.tar.gz: 2271b6c0b4b3b64a5c8dee23424de722ee54493c95866c25734ba27f05640c6bfd66e3066b33b8201363465067f973af54befdab677ae2f5f5280b603c853403
6
+ metadata.gz: 4c0abe70ff1771558cb7e8b6d9eb974233a8870e56a62209fdc7036b4f3ca39e0877e04dada16b19b153afd4e02ab4795aa19f5293a96b0fee6ac4114f4b83a2
7
+ data.tar.gz: 54f533498efd1bd502a3f24810e3234927e72c41e87d938a09794255861322da9d45ef4f408c34248304d76f8ded439542e4f3bb432cc0db98ad799636ea03ba
@@ -1,3 +1,5 @@
1
+ ## 2.0.3
2
+ - Colorize LogStash::Timestamp as green
1
3
  ## 2.0.0
2
4
  - Plugins were updated to follow the new shutdown semantic, this mainly allows Logstash to instruct input plugins to terminate gracefully,
3
5
  instead of using Thread.raise on the plugins' threads. Ref: https://github.com/elastic/logstash/pull/3895
@@ -12,6 +12,7 @@ class LogStash::Codecs::RubyDebug < LogStash::Codecs::Base
12
12
 
13
13
  def register
14
14
  require "awesome_print"
15
+ AwesomePrint.defaults = { :color => { :logstash_timestamp => :green } }
15
16
  if @metadata
16
17
  @encoder = method(:encode_with_metadata)
17
18
  else
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-codec-rubydebug'
4
- s.version = '2.0.2'
4
+ s.version = '2.0.3'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "The rubydebug codec will output your Logstash event data using the Ruby Awesome Print library."
7
7
  s.description = "This gem is a logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/plugin install gemname. This gem is not a stand-alone program"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-codec-rubydebug
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-10-14 00:00:00.000000000 Z
11
+ date: 2015-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement