diff --git a/Gemfile b/Gemfile index 942d78205..19f70996a 100644 --- a/Gemfile +++ b/Gemfile @@ -48,7 +48,7 @@ else end if !defined?(JRUBY_VERSION) gem 'google-protobuf', '< 3.12' if RUBY_VERSION < '2.5' - gem 'google-protobuf', '< 3.25' if RUBY_VERSION < '2.7' && RUBY_VERSION > '2.5' + gem 'google-protobuf', '< 3.23' if RUBY_VERSION < '2.7' && RUBY_VERSION > '2.5' end gem 'grpc' if !defined?(JRUBY_VERSION) && RUBY_VERSION < '3.0' gem 'json' diff --git a/spec/build/update.sh b/spec/build/update.sh index 6518daaca..9fb02a233 100755 --- a/spec/build/update.sh +++ b/spec/build/update.sh @@ -11,6 +11,10 @@ if [[ "${FRAMEWORK}" =~ ^rails-4\.([0-9]) ]]; then gem i "rubygems-update:~>2.7" --no-document update_rubygems --no-document gem i "bundler:~>1.17.3" --no-document +elif [[ "${RUBY_VERSION}" =~ ^2\.(6|7).+ ]]; then + gem i "rubygems-update:~>3.4.0" --no-document + update_rubygems --no-document + gem i bundler --no-document # Install specific dependencies for 2.4.x and 2.5.x ruby versions elif [[ "${RUBY_VERSION}" =~ ^2\.(4|5).+ ]]; then gem i "rubygems-update:~>2.7" --no-document diff --git a/spec/integration/graphql_spec.rb b/spec/integration/graphql_spec.rb index 219e0d7b0..a521c93f7 100644 --- a/spec/integration/graphql_spec.rb +++ b/spec/integration/graphql_spec.rb @@ -181,7 +181,7 @@ def execute } ' - wait_for transactions: 1, spans: 13 + wait_for timeout: 10, transactions: 1, spans: 12 expect(resp.status).to be 200