mirror of
https://github.com/elastic/logstash.git
synced 2025-04-25 07:07:54 -04:00
add gemspec and use it in Gemfile
This commit is contained in:
parent
d0151d42f1
commit
25303ceec6
3 changed files with 137 additions and 100 deletions
60
Gemfile
60
Gemfile
|
@ -1,58 +1,12 @@
|
||||||
source :rubygems
|
source :rubygems
|
||||||
|
|
||||||
gem "cabin", "0.4.4" # for logging. apache 2 license
|
gemspec
|
||||||
gem "bunny" # for amqp support, MIT-style license
|
|
||||||
gem "uuidtools" # for naming amqp queues, License ???
|
|
||||||
|
|
||||||
gem "cinch" # for irc support
|
platforms :jruby do
|
||||||
gem "filewatch", "0.3.3" # for file tailing, BSD License
|
gem 'jruby-elasticsearch', '0.0.14'
|
||||||
gem "jls-grok", "0.10.7" # for grok filter, BSD License
|
gem 'jruby-httpclient'
|
||||||
gem "aws-sdk" # for AWS access: SNS and S3 log tailing. Apache 2.0 License
|
gem 'jruby-win32ole'
|
||||||
gem "jruby-elasticsearch", "0.0.14", :platforms => :jruby # BSD License
|
|
||||||
gem "onstomp" # for stomp protocol, Apache 2.0 License
|
|
||||||
gem "json" # Ruby license
|
|
||||||
#gem "awesome_print" # MIT License
|
|
||||||
gem "jruby-openssl", :platforms => :jruby # For enabling SSL support, CPL/GPL 2.0
|
|
||||||
gem "mail" #outputs/email, # License: MIT License
|
|
||||||
gem "xml-simple" # unknown license: http://xml-simple.rubyforge.org/
|
|
||||||
|
|
||||||
gem "minitest" # License: Ruby
|
|
||||||
gem "rack" # License: MIT
|
|
||||||
gem "ftw", "~> 0.0.19" # License: Apache 2.0
|
|
||||||
gem "sinatra" # License: MIT-style
|
|
||||||
gem "haml" # License: MIT
|
|
||||||
gem "sass" # License: MIT
|
|
||||||
gem "heroku" # License: MIT
|
|
||||||
|
|
||||||
# TODO(sissel): Put this into a group that's only used for monolith packaging
|
|
||||||
gem "mongo" # outputs/mongodb, License: Apache 2.0
|
|
||||||
gem "redis" # outputs/redis, License: MIT-style
|
|
||||||
gem "gelf", "1.3.2" # outputs/gelf, # License: MIT-style
|
|
||||||
gem "statsd-ruby", "0.3.0" # outputs/statsd, # License: As-Is
|
|
||||||
gem "gmetric", "0.1.3" # outputs/ganglia, # License: MIT
|
|
||||||
gem "xmpp4r", "0.5" # outputs/xmpp, # License: As-Is
|
|
||||||
gem "gelfd", "0.2.0" #inputs/gelf, # License: Apache 2.0
|
|
||||||
gem "jruby-win32ole", :platforms => :jruby # inputs/eventlog, # License: JRuby
|
|
||||||
gem "jruby-httpclient", :platforms => :jruby #outputs/http, # License: Apache 2.0
|
|
||||||
gem "excon", :platforms => :ruby #outputs/http, # License: MIT License
|
|
||||||
gem "pry"
|
|
||||||
|
|
||||||
gem "ffi-rzmq", "0.9.0"
|
|
||||||
gem "ffi"
|
|
||||||
|
|
||||||
gem "riemann-client", "0.0.6" #outputs/riemann, License: MIT
|
|
||||||
gem "riak-client", "1.0.3" #outputs/riak, License: Apache 2.0
|
|
||||||
|
|
||||||
group :test do
|
|
||||||
gem "mocha"
|
|
||||||
gem "shoulda"
|
|
||||||
end
|
end
|
||||||
|
|
||||||
# ruby-debug is broken in 1.9.x due, at a minimum, the following:
|
gem 'excon', :platforms => :ruby
|
||||||
# Installing rbx-require-relative (0.0.5)
|
gem 'cinch', :platforms => :ruby_19
|
||||||
# Gem::InstallError: rbx-require-relative requires Ruby version ~> 1.8.7.
|
|
||||||
#
|
|
||||||
# ruby-debug wants linecache which wants rbx-require-relative which won't
|
|
||||||
# install under 1.9.x. I never use ruby-debug anyway, so, kill it.
|
|
||||||
#gem "ruby-debug", "0.10.4"
|
|
||||||
#gem "mocha", "0.10.0"
|
|
||||||
|
|
106
Gemfile.lock
106
Gemfile.lock
|
@ -1,8 +1,47 @@
|
||||||
|
PATH
|
||||||
|
remote: .
|
||||||
|
specs:
|
||||||
|
logstash (1.1.1.rc3-java)
|
||||||
|
aws-sdk
|
||||||
|
bunny
|
||||||
|
cabin (= 0.4.4)
|
||||||
|
cinch
|
||||||
|
ffi
|
||||||
|
ffi-rzmq (= 0.9.3)
|
||||||
|
filewatch (= 0.3.3)
|
||||||
|
ftw (~> 0.0.19)
|
||||||
|
gelf (= 1.3.2)
|
||||||
|
gelfd (= 0.2.0)
|
||||||
|
gmetric (= 0.1.3)
|
||||||
|
haml
|
||||||
|
heroku
|
||||||
|
jls-grok (= 0.10.7)
|
||||||
|
jruby-elasticsearch (= 0.0.14)
|
||||||
|
jruby-httpclient
|
||||||
|
jruby-openssl
|
||||||
|
jruby-win32ole
|
||||||
|
json
|
||||||
|
mail
|
||||||
|
minitest
|
||||||
|
mongo
|
||||||
|
onstomp
|
||||||
|
pry
|
||||||
|
rack
|
||||||
|
redis
|
||||||
|
riak-client (= 1.0.3)
|
||||||
|
riemann-client (= 0.0.6)
|
||||||
|
sass
|
||||||
|
sinatra
|
||||||
|
statsd-ruby (= 0.3.0)
|
||||||
|
uuidtools
|
||||||
|
xml-simple
|
||||||
|
xmpp4r (= 0.5)
|
||||||
|
|
||||||
GEM
|
GEM
|
||||||
remote: http://rubygems.org/
|
remote: http://rubygems.org/
|
||||||
specs:
|
specs:
|
||||||
addressable (2.2.6)
|
addressable (2.2.6)
|
||||||
aws-sdk (1.5.2)
|
aws-sdk (1.5.6)
|
||||||
httparty (~> 0.7)
|
httparty (~> 0.7)
|
||||||
json (~> 1.4)
|
json (~> 1.4)
|
||||||
nokogiri (>= 1.4.4)
|
nokogiri (>= 1.4.4)
|
||||||
|
@ -12,14 +51,15 @@ GEM
|
||||||
bouncy-castle-java (1.5.0146.1)
|
bouncy-castle-java (1.5.0146.1)
|
||||||
bson (1.6.4-java)
|
bson (1.6.4-java)
|
||||||
builder (3.0.0)
|
builder (3.0.0)
|
||||||
bunny (0.7.9)
|
bunny (0.8.0)
|
||||||
cabin (0.4.4)
|
cabin (0.4.4)
|
||||||
json
|
json
|
||||||
cinch (2.0.3)
|
cinch (2.0.3)
|
||||||
coderay (1.0.6)
|
coderay (1.0.7)
|
||||||
excon (0.14.0)
|
excon (0.14.3)
|
||||||
ffi (1.0.11-java)
|
ffi (1.0.11-java)
|
||||||
ffi-rzmq (0.9.0)
|
ffi-rzmq (0.9.3)
|
||||||
|
ffi
|
||||||
filewatch (0.3.3)
|
filewatch (0.3.3)
|
||||||
ftw (0.0.19)
|
ftw (0.0.19)
|
||||||
addressable (= 2.2.6)
|
addressable (= 2.2.6)
|
||||||
|
@ -33,14 +73,14 @@ GEM
|
||||||
gelfd (0.2.0)
|
gelfd (0.2.0)
|
||||||
gmetric (0.1.3)
|
gmetric (0.1.3)
|
||||||
haml (3.1.6)
|
haml (3.1.6)
|
||||||
heroku (2.26.6)
|
heroku (2.28.12)
|
||||||
heroku-api (~> 0.2.4)
|
heroku-api (~> 0.2.8)
|
||||||
launchy (>= 0.3.2)
|
launchy (>= 0.3.2)
|
||||||
netrc (~> 0.7.2)
|
netrc (~> 0.7.5)
|
||||||
rest-client (~> 1.6.1)
|
rest-client (~> 1.6.1)
|
||||||
rubyzip
|
rubyzip
|
||||||
heroku-api (0.2.4)
|
heroku-api (0.2.8)
|
||||||
excon (~> 0.14.0)
|
excon (~> 0.14.3)
|
||||||
http_parser.rb (0.5.3-java)
|
http_parser.rb (0.5.3-java)
|
||||||
httparty (0.8.3)
|
httparty (0.8.3)
|
||||||
multi_json (~> 1.0)
|
multi_json (~> 1.0)
|
||||||
|
@ -64,8 +104,8 @@ GEM
|
||||||
treetop (~> 1.4.8)
|
treetop (~> 1.4.8)
|
||||||
metaclass (0.0.1)
|
metaclass (0.0.1)
|
||||||
method_source (0.7.1)
|
method_source (0.7.1)
|
||||||
mime-types (1.18)
|
mime-types (1.19)
|
||||||
minitest (3.0.1)
|
minitest (3.2.0)
|
||||||
mocha (0.11.4)
|
mocha (0.11.4)
|
||||||
metaclass (~> 0.0.1)
|
metaclass (~> 0.0.1)
|
||||||
mongo (1.6.4)
|
mongo (1.6.4)
|
||||||
|
@ -73,9 +113,9 @@ GEM
|
||||||
mtrc (0.0.4)
|
mtrc (0.0.4)
|
||||||
multi_json (1.3.6)
|
multi_json (1.3.6)
|
||||||
multi_xml (0.5.1)
|
multi_xml (0.5.1)
|
||||||
netrc (0.7.4)
|
netrc (0.7.5)
|
||||||
nokogiri (1.5.3-java)
|
nokogiri (1.5.5-java)
|
||||||
onstomp (1.0.6)
|
onstomp (1.0.7)
|
||||||
polyglot (0.3.3)
|
polyglot (0.3.3)
|
||||||
pry (0.9.9.6-java)
|
pry (0.9.9.6-java)
|
||||||
coderay (~> 1.0.5)
|
coderay (~> 1.0.5)
|
||||||
|
@ -97,8 +137,8 @@ GEM
|
||||||
beefcake (>= 0.3.5)
|
beefcake (>= 0.3.5)
|
||||||
mtrc (>= 0.0.4)
|
mtrc (>= 0.0.4)
|
||||||
trollop (>= 1.16.2)
|
trollop (>= 1.16.2)
|
||||||
rubyzip (0.9.8)
|
rubyzip (0.9.9)
|
||||||
sass (3.1.19)
|
sass (3.1.20)
|
||||||
shoulda (3.0.1)
|
shoulda (3.0.1)
|
||||||
shoulda-context (~> 1.0.0)
|
shoulda-context (~> 1.0.0)
|
||||||
shoulda-matchers (~> 1.0.0)
|
shoulda-matchers (~> 1.0.0)
|
||||||
|
@ -122,42 +162,14 @@ GEM
|
||||||
|
|
||||||
PLATFORMS
|
PLATFORMS
|
||||||
java
|
java
|
||||||
|
ruby
|
||||||
|
|
||||||
DEPENDENCIES
|
DEPENDENCIES
|
||||||
aws-sdk
|
|
||||||
bunny
|
|
||||||
cabin (= 0.4.4)
|
|
||||||
cinch
|
cinch
|
||||||
excon
|
excon
|
||||||
ffi
|
|
||||||
ffi-rzmq (= 0.9.0)
|
|
||||||
filewatch (= 0.3.3)
|
|
||||||
ftw (~> 0.0.19)
|
|
||||||
gelf (= 1.3.2)
|
|
||||||
gelfd (= 0.2.0)
|
|
||||||
gmetric (= 0.1.3)
|
|
||||||
haml
|
|
||||||
heroku
|
|
||||||
jls-grok (= 0.10.7)
|
|
||||||
jruby-elasticsearch (= 0.0.14)
|
jruby-elasticsearch (= 0.0.14)
|
||||||
jruby-httpclient
|
jruby-httpclient
|
||||||
jruby-openssl
|
|
||||||
jruby-win32ole
|
jruby-win32ole
|
||||||
json
|
logstash!
|
||||||
mail
|
|
||||||
minitest
|
|
||||||
mocha
|
mocha
|
||||||
mongo
|
|
||||||
onstomp
|
|
||||||
pry
|
|
||||||
rack
|
|
||||||
redis
|
|
||||||
riak-client (= 1.0.3)
|
|
||||||
riemann-client (= 0.0.6)
|
|
||||||
sass
|
|
||||||
shoulda
|
shoulda
|
||||||
sinatra
|
|
||||||
statsd-ruby (= 0.3.0)
|
|
||||||
uuidtools
|
|
||||||
xml-simple
|
|
||||||
xmpp4r (= 0.5)
|
|
||||||
|
|
71
logstash.gemspec
Normal file
71
logstash.gemspec
Normal file
|
@ -0,0 +1,71 @@
|
||||||
|
# -*- encoding: utf-8 -*-
|
||||||
|
require File.expand_path('../lib/logstash/version', __FILE__)
|
||||||
|
|
||||||
|
Gem::Specification.new do |gem|
|
||||||
|
gem.authors = ["Jordan Sissel", "Pete Fritchman"]
|
||||||
|
gem.email = ["jls@semicomplete.com", "petef@databits.net"]
|
||||||
|
gem.description = %q{scalable log and event management (search, archive, pipeline)}
|
||||||
|
gem.summary = %q{logstash - log and event management}
|
||||||
|
gem.homepage = "http://logstash.net/"
|
||||||
|
gem.license = "Apache License (2.0)"
|
||||||
|
|
||||||
|
gem.files = `git ls-files`.split($\)
|
||||||
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
||||||
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
||||||
|
gem.name = "logstash"
|
||||||
|
gem.require_paths = ["lib"]
|
||||||
|
gem.version = LOGSTASH_VERSION
|
||||||
|
|
||||||
|
# Core dependencies
|
||||||
|
gem.add_runtime_dependency "cabin", ["0.4.4"]
|
||||||
|
gem.add_runtime_dependency "json"
|
||||||
|
gem.add_runtime_dependency "minitest" # for running the tests from the jar
|
||||||
|
gem.add_runtime_dependency "pry"
|
||||||
|
|
||||||
|
# Server dependencies
|
||||||
|
gem.add_runtime_dependency "ftw", ["~> 0.0.19"]
|
||||||
|
gem.add_runtime_dependency "haml"
|
||||||
|
gem.add_runtime_dependency "heroku"
|
||||||
|
gem.add_runtime_dependency "rack"
|
||||||
|
gem.add_runtime_dependency "sass"
|
||||||
|
gem.add_runtime_dependency "sinatra"
|
||||||
|
|
||||||
|
# Input/Output/Filter dependencies
|
||||||
|
#TODO Can these be optional?
|
||||||
|
gem.add_runtime_dependency "aws-sdk"
|
||||||
|
gem.add_runtime_dependency "bunny"
|
||||||
|
gem.add_runtime_dependency "ffi"
|
||||||
|
gem.add_runtime_dependency "ffi-rzmq", ["0.9.3"]
|
||||||
|
gem.add_runtime_dependency "filewatch", ["0.3.3"]
|
||||||
|
gem.add_runtime_dependency "gelfd", ["0.2.0"]
|
||||||
|
gem.add_runtime_dependency "gelf", ["1.3.2"]
|
||||||
|
gem.add_runtime_dependency "gmetric", ["0.1.3"]
|
||||||
|
gem.add_runtime_dependency "jls-grok", ["0.10.7"]
|
||||||
|
gem.add_runtime_dependency "mail"
|
||||||
|
gem.add_runtime_dependency "mongo"
|
||||||
|
gem.add_runtime_dependency "onstomp"
|
||||||
|
gem.add_runtime_dependency "redis"
|
||||||
|
gem.add_runtime_dependency "riak-client", ["1.0.3"]
|
||||||
|
gem.add_runtime_dependency "riemann-client", ["0.0.6"]
|
||||||
|
gem.add_runtime_dependency "statsd-ruby", ["0.3.0"]
|
||||||
|
gem.add_runtime_dependency "uuidtools" # For generating amqp queue names
|
||||||
|
gem.add_runtime_dependency "xml-simple"
|
||||||
|
gem.add_runtime_dependency "xmpp4r", ["0.5"]
|
||||||
|
|
||||||
|
if RUBY_PLATFORM == 'java'
|
||||||
|
gem.platform = RUBY_PLATFORM
|
||||||
|
gem.add_runtime_dependency "jruby-elasticsearch", ["0.0.14"]
|
||||||
|
gem.add_runtime_dependency "jruby-httpclient"
|
||||||
|
gem.add_runtime_dependency "jruby-openssl"
|
||||||
|
gem.add_runtime_dependency "jruby-win32ole"
|
||||||
|
else
|
||||||
|
gem.add_runtime_dependency "excon"
|
||||||
|
end
|
||||||
|
|
||||||
|
if RUBY_VERSION >= '1.9.1'
|
||||||
|
gem.add_runtime_dependency "cinch" # cinch requires 1.9.1+
|
||||||
|
end
|
||||||
|
|
||||||
|
gem.add_development_dependency "mocha"
|
||||||
|
gem.add_development_dependency "shoulda"
|
||||||
|
end
|
Loading…
Add table
Add a link
Reference in a new issue