logstash-core 1.5.4.snapshot3-java → 1.5.5-java
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of logstash-core might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/lib/logstash/java_integration.rb +16 -0
- data/lib/logstash/json.rb +10 -2
- data/lib/logstash/patches.rb +1 -0
- data/lib/logstash/patches/silence_concurrent_ruby_warning.rb +54 -0
- data/lib/logstash/patches/stronger_openssl_defaults.rb +1 -1
- data/lib/logstash/string_interpolation.rb +1 -1
- data/lib/logstash/util/java_version.rb +1 -0
- data/lib/logstash/version.rb +1 -1
- data/logstash-core.gemspec +3 -1
- data/spec/core/event_spec.rb +8 -0
- data/spec/lib/logstash/java_integration_spec.rb +30 -0
- data/spec/license_spec.rb +13 -0
- data/spec/pluginmanager/util_spec.rb +42 -0
- data/spec/util/buftok_spec.rb +31 -0
- data/spec/util/java_version_spec.rb +4 -0
- metadata +75 -42
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bcdaa633e8abfba5f4119b3f86ddb01025884bb2
|
4
|
+
data.tar.gz: 0a5cc230da55ff5a750de1348aa644ca315d222c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44f580d37db8bef96651db6f7cca1609b2844bcdfc8f1cee49ea62d61d144b09fae59cde0d2d79c40231247c19913a468285c44f37cc2c71a73fd3589ab8f0c2
|
7
|
+
data.tar.gz: cbe4e467858261ad10efb3d92387cfc88742e29418edcd53386662ea642eb82740581e3e9fae1513e570b694dffffcea67137be4d81a84eb7d38fdd0300b4547
|
@@ -78,6 +78,22 @@ module java::util::Collection
|
|
78
78
|
self.removeAll([o]) ? o : block_given? ? yield : nil
|
79
79
|
end
|
80
80
|
|
81
|
+
def compact
|
82
|
+
duped = Java::JavaUtil::ArrayList.new(self)
|
83
|
+
duped.compact!
|
84
|
+
duped
|
85
|
+
end
|
86
|
+
|
87
|
+
def compact!
|
88
|
+
size_before = self.size
|
89
|
+
self.removeAll(java::util::Collections.singleton(nil))
|
90
|
+
if size_before == self.size
|
91
|
+
nil
|
92
|
+
else
|
93
|
+
self
|
94
|
+
end
|
95
|
+
end
|
96
|
+
|
81
97
|
# support the Ruby intersection method on Java Collection
|
82
98
|
def &(other)
|
83
99
|
# transform self into a LinkedHashSet to remove duplicates and preserve order as defined by the Ruby Array intersection contract
|
data/lib/logstash/json.rb
CHANGED
@@ -32,15 +32,23 @@ module LogStash
|
|
32
32
|
### JRuby
|
33
33
|
|
34
34
|
def jruby_load(data, options = {})
|
35
|
-
|
35
|
+
# TODO [guyboertje] remove these comments in 5.0
|
36
|
+
# options[:symbolize_keys] ? JrJackson::Raw.parse_sym(data) : JrJackson::Raw.parse_raw(data)
|
37
|
+
|
38
|
+
JrJackson::Ruby.parse(data, options)
|
39
|
+
|
36
40
|
rescue JrJackson::ParseError => e
|
37
41
|
raise LogStash::Json::ParserError.new(e.message)
|
38
42
|
end
|
39
43
|
|
40
44
|
def jruby_dump(o)
|
45
|
+
# TODO [guyboertje] remove these comments in 5.0
|
41
46
|
# test for enumerable here to work around an omission in JrJackson::Json.dump to
|
42
47
|
# also look for Java::JavaUtil::ArrayList, see TODO submit issue
|
43
|
-
o.is_a?(Enumerable) ? JrJackson::Raw.generate(o) : JrJackson::Json.dump(o)
|
48
|
+
# o.is_a?(Enumerable) ? JrJackson::Raw.generate(o) : JrJackson::Json.dump(o)
|
49
|
+
|
50
|
+
JrJackson::Base.generate(o, {})
|
51
|
+
|
44
52
|
rescue => e
|
45
53
|
raise LogStash::Json::GeneratorError.new(e.message)
|
46
54
|
end
|
data/lib/logstash/patches.rb
CHANGED
@@ -0,0 +1,54 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
require "logstash/namespace"
|
3
|
+
require "concurrent/concern/logging"
|
4
|
+
require "concurrent/concern/deprecation"
|
5
|
+
require "concurrent/version"
|
6
|
+
require "cabin"
|
7
|
+
|
8
|
+
# Concurrent-ruby is throwing warning when the code is run under jdk7, and they
|
9
|
+
# will provide best effort support, logstash has to support JDK7 for a few months.
|
10
|
+
#
|
11
|
+
# By default all deprecation warnings of the concurrent ruby
|
12
|
+
# library use the `WARN` level which is show everytime we boot logstash,
|
13
|
+
# This monkeypatch change the log level of the deprecation warning to be `debug`
|
14
|
+
# instead. This monkey patch might be a bit over kill but there is no
|
15
|
+
# easy way to override the java version check.
|
16
|
+
#
|
17
|
+
# ref: https://github.com/ruby-concurrency/concurrent-ruby/blob/v0.9.1/lib/concurrent/configuration.rb#L284-L295
|
18
|
+
#
|
19
|
+
# This patch is only valid for 0.9.1
|
20
|
+
if Concurrent::VERSION == "0.9.1"
|
21
|
+
module Concurrent
|
22
|
+
module Concern
|
23
|
+
module Deprecation
|
24
|
+
include Concern::Logging
|
25
|
+
|
26
|
+
def deprecated(message, strip = 2)
|
27
|
+
caller_line = caller(strip).first if strip > 0
|
28
|
+
klass = if Module === self
|
29
|
+
self
|
30
|
+
else
|
31
|
+
self.class
|
32
|
+
end
|
33
|
+
message = if strip > 0
|
34
|
+
format("[DEPRECATED] %s\ncalled on: %s", message, caller_line)
|
35
|
+
else
|
36
|
+
format('[DEPRECATED] %s', message)
|
37
|
+
end
|
38
|
+
|
39
|
+
# lets use our logger
|
40
|
+
logger = Cabin::Channel.get(LogStash)
|
41
|
+
logger.debug(message, :class => klass.to_s)
|
42
|
+
end
|
43
|
+
|
44
|
+
extend self
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
else
|
49
|
+
# This is added a guard to check if we need to update this code or not.
|
50
|
+
# Keep in mind, the latest releases of concurrent-ruby brokes a few stuff.
|
51
|
+
#
|
52
|
+
# Even the latest master version changed how they handle deprecation.
|
53
|
+
raise "Logstash expects concurrent-ruby version 0.9.1 and version #{Concurrent::VERSION} is installed, please verify this patch: #{__FILE__}"
|
54
|
+
end
|
@@ -61,7 +61,7 @@ class OpenSSL::SSL::SSLContext
|
|
61
61
|
# For more details see: https://github.com/elastic/logstash/issues/3657
|
62
62
|
remove_const(:DEFAULT_PARAMS) if const_defined?(:DEFAULT_PARAMS)
|
63
63
|
DEFAULT_PARAMS = {
|
64
|
-
:ssl_version => "
|
64
|
+
:ssl_version => "TLS",
|
65
65
|
:ciphers => MOZILLA_INTERMEDIATE_CIPHERS,
|
66
66
|
:options => __default_options # Not a constant because it's computed at start-time.
|
67
67
|
}
|
data/lib/logstash/version.rb
CHANGED
data/logstash-core.gemspec
CHANGED
@@ -23,6 +23,8 @@ Gem::Specification.new do |gem|
|
|
23
23
|
gem.add_runtime_dependency "clamp", "~> 0.6.5" #(MIT license) for command line args/flags
|
24
24
|
gem.add_runtime_dependency "filesize", "0.0.4" #(MIT license) for :bytes config validator
|
25
25
|
gem.add_runtime_dependency "gems", "~> 0.8.3" #(MIT license)
|
26
|
+
gem.add_runtime_dependency "concurrent-ruby", "~> 0.9.1"
|
27
|
+
gem.add_runtime_dependency "jruby-openssl", ">= 0.9.11" # Required to support TLSv1.2
|
26
28
|
|
27
29
|
# TODO(sissel): Treetop 1.5.x doesn't seem to work well, but I haven't
|
28
30
|
# investigated what the cause might be. -Jordan
|
@@ -37,7 +39,7 @@ Gem::Specification.new do |gem|
|
|
37
39
|
|
38
40
|
if RUBY_PLATFORM == 'java'
|
39
41
|
gem.platform = RUBY_PLATFORM
|
40
|
-
gem.add_runtime_dependency "jrjackson", "~> 0.
|
42
|
+
gem.add_runtime_dependency "jrjackson", "~> 0.3.6" #(Apache 2.0 license)
|
41
43
|
else
|
42
44
|
gem.add_runtime_dependency "oj" #(MIT-style license)
|
43
45
|
end
|
data/spec/core/event_spec.rb
CHANGED
@@ -50,6 +50,10 @@ describe LogStash::Event do
|
|
50
50
|
expect(subject.sprintf("%{+%s}")).to eq("1356998400")
|
51
51
|
end
|
52
52
|
|
53
|
+
it "should work if there is no fieldref in the string" do
|
54
|
+
expect(subject.sprintf("bonjour")).to eq("bonjour")
|
55
|
+
end
|
56
|
+
|
53
57
|
it "should raise error when formatting %{+%s} when @timestamp field is missing" do
|
54
58
|
str = "hello-%{+%s}"
|
55
59
|
subj = subject.clone
|
@@ -100,6 +104,10 @@ describe LogStash::Event do
|
|
100
104
|
expect(subject.sprintf("%{[j][k3]}")).to eq("{\"4\":\"m\"}")
|
101
105
|
end
|
102
106
|
|
107
|
+
it "should not strip last character" do
|
108
|
+
expect(subject.sprintf("%{type}%{message}|")).to eq("sprintfhello world|")
|
109
|
+
end
|
110
|
+
|
103
111
|
context "#encoding" do
|
104
112
|
it "should return known patterns as UTF-8" do
|
105
113
|
expect(subject.sprintf("%{message}").encoding).to eq(Encoding::UTF_8)
|
@@ -211,6 +211,36 @@ describe "Java integration" do
|
|
211
211
|
end
|
212
212
|
end
|
213
213
|
end
|
214
|
+
|
215
|
+
context "when compacting" do
|
216
|
+
context "#compact with nils" do
|
217
|
+
let(:initial_array) { [1,2,3,nil,nil,6] }
|
218
|
+
it "should remove nil values from a copy" do
|
219
|
+
expect(subject.compact).to eq([1,2,3,6])
|
220
|
+
expect(subject).to eq([1,2,3,nil,nil,6])
|
221
|
+
end
|
222
|
+
end
|
223
|
+
|
224
|
+
context "#compact! with nils" do
|
225
|
+
let(:initial_array) { [1,2,3,nil,nil,6] }
|
226
|
+
it "should remove nil values" do
|
227
|
+
expect(subject.compact!).to eq([1,2,3,6])
|
228
|
+
expect(subject).to eq([1,2,3,6])
|
229
|
+
end
|
230
|
+
|
231
|
+
it "should return the original" do
|
232
|
+
expect(subject.compact!.object_id).to eq(subject.object_id)
|
233
|
+
end
|
234
|
+
end
|
235
|
+
|
236
|
+
context "#compact! without nils" do
|
237
|
+
let(:initial_array) { [1,2,3,6] }
|
238
|
+
it "should return nil" do
|
239
|
+
expect(subject.compact!).to be nil
|
240
|
+
expect(subject).to eq([1,2,3,6])
|
241
|
+
end
|
242
|
+
end
|
243
|
+
end
|
214
244
|
end
|
215
245
|
|
216
246
|
context "Enumerable implementation" do
|
data/spec/license_spec.rb
CHANGED
@@ -16,6 +16,18 @@ describe "Project licenses" do
|
|
16
16
|
/lgpl/])
|
17
17
|
}
|
18
18
|
|
19
|
+
##
|
20
|
+
# This licenses are skipped from the license test of many reasons, check
|
21
|
+
# the exact dependency for detailed information.
|
22
|
+
##
|
23
|
+
let(:skipped_dependencies) do
|
24
|
+
[
|
25
|
+
# Skipped because of already included and bundled within JRuby so checking here is redundant.
|
26
|
+
# Need to take action about jruby licenses to enable again or keep skeeping.
|
27
|
+
"jruby-openssl"
|
28
|
+
]
|
29
|
+
end
|
30
|
+
|
19
31
|
shared_examples "runtime license test" do
|
20
32
|
|
21
33
|
subject(:gem_name) do |example|
|
@@ -33,6 +45,7 @@ describe "Project licenses" do
|
|
33
45
|
it "has runtime dependencies with expected licenses" do
|
34
46
|
spec.runtime_dependencies.map { |dep| dep.to_spec }.each do |runtime_spec|
|
35
47
|
next unless runtime_spec
|
48
|
+
next if skipped_dependencies.include?(runtime_spec.name)
|
36
49
|
runtime_spec.licenses.each do |license|
|
37
50
|
expect(license.downcase).to match(expected_licenses)
|
38
51
|
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
require "spec_helper"
|
3
|
+
require "pluginmanager/util"
|
4
|
+
require "gems"
|
5
|
+
|
6
|
+
describe LogStash::PluginManager do
|
7
|
+
|
8
|
+
let(:plugin_name) { "logstash-output-elasticsearch" }
|
9
|
+
|
10
|
+
let(:version_data) do
|
11
|
+
[ { "authors"=>"Elastic", "built_at"=>"2015-08-11T00:00:00.000Z", "description"=>"Output events to elasticsearch",
|
12
|
+
"downloads_count"=>1638, "metadata"=>{"logstash_group"=>"output", "logstash_plugin"=>"true"}, "number"=>"2.0.0.pre",
|
13
|
+
"summary"=>"Logstash Output to Elasticsearch", "platform"=>"java", "ruby_version"=>">= 0", "prerelease"=>true,
|
14
|
+
"licenses"=>["apache-2.0"], "requirements"=>[], "sha"=>"194b27099c13605a882a3669e2363fdecccaab1de48dd44b0cda648dd5516799"},
|
15
|
+
{ "authors"=>"Elastic", "built_at"=>"2015-08-10T00:00:00.000Z", "description"=>"Output events to elasticsearch",
|
16
|
+
"downloads_count"=>1638, "metadata"=>{"logstash_group"=>"output", "logstash_plugin"=>"true"}, "number"=>"1.0.7",
|
17
|
+
"summary"=>"Logstash Output to Elasticsearch", "platform"=>"java", "ruby_version"=>">= 0", "prerelease"=>false,
|
18
|
+
"licenses"=>["apache-2.0"], "requirements"=>[], "sha"=>"194b27099c13605a882a3669e2363fdecccaab1de48dd44b0cda648dd5516799"},
|
19
|
+
{ "authors"=>"Elastic", "built_at"=>"2015-08-09T00:00:00.000Z", "description"=>"Output events to elasticsearch",
|
20
|
+
"downloads_count"=>1638, "metadata"=>{"logstash_group"=>"output", "logstash_plugin"=>"true"}, "number"=>"1.0.4",
|
21
|
+
"summary"=>"Logstash Output to Elasticsearch", "platform"=>"java", "ruby_version"=>">= 0", "prerelease"=>false,
|
22
|
+
"licenses"=>["apache-2.0"], "requirements"=>[], "sha"=>"194b27099c13605a882a3669e2363fdecccaab1de48dd44b0cda648dd5516799"} ]
|
23
|
+
end
|
24
|
+
|
25
|
+
before(:each) do
|
26
|
+
allow(Gems).to receive(:versions).with(plugin_name).and_return(version_data)
|
27
|
+
end
|
28
|
+
|
29
|
+
context "fetch plugin info" do
|
30
|
+
|
31
|
+
it "should search for the last version infomation non prerelease" do
|
32
|
+
version_info = LogStash::PluginManager.fetch_latest_version_info(plugin_name)
|
33
|
+
expect(version_info["number"]).to eq("1.0.7")
|
34
|
+
end
|
35
|
+
|
36
|
+
|
37
|
+
it "should search for the last version infomation with prerelease" do
|
38
|
+
version_info = LogStash::PluginManager.fetch_latest_version_info(plugin_name, :pre => true)
|
39
|
+
expect(version_info["number"]).to eq("2.0.0.pre")
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
require "spec_helper"
|
3
|
+
require "logstash/util/buftok"
|
4
|
+
|
5
|
+
describe FileWatch::BufferedTokenizer do
|
6
|
+
|
7
|
+
subject { FileWatch::BufferedTokenizer.new }
|
8
|
+
|
9
|
+
it "should tokenize a single token" do
|
10
|
+
expect(subject.extract("foo\n")).to eq(["foo"])
|
11
|
+
end
|
12
|
+
|
13
|
+
it "should merge multiple token" do
|
14
|
+
expect(subject.extract("foo")).to eq([])
|
15
|
+
expect(subject.extract("bar\n")).to eq(["foobar"])
|
16
|
+
end
|
17
|
+
|
18
|
+
it "should tokenize multiple token" do
|
19
|
+
expect(subject.extract("foo\nbar\n")).to eq(["foo", "bar"])
|
20
|
+
end
|
21
|
+
|
22
|
+
it "should ignore empty payload" do
|
23
|
+
expect(subject.extract("")).to eq([])
|
24
|
+
expect(subject.extract("foo\nbar")).to eq(["foo"])
|
25
|
+
end
|
26
|
+
|
27
|
+
it "should tokenize empty payload with newline" do
|
28
|
+
expect(subject.extract("\n")).to eq([""])
|
29
|
+
expect(subject.extract("\n\n\n")).to eq(["", "", ""])
|
30
|
+
end
|
31
|
+
end
|
@@ -27,6 +27,10 @@ describe "LogStash::Util::JavaVersion" do
|
|
27
27
|
expect(mod.bad_java_version?("1.8.0-beta")).to be_falsey
|
28
28
|
end
|
29
29
|
|
30
|
+
it "should not mark non-standard javas as bad (IBM JDK)" do
|
31
|
+
expect(mod.bad_java_version?("pwi3270sr9fp10-20150708_01 (SR9 FP10)")).to be_falsey
|
32
|
+
end
|
33
|
+
|
30
34
|
describe "parsing java versions" do
|
31
35
|
it "should return nil on a nil version" do
|
32
36
|
expect(mod.parse_java_version(nil)).to be_nil
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.5
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Jordan Sissel
|
@@ -10,162 +10,190 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-
|
13
|
+
date: 2015-10-28 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
|
+
name: cabin
|
17
|
+
version_requirements: !ruby/object:Gem::Requirement
|
18
|
+
requirements:
|
19
|
+
- - ~>
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: 0.7.0
|
16
22
|
requirement: !ruby/object:Gem::Requirement
|
17
23
|
requirements:
|
18
24
|
- - ~>
|
19
25
|
- !ruby/object:Gem::Version
|
20
26
|
version: 0.7.0
|
21
|
-
name: cabin
|
22
27
|
prerelease: false
|
23
28
|
type: :runtime
|
29
|
+
- !ruby/object:Gem::Dependency
|
30
|
+
name: pry
|
24
31
|
version_requirements: !ruby/object:Gem::Requirement
|
25
32
|
requirements:
|
26
33
|
- - ~>
|
27
34
|
- !ruby/object:Gem::Version
|
28
|
-
version: 0.
|
29
|
-
- !ruby/object:Gem::Dependency
|
35
|
+
version: 0.10.1
|
30
36
|
requirement: !ruby/object:Gem::Requirement
|
31
37
|
requirements:
|
32
38
|
- - ~>
|
33
39
|
- !ruby/object:Gem::Version
|
34
40
|
version: 0.10.1
|
35
|
-
name: pry
|
36
41
|
prerelease: false
|
37
42
|
type: :runtime
|
43
|
+
- !ruby/object:Gem::Dependency
|
44
|
+
name: stud
|
38
45
|
version_requirements: !ruby/object:Gem::Requirement
|
39
46
|
requirements:
|
40
47
|
- - ~>
|
41
48
|
- !ruby/object:Gem::Version
|
42
|
-
version: 0.
|
43
|
-
- !ruby/object:Gem::Dependency
|
49
|
+
version: 0.0.19
|
44
50
|
requirement: !ruby/object:Gem::Requirement
|
45
51
|
requirements:
|
46
52
|
- - ~>
|
47
53
|
- !ruby/object:Gem::Version
|
48
54
|
version: 0.0.19
|
49
|
-
name: stud
|
50
55
|
prerelease: false
|
51
56
|
type: :runtime
|
57
|
+
- !ruby/object:Gem::Dependency
|
58
|
+
name: clamp
|
52
59
|
version_requirements: !ruby/object:Gem::Requirement
|
53
60
|
requirements:
|
54
61
|
- - ~>
|
55
62
|
- !ruby/object:Gem::Version
|
56
|
-
version: 0.
|
57
|
-
- !ruby/object:Gem::Dependency
|
63
|
+
version: 0.6.5
|
58
64
|
requirement: !ruby/object:Gem::Requirement
|
59
65
|
requirements:
|
60
66
|
- - ~>
|
61
67
|
- !ruby/object:Gem::Version
|
62
68
|
version: 0.6.5
|
63
|
-
name: clamp
|
64
69
|
prerelease: false
|
65
70
|
type: :runtime
|
71
|
+
- !ruby/object:Gem::Dependency
|
72
|
+
name: filesize
|
66
73
|
version_requirements: !ruby/object:Gem::Requirement
|
67
74
|
requirements:
|
68
|
-
- -
|
75
|
+
- - '='
|
69
76
|
- !ruby/object:Gem::Version
|
70
|
-
version: 0.
|
71
|
-
- !ruby/object:Gem::Dependency
|
77
|
+
version: 0.0.4
|
72
78
|
requirement: !ruby/object:Gem::Requirement
|
73
79
|
requirements:
|
74
80
|
- - '='
|
75
81
|
- !ruby/object:Gem::Version
|
76
82
|
version: 0.0.4
|
77
|
-
name: filesize
|
78
83
|
prerelease: false
|
79
84
|
type: :runtime
|
85
|
+
- !ruby/object:Gem::Dependency
|
86
|
+
name: gems
|
80
87
|
version_requirements: !ruby/object:Gem::Requirement
|
81
88
|
requirements:
|
82
|
-
- -
|
89
|
+
- - ~>
|
83
90
|
- !ruby/object:Gem::Version
|
84
|
-
version: 0.
|
85
|
-
- !ruby/object:Gem::Dependency
|
91
|
+
version: 0.8.3
|
86
92
|
requirement: !ruby/object:Gem::Requirement
|
87
93
|
requirements:
|
88
94
|
- - ~>
|
89
95
|
- !ruby/object:Gem::Version
|
90
96
|
version: 0.8.3
|
91
|
-
name: gems
|
92
97
|
prerelease: false
|
93
98
|
type: :runtime
|
99
|
+
- !ruby/object:Gem::Dependency
|
100
|
+
name: concurrent-ruby
|
94
101
|
version_requirements: !ruby/object:Gem::Requirement
|
95
102
|
requirements:
|
96
103
|
- - ~>
|
97
104
|
- !ruby/object:Gem::Version
|
98
|
-
version: 0.
|
105
|
+
version: 0.9.1
|
106
|
+
requirement: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ~>
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: 0.9.1
|
111
|
+
prerelease: false
|
112
|
+
type: :runtime
|
99
113
|
- !ruby/object:Gem::Dependency
|
114
|
+
name: jruby-openssl
|
115
|
+
version_requirements: !ruby/object:Gem::Requirement
|
116
|
+
requirements:
|
117
|
+
- - '>='
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
version: 0.9.11
|
100
120
|
requirement: !ruby/object:Gem::Requirement
|
101
121
|
requirements:
|
102
|
-
- -
|
122
|
+
- - '>='
|
103
123
|
- !ruby/object:Gem::Version
|
104
|
-
version:
|
105
|
-
name: treetop
|
124
|
+
version: 0.9.11
|
106
125
|
prerelease: false
|
107
126
|
type: :runtime
|
127
|
+
- !ruby/object:Gem::Dependency
|
128
|
+
name: treetop
|
108
129
|
version_requirements: !ruby/object:Gem::Requirement
|
109
130
|
requirements:
|
110
131
|
- - <
|
111
132
|
- !ruby/object:Gem::Version
|
112
133
|
version: 1.5.0
|
113
|
-
- !ruby/object:Gem::Dependency
|
114
134
|
requirement: !ruby/object:Gem::Requirement
|
115
135
|
requirements:
|
116
|
-
- -
|
136
|
+
- - <
|
117
137
|
- !ruby/object:Gem::Version
|
118
|
-
version:
|
119
|
-
name: i18n
|
138
|
+
version: 1.5.0
|
120
139
|
prerelease: false
|
121
140
|
type: :runtime
|
141
|
+
- !ruby/object:Gem::Dependency
|
142
|
+
name: i18n
|
122
143
|
version_requirements: !ruby/object:Gem::Requirement
|
123
144
|
requirements:
|
124
145
|
- - '='
|
125
146
|
- !ruby/object:Gem::Version
|
126
147
|
version: 0.6.9
|
127
|
-
- !ruby/object:Gem::Dependency
|
128
148
|
requirement: !ruby/object:Gem::Requirement
|
129
149
|
requirements:
|
130
|
-
- -
|
150
|
+
- - '='
|
131
151
|
- !ruby/object:Gem::Version
|
132
|
-
version: 0.
|
133
|
-
name: minitar
|
152
|
+
version: 0.6.9
|
134
153
|
prerelease: false
|
135
154
|
type: :runtime
|
155
|
+
- !ruby/object:Gem::Dependency
|
156
|
+
name: minitar
|
136
157
|
version_requirements: !ruby/object:Gem::Requirement
|
137
158
|
requirements:
|
138
159
|
- - ~>
|
139
160
|
- !ruby/object:Gem::Version
|
140
161
|
version: 0.5.4
|
141
|
-
- !ruby/object:Gem::Dependency
|
142
162
|
requirement: !ruby/object:Gem::Requirement
|
143
163
|
requirements:
|
144
164
|
- - ~>
|
145
165
|
- !ruby/object:Gem::Version
|
146
|
-
version: 0.
|
147
|
-
name: thread_safe
|
166
|
+
version: 0.5.4
|
148
167
|
prerelease: false
|
149
168
|
type: :runtime
|
169
|
+
- !ruby/object:Gem::Dependency
|
170
|
+
name: thread_safe
|
150
171
|
version_requirements: !ruby/object:Gem::Requirement
|
151
172
|
requirements:
|
152
173
|
- - ~>
|
153
174
|
- !ruby/object:Gem::Version
|
154
175
|
version: 0.3.5
|
155
|
-
- !ruby/object:Gem::Dependency
|
156
176
|
requirement: !ruby/object:Gem::Requirement
|
157
177
|
requirements:
|
158
178
|
- - ~>
|
159
179
|
- !ruby/object:Gem::Version
|
160
|
-
version: 0.
|
161
|
-
name: jrjackson
|
180
|
+
version: 0.3.5
|
162
181
|
prerelease: false
|
163
182
|
type: :runtime
|
183
|
+
- !ruby/object:Gem::Dependency
|
184
|
+
name: jrjackson
|
164
185
|
version_requirements: !ruby/object:Gem::Requirement
|
165
186
|
requirements:
|
166
187
|
- - ~>
|
167
188
|
- !ruby/object:Gem::Version
|
168
|
-
version: 0.
|
189
|
+
version: 0.3.6
|
190
|
+
requirement: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - ~>
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: 0.3.6
|
195
|
+
prerelease: false
|
196
|
+
type: :runtime
|
169
197
|
description: The core components of logstash, the scalable log and event management tool
|
170
198
|
email:
|
171
199
|
- jls@semicomplete.com
|
@@ -201,6 +229,7 @@ files:
|
|
201
229
|
- lib/logstash/patches/cabin.rb
|
202
230
|
- lib/logstash/patches/profile_require_calls.rb
|
203
231
|
- lib/logstash/patches/rubygems.rb
|
232
|
+
- lib/logstash/patches/silence_concurrent_ruby_warning.rb
|
204
233
|
- lib/logstash/patches/stronger_openssl_defaults.rb
|
205
234
|
- lib/logstash/pipeline.rb
|
206
235
|
- lib/logstash/plugin.rb
|
@@ -246,8 +275,10 @@ files:
|
|
246
275
|
- spec/logstash/agent_spec.rb
|
247
276
|
- spec/logstash/patches_spec.rb
|
248
277
|
- spec/outputs/base_spec.rb
|
278
|
+
- spec/pluginmanager/util_spec.rb
|
249
279
|
- spec/spec_helper.rb
|
250
280
|
- spec/util/accessors_spec.rb
|
281
|
+
- spec/util/buftok_spec.rb
|
251
282
|
- spec/util/charset_spec.rb
|
252
283
|
- spec/util/gemfile_spec.rb
|
253
284
|
- spec/util/java_version_spec.rb
|
@@ -270,12 +301,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
270
301
|
version: '0'
|
271
302
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
272
303
|
requirements:
|
273
|
-
- - '
|
304
|
+
- - '>='
|
274
305
|
- !ruby/object:Gem::Version
|
275
|
-
version:
|
306
|
+
version: '0'
|
276
307
|
requirements: []
|
277
308
|
rubyforge_project:
|
278
|
-
rubygems_version: 2.4.
|
309
|
+
rubygems_version: 2.4.5
|
279
310
|
signing_key:
|
280
311
|
specification_version: 4
|
281
312
|
summary: logstash-core - The core components of logstash
|
@@ -298,8 +329,10 @@ test_files:
|
|
298
329
|
- spec/logstash/agent_spec.rb
|
299
330
|
- spec/logstash/patches_spec.rb
|
300
331
|
- spec/outputs/base_spec.rb
|
332
|
+
- spec/pluginmanager/util_spec.rb
|
301
333
|
- spec/spec_helper.rb
|
302
334
|
- spec/util/accessors_spec.rb
|
335
|
+
- spec/util/buftok_spec.rb
|
303
336
|
- spec/util/charset_spec.rb
|
304
337
|
- spec/util/gemfile_spec.rb
|
305
338
|
- spec/util/java_version_spec.rb
|