logstash-filter-dissect 1.2.6 → 1.3.0

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: c6e6a0009d38470f729b4b63e2619c6bc4cfcecdfa46b2e9aa117afb2faa7415
4
- data.tar.gz: dc20f2bfb2b36e78f71e515a1e968dda4fcc1adb28fa6111d71f58a7027a8575
3
+ metadata.gz: 97eae16268976430784ea3f87f247548b72fcacb3412b85ae432af685b042bab
4
+ data.tar.gz: c44ddf6148d89cf431aa2e7d2924e86cde7761d3ff35b548079962b440b4c518
5
5
  SHA512:
6
- metadata.gz: 1f287e24d8496f7f06ecf93ec601c3b999f3fe98dda728cb56af50aeed330943c1d69ff2a0362b324cba409a1da6776cc1d5f0dad1f22d586f4b9e78a67bf7f7
7
- data.tar.gz: 88958a8175721b12101f940e05a2cb80f960cee79f576dff1788654123728a494686a96a0826500f17d9ee947b471983779b9351d36b20ba8d3ee5a7d0b04c36
6
+ metadata.gz: 6a566963d3ba896ecf5a9bb42ae98b4fc1c4c7b95107c8b85e24c96a2b0a5be3c7dd0e9f592fc80e48350cee0b5b39a3161e97846c9c4540e06f6a7ecc7063c9
7
+ data.tar.gz: a696578138ee64e0f229452eed67f972b4fc977f76406eb324cc6ea909cb57a2ba76910ec8988c83b40310d0f09f1d5308c632e75544683103b00bdc51dc3b7f
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 1.3.0
2
+ - Add JRuby 10 support: replace removed `NativeException` with `RaiseException`, source JRuby from Logstash vendor directory instead of pinning Maven version [#96](https://github.com/logstash-plugins/logstash-filter-dissect/pull/96)
3
+
1
4
  ## 1.2.6
2
5
  - Re-packaging the plugin [#93](https://github.com/logstash-plugins/logstash-filter-dissect/pull/93)
3
6
  - Removed `jar-dependencies` dependency [#91](https://github.com/logstash-plugins/logstash-filter-dissect/pull/91)
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.6
1
+ 1.3.0
@@ -1,4 +1,4 @@
1
1
  # AUTOGENERATED BY THE GRADLE SCRIPT. DO NOT EDIT.
2
2
 
3
3
  require 'jar_dependencies'
4
- require_jar('org.logstash.dissect', 'jruby-dissect-library', '1.2.6')
4
+ require_jar('org.logstash.dissect', 'jruby-dissect-library', '1.3.0')
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'logstash-filter-dissect'
3
- s.version = '1.2.6' # version will be checked against VERSION file by `rake vendor`
3
+ s.version = '1.3.0' # version will be checked against VERSION file by `rake vendor`
4
4
  s.licenses = ['Apache License (2.0)']
5
5
  s.summary = "Extracts unstructured event data into fields using delimiters"
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"
@@ -1,5 +1,6 @@
1
1
  # encoding: utf-8
2
2
  require 'spec_helper'
3
+ require 'bigdecimal'
3
4
  require "logstash/filters/dissect"
4
5
 
5
6
  describe LogStash::Filters::Dissect do
@@ -184,7 +185,7 @@ describe LogStash::Filters::Dissect do
184
185
  CONFIG
185
186
  end
186
187
  sample({"big_number" => "43947404257507186289.345324"}) do
187
- expect(subject.get("big_number")).to eq(BigDecimal.new("43947404257507186289.345324"))
188
+ expect(subject.get("big_number")).to eq(BigDecimal("43947404257507186289.345324"))
188
189
  end
189
190
  end
190
191
 
@@ -245,7 +246,7 @@ describe LogStash::Filters::Dissect do
245
246
  context "when field is defined as Append and Indirect (+&)" do
246
247
  let(:config) { {"mapping" => {"message" => "%{+&timestamp}"}}}
247
248
  it "raises an error in register" do
248
- msg = /\Aorg\.logstash\.dissect\.fields\.InvalidFieldException: Field cannot prefix with both Append and Indirect Prefix .+/
249
+ msg = /Field cannot prefix with both Append and Indirect Prefix .+/
249
250
  expect{filter.register}.to raise_exception(LogStash::FieldFormatError, msg)
250
251
  end
251
252
  end
@@ -253,7 +254,7 @@ describe LogStash::Filters::Dissect do
253
254
  context "when field is defined as Indirect and Append (&+)" do
254
255
  let(:config) { {"mapping" => {"message" => "%{&+timestamp}"}}}
255
256
  it "raises an error in register" do
256
- msg = /\Aorg\.logstash\.dissect\.fields\.InvalidFieldException: Field cannot prefix with both Append and Indirect Prefix .+/
257
+ msg = /Field cannot prefix with both Append and Indirect Prefix .+/
257
258
  expect{filter.register}.to raise_exception(LogStash::FieldFormatError, msg)
258
259
  end
259
260
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logstash-filter-dissect
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.6
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Elastic
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2026-01-31 00:00:00.000000000 Z
10
+ date: 2026-03-26 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: logstash-core-plugin-api
@@ -81,7 +81,7 @@ files:
81
81
  - spec/filters/dissect_spec.rb
82
82
  - spec/fixtures/dissect_tests.json
83
83
  - spec/spec_helper.rb
84
- - vendor/jar-dependencies/org/logstash/dissect/jruby-dissect-library/1.2.6/jruby-dissect-library-1.2.6.jar
84
+ - vendor/jar-dependencies/org/logstash/dissect/jruby-dissect-library/1.3.0/jruby-dissect-library-1.3.0.jar
85
85
  homepage: http://www.elastic.co/guide/en/logstash/current/index.html
86
86
  licenses:
87
87
  - Apache License (2.0)