logstash-codec-netflow 4.3.3 → 4.3.4

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: 1077f3fabf491578e56f3bdf62833fcc57fa84e7a45339a86041d0d3cab20ea9
4
- data.tar.gz: 483b793cab3301353f7631cba07eb82e6a560b62c9656cc0e718ef0286cc61ab
3
+ metadata.gz: 0a0436a4b6529212656674f6b7a4307b30f1b60084593763eebbaae0c7f68efc
4
+ data.tar.gz: f289d1013dfddcf32c564352b40fab98789af90b22814dd74922e393527ded98
5
5
  SHA512:
6
- metadata.gz: 67390c9542344deb69f6d862de01458e06d11932ecad4afc6ad824bc4d22abf22188786d309738294d7b311e688acebe0735d6ab8a5007f52cf8852acc5745cd
7
- data.tar.gz: b0ef1675c310fec9dd98ac6db3e8088c62feaa230a6a368d640b67c8ee25f2970edba1d52c49d8d3d619be38894a27f141f7c9c15cf554584210c7c3ffe2b44e
6
+ metadata.gz: 2ab8ad513812735cb01db6a6ebba7a87164886c19df329f04ea559e3048cf4161d54000a6630cd9f5b40fc2f822cef85812c71ab31d867dd681b519ee6b8a6e1
7
+ data.tar.gz: cdfafb33657520c39ee78006cfaa883bc380ac70f69e24f1da863447bef771e2a78402bfdafdb07fa58b4145105e4e933936968ae74b41e1d2e7a66ac32bd0db
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 4.3.4
2
+ - Fix: replace deprecated `File.exists?` with `File.exist?` for Ruby 3.4 (JRuby 10) compatibility [#215](https://github.com/logstash-plugins/logstash-codec-netflow/pull/215)
3
+
1
4
  ## 4.3.3
2
5
  - Fix NoMethodError when decode fails. [214](https://github.com/logstash-plugins/logstash-codec-netflow/pull/214)
3
6
 
@@ -401,7 +401,7 @@ class LogStash::Codecs::Netflow < LogStash::Codecs::Base
401
401
 
402
402
  # Allow the user to augment/override/rename the default fields
403
403
  if extra
404
- raise "#{self.class.name}: definitions file #{extra} does not exist" unless File.exists?(extra)
404
+ raise "#{self.class.name}: definitions file #{extra} does not exist" unless File.exist?(extra)
405
405
  begin
406
406
  fields.merge!(YAML.load_file(extra))
407
407
  rescue Exception => e
@@ -643,7 +643,7 @@ class LogStash::Codecs::Netflow < LogStash::Codecs::Base
643
643
  ##
644
644
  # @api private
645
645
  def do_load
646
- unless File.exists?(file_path)
646
+ unless File.exist?(file_path)
647
647
  logger.warn('Template Cache does not exist', :file_path => file_path)
648
648
  return
649
649
  end
@@ -668,7 +668,7 @@ class LogStash::Codecs::Netflow < LogStash::Codecs::Base
668
668
 
669
669
  logger.debug? and logger.debug('Writing templates to template cache', :file_path => file_path)
670
670
 
671
- fail('Template Cache not writable') if File.exists?(file_path) && !File.writable?(file_path)
671
+ fail('Template Cache not writable') if File.exist?(file_path) && !File.writable?(file_path)
672
672
 
673
673
  do_cleanup!
674
674
 
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-codec-netflow'
4
- s.version = '4.3.3'
4
+ s.version = '4.3.4'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Reads Netflow v5, Netflow v9 and IPFIX data"
7
7
  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"
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-codec-netflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.3
4
+ version: 4.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2026-01-21 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: logstash-core-plugin-api