Skip to content

Commit e9f244f

Browse files
author
Richard Pijnenburg
committed
Update plugin
- Update gemspec and add dependency - Update plugin to use correct 'require'
1 parent 1b1b460 commit e9f244f

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

lib/logstash/codecs/rubydebug.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class LogStash::Codecs::RubyDebug < LogStash::Codecs::Base
99
milestone 3
1010

1111
def register
12-
require "ap"
12+
require "awesome_print"
1313
end
1414

1515
public

logstash-codec-rubydebug.gemspec

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ Gem::Specification.new do |s|
33
s.name = 'logstash-codec-rubydebug'
44
s.version = '0.1.0'
55
s.licenses = ['Apache License (2.0)']
6-
s.summary = "$summary"
7-
s.description = "$description"
6+
s.summary = "The rubydebug codec will output your Logstash event data using the Ruby Awesome Print library."
7+
s.description = "The rubydebug codec will output your Logstash event data using the Ruby Awesome Print library."
88
s.authors = ["Elasticsearch"]
99
s.email = 'richard.pijnenburg@elasticsearch.com'
1010
s.homepage = "http://logstash.net/"
@@ -19,14 +19,10 @@ Gem::Specification.new do |s|
1919
# Special flag to let us know this is actually a logstash plugin
2020
s.metadata = { "logstash_plugin" => "true", "group" => "codec" }
2121

22-
# Jar dependencies
23-
s.requirements << "jar 'jarnamepath', 'version'"
24-
2522
# Gem dependencies
2623
s.add_runtime_dependency 'logstash', '>= 1.4.0', '< 2.0.0'
27-
s.add_runtime_dependency 'jar-dependencies', ['~> 0.0.6']
2824

29-
s.add_runtime_dependency 'gemname', ['version']
25+
s.add_runtime_dependency 'awesome_print'
3026

3127
end
3228

0 commit comments

Comments
 (0)