From c9610ad96835a82b36fe9f3e9943584dc6815472 Mon Sep 17 00:00:00 2001 From: Kayla Reopelle Date: Tue, 22 Oct 2024 13:02:28 -0700 Subject: [PATCH] chore: Update appraisals of google-protobuf --- exporter/otlp-metrics/Appraisals | 22 +++++++++++++++++----- exporter/otlp/Appraisals | 22 +++++++++++++++++----- 2 files changed, 34 insertions(+), 10 deletions(-) diff --git a/exporter/otlp-metrics/Appraisals b/exporter/otlp-metrics/Appraisals index be902f475..443aad2ce 100644 --- a/exporter/otlp-metrics/Appraisals +++ b/exporter/otlp-metrics/Appraisals @@ -4,9 +4,21 @@ # # SPDX-License-Identifier: Apache-2.0 -(14..25).each do |i| - version = "3.#{i}" - appraise "google-protobuf-#{version}" do - gem 'google-protobuf', "~> #{version}" - end +# Oldest compatible version +appraise 'google-protobuf-3.18.0' do + gem 'google-protobuf', '~> 3.18.0' +end + +# Last 3.x version +appraise 'google-protobuf-3.25.0' do + gem 'google-protobuf', '~> 3.25.0' +end + +# Latest version on 2024-10-22 +appraise 'google-protobuf-4.29.0' do + gem 'google-protobuf', '~> 4.29.0' +end + +appraise 'google-protobuf-latest' do + gem 'google-protobuf' end diff --git a/exporter/otlp/Appraisals b/exporter/otlp/Appraisals index 362c12991..443aad2ce 100644 --- a/exporter/otlp/Appraisals +++ b/exporter/otlp/Appraisals @@ -4,9 +4,21 @@ # # SPDX-License-Identifier: Apache-2.0 -(14..23).each do |i| - version = "3.#{i}" - appraise "google-protobuf-#{version}" do - gem 'google-protobuf', "~> #{version}" - end +# Oldest compatible version +appraise 'google-protobuf-3.18.0' do + gem 'google-protobuf', '~> 3.18.0' +end + +# Last 3.x version +appraise 'google-protobuf-3.25.0' do + gem 'google-protobuf', '~> 3.25.0' +end + +# Latest version on 2024-10-22 +appraise 'google-protobuf-4.29.0' do + gem 'google-protobuf', '~> 4.29.0' +end + +appraise 'google-protobuf-latest' do + gem 'google-protobuf' end