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 2e6237d commit d5f1cb3
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 186 deletions.
5 changes: 2 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
source 'https://rubygems.org'
gem 'rake'
gem 'gem_publisher'
gem 'archive-tar-minitar'
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 @@ -4,3 +4,4 @@ task :default do
system("rake -T")
end

require "logstash/devutils/rake"
9 changes: 5 additions & 4 deletions logstash-input-file.gemspec
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Gem::Specification.new do |s|

s.name = 'logstash-input-file'
s.version = '0.1.1'
s.version = '0.1.2'
s.licenses = ['Apache License (2.0)']
s.summary = "Stream events from files."
s.description = "Stream events from files."
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 = '[email protected]'
s.homepage = "http://logstash.net/"
s.homepage = "http://www.elasticsearch.org/guide/en/logstash/current/index.html"
s.require_paths = ["lib"]

# Files
Expand All @@ -17,7 +17,7 @@ Gem::Specification.new do |s|
s.test_files = s.files.grep(%r{^(test|spec|features)/})

# Special flag to let us know this is actually a logstash plugin
s.metadata = { "logstash_plugin" => "true", "group" => "input" }
s.metadata = { "logstash_plugin" => "true", "logstash_group" => "input" }

# Gem dependencies
s.add_runtime_dependency 'logstash', '>= 1.4.0', '< 2.0.0'
Expand All @@ -26,5 +26,6 @@ Gem::Specification.new do |s|
s.add_runtime_dependency 'addressable'
s.add_runtime_dependency 'filewatch', ['0.5.1']

s.add_development_dependency 'logstash-devutils'
end

9 changes: 0 additions & 9 deletions rakelib/publish.rake

This file was deleted.

169 changes: 0 additions & 169 deletions rakelib/vendor.rake

This file was deleted.

2 changes: 1 addition & 1 deletion spec/inputs/file_spec.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# encoding: utf-8

require "spec_helper"
require "logstash/devutils/rspec/spec_helper"
require "tempfile"

describe "inputs/file" do
Expand Down

0 comments on commit d5f1cb3

Please sign in to comment.