logstash-filter-json 3.2.0 → 3.2.1

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: 1d8dd02cb31a875faa49636427beab66b17798ac5499b6e9b91d53de45338755
4
- data.tar.gz: 9b432a60a254803890de354b4bf621daaa31ec4559295f35bb35b71949f93e1e
3
+ metadata.gz: 8852a608ce1205d62dd39484691741ed91ef56216c18b6a8ebecba9c7a635786
4
+ data.tar.gz: 926aa9dde94aa7f17b57339d591e4bf58e42857410b286ef498772ecbbf7156d
5
5
  SHA512:
6
- metadata.gz: 03bd69b0d76a7a8687cce10c34afee2a4f81b0f5afff295afc6408c466f46b3aa5b9b7945abd19738b04bb9575e5c4be709cc2305dcb9d6539a9a09c63d3199d
7
- data.tar.gz: 6720536a8195817032cb0bb70106feb56df1254783e5ae424797b46fbc9a8afe19d2e922cfa28fc9cace0bd8097b3973564fd7679288da9770b2009a3cc5880f
6
+ metadata.gz: c82e8e941d8622eee349db6fbe17ad3a1c45ab3e13768dbd366cc02f3fa26896ef5370774a0072ddb6933a7fdbb6efa869c3b2c6bd59c9009fe1b954d58dd752
7
+ data.tar.gz: ff040327fa3560ea991155c5c09a006c32231ed59de84af6e1f01568a1c9ad73b681b70b563afcd91a7364964ec8732a2e110dd93b958272960e6138e5e411ff
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 3.2.1
2
+ - Fix tag on failure test [#52](https://github.com/logstash-plugins/logstash-filter-json/pull/52)
3
+
1
4
  ## 3.2.0
2
5
  - Feat: check target is set in ECS mode [#49](https://github.com/logstash-plugins/logstash-filter-json/pull/49)
3
6
  - Refactor: logging improvements to print event details in debug mode
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
 
3
3
  s.name = 'logstash-filter-json'
4
- s.version = '3.2.0'
4
+ s.version = '3.2.1'
5
5
  s.licenses = ['Apache License (2.0)']
6
6
  s.summary = "Parses JSON events"
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"
@@ -62,8 +62,9 @@ describe LogStash::Filters::Json do
62
62
  end
63
63
 
64
64
  logstash_version = Gem::Version.create(LOGSTASH_CORE_VERSION)
65
-
66
- if (Gem::Requirement.create('>= 7.0').satisfied_by?(logstash_version) ||
65
+
66
+ # Field Reference can handle special characters since 8.3.0
67
+ if ((Gem::Requirement.create('>= 7.0').satisfied_by?(logstash_version) && Gem::Requirement.create('< 8.3').satisfied_by?(logstash_version)) ||
67
68
  (Gem::Requirement.create('~> 6.4').satisfied_by?(logstash_version) && LogStash::SETTINGS.get('config.field_reference.parser') == 'STRICT'))
68
69
  describe "unsupported field name using `target`" do
69
70
  config <<-CONFIG
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-filter-json
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 3.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-17 00:00:00.000000000 Z
11
+ date: 2023-12-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -125,8 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  - !ruby/object:Gem::Version
126
126
  version: '0'
127
127
  requirements: []
128
- rubyforge_project:
129
- rubygems_version: 2.6.13
128
+ rubygems_version: 3.2.33
130
129
  signing_key:
131
130
  specification_version: 4
132
131
  summary: Parses JSON events