logstash-codec-rubydebug 2.0.4 → 2.0.5

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: fd48b701713621db7b5aa8aa05ac0245b8926d9c
4
- data.tar.gz: c0522fa28b069e36b4d6443eb793cf3dbc62a3c5
3
+ metadata.gz: 62b33e6531fe4dffd6041869711b6255207509bf
4
+ data.tar.gz: 9d8fda0bd594b1650345893d2e4ab9aa63125782
5
5
  SHA512:
6
- metadata.gz: 283aebc98fea00c5ccc24e4ca6dd0484d57e93466eb487721b6c342e2a6848a5418d00e28d1c04c93d09836f60ae64ca6152cc436d5d47b2dcc9d7993b00de9a
7
- data.tar.gz: 4d582ebca72f7998da07ea22341ae8d0a3415c9dc123dd324d145b98222051ff36d6196a7b81e82486bc8f883d4f3c35c7ef8b70c6bf1e47a08dc5042ad481a6
6
+ metadata.gz: 988fdd3163a53fee0655833106c11b0931fbc392e8f5342c1b034d29c9812eff7ed904bdeeb0b3c5c3ccb7fdd96ff5056c686bb788bde6ac54fc36b115084cde
7
+ data.tar.gz: 9d6b47fec396ca4a6e35a2da130f000dbeb1c59c3e51d4d7fdd26edd64ef7bcbb6a34af82238ce58a9d382ccc0e619c785efb6f8db2d978212fc3e18d5b88856
data/CHANGELOG.md CHANGED
@@ -1,3 +1,5 @@
1
+ ## 2.0.5
2
+ - monkey patch ActiveSupport in specs so awesome_print does not use a non existing method
1
3
  ## 2.0.4
2
4
  - remove LogStash::Timestamp coloring
3
5
  ## 2.0.3
@@ -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.4'
4
+ s.version = '2.0.5'
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"
@@ -4,6 +4,22 @@ require "logstash/event"
4
4
 
5
5
  describe LogStash::Codecs::RubyDebug do
6
6
 
7
+ # This is a necessary monkey patch that ensures that if ActiveSupport
8
+ # is defined, then the on_load method exists.
9
+ # The awesome_print gem uses this method to hook extra funcionality if
10
+ # ActiveSupport is loaded. Since some versions of ActiveSupport don't
11
+ # have the on_load method we must ensure this method exists.
12
+ # More information:
13
+ # * https://github.com/logstash-plugins/logstash-codec-rubydebug/issues/8
14
+ # * https://github.com/michaeldv/awesome_print/pull/206
15
+ before(:all) do
16
+ if defined?(ActiveSupport) && !ActiveSupport.respond_to?(:on_load)
17
+ module ActiveSupport
18
+ def self.on_load(*params); end
19
+ end
20
+ end
21
+ end
22
+
7
23
  subject { LogStash::Codecs::RubyDebug.new }
8
24
 
9
25
  context "#encode" do
metadata CHANGED
@@ -1,18 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-codec-rubydebug
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.4
4
+ version: 2.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-11-13 00:00:00.000000000 Z
11
+ date: 2015-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: logstash-core
15
- version_requirements: !ruby/object:Gem::Requirement
14
+ requirement: !ruby/object:Gem::Requirement
16
15
  requirements:
17
16
  - - '>='
18
17
  - !ruby/object:Gem::Version
@@ -20,7 +19,10 @@ dependencies:
20
19
  - - <
21
20
  - !ruby/object:Gem::Version
22
21
  version: 3.0.0
23
- requirement: !ruby/object:Gem::Requirement
22
+ name: logstash-core
23
+ prerelease: false
24
+ type: :runtime
25
+ version_requirements: !ruby/object:Gem::Requirement
24
26
  requirements:
25
27
  - - '>='
26
28
  - !ruby/object:Gem::Version
@@ -28,51 +30,49 @@ dependencies:
28
30
  - - <
29
31
  - !ruby/object:Gem::Version
30
32
  version: 3.0.0
31
- prerelease: false
32
- type: :runtime
33
33
  - !ruby/object:Gem::Dependency
34
- name: awesome_print
35
- version_requirements: !ruby/object:Gem::Requirement
36
- requirements:
37
- - - '>='
38
- - !ruby/object:Gem::Version
39
- version: '0'
40
34
  requirement: !ruby/object:Gem::Requirement
41
35
  requirements:
42
36
  - - '>='
43
37
  - !ruby/object:Gem::Version
44
38
  version: '0'
39
+ name: awesome_print
45
40
  prerelease: false
46
41
  type: :runtime
47
- - !ruby/object:Gem::Dependency
48
- name: logstash-devutils
49
42
  version_requirements: !ruby/object:Gem::Requirement
50
43
  requirements:
51
44
  - - '>='
52
45
  - !ruby/object:Gem::Version
53
46
  version: '0'
47
+ - !ruby/object:Gem::Dependency
54
48
  requirement: !ruby/object:Gem::Requirement
55
49
  requirements:
56
50
  - - '>='
57
51
  - !ruby/object:Gem::Version
58
52
  version: '0'
53
+ name: logstash-devutils
59
54
  prerelease: false
60
55
  type: :development
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - '>='
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
61
  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
62
62
  email: info@elastic.co
63
63
  executables: []
64
64
  extensions: []
65
65
  extra_rdoc_files: []
66
66
  files:
67
- - lib/logstash/codecs/rubydebug.rb
68
- - spec/codecs/rubydebug_spec.rb
69
- - logstash-codec-rubydebug.gemspec
70
67
  - CHANGELOG.md
71
- - README.md
72
68
  - CONTRIBUTORS
73
69
  - Gemfile
74
70
  - LICENSE
75
71
  - NOTICE.TXT
72
+ - README.md
73
+ - lib/logstash/codecs/rubydebug.rb
74
+ - logstash-codec-rubydebug.gemspec
75
+ - spec/codecs/rubydebug_spec.rb
76
76
  homepage: http://www.elastic.co/guide/en/logstash/current/index.html
77
77
  licenses:
78
78
  - Apache License (2.0)
@@ -95,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
95
95
  version: '0'
96
96
  requirements: []
97
97
  rubyforge_project:
98
- rubygems_version: 2.1.9
98
+ rubygems_version: 2.4.8
99
99
  signing_key:
100
100
  specification_version: 4
101
101
  summary: The rubydebug codec will output your Logstash event data using the Ruby Awesome Print library.