Skip to content

Instantly share code, notes, and snippets.

@electrical
Created August 4, 2014 13:36
Show Gist options
  • Save electrical/3225548081ec408cc2aa to your computer and use it in GitHub Desktop.
Save electrical/3225548081ec408cc2aa to your computer and use it in GitHub Desktop.
logstash-output-elasticsearch.gemspec
Gem::Specification.new do |s|
s.name = 'logstash-output-elasticsearch'
s.version = '0.1.0'
s.licenses = ['Apache License (2.0)']
s.summary = "Logstash Output to Elasticsearch"
s.description = "Output events to elasticsearch"
s.authors = ["Elasticsearch"]
s.email = 'rubycoder@example.com'
s.homepage = "http://logstash.net/"
s.require_paths = ["lib"]
# Files
s.files = `git ls-files`.split($\)
# Tests
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" }
# Jar dependencies
s.requirements << "jar 'org.elasticsearch:elasticsearch', '1.2.2'"
# Gem dependencies
s.add_runtime_dependency 'elasticsearch'
s.add_runtime_dependency 'stud'
s.add_runtime_dependency 'cabin', ['>=0.6.0']
s.add_runtime_dependency 'ftw', ['~> 0.0.39']
s.add_runtime_dependency 'logstash', '>= 1.4.0', '< 2.0.0'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment