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 6fc9f69 commit aa2755a
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 185 deletions.
4 changes: 2 additions & 2 deletions Gemfile
@@ -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
Expand Up @@ -4,3 +4,4 @@ task :default do
system("rake -T")
end

require "logstash/devutils/rake"
9 changes: 5 additions & 4 deletions logstash-filter-metrics.gemspec
@@ -1,13 +1,13 @@
Gem::Specification.new do |s|

s.name = 'logstash-filter-metrics'
s.version = '0.1.1'
s.version = '0.1.2'
s.licenses = ['Apache License (2.0)']
s.summary = "The metrics filter is useful for aggregating metrics."
s.description = "The metrics filter is useful for aggregating metrics."
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 @@ -17,11 +17,12 @@ 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" => "filter" }
s.metadata = { "logstash_plugin" => "true", "logstash_group" => "filter" }

# Gem dependencies
s.add_runtime_dependency 'logstash', '>= 1.4.0', '< 2.0.0'
s.add_runtime_dependency "metriks" #(MIT license)

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/filters/metrics_spec.rb
@@ -1,4 +1,4 @@
require "spec_helper"
require "logstash/devutils/rspec/spec_helper"
require "logstash/filters/metrics"

describe LogStash::Filters::Metrics do
Expand Down

0 comments on commit aa2755a

Please sign in to comment.