logstash-output-elasticsearch 11.2.0-java → 11.2.1-java

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0bd2f7b95f4a121df8712ce601a2c56c228de6e113f90c96058c58f966af31db
4
- data.tar.gz: bac417c7d999e1676ed451cf5216b0b6085203b533fd7d5039abf3efbc070578
3
+ metadata.gz: 55d5bf15c3c83c50fc630b6de9b6e150b84bc82ef981b18b62043294323be07a
4
+ data.tar.gz: ed957435bcf63f85835d7eabf5f5a5c249f8dfe28183d204574bc8553e960907
5
5
  SHA512:
6
- metadata.gz: '09274b381e8026eb8527b5926318c603ffc776e645538671263f61fec3d00731e7695a13e2f72cdccd4037f1d7298975a6424f03115a38060f4e2e34f7498049'
7
- data.tar.gz: 47fddb97c3634cd68588bebaed1d0fac38d4eb33c3cc69083e59a9c13c1f74a87f7835e6fc7982762a2db19009150900ca7ac2bee213d973e56dc0a8fbcc1158
6
+ metadata.gz: 664ba0d3d5e26089b8a9b29a87cec5fb17da3ae7ead430b10572ca540236da0918f24a4df874d499074060683b8f57937fb5d7239c7c32778a51728d1378b431
7
+ data.tar.gz: d513fa0801d91b80b3434c7f7576e7c9874c7f36a699d35408981013a64a0762309371f2aeaecac5720e82225a44301c435f1328d63b1d056b6beccf0b5163db
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 11.2.1
2
+ - Fix referencing Gem classes from global lexical scope [#1044](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/1044)
3
+
1
4
  ## 11.2.0
2
5
  - Added preflight checks on Elasticsearch [#1026](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/1026)
3
6
 
@@ -37,8 +37,8 @@ module LogStash; module Outputs; class ElasticSearch; class HttpClient;
37
37
  ROOT_URI_PATH = '/'.freeze
38
38
  LICENSE_PATH = '/_license'.freeze
39
39
 
40
- VERSION_6_TO_7 = Gem::Requirement.new([">= 6.0.0", "< 7.0.0"])
41
- VERSION_7_TO_7_14 = Gem::Requirement.new([">= 7.0.0", "< 7.14.0"])
40
+ VERSION_6_TO_7 = ::Gem::Requirement.new([">= 6.0.0", "< 7.0.0"])
41
+ VERSION_7_TO_7_14 = ::Gem::Requirement.new([">= 7.0.0", "< 7.14.0"])
42
42
 
43
43
  DEFAULT_OPTIONS = {
44
44
  :healthcheck_path => ROOT_URI_PATH,
@@ -275,8 +275,8 @@ module LogStash; module Outputs; class ElasticSearch; class HttpClient;
275
275
  version_info = LogStash::Json.load(response.body)
276
276
  return false if version_info['version'].nil?
277
277
 
278
- version = Gem::Version.new(version_info["version"]['number'])
279
- return false if version < Gem::Version.new('6.0.0')
278
+ version = ::Gem::Version.new(version_info["version"]['number'])
279
+ return false if version < ::Gem::Version.new('6.0.0')
280
280
 
281
281
  if VERSION_6_TO_7.satisfied_by?(version)
282
282
  return valid_tagline?(version_info)
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-elasticsearch'
3
- s.version = '11.2.0'
3
+ s.version = '11.2.1'
4
4
 
5
5
  s.licenses = ['apache-2.0']
6
6
  s.summary = "Stores logs in Elasticsearch"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-elasticsearch
3
3
  version: !ruby/object:Gem::Version
4
- version: 11.2.0
4
+ version: 11.2.1
5
5
  platform: java
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-10-12 00:00:00.000000000 Z
11
+ date: 2021-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement