logstash-output-elasticsearch 12.1.1-java → 12.1.2-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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '08135dc15de209b951703057314df5493f3ca44a7ab21578eb8997108a36f4f2'
4
- data.tar.gz: 55d9cd8e495d22b6a64a2c574683a9de135c146100a2d8c323b383534141abc1
3
+ metadata.gz: 59124c8f411f8bcb4742b43cc81cc075676732feef3275eac6898e3bf2341021
4
+ data.tar.gz: 26a524985bbf66a83b19807b6ebcb9fab824b3172a1718c1cedd85cc8f142be6
5
5
  SHA512:
6
- metadata.gz: 5e1e7e016fdbda8b0e19936ad9c103cfb6f87998987ff88bc8bd27a98f2578bead26cf47ec23e350a6aa724eea983b2961e4553e9a7dd8c286fa764ead24d0f4
7
- data.tar.gz: e4279d7395d4bd23c5cfd28c6f68b4998230b32c3d58876b17413e403009f70c0d37fa2e62598f8b098a42fba3d818332bac3fa024d422c70fdbe003764ae942
6
+ metadata.gz: c9afff55af20a6b184a5ec912b8f96387bf3310b4de884972a3e98b7146bf2873b4a60e18f6781692cfa4c92c99fd25ef6da9ccc8a0ea4391c70eb41e81a9b5c
7
+ data.tar.gz: 1599a3d08006c0ca14c7b671eea25772aeb0f6b419682ac5d6ee030fd2dfda2aef34a68dea12cd30e6f0643260b81e360063f28b46278ccb2b4be2232dfe1b1b
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 12.1.2
2
+ - Fix: replace deprecated `File.exists?` with `File.exist?` for Ruby 3.4 (JRuby 10) compatibility [#1238](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/1238)
3
+
1
4
  ## 12.1.1
2
5
  - Remove duplicated deprecation log entry [#1232](https://github.com/logstash-plugins/logstash-output-elasticsearch/pull/1232)
3
6
 
@@ -99,7 +99,7 @@ module LogStash; module Outputs; class ElasticSearch
99
99
  end
100
100
 
101
101
  def self.read_template_file(template_path)
102
- raise LogStash::ConfigurationError, "Template file '#{template_path}' could not be found" unless ::File.exists?(template_path)
102
+ raise LogStash::ConfigurationError, "Template file '#{template_path}' could not be found" unless ::File.exist?(template_path)
103
103
  template_data = ::IO.read(template_path)
104
104
  LogStash::Json.load(template_data)
105
105
  rescue => e
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-output-elasticsearch'
3
- s.version = '12.1.1'
3
+ s.version = '12.1.2'
4
4
  s.licenses = ['apache-2.0']
5
5
  s.summary = "Stores logs in Elasticsearch"
6
6
  s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"
@@ -331,7 +331,8 @@ describe LogStash::Outputs::ElasticSearch::HttpClient::Pool do
331
331
 
332
332
  expect(subject.url_meta(u)[:state]).to eql(:dead)
333
333
  sleep subject.resurrect_delay + 1
334
- expect(subject.url_meta(u)[:state]).to eql(:alive)
334
+ # try a few times with exponential backoff as timing is not 100% guaranteed during CI execution.
335
+ try(10) { expect(subject.url_meta(u)[:state]).to eql(:alive) }
335
336
  end
336
337
  end
337
338
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-output-elasticsearch
3
3
  version: !ruby/object:Gem::Version
4
- version: 12.1.1
4
+ version: 12.1.2
5
5
  platform: java
6
6
  authors:
7
7
  - Elastic
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-10-29 00:00:00.000000000 Z
10
+ date: 2026-02-11 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: manticore