logstash-core 1.5.0.rc3.snapshot6-java → 1.5.0.rc4-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of logstash-core might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/lib/logstash-core.rb +2 -0
- data/lib/logstash/agent.rb +0 -33
- data/lib/logstash/config/config_ast.rb +1 -1
- data/lib/logstash/environment.rb +8 -30
- data/lib/logstash/filters/base.rb +19 -0
- data/lib/logstash/namespace.rb +0 -1
- data/lib/logstash/runner.rb +3 -51
- data/lib/logstash/version.rb +1 -1
- data/logstash-core.gemspec +54 -0
- data/spec/core/conditionals_spec.rb +428 -0
- data/spec/core/config_mixin_spec.rb +99 -0
- data/spec/core/config_spec.rb +108 -0
- data/spec/core/environment_spec.rb +44 -0
- data/spec/core/event_spec.rb +468 -0
- data/spec/core/pipeline_spec.rb +198 -0
- data/spec/core/plugin_spec.rb +106 -0
- data/spec/core/runner_spec.rb +39 -0
- data/spec/core/timestamp_spec.rb +83 -0
- data/spec/filters/base_spec.rb +318 -0
- data/spec/inputs/base_spec.rb +13 -0
- data/spec/lib/logstash/bundler_spec.rb +120 -0
- data/spec/lib/logstash/java_integration_spec.rb +257 -0
- data/spec/logstash/agent_spec.rb +37 -0
- data/spec/outputs/base_spec.rb +47 -0
- data/spec/spec_helper.rb +1 -0
- data/spec/util/accessors_spec.rb +215 -0
- data/spec/util/charset_spec.rb +74 -0
- data/spec/util/fieldeval_spec.rb +96 -0
- data/spec/util/gemfile_spec.rb +212 -0
- data/spec/util/json_spec.rb +97 -0
- data/spec/util/plugin_version_spec.rb +48 -0
- data/spec/util_spec.rb +34 -0
- metadata +84 -160
- data/lib/logstash-event.rb +0 -2
- data/lib/logstash.rb +0 -4
- data/lib/logstash/bundler.rb +0 -156
- data/lib/logstash/gemfile.rb +0 -193
- data/lib/logstash/pluginmanager.rb +0 -17
- data/lib/logstash/pluginmanager/command.rb +0 -38
- data/lib/logstash/pluginmanager/install.rb +0 -141
- data/lib/logstash/pluginmanager/list.rb +0 -44
- data/lib/logstash/pluginmanager/main.rb +0 -21
- data/lib/logstash/pluginmanager/uninstall.rb +0 -43
- data/lib/logstash/pluginmanager/update.rb +0 -105
- data/lib/logstash/pluginmanager/util.rb +0 -89
@@ -0,0 +1,97 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
require "spec_helper"
|
3
|
+
require "logstash/json"
|
4
|
+
require "logstash/environment"
|
5
|
+
require "logstash/util"
|
6
|
+
|
7
|
+
describe LogStash::Json do
|
8
|
+
|
9
|
+
let(:hash) {{"a" => 1}}
|
10
|
+
let(:json_hash) {"{\"a\":1}"}
|
11
|
+
|
12
|
+
let(:string) {"foobar"}
|
13
|
+
let(:json_string) {"\"foobar\""}
|
14
|
+
|
15
|
+
let(:array) {["foo", "bar"]}
|
16
|
+
let(:json_array) {"[\"foo\",\"bar\"]"}
|
17
|
+
|
18
|
+
let(:multi) {
|
19
|
+
[
|
20
|
+
{:ruby => "foo bar baz", :json => "\"foo bar baz\""},
|
21
|
+
{:ruby => "1", :json => "\"1\""},
|
22
|
+
{:ruby => {"a" => true}, :json => "{\"a\":true}"},
|
23
|
+
{:ruby => {"a" => nil}, :json => "{\"a\":null}"},
|
24
|
+
{:ruby => ["a", "b"], :json => "[\"a\",\"b\"]"},
|
25
|
+
{:ruby => [1, 2], :json => "[1,2]"},
|
26
|
+
{:ruby => [1, nil], :json => "[1,null]"},
|
27
|
+
{:ruby => {"a" => [1, 2]}, :json => "{\"a\":[1,2]}"},
|
28
|
+
{:ruby => {"a" => {"b" => 2}}, :json => "{\"a\":{\"b\":2}}"},
|
29
|
+
# {:ruby => , :json => },
|
30
|
+
]
|
31
|
+
}
|
32
|
+
|
33
|
+
if LogStash::Environment.jruby?
|
34
|
+
|
35
|
+
### JRuby specific
|
36
|
+
|
37
|
+
context "jruby deserialize" do
|
38
|
+
it "should respond to load and deserialize object" do
|
39
|
+
expect(JrJackson::Raw).to receive(:parse_raw).with(json_hash).and_call_original
|
40
|
+
expect(LogStash::Json.load(json_hash)).to eql(hash)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
44
|
+
context "jruby serialize" do
|
45
|
+
it "should respond to dump and serialize object" do
|
46
|
+
expect(JrJackson::Json).to receive(:dump).with(string).and_call_original
|
47
|
+
expect(LogStash::Json.dump(string)).to eql(json_string)
|
48
|
+
end
|
49
|
+
|
50
|
+
it "should call JrJackson::Raw.generate for Hash" do
|
51
|
+
expect(JrJackson::Raw).to receive(:generate).with(hash).and_call_original
|
52
|
+
expect(LogStash::Json.dump(hash)).to eql(json_hash)
|
53
|
+
end
|
54
|
+
|
55
|
+
it "should call JrJackson::Raw.generate for Array" do
|
56
|
+
expect(JrJackson::Raw).to receive(:generate).with(array).and_call_original
|
57
|
+
expect(LogStash::Json.dump(array)).to eql(json_array)
|
58
|
+
end
|
59
|
+
|
60
|
+
end
|
61
|
+
|
62
|
+
else
|
63
|
+
|
64
|
+
### MRI specific
|
65
|
+
|
66
|
+
it "should respond to load and deserialize object on mri" do
|
67
|
+
expect(Oj).to receive(:load).with(json).and_call_original
|
68
|
+
expect(LogStash::Json.load(json)).to eql(hash)
|
69
|
+
end
|
70
|
+
|
71
|
+
it "should respond to dump and serialize object on mri" do
|
72
|
+
expect(Oj).to receive(:dump).with(hash, anything).and_call_original
|
73
|
+
expect(LogStash::Json.dump(hash)).to eql(json)
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
### non specific
|
78
|
+
|
79
|
+
it "should correctly deserialize" do
|
80
|
+
multi.each do |test|
|
81
|
+
# because JrJackson in :raw mode uses Java::JavaUtil::LinkedHashMap and
|
82
|
+
# Java::JavaUtil::ArrayList, we must cast to compare.
|
83
|
+
# other than that, they quack like their Ruby equivalent
|
84
|
+
expect(LogStash::Util.normalize(LogStash::Json.load(test[:json]))).to eql(test[:ruby])
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
it "should correctly serialize" do
|
89
|
+
multi.each do |test|
|
90
|
+
expect(LogStash::Json.dump(test[:ruby])).to eql(test[:json])
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
94
|
+
it "should raise Json::ParserError on invalid json" do
|
95
|
+
expect{LogStash::Json.load("abc")}.to raise_error LogStash::Json::ParserError
|
96
|
+
end
|
97
|
+
end
|
@@ -0,0 +1,48 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
require "logstash/util/plugin_version"
|
3
|
+
|
4
|
+
describe LogStash::Util::PluginVersion do
|
5
|
+
subject { LogStash::Util::PluginVersion }
|
6
|
+
|
7
|
+
context "#find_version!" do
|
8
|
+
it 'raises an PluginNoVersionError if we cant find the plugin in the gem path' do
|
9
|
+
dummy_name ='this-character-doesnt-exist-in-the-marvel-universe'
|
10
|
+
expect { subject.find_version!(dummy_name) }.to raise_error(LogStash::PluginNoVersionError)
|
11
|
+
end
|
12
|
+
|
13
|
+
it 'returns the version of the gem' do
|
14
|
+
expect { subject.find_version!('bundler') }.not_to raise_error
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
context "#new" do
|
19
|
+
it 'accepts a Gem::Version instance as argument' do
|
20
|
+
version = Gem::Version.new('1.0.1')
|
21
|
+
expect(subject.new(version).to_s).to eq(version.to_s)
|
22
|
+
end
|
23
|
+
|
24
|
+
it 'accepts an array for defining the version' do
|
25
|
+
version = subject.new(1, 0, 2)
|
26
|
+
expect(version.to_s).to eq('1.0.2')
|
27
|
+
end
|
28
|
+
end
|
29
|
+
|
30
|
+
context "When comparing instances" do
|
31
|
+
it 'allow to check if the version is newer or older' do
|
32
|
+
old_version = subject.new(0, 1, 0)
|
33
|
+
new_version = subject.new(1, 0, 1)
|
34
|
+
|
35
|
+
expect(old_version).to be < new_version
|
36
|
+
expect(old_version).to be <= new_version
|
37
|
+
expect(new_version).to be > old_version
|
38
|
+
expect(new_version).to be >= old_version
|
39
|
+
end
|
40
|
+
|
41
|
+
it 'return true if the version are equal' do
|
42
|
+
version1 = subject.new(0, 1, 0)
|
43
|
+
version2 = subject.new(0, 1, 0)
|
44
|
+
|
45
|
+
expect(version1).to eq(version2)
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
data/spec/util_spec.rb
ADDED
@@ -0,0 +1,34 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
require "logstash/util"
|
4
|
+
|
5
|
+
describe LogStash::Util do
|
6
|
+
|
7
|
+
context "stringify_keys" do
|
8
|
+
it "should convert hash symbol keys to strings" do
|
9
|
+
expect(LogStash::Util.stringify_symbols({:a => 1, "b" => 2})).to eq({"a" => 1, "b" => 2})
|
10
|
+
end
|
11
|
+
|
12
|
+
it "should keep non symbolic hash keys as is" do
|
13
|
+
expect(LogStash::Util.stringify_symbols({1 => 1, 2.0 => 2})).to eq({1 => 1, 2.0 => 2})
|
14
|
+
end
|
15
|
+
|
16
|
+
it "should convert inner hash keys to strings" do
|
17
|
+
expect(LogStash::Util.stringify_symbols({:a => 1, "b" => {:c => 3}})).to eq({"a" => 1, "b" => {"c" => 3}})
|
18
|
+
expect(LogStash::Util.stringify_symbols([:a, 1, "b", {:c => 3}])).to eq(["a", 1, "b", {"c" => 3}])
|
19
|
+
end
|
20
|
+
|
21
|
+
it "should convert hash symbol values to strings" do
|
22
|
+
expect(LogStash::Util.stringify_symbols({:a => :a, "b" => :b})).to eq({"a" => "a", "b" => "b"})
|
23
|
+
end
|
24
|
+
|
25
|
+
it "should convert array symbol values to strings" do
|
26
|
+
expect(LogStash::Util.stringify_symbols([1, :a])).to eq([1, "a"])
|
27
|
+
end
|
28
|
+
|
29
|
+
it "should convert innner array symbol values to strings" do
|
30
|
+
expect(LogStash::Util.stringify_symbols({:a => [1, :b]})).to eq({"a" => [1, "b"]})
|
31
|
+
expect(LogStash::Util.stringify_symbols([:a, [1, :b]])).to eq(["a", [1, "b"]])
|
32
|
+
end
|
33
|
+
end
|
34
|
+
end
|
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.0.
|
4
|
+
version: 1.5.0.rc4
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Jordan Sissel
|
@@ -10,18 +10,18 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-
|
13
|
+
date: 2015-05-07 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: cabin
|
17
17
|
version_requirements: !ruby/object:Gem::Requirement
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: 0.7.0
|
22
22
|
requirement: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ~>
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 0.7.0
|
27
27
|
prerelease: false
|
@@ -30,70 +30,70 @@ dependencies:
|
|
30
30
|
name: pry
|
31
31
|
version_requirements: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
|
-
- -
|
33
|
+
- - ~>
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version:
|
35
|
+
version: 0.10.1
|
36
36
|
requirement: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 0.10.1
|
41
41
|
prerelease: false
|
42
42
|
type: :runtime
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: stud
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- -
|
47
|
+
- - ~>
|
48
48
|
- !ruby/object:Gem::Version
|
49
|
-
version:
|
49
|
+
version: 0.0.19
|
50
50
|
requirement: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
54
|
+
version: 0.0.19
|
55
55
|
prerelease: false
|
56
56
|
type: :runtime
|
57
57
|
- !ruby/object:Gem::Dependency
|
58
58
|
name: clamp
|
59
59
|
version_requirements: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
|
-
- -
|
61
|
+
- - ~>
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version:
|
63
|
+
version: 0.6.5
|
64
64
|
requirement: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ~>
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version:
|
68
|
+
version: 0.6.5
|
69
69
|
prerelease: false
|
70
70
|
type: :runtime
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
72
|
name: filesize
|
73
73
|
version_requirements: !ruby/object:Gem::Requirement
|
74
74
|
requirements:
|
75
|
-
- - '
|
75
|
+
- - '='
|
76
76
|
- !ruby/object:Gem::Version
|
77
|
-
version:
|
77
|
+
version: 0.0.4
|
78
78
|
requirement: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - '
|
80
|
+
- - '='
|
81
81
|
- !ruby/object:Gem::Version
|
82
|
-
version:
|
82
|
+
version: 0.0.4
|
83
83
|
prerelease: false
|
84
84
|
type: :runtime
|
85
85
|
- !ruby/object:Gem::Dependency
|
86
86
|
name: treetop
|
87
87
|
version_requirements: !ruby/object:Gem::Requirement
|
88
88
|
requirements:
|
89
|
-
- -
|
89
|
+
- - <
|
90
90
|
- !ruby/object:Gem::Version
|
91
|
-
version: 1.
|
91
|
+
version: 1.5.0
|
92
92
|
requirement: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - <
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 1.
|
96
|
+
version: 1.5.0
|
97
97
|
prerelease: false
|
98
98
|
type: :runtime
|
99
99
|
- !ruby/object:Gem::Dependency
|
@@ -111,101 +111,31 @@ dependencies:
|
|
111
111
|
prerelease: false
|
112
112
|
type: :runtime
|
113
113
|
- !ruby/object:Gem::Dependency
|
114
|
-
name:
|
114
|
+
name: minitar
|
115
115
|
version_requirements: !ruby/object:Gem::Requirement
|
116
116
|
requirements:
|
117
117
|
- - ~>
|
118
118
|
- !ruby/object:Gem::Version
|
119
|
-
version: 0.
|
119
|
+
version: 0.5.4
|
120
120
|
requirement: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - ~>
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 0.
|
125
|
-
prerelease: false
|
126
|
-
type: :runtime
|
127
|
-
- !ruby/object:Gem::Dependency
|
128
|
-
name: mime-types
|
129
|
-
version_requirements: !ruby/object:Gem::Requirement
|
130
|
-
requirements:
|
131
|
-
- - '>='
|
132
|
-
- !ruby/object:Gem::Version
|
133
|
-
version: '0'
|
134
|
-
requirement: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - '>='
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '0'
|
139
|
-
prerelease: false
|
140
|
-
type: :runtime
|
141
|
-
- !ruby/object:Gem::Dependency
|
142
|
-
name: rack
|
143
|
-
version_requirements: !ruby/object:Gem::Requirement
|
144
|
-
requirements:
|
145
|
-
- - '>='
|
146
|
-
- !ruby/object:Gem::Version
|
147
|
-
version: '0'
|
148
|
-
requirement: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - '>='
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: '0'
|
153
|
-
prerelease: false
|
154
|
-
type: :runtime
|
155
|
-
- !ruby/object:Gem::Dependency
|
156
|
-
name: sinatra
|
157
|
-
version_requirements: !ruby/object:Gem::Requirement
|
158
|
-
requirements:
|
159
|
-
- - '>='
|
160
|
-
- !ruby/object:Gem::Version
|
161
|
-
version: '0'
|
162
|
-
requirement: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - '>='
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: '0'
|
167
|
-
prerelease: false
|
168
|
-
type: :runtime
|
169
|
-
- !ruby/object:Gem::Dependency
|
170
|
-
name: minitar
|
171
|
-
version_requirements: !ruby/object:Gem::Requirement
|
172
|
-
requirements:
|
173
|
-
- - '>='
|
174
|
-
- !ruby/object:Gem::Version
|
175
|
-
version: '0'
|
176
|
-
requirement: !ruby/object:Gem::Requirement
|
177
|
-
requirements:
|
178
|
-
- - '>='
|
179
|
-
- !ruby/object:Gem::Version
|
180
|
-
version: '0'
|
181
|
-
prerelease: false
|
182
|
-
type: :runtime
|
183
|
-
- !ruby/object:Gem::Dependency
|
184
|
-
name: file-dependencies
|
185
|
-
version_requirements: !ruby/object:Gem::Requirement
|
186
|
-
requirements:
|
187
|
-
- - '='
|
188
|
-
- !ruby/object:Gem::Version
|
189
|
-
version: 0.1.6
|
190
|
-
requirement: !ruby/object:Gem::Requirement
|
191
|
-
requirements:
|
192
|
-
- - '='
|
193
|
-
- !ruby/object:Gem::Version
|
194
|
-
version: 0.1.6
|
124
|
+
version: 0.5.4
|
195
125
|
prerelease: false
|
196
126
|
type: :runtime
|
197
127
|
- !ruby/object:Gem::Dependency
|
198
128
|
name: jrjackson
|
199
129
|
version_requirements: !ruby/object:Gem::Requirement
|
200
130
|
requirements:
|
201
|
-
- -
|
131
|
+
- - ~>
|
202
132
|
- !ruby/object:Gem::Version
|
203
|
-
version:
|
133
|
+
version: 0.2.8
|
204
134
|
requirement: !ruby/object:Gem::Requirement
|
205
135
|
requirements:
|
206
|
-
- -
|
136
|
+
- - ~>
|
207
137
|
- !ruby/object:Gem::Version
|
208
|
-
version:
|
138
|
+
version: 0.2.8
|
209
139
|
prerelease: false
|
210
140
|
type: :runtime
|
211
141
|
- !ruby/object:Gem::Dependency
|
@@ -214,66 +144,24 @@ dependencies:
|
|
214
144
|
requirements:
|
215
145
|
- - ~>
|
216
146
|
- !ruby/object:Gem::Version
|
217
|
-
version: 2.14
|
147
|
+
version: '2.14'
|
218
148
|
requirement: !ruby/object:Gem::Requirement
|
219
149
|
requirements:
|
220
150
|
- - ~>
|
221
151
|
- !ruby/object:Gem::Version
|
222
|
-
version: 2.14
|
152
|
+
version: '2.14'
|
223
153
|
prerelease: false
|
224
154
|
type: :development
|
225
155
|
- !ruby/object:Gem::Dependency
|
226
156
|
name: logstash-devutils
|
227
157
|
version_requirements: !ruby/object:Gem::Requirement
|
228
158
|
requirements:
|
229
|
-
- -
|
230
|
-
- !ruby/object:Gem::Version
|
231
|
-
version: '0'
|
232
|
-
requirement: !ruby/object:Gem::Requirement
|
233
|
-
requirements:
|
234
|
-
- - '>='
|
235
|
-
- !ruby/object:Gem::Version
|
236
|
-
version: '0'
|
237
|
-
prerelease: false
|
238
|
-
type: :development
|
239
|
-
- !ruby/object:Gem::Dependency
|
240
|
-
name: ci_reporter
|
241
|
-
version_requirements: !ruby/object:Gem::Requirement
|
242
|
-
requirements:
|
243
|
-
- - '='
|
244
|
-
- !ruby/object:Gem::Version
|
245
|
-
version: 1.9.3
|
246
|
-
requirement: !ruby/object:Gem::Requirement
|
247
|
-
requirements:
|
248
|
-
- - '='
|
249
|
-
- !ruby/object:Gem::Version
|
250
|
-
version: 1.9.3
|
251
|
-
prerelease: false
|
252
|
-
type: :development
|
253
|
-
- !ruby/object:Gem::Dependency
|
254
|
-
name: simplecov
|
255
|
-
version_requirements: !ruby/object:Gem::Requirement
|
256
|
-
requirements:
|
257
|
-
- - '>='
|
258
|
-
- !ruby/object:Gem::Version
|
259
|
-
version: '0'
|
260
|
-
requirement: !ruby/object:Gem::Requirement
|
261
|
-
requirements:
|
262
|
-
- - '>='
|
263
|
-
- !ruby/object:Gem::Version
|
264
|
-
version: '0'
|
265
|
-
prerelease: false
|
266
|
-
type: :development
|
267
|
-
- !ruby/object:Gem::Dependency
|
268
|
-
name: coveralls
|
269
|
-
version_requirements: !ruby/object:Gem::Requirement
|
270
|
-
requirements:
|
271
|
-
- - '>='
|
159
|
+
- - ~>
|
272
160
|
- !ruby/object:Gem::Version
|
273
161
|
version: '0'
|
274
162
|
requirement: !ruby/object:Gem::Requirement
|
275
163
|
requirements:
|
276
|
-
- -
|
164
|
+
- - ~>
|
277
165
|
- !ruby/object:Gem::Version
|
278
166
|
version: '0'
|
279
167
|
prerelease: false
|
@@ -287,10 +175,8 @@ executables: []
|
|
287
175
|
extensions: []
|
288
176
|
extra_rdoc_files: []
|
289
177
|
files:
|
290
|
-
- lib/logstash-
|
291
|
-
- lib/logstash.rb
|
178
|
+
- lib/logstash-core.rb
|
292
179
|
- lib/logstash/agent.rb
|
293
|
-
- lib/logstash/bundler.rb
|
294
180
|
- lib/logstash/codecs/base.rb
|
295
181
|
- lib/logstash/config/config_ast.rb
|
296
182
|
- lib/logstash/config/file.rb
|
@@ -301,7 +187,6 @@ files:
|
|
301
187
|
- lib/logstash/errors.rb
|
302
188
|
- lib/logstash/event.rb
|
303
189
|
- lib/logstash/filters/base.rb
|
304
|
-
- lib/logstash/gemfile.rb
|
305
190
|
- lib/logstash/inputs/base.rb
|
306
191
|
- lib/logstash/inputs/threadable.rb
|
307
192
|
- lib/logstash/java_integration.rb
|
@@ -318,14 +203,6 @@ files:
|
|
318
203
|
- lib/logstash/patches/rubygems.rb
|
319
204
|
- lib/logstash/pipeline.rb
|
320
205
|
- lib/logstash/plugin.rb
|
321
|
-
- lib/logstash/pluginmanager.rb
|
322
|
-
- lib/logstash/pluginmanager/command.rb
|
323
|
-
- lib/logstash/pluginmanager/install.rb
|
324
|
-
- lib/logstash/pluginmanager/list.rb
|
325
|
-
- lib/logstash/pluginmanager/main.rb
|
326
|
-
- lib/logstash/pluginmanager/uninstall.rb
|
327
|
-
- lib/logstash/pluginmanager/update.rb
|
328
|
-
- lib/logstash/pluginmanager/util.rb
|
329
206
|
- lib/logstash/program.rb
|
330
207
|
- lib/logstash/runner.rb
|
331
208
|
- lib/logstash/sized_queue.rb
|
@@ -345,6 +222,30 @@ files:
|
|
345
222
|
- lib/logstash/util/socket_peer.rb
|
346
223
|
- lib/logstash/version.rb
|
347
224
|
- locales/en.yml
|
225
|
+
- logstash-core.gemspec
|
226
|
+
- spec/core/conditionals_spec.rb
|
227
|
+
- spec/core/config_mixin_spec.rb
|
228
|
+
- spec/core/config_spec.rb
|
229
|
+
- spec/core/environment_spec.rb
|
230
|
+
- spec/core/event_spec.rb
|
231
|
+
- spec/core/pipeline_spec.rb
|
232
|
+
- spec/core/plugin_spec.rb
|
233
|
+
- spec/core/runner_spec.rb
|
234
|
+
- spec/core/timestamp_spec.rb
|
235
|
+
- spec/filters/base_spec.rb
|
236
|
+
- spec/inputs/base_spec.rb
|
237
|
+
- spec/lib/logstash/bundler_spec.rb
|
238
|
+
- spec/lib/logstash/java_integration_spec.rb
|
239
|
+
- spec/logstash/agent_spec.rb
|
240
|
+
- spec/outputs/base_spec.rb
|
241
|
+
- spec/spec_helper.rb
|
242
|
+
- spec/util/accessors_spec.rb
|
243
|
+
- spec/util/charset_spec.rb
|
244
|
+
- spec/util/fieldeval_spec.rb
|
245
|
+
- spec/util/gemfile_spec.rb
|
246
|
+
- spec/util/json_spec.rb
|
247
|
+
- spec/util/plugin_version_spec.rb
|
248
|
+
- spec/util_spec.rb
|
348
249
|
homepage: http://www.elastic.co/guide/en/logstash/current/index.html
|
349
250
|
licenses:
|
350
251
|
- Apache License (2.0)
|
@@ -369,4 +270,27 @@ rubygems_version: 2.2.2
|
|
369
270
|
signing_key:
|
370
271
|
specification_version: 4
|
371
272
|
summary: logstash-core - The core components of logstash
|
372
|
-
test_files:
|
273
|
+
test_files:
|
274
|
+
- spec/core/conditionals_spec.rb
|
275
|
+
- spec/core/config_mixin_spec.rb
|
276
|
+
- spec/core/config_spec.rb
|
277
|
+
- spec/core/environment_spec.rb
|
278
|
+
- spec/core/event_spec.rb
|
279
|
+
- spec/core/pipeline_spec.rb
|
280
|
+
- spec/core/plugin_spec.rb
|
281
|
+
- spec/core/runner_spec.rb
|
282
|
+
- spec/core/timestamp_spec.rb
|
283
|
+
- spec/filters/base_spec.rb
|
284
|
+
- spec/inputs/base_spec.rb
|
285
|
+
- spec/lib/logstash/bundler_spec.rb
|
286
|
+
- spec/lib/logstash/java_integration_spec.rb
|
287
|
+
- spec/logstash/agent_spec.rb
|
288
|
+
- spec/outputs/base_spec.rb
|
289
|
+
- spec/spec_helper.rb
|
290
|
+
- spec/util/accessors_spec.rb
|
291
|
+
- spec/util/charset_spec.rb
|
292
|
+
- spec/util/fieldeval_spec.rb
|
293
|
+
- spec/util/gemfile_spec.rb
|
294
|
+
- spec/util/json_spec.rb
|
295
|
+
- spec/util/plugin_version_spec.rb
|
296
|
+
- spec/util_spec.rb
|