logstash-filter-translate 3.4.1 → 3.4.2

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: 2159e15fd76b237d148128893d1ee1de04787628a72f31a889021220d24ecd68
4
- data.tar.gz: '05348931cfb26f1f6968ebe703c43c9d4b0f744deba529c66bc4b8887805b79d'
3
+ metadata.gz: 5dd95b002f8ce574a0fe07ddd03a75474f36af8c03f5d14d5e6a1e4c06bfb6a6
4
+ data.tar.gz: b6083a29255aeacc5d568686f1ec397392da4b1c76cafc4877eb75d20d65b92a
5
5
  SHA512:
6
- metadata.gz: e0c5b356db73ea5815fad77e8335c4788857cf3bd9f79688152d0152fbf4e9cfd76297f0d0289a407f502a7475adf389398e2cbc9c69166337dc90dab0db1fc8
7
- data.tar.gz: c66b52755ff2913c3e840ae08476636c07cd5cb90cebaaf9d8d128f4f0e132cb0b4b332730c2522ff79b1c9f76f2181f12063c54c8bac1adb7afa16c850ae82f
6
+ metadata.gz: 2f5eacb57a610ced23bb30652b00df13f83c9d4f522e20f9ecb0a68624e86f725291639cd7e3f6556b143090be95fcd3668647b060deb830a67fbe8a8496c459
7
+ data.tar.gz: 64c0baa75c79a60618e0c8dbe8d7de256e550d1c6e303070ead226b9006ac990eef8bbe4b9bcb07ac57deed14275147a34a6bcb6fa2d565fd1d383c62c39ec1f
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 3.4.2
2
+ - Fixed JRuby 9.4 compatibility issue[#n](https://github.com/logstash-plugins/logstash-filter-translate/pull/n)
3
+
1
4
  ## 3.4.1
2
5
  - Fix the limitation of the size of yaml file that exceeds 3MB [#97](https://github.com/logstash-plugins/logstash-filter-translate/pull/97)
3
6
 
@@ -11,7 +11,7 @@ module LogStash module Filters module Dictionary
11
11
 
12
12
  def self.create(path, refresh_interval, refresh_behaviour, exact, regex, **file_type_args)
13
13
  if /\.y[a]?ml$/.match(path)
14
- instance = YamlFile.new(path, refresh_interval, exact, regex, file_type_args)
14
+ instance = YamlFile.new(path, refresh_interval, exact, regex, **file_type_args)
15
15
  elsif path.end_with?(".json")
16
16
  instance = JsonFile.new(path, refresh_interval, exact, regex)
17
17
  elsif path.end_with?(".csv")
@@ -39,7 +39,7 @@ module LogStash module Filters module Dictionary
39
39
  @write_lock = rw_lock.writeLock
40
40
  @dictionary = Hash.new
41
41
  @update_method = method(:merge_dictionary)
42
- initialize_for_file_type(file_type_args)
42
+ initialize_for_file_type(**file_type_args)
43
43
  args = [@dictionary, rw_lock]
44
44
  klass = case
45
45
  when exact && regex then FetchStrategy::File::ExactRegex
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-filter-translate'
4
- s.version = '3.4.1'
4
+ s.version = '3.4.2'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Replaces field contents based on a hash or YAML file"
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,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-filter-translate
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.1
4
+ version: 3.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-05-12 00:00:00.000000000 Z
11
+ date: 2023-06-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement