From 5a6209a79dccc8d76c0e65baa8a69c68270cbac4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Duarte?= Date: Mon, 4 Sep 2023 12:59:37 +0100 Subject: [PATCH] Pin sequel to < 5.72.0 due to ruby/bigdecimal#169 Sequel 5.72.0 explicitly depends on the bigdecimal gem, causing JRuby to attempt to use the gem, install native extensions and fail. Pinning to < 5.72.0 until https://github.com/ruby/bigdecimal/issues/169 is solved. Also related: https://github.com/jeremyevans/sequel/issues/2076 --- logstash-integration-jdbc.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/logstash-integration-jdbc.gemspec b/logstash-integration-jdbc.gemspec index bf00a32..c88c13b 100755 --- a/logstash-integration-jdbc.gemspec +++ b/logstash-integration-jdbc.gemspec @@ -29,7 +29,7 @@ Gem::Specification.new do |s| # Restrict use of this plugin to versions of Logstash where support for integration plugins is present. s.add_runtime_dependency "logstash-core", ">= 6.5.0" s.add_runtime_dependency 'logstash-codec-plain' - s.add_runtime_dependency 'sequel' + s.add_runtime_dependency 'sequel', '< 5.72.0' # until https://github.com/ruby/bigdecimal/issues/169 is fixed s.add_runtime_dependency 'lru_redux' # lru cache with ttl s.add_runtime_dependency 'tzinfo'