logstash-core 5.0.0.alpha3.snapshot6-java → 5.0.0.alpha3.snapshot7-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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: eadab99495c889eb6e28493c540bdee17bd9720b
4
- data.tar.gz: c895be838504aaa3d56b816f726e67c70c9d6b1e
3
+ metadata.gz: 5aa8e73caddd6ffb57b48b7de34e316ff0e65413
4
+ data.tar.gz: e5d125bdaba8c1328fb91dd8e8988f9461fbf04a
5
5
  SHA512:
6
- metadata.gz: c2ccf45abb4062a722d4ddb20004157b72c1160173cfbe836f71ef7bb5c54194ed6fb1646799fa62129abd52a20a25a9043482834c50da364a26105e840867f3
7
- data.tar.gz: 6d4c3652e704eb0e5f227a5e876bf6a70556760f35ed610950b4568d5efeda32671249f8cc87d7bfa968770deb73b350d1b7bed730feb3eafa579bbd60ad3d9c
6
+ metadata.gz: 6bbbb8127f6c0ae613d4526552f22d78639ae0c65320e91c40906ed0bea1a39edbae900fe108baf99f56c2f7e7be1959ad78f87c861ed099df42dba550ddd7ec
7
+ data.tar.gz: 74d16439a5aea9ec923dd3b528c0e58b9802443256e9082060ef69019464462936047facea302964ba088653fb88a57336ed0534a739b632e9d084df12a9118d
@@ -5,4 +5,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
7
 
8
- LOGSTASH_CORE_VERSION = "5.0.0-alpha3.snapshot6"
8
+ LOGSTASH_CORE_VERSION = "5.0.0-alpha3.snapshot7"
@@ -21,7 +21,7 @@ module LogStash
21
21
  end
22
22
 
23
23
  def find_plugins_gem_specs
24
- @specs ||= Gem::Specification.find_all.select{|spec| logstash_plugin_gem_spec?(spec)}
24
+ @specs ||= ::Gem::Specification.find_all.select{|spec| logstash_plugin_gem_spec?(spec)}
25
25
  end
26
26
 
27
27
  def logstash_plugin_gem_spec?(spec)
@@ -7,6 +7,8 @@ module LogStash
7
7
  class Base < ::Sinatra::Base
8
8
  helpers AppHelpers
9
9
 
10
+ set :environment, :production
11
+
10
12
  attr_reader :factory
11
13
 
12
14
  if settings.environment != :production
@@ -11,4 +11,4 @@
11
11
  # eventually this file should be in the root logstash lib fir and dependencies in logstash-core should be
12
12
  # fixed.
13
13
 
14
- LOGSTASH_VERSION = "5.0.0-alpha3.snapshot6"
14
+ LOGSTASH_VERSION = "5.0.0-alpha3.snapshot7"
@@ -17,7 +17,7 @@ Gem::Specification.new do |gem|
17
17
  gem.require_paths = ["lib"]
18
18
  gem.version = LOGSTASH_CORE_VERSION.gsub(/-/, '.')
19
19
 
20
- gem.add_runtime_dependency "logstash-core-event-java", "5.0.0.alpha3.snapshot6"
20
+ gem.add_runtime_dependency "logstash-core-event-java", "5.0.0.alpha3.snapshot7"
21
21
 
22
22
  gem.add_runtime_dependency "cabin", "~> 0.8.0" #(Apache 2.0 license)
23
23
  gem.add_runtime_dependency "pry", "~> 0.10.1" #(Ruby license)
@@ -27,7 +27,7 @@ Gem::Specification.new do |gem|
27
27
  gem.add_runtime_dependency "gems", "~> 0.8.3" #(MIT license)
28
28
  gem.add_runtime_dependency "concurrent-ruby", "1.0.0"
29
29
  gem.add_runtime_dependency "sinatra", '~> 1.4', '>= 1.4.6'
30
- gem.add_runtime_dependency 'puma', '~> 3.4.0'
30
+ gem.add_runtime_dependency 'puma', '~> 2.16'
31
31
  gem.add_runtime_dependency "jruby-openssl", "0.9.16" # >= 0.9.13 Required to support TLSv1.2
32
32
  gem.add_runtime_dependency "chronic_duration", "0.10.6"
33
33
  gem.add_runtime_dependency "jrmonitor", '~> 0.4.2'
@@ -23,7 +23,7 @@ describe LogStash::Api::Modules::Plugins do
23
23
  end
24
24
 
25
25
  it "return valid json content type" do
26
- expect(last_response.content_type).to eq("application/json")
26
+ expect(last_response.content_type).to eq("application/json"), "Did not get json, got #{last_response.content_type} / #{last_response.body}"
27
27
  end
28
28
 
29
29
  context "#schema" do
@@ -1,8 +1,12 @@
1
1
  # encoding: utf-8
2
2
  API_ROOT = File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "lib", "logstash", "api"))
3
3
 
4
+
5
+
4
6
  require "logstash/devutils/rspec/spec_helper"
5
- require "api/lib/api/support/resource_dsl_methods"
7
+
8
+ $LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__)))
9
+ require "lib/api/support/resource_dsl_methods"
6
10
 
7
11
  require "logstash/settings"
8
12
  require 'rack/test'
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: 5.0.0.alpha3.snapshot6
4
+ version: 5.0.0.alpha3.snapshot7
5
5
  platform: java
6
6
  authors:
7
7
  - Elastic
@@ -15,7 +15,7 @@ dependencies:
15
15
  requirements:
16
16
  - - '='
17
17
  - !ruby/object:Gem::Version
18
- version: 5.0.0.alpha3.snapshot6
18
+ version: 5.0.0.alpha3.snapshot7
19
19
  name: logstash-core-event-java
20
20
  prerelease: false
21
21
  type: :runtime
@@ -23,7 +23,7 @@ dependencies:
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 5.0.0.alpha3.snapshot6
26
+ version: 5.0.0.alpha3.snapshot7
27
27
  - !ruby/object:Gem::Dependency
28
28
  requirement: !ruby/object:Gem::Requirement
29
29
  requirements:
@@ -147,7 +147,7 @@ dependencies:
147
147
  requirements:
148
148
  - - ~>
149
149
  - !ruby/object:Gem::Version
150
- version: 3.4.0
150
+ version: '2.16'
151
151
  name: puma
152
152
  prerelease: false
153
153
  type: :runtime
@@ -155,7 +155,7 @@ dependencies:
155
155
  requirements:
156
156
  - - ~>
157
157
  - !ruby/object:Gem::Version
158
- version: 3.4.0
158
+ version: '2.16'
159
159
  - !ruby/object:Gem::Dependency
160
160
  requirement: !ruby/object:Gem::Requirement
161
161
  requirements: