Skip to content

Commit

Permalink
Plugin structure change
Browse files Browse the repository at this point in the history
  • Loading branch information
ph committed Nov 18, 2014
1 parent 86ea9df commit 1260c6a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
source 'https://rubygems.org'
gem 'rake'
gem 'gem_publisher'
gemspec
gem "logstash", :github => "elasticsearch/logstash", :branch => "1.5"
1 change: 1 addition & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ end
task :default do
system('rake -T')
end
require "logstash/devutils/rake"
7 changes: 4 additions & 3 deletions logstash-output-kafka.gemspec
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Gem::Specification.new do |s|

s.name = 'logstash-output-kafka'
s.version = '0.1.1'
s.version = '0.1.2'
s.licenses = ['Apache License (2.0)']
s.summary = 'Output events to a Kafka topic. This uses the Kafka Producer API to write messages to a topic on the broker'
s.description = 'Output events to a Kafka topic. This uses the Kafka Producer API to write messages to a topic on the broker'
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"
s.authors = ['Elasticsearch']
s.email = 'richard.pijnenburg@elasticsearch.com'
s.homepage = 'http://logstash.net/'
s.homepage = "http://www.elasticsearch.org/guide/en/logstash/current/index.html"
s.require_paths = ['lib']

# Files
Expand All @@ -31,4 +31,5 @@ Gem::Specification.new do |s|
s.add_runtime_dependency 'jar-dependencies'

s.add_runtime_dependency 'jruby-kafka', ['>=0.2.1']
s.add_development_dependency 'logstash-devutils'
end
2 changes: 1 addition & 1 deletion spec/outputs/kafka_spec.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# encoding: utf-8
require 'spec_helper'
require "logstash/devutils/rspec/spec_helper"

describe "outputs/kafka" do
let (:kafka_config) {{'topic_id' => 'test'}}
Expand Down

0 comments on commit 1260c6a

Please sign in to comment.