File tree Expand file tree Collapse file tree 2 files changed +5
-9
lines changed
lib/opentelemetry/instrumentation/rdkafka Expand file tree Collapse file tree 2 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 44#
55# SPDX-License-Identifier: Apache-2.0
66
7- appraise 'rdkafka-0.12.x' do
8- gem 'rdkafka' , '~> 0.12.0'
9- end
10-
11- appraise 'rdkafka-0.13.x' do
12- gem 'rdkafka' , '~> 0.13.0'
7+ %w[ 0.12.0 0.13.0 0.14.0 ] . each do |version |
8+ appraise "rdkafka-#{ version } " do
9+ gem 'rdkafka' , "~> #{ version } "
10+ end
1311end
1412
1513appraise 'rdkafka-latest' do
Original file line number Diff line number Diff line change @@ -9,10 +9,8 @@ module Instrumentation
99 module Rdkafka
1010 # The Instrumentation class contains logic to detect and install the Rdkafka instrumentation
1111 class Instrumentation < OpenTelemetry ::Instrumentation ::Base
12- MINIMUM_VERSION = Gem ::Version . new ( '0.10.0' )
13-
1412 compatible do
15- Gem ::Version . new ( ::Rdkafka ::VERSION ) >= MINIMUM_VERSION
13+ Gem ::Requirement . new ( '>= 0.10.0' , '< 0.15.0' ) . satisfied_by? ( ::Rdkafka ::VERSION )
1614 end
1715
1816 install do |_config |
You can’t perform that action at this time.
0 commit comments