From d3d5845623040539eee9cd25e62a78e12b065897 Mon Sep 17 00:00:00 2001 From: Andrea Singh Date: Sun, 8 Dec 2024 18:08:12 -0800 Subject: [PATCH] Fix conditional in gemspec --- fluent-plugin-kafka.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fluent-plugin-kafka.gemspec b/fluent-plugin-kafka.gemspec index db3381f..ceace4f 100644 --- a/fluent-plugin-kafka.gemspec +++ b/fluent-plugin-kafka.gemspec @@ -22,7 +22,7 @@ Gem::Specification.new do |gem| if ENV['USE_RDKAFKA'] gem.add_dependency 'rdkafka', [ENV['RDKAFKA_VERSION_MIN_RANGE'], ENV['RDKAFKA_VERSION_MAX_RANGE']] - if Gem::Version.new('3.0') >= Gem::Version.new(RUBY_VERSION) + if Gem::Version.new(RUBY_VERSION) >= Gem::Version.new('3.0') gem.add_dependency 'aws-msk-iam-sasl-signer', '~> 0.1.1' end end