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 +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/logstash/filters/dictionary/file.rb +2 -2
- data/logstash-filter-translate.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5dd95b002f8ce574a0fe07ddd03a75474f36af8c03f5d14d5e6a1e4c06bfb6a6
|
|
4
|
+
data.tar.gz: b6083a29255aeacc5d568686f1ec397392da4b1c76cafc4877eb75d20d65b92a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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.
|
|
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.
|
|
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-
|
|
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
|