logstash-core 1.5.0.rc2.snapshot-java → 1.5.0.rc3-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.

@@ -1,5 +1,6 @@
1
- module LogStash::PluginManager
1
+ require "rubygems/package"
2
2
 
3
+ module LogStash::PluginManager
3
4
  # check for valid logstash plugin gem name & version or .gem file, logs errors to $stdout
4
5
  # uses Rubygems API and will remotely validated agains the current Gem.sources
5
6
  # @param plugin [String] plugin name or .gem file path
@@ -85,4 +86,4 @@ module LogStash::PluginManager
85
86
  # TODO: properly merge versions requirements
86
87
  plugin_list.uniq(&:first)
87
88
  end
88
- end
89
+ end
@@ -1,15 +1,17 @@
1
1
  # encoding: utf-8
2
2
 
3
+ Thread.abort_on_exception = true
4
+
3
5
  Encoding.default_external = Encoding::UTF_8
4
6
  $START = Time.now
5
7
  $DEBUGLIST = (ENV["DEBUG"] || "").split(",")
6
8
 
9
+ require "logstash/bundler"
10
+ LogStash::Bundler.setup!
11
+
7
12
  require "logstash/environment"
8
- LogStash::Environment.bundler_setup!
9
13
  LogStash::Environment.load_locale!
10
14
 
11
- Thread.abort_on_exception = true
12
-
13
15
  require "logstash/namespace"
14
16
  require "logstash/program"
15
17
 
@@ -148,5 +148,4 @@ module LogStash::Util
148
148
  o
149
149
  end
150
150
  end
151
-
152
151
  end # module LogStash::Util
@@ -53,6 +53,12 @@ module LogStash::Util
53
53
  end
54
54
  end
55
55
 
56
+ def include?(accessor)
57
+ target, key = lookup_path(accessor)
58
+ return false unless target
59
+ target.is_a?(Array) ? !target[key.to_i].nil? : target.include?(key)
60
+ end
61
+
56
62
  private
57
63
 
58
64
  def lookup(accessor)
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  # The version of logstash.
3
- LOGSTASH_VERSION = "1.5.0.rc2.snapshot"
3
+ LOGSTASH_VERSION = "1.5.0-rc3"
4
4
 
5
5
  # Note to authors: this should not include dashes because 'gem' barfs if
6
6
  # you include a dash in the version string.
@@ -7,6 +7,11 @@ en:
7
7
  The error reported is:
8
8
  %{error}
9
9
  logstash:
10
+ environment:
11
+ jruby-required: >-
12
+ JRuby is required
13
+ missing-jars: >-
14
+ Could not find jar files under %{pattern}
10
15
  pipeline:
11
16
  worker-error: |-
12
17
  A plugin had an unrecoverable error. Will restart this plugin.
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.rc2.snapshot
4
+ version: 1.5.0.rc3
5
5
  platform: java
6
6
  authors:
7
7
  - Jordan Sissel
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-03-06 00:00:00.000000000 Z
13
+ date: 2015-04-22 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: cabin
@@ -166,48 +166,6 @@ dependencies:
166
166
  version: '0'
167
167
  prerelease: false
168
168
  type: :runtime
169
- - !ruby/object:Gem::Dependency
170
- name: jar-dependencies
171
- version_requirements: !ruby/object:Gem::Requirement
172
- requirements:
173
- - - '='
174
- - !ruby/object:Gem::Version
175
- version: 0.1.7
176
- requirement: !ruby/object:Gem::Requirement
177
- requirements:
178
- - - '='
179
- - !ruby/object:Gem::Version
180
- version: 0.1.7
181
- prerelease: false
182
- type: :runtime
183
- - !ruby/object:Gem::Dependency
184
- name: ruby-maven
185
- version_requirements: !ruby/object:Gem::Requirement
186
- requirements:
187
- - - '='
188
- - !ruby/object:Gem::Version
189
- version: 3.1.1.0.8
190
- requirement: !ruby/object:Gem::Requirement
191
- requirements:
192
- - - '='
193
- - !ruby/object:Gem::Version
194
- version: 3.1.1.0.8
195
- prerelease: false
196
- type: :runtime
197
- - !ruby/object:Gem::Dependency
198
- name: maven-tools
199
- version_requirements: !ruby/object:Gem::Requirement
200
- requirements:
201
- - - '='
202
- - !ruby/object:Gem::Version
203
- version: 1.0.7
204
- requirement: !ruby/object:Gem::Requirement
205
- requirements:
206
- - - '='
207
- - !ruby/object:Gem::Version
208
- version: 1.0.7
209
- prerelease: false
210
- type: :runtime
211
169
  - !ruby/object:Gem::Dependency
212
170
  name: minitar
213
171
  version_requirements: !ruby/object:Gem::Requirement
@@ -236,20 +194,6 @@ dependencies:
236
194
  version: 0.1.6
237
195
  prerelease: false
238
196
  type: :runtime
239
- - !ruby/object:Gem::Dependency
240
- name: jruby-httpclient
241
- version_requirements: !ruby/object:Gem::Requirement
242
- requirements:
243
- - - '>='
244
- - !ruby/object:Gem::Version
245
- version: '0'
246
- requirement: !ruby/object:Gem::Requirement
247
- requirements:
248
- - - '>='
249
- - !ruby/object:Gem::Version
250
- version: '0'
251
- prerelease: false
252
- type: :runtime
253
197
  - !ruby/object:Gem::Dependency
254
198
  name: jrjackson
255
199
  version_requirements: !ruby/object:Gem::Requirement
@@ -368,15 +312,17 @@ files:
368
312
  - lib/logstash/outputs/base.rb
369
313
  - lib/logstash/patches.rb
370
314
  - lib/logstash/patches/bugfix_jruby_2558.rb
315
+ - lib/logstash/patches/bundler.rb
371
316
  - lib/logstash/patches/cabin.rb
372
317
  - lib/logstash/patches/profile_require_calls.rb
318
+ - lib/logstash/patches/rubygems.rb
373
319
  - lib/logstash/pipeline.rb
374
320
  - lib/logstash/plugin.rb
375
321
  - lib/logstash/pluginmanager.rb
322
+ - lib/logstash/pluginmanager/command.rb
376
323
  - lib/logstash/pluginmanager/install.rb
377
324
  - lib/logstash/pluginmanager/list.rb
378
325
  - lib/logstash/pluginmanager/main.rb
379
- - lib/logstash/pluginmanager/maven_tools_patch.rb
380
326
  - lib/logstash/pluginmanager/uninstall.rb
381
327
  - lib/logstash/pluginmanager/update.rb
382
328
  - lib/logstash/pluginmanager/util.rb
@@ -399,7 +345,7 @@ files:
399
345
  - lib/logstash/util/socket_peer.rb
400
346
  - lib/logstash/version.rb
401
347
  - locales/en.yml
402
- homepage: http://logstash.net/
348
+ homepage: http://www.elastic.co/guide/en/logstash/current/index.html
403
349
  licenses:
404
350
  - Apache License (2.0)
405
351
  metadata: {}
@@ -1,12 +0,0 @@
1
- # This adds the "repo" element to the jar-dependencies DSL
2
- # allowing a gemspec to require a jar that exists in a custom
3
- # maven repository
4
- # Example:
5
- # gemspec.requirements << "repo http://localhosty/repo"
6
- require 'maven/tools/dsl/project_gemspec'
7
- class Maven::Tools::DSL::ProjectGemspec
8
- def repo(url)
9
- @parent.repository(:id => url, :url => url)
10
- end
11
- end
12
-