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 bc2e9fa commit 36ccef3
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-output-opentsdb.gemspec
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Gem::Specification.new do |s|

s.name = 'logstash-output-opentsdb'
s.version = '0.1.0'
s.version = '0.1.1'
s.licenses = ['Apache License (2.0)']
s.summary = "This output allows you to pull metrics from your logs and ship them to opentsdb"
s.description = "This output allows you to pull metrics from your logs and ship them to opentsdb"
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,10 +17,11 @@ 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" => "output" }
s.metadata = { "logstash_plugin" => "true", "logstash_group" => "output" }

# Gem dependencies
s.add_runtime_dependency 'logstash', '>= 1.4.0', '< 2.0.0'

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/outputs/opentsdb_spec.rb
Original file line number Diff line number Diff line change
@@ -1 +1 @@
require 'spec_helper'
require "logstash/devutils/rspec/spec_helper"

0 comments on commit 36ccef3

Please sign in to comment.