logstash-integration-jdbc 5.4.5 → 5.4.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/logstash-integration-jdbc.gemspec +4 -2
- data/spec/inputs/jdbc_spec.rb +3 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d5c04b526284f336bb23a9fc70ba7a516fe14e2245a54369b7ee1880238b3152
|
4
|
+
data.tar.gz: def3a4fef6a0a94301973f3f27c04cad37665192845ff0e2c8597daee9176422
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 94a6e5c731897e4f1d83e161d4c009bb4d549249fb1d34f7e237bba8c6e0a71e742c9add3e34ed9499fb00315cde934b82cde88433f314bdaf146fc70880e50c
|
7
|
+
data.tar.gz: 1ebe17301cd731035da8751c82214d6591db988327589571abde08a5f69e797b0321b3622ddd803f1fa750903ea327e60ba5dbf9dff2a33d995b42b9cc716799
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
## 5.4.7
|
2
|
+
- Update sequel version to >= 5.74.0. It fixes the generic jdbc adapter to properly handle disconnect errors [#153](https://github.com/logstash-plugins/logstash-integration-jdbc/pull/153)
|
3
|
+
|
4
|
+
## 5.4.6
|
5
|
+
- Update sequel version to >= 5.73.0. The ibmdb and jdbc/db2 adapters were fixed to properly handle disconnect errors, removing the related connection from the pool [#144](https://github.com/logstash-plugins/logstash-integration-jdbc/pull/144)
|
6
|
+
|
1
7
|
## 5.4.5
|
2
8
|
- Pin sequel to < 5.72.0 due to ruby/bigdecimal#169 [#141](https://github.com/logstash-plugins/logstash-integration-jdbc/pull/141)
|
3
9
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'logstash-integration-jdbc'
|
3
|
-
s.version = '5.4.
|
3
|
+
s.version = '5.4.7'
|
4
4
|
s.licenses = ['Apache License (2.0)']
|
5
5
|
s.summary = "Integration with JDBC - input and filter plugins"
|
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"
|
@@ -29,7 +29,9 @@ Gem::Specification.new do |s|
|
|
29
29
|
# Restrict use of this plugin to versions of Logstash where support for integration plugins is present.
|
30
30
|
s.add_runtime_dependency "logstash-core", ">= 6.5.0"
|
31
31
|
s.add_runtime_dependency 'logstash-codec-plain'
|
32
|
-
|
32
|
+
# Pinned sequel version to >= 5.74.0 as it fixes the generic jdbc adapter to properly
|
33
|
+
# handle disconnection errors, and avoid stale connections in the pool.
|
34
|
+
s.add_runtime_dependency 'sequel', '>= 5.74.0'
|
33
35
|
s.add_runtime_dependency 'lru_redux' # lru cache with ttl
|
34
36
|
|
35
37
|
s.add_runtime_dependency 'tzinfo'
|
data/spec/inputs/jdbc_spec.rb
CHANGED
@@ -1610,6 +1610,9 @@ describe LogStash::Inputs::Jdbc do
|
|
1610
1610
|
end
|
1611
1611
|
|
1612
1612
|
it "raise a loading error" do
|
1613
|
+
expect(File.exists?(invalid_driver_jar_path)).to be true
|
1614
|
+
expect(FileTest.readable?(invalid_driver_jar_path)).to be false
|
1615
|
+
|
1613
1616
|
expect { plugin.register }.
|
1614
1617
|
to raise_error(LogStash::PluginLoadingError, /unable to load .*? from :jdbc_driver_library, file not readable/)
|
1615
1618
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: logstash-integration-jdbc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.4.
|
4
|
+
version: 5.4.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elastic
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-01-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
@@ -75,17 +75,17 @@ dependencies:
|
|
75
75
|
- !ruby/object:Gem::Dependency
|
76
76
|
requirement: !ruby/object:Gem::Requirement
|
77
77
|
requirements:
|
78
|
-
- - "
|
78
|
+
- - ">="
|
79
79
|
- !ruby/object:Gem::Version
|
80
|
-
version: 5.
|
80
|
+
version: 5.74.0
|
81
81
|
name: sequel
|
82
82
|
prerelease: false
|
83
83
|
type: :runtime
|
84
84
|
version_requirements: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
|
-
- - "
|
86
|
+
- - ">="
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version: 5.
|
88
|
+
version: 5.74.0
|
89
89
|
- !ruby/object:Gem::Dependency
|
90
90
|
requirement: !ruby/object:Gem::Requirement
|
91
91
|
requirements:
|