logstash-core 1.5.5-java → 1.5.6-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/patches.rb +0 -1
- data/lib/logstash/version.rb +1 -1
- data/logstash-core.gemspec +2 -2
- metadata +53 -54
- data/lib/logstash/patches/silence_concurrent_ruby_warning.rb +0 -54
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 723f34de549c83a2114afd134860e9a93cafb310
|
4
|
+
data.tar.gz: 73fce31c78dc734c8922fe2a38257c43bce819b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cec9fae39b4b2c75bf262b2be5749a65d9e13e534e5483e7f32179fb4528cf0a79eae63f35792f571b364711dd52b616cf40324c579a8a84e1ecb770fa35b6a3
|
7
|
+
data.tar.gz: e7882a5bef5a3b932c61f0992a68c81f4402ce6f034f4140b435bbb53203cc5ad45da640290a36487f6c4ad831c0caa8ed279c92350be9c70f4b20e5f6f37e13
|
data/lib/logstash/patches.rb
CHANGED
data/lib/logstash/version.rb
CHANGED
data/logstash-core.gemspec
CHANGED
@@ -23,7 +23,7 @@ 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", "
|
26
|
+
gem.add_runtime_dependency "concurrent-ruby", "0.9.2"
|
27
27
|
gem.add_runtime_dependency "jruby-openssl", ">= 0.9.11" # Required to support TLSv1.2
|
28
28
|
|
29
29
|
# TODO(sissel): Treetop 1.5.x doesn't seem to work well, but I haven't
|
@@ -39,7 +39,7 @@ Gem::Specification.new do |gem|
|
|
39
39
|
|
40
40
|
if RUBY_PLATFORM == 'java'
|
41
41
|
gem.platform = RUBY_PLATFORM
|
42
|
-
gem.add_runtime_dependency "jrjackson", "~> 0.3.
|
42
|
+
gem.add_runtime_dependency "jrjackson", "~> 0.3.7" #(Apache 2.0 license)
|
43
43
|
else
|
44
44
|
gem.add_runtime_dependency "oj" #(MIT-style license)
|
45
45
|
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.
|
4
|
+
version: 1.5.6
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Jordan Sissel
|
@@ -10,190 +10,190 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-
|
13
|
+
date: 2015-12-07 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
|
22
16
|
requirement: !ruby/object:Gem::Requirement
|
23
17
|
requirements:
|
24
18
|
- - ~>
|
25
19
|
- !ruby/object:Gem::Version
|
26
20
|
version: 0.7.0
|
21
|
+
name: cabin
|
27
22
|
prerelease: false
|
28
23
|
type: :runtime
|
29
|
-
- !ruby/object:Gem::Dependency
|
30
|
-
name: pry
|
31
24
|
version_requirements: !ruby/object:Gem::Requirement
|
32
25
|
requirements:
|
33
26
|
- - ~>
|
34
27
|
- !ruby/object:Gem::Version
|
35
|
-
version: 0.
|
28
|
+
version: 0.7.0
|
29
|
+
- !ruby/object:Gem::Dependency
|
36
30
|
requirement: !ruby/object:Gem::Requirement
|
37
31
|
requirements:
|
38
32
|
- - ~>
|
39
33
|
- !ruby/object:Gem::Version
|
40
34
|
version: 0.10.1
|
35
|
+
name: pry
|
41
36
|
prerelease: false
|
42
37
|
type: :runtime
|
43
|
-
- !ruby/object:Gem::Dependency
|
44
|
-
name: stud
|
45
38
|
version_requirements: !ruby/object:Gem::Requirement
|
46
39
|
requirements:
|
47
40
|
- - ~>
|
48
41
|
- !ruby/object:Gem::Version
|
49
|
-
version: 0.
|
42
|
+
version: 0.10.1
|
43
|
+
- !ruby/object:Gem::Dependency
|
50
44
|
requirement: !ruby/object:Gem::Requirement
|
51
45
|
requirements:
|
52
46
|
- - ~>
|
53
47
|
- !ruby/object:Gem::Version
|
54
48
|
version: 0.0.19
|
49
|
+
name: stud
|
55
50
|
prerelease: false
|
56
51
|
type: :runtime
|
57
|
-
- !ruby/object:Gem::Dependency
|
58
|
-
name: clamp
|
59
52
|
version_requirements: !ruby/object:Gem::Requirement
|
60
53
|
requirements:
|
61
54
|
- - ~>
|
62
55
|
- !ruby/object:Gem::Version
|
63
|
-
version: 0.
|
56
|
+
version: 0.0.19
|
57
|
+
- !ruby/object:Gem::Dependency
|
64
58
|
requirement: !ruby/object:Gem::Requirement
|
65
59
|
requirements:
|
66
60
|
- - ~>
|
67
61
|
- !ruby/object:Gem::Version
|
68
62
|
version: 0.6.5
|
63
|
+
name: clamp
|
69
64
|
prerelease: false
|
70
65
|
type: :runtime
|
71
|
-
- !ruby/object:Gem::Dependency
|
72
|
-
name: filesize
|
73
66
|
version_requirements: !ruby/object:Gem::Requirement
|
74
67
|
requirements:
|
75
|
-
- -
|
68
|
+
- - ~>
|
76
69
|
- !ruby/object:Gem::Version
|
77
|
-
version: 0.
|
70
|
+
version: 0.6.5
|
71
|
+
- !ruby/object:Gem::Dependency
|
78
72
|
requirement: !ruby/object:Gem::Requirement
|
79
73
|
requirements:
|
80
74
|
- - '='
|
81
75
|
- !ruby/object:Gem::Version
|
82
76
|
version: 0.0.4
|
77
|
+
name: filesize
|
83
78
|
prerelease: false
|
84
79
|
type: :runtime
|
85
|
-
- !ruby/object:Gem::Dependency
|
86
|
-
name: gems
|
87
80
|
version_requirements: !ruby/object:Gem::Requirement
|
88
81
|
requirements:
|
89
|
-
- -
|
82
|
+
- - '='
|
90
83
|
- !ruby/object:Gem::Version
|
91
|
-
version: 0.
|
84
|
+
version: 0.0.4
|
85
|
+
- !ruby/object:Gem::Dependency
|
92
86
|
requirement: !ruby/object:Gem::Requirement
|
93
87
|
requirements:
|
94
88
|
- - ~>
|
95
89
|
- !ruby/object:Gem::Version
|
96
90
|
version: 0.8.3
|
91
|
+
name: gems
|
97
92
|
prerelease: false
|
98
93
|
type: :runtime
|
99
|
-
- !ruby/object:Gem::Dependency
|
100
|
-
name: concurrent-ruby
|
101
94
|
version_requirements: !ruby/object:Gem::Requirement
|
102
95
|
requirements:
|
103
96
|
- - ~>
|
104
97
|
- !ruby/object:Gem::Version
|
105
|
-
version: 0.
|
98
|
+
version: 0.8.3
|
99
|
+
- !ruby/object:Gem::Dependency
|
106
100
|
requirement: !ruby/object:Gem::Requirement
|
107
101
|
requirements:
|
108
|
-
- -
|
102
|
+
- - '='
|
109
103
|
- !ruby/object:Gem::Version
|
110
|
-
version: 0.9.
|
104
|
+
version: 0.9.2
|
105
|
+
name: concurrent-ruby
|
111
106
|
prerelease: false
|
112
107
|
type: :runtime
|
113
|
-
- !ruby/object:Gem::Dependency
|
114
|
-
name: jruby-openssl
|
115
108
|
version_requirements: !ruby/object:Gem::Requirement
|
116
109
|
requirements:
|
117
|
-
- - '
|
110
|
+
- - '='
|
118
111
|
- !ruby/object:Gem::Version
|
119
|
-
version: 0.9.
|
112
|
+
version: 0.9.2
|
113
|
+
- !ruby/object:Gem::Dependency
|
120
114
|
requirement: !ruby/object:Gem::Requirement
|
121
115
|
requirements:
|
122
116
|
- - '>='
|
123
117
|
- !ruby/object:Gem::Version
|
124
118
|
version: 0.9.11
|
119
|
+
name: jruby-openssl
|
125
120
|
prerelease: false
|
126
121
|
type: :runtime
|
127
|
-
- !ruby/object:Gem::Dependency
|
128
|
-
name: treetop
|
129
122
|
version_requirements: !ruby/object:Gem::Requirement
|
130
123
|
requirements:
|
131
|
-
- -
|
124
|
+
- - '>='
|
132
125
|
- !ruby/object:Gem::Version
|
133
|
-
version:
|
126
|
+
version: 0.9.11
|
127
|
+
- !ruby/object:Gem::Dependency
|
134
128
|
requirement: !ruby/object:Gem::Requirement
|
135
129
|
requirements:
|
136
130
|
- - <
|
137
131
|
- !ruby/object:Gem::Version
|
138
132
|
version: 1.5.0
|
133
|
+
name: treetop
|
139
134
|
prerelease: false
|
140
135
|
type: :runtime
|
141
|
-
- !ruby/object:Gem::Dependency
|
142
|
-
name: i18n
|
143
136
|
version_requirements: !ruby/object:Gem::Requirement
|
144
137
|
requirements:
|
145
|
-
- -
|
138
|
+
- - <
|
146
139
|
- !ruby/object:Gem::Version
|
147
|
-
version:
|
140
|
+
version: 1.5.0
|
141
|
+
- !ruby/object:Gem::Dependency
|
148
142
|
requirement: !ruby/object:Gem::Requirement
|
149
143
|
requirements:
|
150
144
|
- - '='
|
151
145
|
- !ruby/object:Gem::Version
|
152
146
|
version: 0.6.9
|
147
|
+
name: i18n
|
153
148
|
prerelease: false
|
154
149
|
type: :runtime
|
155
|
-
- !ruby/object:Gem::Dependency
|
156
|
-
name: minitar
|
157
150
|
version_requirements: !ruby/object:Gem::Requirement
|
158
151
|
requirements:
|
159
|
-
- -
|
152
|
+
- - '='
|
160
153
|
- !ruby/object:Gem::Version
|
161
|
-
version: 0.
|
154
|
+
version: 0.6.9
|
155
|
+
- !ruby/object:Gem::Dependency
|
162
156
|
requirement: !ruby/object:Gem::Requirement
|
163
157
|
requirements:
|
164
158
|
- - ~>
|
165
159
|
- !ruby/object:Gem::Version
|
166
160
|
version: 0.5.4
|
161
|
+
name: minitar
|
167
162
|
prerelease: false
|
168
163
|
type: :runtime
|
169
|
-
- !ruby/object:Gem::Dependency
|
170
|
-
name: thread_safe
|
171
164
|
version_requirements: !ruby/object:Gem::Requirement
|
172
165
|
requirements:
|
173
166
|
- - ~>
|
174
167
|
- !ruby/object:Gem::Version
|
175
|
-
version: 0.
|
168
|
+
version: 0.5.4
|
169
|
+
- !ruby/object:Gem::Dependency
|
176
170
|
requirement: !ruby/object:Gem::Requirement
|
177
171
|
requirements:
|
178
172
|
- - ~>
|
179
173
|
- !ruby/object:Gem::Version
|
180
174
|
version: 0.3.5
|
175
|
+
name: thread_safe
|
181
176
|
prerelease: false
|
182
177
|
type: :runtime
|
183
|
-
- !ruby/object:Gem::Dependency
|
184
|
-
name: jrjackson
|
185
178
|
version_requirements: !ruby/object:Gem::Requirement
|
186
179
|
requirements:
|
187
180
|
- - ~>
|
188
181
|
- !ruby/object:Gem::Version
|
189
|
-
version: 0.3.
|
182
|
+
version: 0.3.5
|
183
|
+
- !ruby/object:Gem::Dependency
|
190
184
|
requirement: !ruby/object:Gem::Requirement
|
191
185
|
requirements:
|
192
186
|
- - ~>
|
193
187
|
- !ruby/object:Gem::Version
|
194
|
-
version: 0.3.
|
188
|
+
version: 0.3.7
|
189
|
+
name: jrjackson
|
195
190
|
prerelease: false
|
196
191
|
type: :runtime
|
192
|
+
version_requirements: !ruby/object:Gem::Requirement
|
193
|
+
requirements:
|
194
|
+
- - ~>
|
195
|
+
- !ruby/object:Gem::Version
|
196
|
+
version: 0.3.7
|
197
197
|
description: The core components of logstash, the scalable log and event management tool
|
198
198
|
email:
|
199
199
|
- jls@semicomplete.com
|
@@ -229,7 +229,6 @@ files:
|
|
229
229
|
- lib/logstash/patches/cabin.rb
|
230
230
|
- lib/logstash/patches/profile_require_calls.rb
|
231
231
|
- lib/logstash/patches/rubygems.rb
|
232
|
-
- lib/logstash/patches/silence_concurrent_ruby_warning.rb
|
233
232
|
- lib/logstash/patches/stronger_openssl_defaults.rb
|
234
233
|
- lib/logstash/pipeline.rb
|
235
234
|
- lib/logstash/plugin.rb
|
@@ -1,54 +0,0 @@
|
|
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
|