From ad49ba52a848fb85e435b85570eb2dae4f119b1e Mon Sep 17 00:00:00 2001 From: Sander Jans Date: Sat, 20 Jan 2024 20:29:26 +0100 Subject: [PATCH 1/2] chore: add appraisal for Sinatra 4. --- instrumentation/sinatra/Appraisals | 8 ++++++-- .../sinatra/opentelemetry-instrumentation-sinatra.gemspec | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/instrumentation/sinatra/Appraisals b/instrumentation/sinatra/Appraisals index f4ebf5e8a..837cb545c 100644 --- a/instrumentation/sinatra/Appraisals +++ b/instrumentation/sinatra/Appraisals @@ -4,8 +4,12 @@ # # SPDX-License-Identifier: Apache-2.0 -appraise 'sinatra-3.0.x' do - gem 'sinatra', '~> 3.0.0' +appraise 'sinatra-4.x' do + gem 'sinatra', '~> 4.0' +end + +appraise 'sinatra-3.x' do + gem 'sinatra', '~> 3.0' end appraise 'sinatra-2.x' do diff --git a/instrumentation/sinatra/opentelemetry-instrumentation-sinatra.gemspec b/instrumentation/sinatra/opentelemetry-instrumentation-sinatra.gemspec index a72253083..c303f733c 100644 --- a/instrumentation/sinatra/opentelemetry-instrumentation-sinatra.gemspec +++ b/instrumentation/sinatra/opentelemetry-instrumentation-sinatra.gemspec @@ -35,7 +35,7 @@ Gem::Specification.new do |spec| spec.add_development_dependency 'minitest', '~> 5.0' spec.add_development_dependency 'opentelemetry-sdk', '~> 1.1' spec.add_development_dependency 'opentelemetry-test-helpers', '~> 0.3' - spec.add_development_dependency 'rack-test', '~> 1.1.0' + spec.add_development_dependency 'rack-test', '~> 2.1.0' spec.add_development_dependency 'rubocop', '~> 1.60.0' spec.add_development_dependency 'rubocop-performance', '~> 1.20' spec.add_development_dependency 'simplecov', '~> 0.17.1' From 2505f4b1e4246150ba658703f68b551459c6d79a Mon Sep 17 00:00:00 2001 From: Sander Jans Date: Mon, 22 Jan 2024 10:22:44 +0100 Subject: [PATCH 2/2] chore: allow for latest minor version of rack-test. --- .../sinatra/opentelemetry-instrumentation-sinatra.gemspec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instrumentation/sinatra/opentelemetry-instrumentation-sinatra.gemspec b/instrumentation/sinatra/opentelemetry-instrumentation-sinatra.gemspec index c303f733c..5fb8c0810 100644 --- a/instrumentation/sinatra/opentelemetry-instrumentation-sinatra.gemspec +++ b/instrumentation/sinatra/opentelemetry-instrumentation-sinatra.gemspec @@ -35,7 +35,7 @@ Gem::Specification.new do |spec| spec.add_development_dependency 'minitest', '~> 5.0' spec.add_development_dependency 'opentelemetry-sdk', '~> 1.1' spec.add_development_dependency 'opentelemetry-test-helpers', '~> 0.3' - spec.add_development_dependency 'rack-test', '~> 2.1.0' + spec.add_development_dependency 'rack-test', '~> 2.1' spec.add_development_dependency 'rubocop', '~> 1.60.0' spec.add_development_dependency 'rubocop-performance', '~> 1.20' spec.add_development_dependency 'simplecov', '~> 0.17.1'