forked from elastic/logstash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
logstash-core.gemspec
72 lines (57 loc) · 3.1 KB
/
logstash-core.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# -*- encoding: utf-8 -*-
require File.expand_path('../lib/logstash/version', __FILE__)
Gem::Specification.new do |gem|
gem.authors = ["Jordan Sissel", "Pete Fritchman", "Elasticsearch"]
gem.description = %q{The core components of logstash, the scalable log and event management tool}
gem.summary = %q{logstash-core - The core components of logstash}
gem.homepage = "http://www.elastic.co/guide/en/logstash/current/index.html"
gem.license = "Apache License (2.0)"
gem.files = Dir.glob(["lib/**/*.rb", "locales/*"])
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.name = "logstash-core"
gem.require_paths = ["lib"]
gem.version = LOGSTASH_VERSION
# Core dependencies
gem.add_runtime_dependency "cabin", [">=0.7.0"] #(Apache 2.0 license)
gem.add_runtime_dependency "pry" #(Ruby license)
gem.add_runtime_dependency "stud" #(Apache 2.0 license)
gem.add_runtime_dependency "clamp" #(MIT license) for command line args/flags
gem.add_runtime_dependency "filesize" #(MIT license) for :bytes config validator
# TODO(sissel): Treetop 1.5.x doesn't seem to work well, but I haven't
# investigated what the cause might be. -Jordan
gem.add_runtime_dependency "treetop", ["~> 1.4.0"] #(MIT license)
# upgrade i18n only post 0.6.11, see https://github.com/svenfuchs/i18n/issues/270
gem.add_runtime_dependency "i18n", ["=0.6.9"] #(MIT license)
# Web dependencies
gem.add_runtime_dependency "ftw", ["~> 0.0.40"] #(Apache 2.0 license)
gem.add_runtime_dependency "mime-types" #(GPL 2.0)
gem.add_runtime_dependency "rack" #(MIT-style license)
gem.add_runtime_dependency "sinatra" #(MIT-style license)
# Plugin manager dependencies
gem.add_runtime_dependency "minitar"
gem.add_runtime_dependency "file-dependencies", '0.1.6'
if RUBY_PLATFORM == 'java'
gem.platform = RUBY_PLATFORM
# bouncy-castle-java 1.5.0147 and jruby-openssl 0.9.5 are included in jruby 1.7.6 no need to include here
# and this avoids the gemspec jar path parsing issue of jar-dependencies 0.1.2
gem.add_runtime_dependency "jrjackson" #(Apache 2.0 license)
else
gem.add_runtime_dependency "excon" #(MIT license)
gem.add_runtime_dependency "oj" #(MIT-style license)
end
if RUBY_ENGINE == "rbx"
# rubinius puts the ruby stdlib into gems.
gem.add_runtime_dependency "rubysl"
# Include racc to make the xml tests pass.
# https://github.com/rubinius/rubinius/issues/2632#issuecomment-26954565
gem.add_runtime_dependency "racc"
end
# These are runtime-deps so you can do 'java -jar logstash.jar rspec <test>'
gem.add_development_dependency "rspec", "~> 2.14.0" #(MIT license)
gem.add_development_dependency "logstash-devutils"
# Testing dependencies
gem.add_development_dependency "ci_reporter", "1.9.3"
gem.add_development_dependency "simplecov"
gem.add_development_dependency "coveralls"
end