diff --git a/.instrumentation_generator/templates/Gemfile b/.instrumentation_generator/templates/Gemfile index 579438213d..3d2f0d3845 100644 --- a/.instrumentation_generator/templates/Gemfile +++ b/.instrumentation_generator/templates/Gemfile @@ -20,7 +20,7 @@ group :test do gem 'opentelemetry-sdk', '~> 1.0' gem 'opentelemetry-test-helpers', '~> 0.3' gem 'rake', '~> 13.0' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.17.1' gem 'webmock', '~> 3.24' diff --git a/.rubocop.yml b/.rubocop.yml index de30a487c5..65cb60deeb 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,4 +1,4 @@ -plugins: rubocop-performance +require: rubocop-performance AllCops: TargetRubyVersion: '3.1' diff --git a/.simplecov b/.simplecov index 150d753f20..146bb779aa 100644 --- a/.simplecov +++ b/.simplecov @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'digest' digest = Digest::MD5.new diff --git a/Gemfile b/Gemfile index 0c317a23b9..60db03bb7c 100644 --- a/Gemfile +++ b/Gemfile @@ -7,5 +7,5 @@ source 'https://rubygems.org' gem 'rake', '~> 13.0' -gem 'rubocop', '~> 1.76.2' +gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' diff --git a/helpers/mysql/Gemfile b/helpers/mysql/Gemfile index 7cb7b668fa..f1d78a28ab 100644 --- a/helpers/mysql/Gemfile +++ b/helpers/mysql/Gemfile @@ -13,7 +13,7 @@ group :test do gem 'minitest', '~> 5.0' gem 'opentelemetry-test-helpers', '~> 0.3' gem 'rake', '~> 13.0' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'yard', '~> 0.9' diff --git a/helpers/sql-obfuscation/Gemfile b/helpers/sql-obfuscation/Gemfile index 7cb7b668fa..f1d78a28ab 100644 --- a/helpers/sql-obfuscation/Gemfile +++ b/helpers/sql-obfuscation/Gemfile @@ -13,7 +13,7 @@ group :test do gem 'minitest', '~> 5.0' gem 'opentelemetry-test-helpers', '~> 0.3' gem 'rake', '~> 13.0' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'yard', '~> 0.9' diff --git a/helpers/sql/Gemfile b/helpers/sql/Gemfile index d14143591b..b417031f35 100644 --- a/helpers/sql/Gemfile +++ b/helpers/sql/Gemfile @@ -18,7 +18,7 @@ group :test do gem 'minitest', '~> 5.0' gem 'opentelemetry-test-helpers', '~> 0.3' gem 'rake', '~> 13.0' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'yard', '~> 0.9' diff --git a/instrumentation/action_mailer/Gemfile b/instrumentation/action_mailer/Gemfile index 9737b82a6c..c8dbb53ede 100644 --- a/instrumentation/action_mailer/Gemfile +++ b/instrumentation/action_mailer/Gemfile @@ -15,7 +15,7 @@ group :test do gem 'opentelemetry-sdk', '~> 1.1' gem 'opentelemetry-test-helpers', '~> 0.3' gem 'rake', '~> 13.0' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'webmock', '~> 3.24' diff --git a/instrumentation/action_pack/Gemfile b/instrumentation/action_pack/Gemfile index 61c7975c49..8cbccf0f74 100644 --- a/instrumentation/action_pack/Gemfile +++ b/instrumentation/action_pack/Gemfile @@ -15,7 +15,7 @@ group :test do gem 'opentelemetry-sdk', '~> 1.1' gem 'opentelemetry-test-helpers', '~> 0.3' gem 'rake', '~> 13.0' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'webmock', '~> 3.24' diff --git a/instrumentation/action_view/Gemfile b/instrumentation/action_view/Gemfile index 911fcfc676..1c97a3e406 100644 --- a/instrumentation/action_view/Gemfile +++ b/instrumentation/action_view/Gemfile @@ -15,7 +15,7 @@ group :test do gem 'opentelemetry-sdk', '~> 1.1' gem 'opentelemetry-test-helpers', '~> 0.3' gem 'rake', '~> 13.0' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'webmock', '~> 3.24' diff --git a/instrumentation/active_job/Gemfile b/instrumentation/active_job/Gemfile index 35abd9d688..b999167a27 100644 --- a/instrumentation/active_job/Gemfile +++ b/instrumentation/active_job/Gemfile @@ -15,7 +15,7 @@ group :test do gem 'opentelemetry-sdk', '~> 1.1' gem 'opentelemetry-test-helpers', '~> 0.3' gem 'rake', '~> 13.0' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'webmock', '~> 3.24' diff --git a/instrumentation/active_model_serializers/Gemfile b/instrumentation/active_model_serializers/Gemfile index 174682f81f..4b0a0c992e 100644 --- a/instrumentation/active_model_serializers/Gemfile +++ b/instrumentation/active_model_serializers/Gemfile @@ -14,7 +14,7 @@ group :test do gem 'minitest', '~> 5.0' gem 'opentelemetry-sdk', '~> 1.1' gem 'opentelemetry-test-helpers', '~> 0.3' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'webmock', '~> 3.24' diff --git a/instrumentation/active_record/Gemfile b/instrumentation/active_record/Gemfile index 35abd9d688..b999167a27 100644 --- a/instrumentation/active_record/Gemfile +++ b/instrumentation/active_record/Gemfile @@ -15,7 +15,7 @@ group :test do gem 'opentelemetry-sdk', '~> 1.1' gem 'opentelemetry-test-helpers', '~> 0.3' gem 'rake', '~> 13.0' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'webmock', '~> 3.24' diff --git a/instrumentation/active_storage/Gemfile b/instrumentation/active_storage/Gemfile index 911fcfc676..1c97a3e406 100644 --- a/instrumentation/active_storage/Gemfile +++ b/instrumentation/active_storage/Gemfile @@ -15,7 +15,7 @@ group :test do gem 'opentelemetry-sdk', '~> 1.1' gem 'opentelemetry-test-helpers', '~> 0.3' gem 'rake', '~> 13.0' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'webmock', '~> 3.24' diff --git a/instrumentation/active_support/Gemfile b/instrumentation/active_support/Gemfile index eac033c5e2..2a47ae8403 100644 --- a/instrumentation/active_support/Gemfile +++ b/instrumentation/active_support/Gemfile @@ -14,7 +14,7 @@ group :test do gem 'minitest', '~> 5.0' gem 'opentelemetry-test-helpers', '~> 0.3' gem 'rake', '~> 13.0' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'webmock', '~> 3.24' diff --git a/instrumentation/all/Gemfile b/instrumentation/all/Gemfile index 1e9fb077cc..72694d7166 100644 --- a/instrumentation/all/Gemfile +++ b/instrumentation/all/Gemfile @@ -12,7 +12,7 @@ group :test do gem 'bundler', '~> 2.4' gem 'minitest', '~> 5.0' gem 'rake', '~> 13.0' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'yard', '~> 0.9' diff --git a/instrumentation/aws_lambda/Gemfile b/instrumentation/aws_lambda/Gemfile index 204d0e0b36..4c1b4d4e72 100644 --- a/instrumentation/aws_lambda/Gemfile +++ b/instrumentation/aws_lambda/Gemfile @@ -14,7 +14,7 @@ group :test do gem 'minitest', '~> 5.0' gem 'opentelemetry-sdk', '~> 1.1' gem 'opentelemetry-test-helpers', '~> 0.3' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'webmock', '~> 3.24' diff --git a/instrumentation/aws_sdk/Gemfile b/instrumentation/aws_sdk/Gemfile index 204d0e0b36..4c1b4d4e72 100644 --- a/instrumentation/aws_sdk/Gemfile +++ b/instrumentation/aws_sdk/Gemfile @@ -14,7 +14,7 @@ group :test do gem 'minitest', '~> 5.0' gem 'opentelemetry-sdk', '~> 1.1' gem 'opentelemetry-test-helpers', '~> 0.3' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'webmock', '~> 3.24' diff --git a/instrumentation/base/Gemfile b/instrumentation/base/Gemfile index ba339ca68d..ddba810a01 100644 --- a/instrumentation/base/Gemfile +++ b/instrumentation/base/Gemfile @@ -13,7 +13,7 @@ group :test do gem 'minitest', '~> 5.0' gem 'opentelemetry-test-helpers', '~> 0.3' gem 'rake', '~> 13.0' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'yard', '~> 0.9' diff --git a/instrumentation/bunny/Gemfile b/instrumentation/bunny/Gemfile index 8933592e8d..302497f705 100644 --- a/instrumentation/bunny/Gemfile +++ b/instrumentation/bunny/Gemfile @@ -14,7 +14,7 @@ group :test do gem 'minitest', '~> 5.0' gem 'opentelemetry-sdk', '~> 1.1' gem 'opentelemetry-test-helpers', '~> 0.3' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'yard', '~> 0.9' diff --git a/instrumentation/concurrent_ruby/Gemfile b/instrumentation/concurrent_ruby/Gemfile index 8933592e8d..302497f705 100644 --- a/instrumentation/concurrent_ruby/Gemfile +++ b/instrumentation/concurrent_ruby/Gemfile @@ -14,7 +14,7 @@ group :test do gem 'minitest', '~> 5.0' gem 'opentelemetry-sdk', '~> 1.1' gem 'opentelemetry-test-helpers', '~> 0.3' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'yard', '~> 0.9' diff --git a/instrumentation/dalli/Gemfile b/instrumentation/dalli/Gemfile index 8933592e8d..302497f705 100644 --- a/instrumentation/dalli/Gemfile +++ b/instrumentation/dalli/Gemfile @@ -14,7 +14,7 @@ group :test do gem 'minitest', '~> 5.0' gem 'opentelemetry-sdk', '~> 1.1' gem 'opentelemetry-test-helpers', '~> 0.3' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'yard', '~> 0.9' diff --git a/instrumentation/delayed_job/Gemfile b/instrumentation/delayed_job/Gemfile index 67252ecfd3..5eb041a01a 100644 --- a/instrumentation/delayed_job/Gemfile +++ b/instrumentation/delayed_job/Gemfile @@ -14,7 +14,7 @@ group :test do gem 'minitest', '~> 5.0' gem 'opentelemetry-sdk', '~> 1.1' gem 'opentelemetry-test-helpers', '~> 0.3' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'webmock', '~> 3.24' diff --git a/instrumentation/ethon/Gemfile b/instrumentation/ethon/Gemfile index 8933592e8d..b7aa1585c6 100644 --- a/instrumentation/ethon/Gemfile +++ b/instrumentation/ethon/Gemfile @@ -14,8 +14,8 @@ group :test do gem 'minitest', '~> 5.0' gem 'opentelemetry-sdk', '~> 1.1' gem 'opentelemetry-test-helpers', '~> 0.3' - gem 'rubocop', '~> 1.76.2' - gem 'rubocop-performance', '~> 1.24.0' + gem 'rubocop', '~> 1.78.0' + gem 'rubocop-performance', '~> 1.23.0' gem 'simplecov', '~> 0.22.0' gem 'yard', '~> 0.9' gem 'opentelemetry-instrumentation-base', path: '../base' diff --git a/instrumentation/excon/Gemfile b/instrumentation/excon/Gemfile index 9484691699..9430459160 100644 --- a/instrumentation/excon/Gemfile +++ b/instrumentation/excon/Gemfile @@ -14,7 +14,7 @@ group :test do gem 'minitest', '~> 5.0' gem 'opentelemetry-sdk', '~> 1.1' gem 'opentelemetry-test-helpers', '~> 0.3' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'webmock', '~> 3.24' diff --git a/instrumentation/faraday/Gemfile b/instrumentation/faraday/Gemfile index 9484691699..9430459160 100644 --- a/instrumentation/faraday/Gemfile +++ b/instrumentation/faraday/Gemfile @@ -14,7 +14,7 @@ group :test do gem 'minitest', '~> 5.0' gem 'opentelemetry-sdk', '~> 1.1' gem 'opentelemetry-test-helpers', '~> 0.3' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'webmock', '~> 3.24' diff --git a/instrumentation/grape/Gemfile b/instrumentation/grape/Gemfile index 33a221f896..1df928d7e8 100644 --- a/instrumentation/grape/Gemfile +++ b/instrumentation/grape/Gemfile @@ -18,7 +18,7 @@ group :test do gem 'minitest', '~> 5.0' gem 'opentelemetry-sdk', '~> 1.0' gem 'rake', '~> 13.0' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'webmock', '~> 3.24' diff --git a/instrumentation/graphql/Gemfile b/instrumentation/graphql/Gemfile index 35abd9d688..b999167a27 100644 --- a/instrumentation/graphql/Gemfile +++ b/instrumentation/graphql/Gemfile @@ -15,7 +15,7 @@ group :test do gem 'opentelemetry-sdk', '~> 1.1' gem 'opentelemetry-test-helpers', '~> 0.3' gem 'rake', '~> 13.0' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'webmock', '~> 3.24' diff --git a/instrumentation/grpc/Gemfile b/instrumentation/grpc/Gemfile index e6a605279b..71b2bcd892 100644 --- a/instrumentation/grpc/Gemfile +++ b/instrumentation/grpc/Gemfile @@ -18,7 +18,7 @@ group :test do gem 'opentelemetry-sdk', '~> 1.1' gem 'opentelemetry-test-helpers', '~> 0.4' gem 'rake', '~> 13.2' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'yard', '~> 0.9' diff --git a/instrumentation/gruf/Gemfile b/instrumentation/gruf/Gemfile index 6113ae0fa6..8ce3b763c6 100644 --- a/instrumentation/gruf/Gemfile +++ b/instrumentation/gruf/Gemfile @@ -18,7 +18,7 @@ group :test do gem 'minitest', '~> 5.0' gem 'opentelemetry-sdk', '~> 1.0' gem 'rake', '~> 12.3.3' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'webmock', '~> 3.24' diff --git a/instrumentation/http/Gemfile b/instrumentation/http/Gemfile index 60447ac0ab..77f6b1de54 100644 --- a/instrumentation/http/Gemfile +++ b/instrumentation/http/Gemfile @@ -15,7 +15,7 @@ group :test do gem 'opentelemetry-sdk', '~> 1.1' gem 'opentelemetry-test-helpers', '~> 0.3' gem 'rake', '~> 13.0' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'webmock', '~> 3.24' diff --git a/instrumentation/http_client/Gemfile b/instrumentation/http_client/Gemfile index 35abd9d688..b999167a27 100644 --- a/instrumentation/http_client/Gemfile +++ b/instrumentation/http_client/Gemfile @@ -15,7 +15,7 @@ group :test do gem 'opentelemetry-sdk', '~> 1.1' gem 'opentelemetry-test-helpers', '~> 0.3' gem 'rake', '~> 13.0' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'webmock', '~> 3.24' diff --git a/instrumentation/httpx/Gemfile b/instrumentation/httpx/Gemfile index 60447ac0ab..77f6b1de54 100644 --- a/instrumentation/httpx/Gemfile +++ b/instrumentation/httpx/Gemfile @@ -15,7 +15,7 @@ group :test do gem 'opentelemetry-sdk', '~> 1.1' gem 'opentelemetry-test-helpers', '~> 0.3' gem 'rake', '~> 13.0' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'webmock', '~> 3.24' diff --git a/instrumentation/koala/Gemfile b/instrumentation/koala/Gemfile index 60447ac0ab..77f6b1de54 100644 --- a/instrumentation/koala/Gemfile +++ b/instrumentation/koala/Gemfile @@ -15,7 +15,7 @@ group :test do gem 'opentelemetry-sdk', '~> 1.1' gem 'opentelemetry-test-helpers', '~> 0.3' gem 'rake', '~> 13.0' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'webmock', '~> 3.24' diff --git a/instrumentation/lmdb/Gemfile b/instrumentation/lmdb/Gemfile index 35abd9d688..b999167a27 100644 --- a/instrumentation/lmdb/Gemfile +++ b/instrumentation/lmdb/Gemfile @@ -15,7 +15,7 @@ group :test do gem 'opentelemetry-sdk', '~> 1.1' gem 'opentelemetry-test-helpers', '~> 0.3' gem 'rake', '~> 13.0' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'webmock', '~> 3.24' diff --git a/instrumentation/mongo/Gemfile b/instrumentation/mongo/Gemfile index 1ed03c3be7..30b1852638 100644 --- a/instrumentation/mongo/Gemfile +++ b/instrumentation/mongo/Gemfile @@ -14,8 +14,8 @@ group :test do gem 'minitest', '~> 5.0' gem 'opentelemetry-sdk', '~> 1.1' gem 'opentelemetry-test-helpers', '~> 0.3' - gem 'rubocop', '~> 1.76.2' - gem 'rubocop-performance', '~> 1.24.0' + gem 'rubocop', '~> 1.78.0' + gem 'rubocop-performance', '~> 1.23.0' gem 'simplecov', '~> 0.22.0' gem 'webmock', '~> 3.24' gem 'yard', '~> 0.9' diff --git a/instrumentation/mysql2/Gemfile b/instrumentation/mysql2/Gemfile index 93fb6fe9d9..7a3aceb507 100644 --- a/instrumentation/mysql2/Gemfile +++ b/instrumentation/mysql2/Gemfile @@ -18,7 +18,7 @@ group :test do gem 'minitest', '~> 5.0' gem 'opentelemetry-sdk', '~> 1.1' gem 'opentelemetry-test-helpers', '~> 0.3' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'yard', '~> 0.9' diff --git a/instrumentation/net_http/Gemfile b/instrumentation/net_http/Gemfile index a2a8674575..71fdab8a87 100644 --- a/instrumentation/net_http/Gemfile +++ b/instrumentation/net_http/Gemfile @@ -14,7 +14,7 @@ group :test do gem 'opentelemetry-sdk', '~> 1.1' gem 'opentelemetry-test-helpers', '~> 0.3' gem 'rake', '~> 13.0.1' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'webmock', '~> 3.24' diff --git a/instrumentation/pg/Gemfile b/instrumentation/pg/Gemfile index 9cd578b547..41b2014256 100644 --- a/instrumentation/pg/Gemfile +++ b/instrumentation/pg/Gemfile @@ -14,7 +14,7 @@ group :test do gem 'minitest', '~> 5.0' gem 'opentelemetry-sdk', '~> 1.1' gem 'opentelemetry-test-helpers', '~> 0.3' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'yard', '~> 0.9' diff --git a/instrumentation/que/Gemfile b/instrumentation/que/Gemfile index faa7562f6c..fd2c5dd4dc 100644 --- a/instrumentation/que/Gemfile +++ b/instrumentation/que/Gemfile @@ -15,8 +15,8 @@ group :test do gem 'opentelemetry-sdk', '~> 1.1' gem 'opentelemetry-test-helpers', '~> 0.3' gem 'rake', '~> 13.0' - gem 'rubocop', '~> 1.76.2' - gem 'rubocop-performance', '~> 1.24.0' + gem 'rubocop', '~> 1.78.0' + gem 'rubocop-performance', '~> 1.23.0' gem 'simplecov', '~> 0.22.0' gem 'yard', '~> 0.9' gem 'pg' diff --git a/instrumentation/que/test/opentelemetry/instrumentation/que_test.rb b/instrumentation/que/test/opentelemetry/instrumentation/que_test.rb index 7222e82cd9..e1da0e65ce 100644 --- a/instrumentation/que/test/opentelemetry/instrumentation/que_test.rb +++ b/instrumentation/que/test/opentelemetry/instrumentation/que_test.rb @@ -243,7 +243,7 @@ def self.run(first, second); end _(root_span.parent_span_id).must_equal(OpenTelemetry::Trace::INVALID_SPAN_ID) other_spans = spans - [root_span] - _(other_spans.count.positive?).must_equal(true) + _(other_spans.any?).must_equal(true) other_spans.each do |other_span| _(other_span.parent_span_id).must_equal(root_span.span_id) diff --git a/instrumentation/racecar/Gemfile b/instrumentation/racecar/Gemfile index 3e17908bf9..ebf5931549 100644 --- a/instrumentation/racecar/Gemfile +++ b/instrumentation/racecar/Gemfile @@ -23,7 +23,7 @@ group :test do gem 'opentelemetry-test-helpers', '~> 0.3' gem 'rake', '~> 13.0' gem 'rspec-mocks' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'webmock', '~> 3.24' diff --git a/instrumentation/rack/Gemfile b/instrumentation/rack/Gemfile index 2d7875a45f..cb5fe8d4dd 100644 --- a/instrumentation/rack/Gemfile +++ b/instrumentation/rack/Gemfile @@ -16,7 +16,7 @@ group :test do gem 'opentelemetry-sdk-experimental', '~> 0.1' gem 'opentelemetry-test-helpers', '~> 0.3' gem 'rake', '~> 13.0' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'webmock', '~> 3.24' diff --git a/instrumentation/rails/Gemfile b/instrumentation/rails/Gemfile index 59101eee6e..3bcbd58f3e 100644 --- a/instrumentation/rails/Gemfile +++ b/instrumentation/rails/Gemfile @@ -16,7 +16,7 @@ group :test do gem 'opentelemetry-test-helpers', '~> 0.3' gem 'rack-test', '~> 2.1.0' gem 'rake', '~> 13.0' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'webmock', '~> 3.24' diff --git a/instrumentation/rake/Gemfile b/instrumentation/rake/Gemfile index 286f809466..a202491a6b 100644 --- a/instrumentation/rake/Gemfile +++ b/instrumentation/rake/Gemfile @@ -18,7 +18,7 @@ group :test do gem 'minitest', '~> 5.0' gem 'opentelemetry-sdk', '~> 1.0' gem 'opentelemetry-test-helpers', '~> 0.3' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'webmock', '~> 3.24' diff --git a/instrumentation/rake/lib/opentelemetry/instrumentation/rake/patches/task.rb b/instrumentation/rake/lib/opentelemetry/instrumentation/rake/patches/task.rb index b012dd4d4f..2f0a8a95b7 100644 --- a/instrumentation/rake/lib/opentelemetry/instrumentation/rake/patches/task.rb +++ b/instrumentation/rake/lib/opentelemetry/instrumentation/rake/patches/task.rb @@ -31,9 +31,9 @@ def tracer def force_flush top_level_task_names = ::Rake.application.top_level_tasks.map { |t| t.split('[').first } - if top_level_task_names.include?(name) - OpenTelemetry.tracer_provider.force_flush - end + return unless top_level_task_names.include?(name) + + OpenTelemetry.tracer_provider.force_flush end end end diff --git a/instrumentation/rdkafka/Gemfile b/instrumentation/rdkafka/Gemfile index 496c887e72..2e8478af9b 100644 --- a/instrumentation/rdkafka/Gemfile +++ b/instrumentation/rdkafka/Gemfile @@ -14,7 +14,7 @@ group :test do gem 'minitest', '~> 5.0' gem 'opentelemetry-test-helpers', '~> 0.3' gem 'rake', '~> 13.0' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'webmock', '~> 3.24' diff --git a/instrumentation/redis/Gemfile b/instrumentation/redis/Gemfile index 8933592e8d..302497f705 100644 --- a/instrumentation/redis/Gemfile +++ b/instrumentation/redis/Gemfile @@ -14,7 +14,7 @@ group :test do gem 'minitest', '~> 5.0' gem 'opentelemetry-sdk', '~> 1.1' gem 'opentelemetry-test-helpers', '~> 0.3' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'yard', '~> 0.9' diff --git a/instrumentation/resque/Gemfile b/instrumentation/resque/Gemfile index d34d609ceb..4f528c13cf 100644 --- a/instrumentation/resque/Gemfile +++ b/instrumentation/resque/Gemfile @@ -15,7 +15,7 @@ group :test do gem 'opentelemetry-sdk', '~> 1.1' gem 'opentelemetry-test-helpers', '~> 0.3' gem 'rake', '~> 13.0' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'webmock', '~> 3.24' diff --git a/instrumentation/restclient/Gemfile b/instrumentation/restclient/Gemfile index 9484691699..9430459160 100644 --- a/instrumentation/restclient/Gemfile +++ b/instrumentation/restclient/Gemfile @@ -14,7 +14,7 @@ group :test do gem 'minitest', '~> 5.0' gem 'opentelemetry-sdk', '~> 1.1' gem 'opentelemetry-test-helpers', '~> 0.3' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'webmock', '~> 3.24' diff --git a/instrumentation/rspec/Gemfile b/instrumentation/rspec/Gemfile index 2539442e57..cadda1570e 100644 --- a/instrumentation/rspec/Gemfile +++ b/instrumentation/rspec/Gemfile @@ -14,7 +14,7 @@ group :test do gem 'minitest', '~> 5.0' gem 'opentelemetry-test-helpers', '~> 0.3' gem 'rake', '~> 13.0' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'webmock', '~> 3.24' diff --git a/instrumentation/ruby_kafka/Gemfile b/instrumentation/ruby_kafka/Gemfile index 6dbb02d0c7..bc83c449dc 100644 --- a/instrumentation/ruby_kafka/Gemfile +++ b/instrumentation/ruby_kafka/Gemfile @@ -14,7 +14,7 @@ group :test do gem 'minitest', '~> 5.0' gem 'opentelemetry-sdk', '~> 1.1' gem 'opentelemetry-test-helpers', '~> 0.3' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'yard', '~> 0.9' diff --git a/instrumentation/sidekiq/Gemfile b/instrumentation/sidekiq/Gemfile index 99f0a8f43e..58f1c63517 100644 --- a/instrumentation/sidekiq/Gemfile +++ b/instrumentation/sidekiq/Gemfile @@ -14,7 +14,7 @@ group :test do gem 'minitest', '~> 5.0' gem 'opentelemetry-sdk', '~> 1.1' gem 'opentelemetry-test-helpers', '~> 0.3' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'yard', '~> 0.9' diff --git a/instrumentation/sinatra/Gemfile b/instrumentation/sinatra/Gemfile index e34da4052b..1f47ae4328 100644 --- a/instrumentation/sinatra/Gemfile +++ b/instrumentation/sinatra/Gemfile @@ -15,7 +15,7 @@ group :test do gem 'opentelemetry-sdk', '~> 1.1' gem 'opentelemetry-test-helpers', '~> 0.3' gem 'rack-test', '~> 2.1' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'webmock', '~> 3.24' diff --git a/instrumentation/trilogy/Gemfile b/instrumentation/trilogy/Gemfile index 1b269dddd6..b9be4686a9 100644 --- a/instrumentation/trilogy/Gemfile +++ b/instrumentation/trilogy/Gemfile @@ -15,7 +15,7 @@ group :test do gem 'opentelemetry-sdk', '~> 1.1' gem 'opentelemetry-test-helpers', '~> 0.3' gem 'rake', '~> 13.0' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'yard', '~> 0.9' diff --git a/processor/baggage/Gemfile b/processor/baggage/Gemfile index 62d3167c48..d46931274b 100644 --- a/processor/baggage/Gemfile +++ b/processor/baggage/Gemfile @@ -10,7 +10,7 @@ group :test do gem 'minitest', '~> 5.0' gem 'opentelemetry-sdk', '~> 1.1' gem 'rake', '~> 13.0' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'yard', '~> 0.9' diff --git a/propagator/google_cloud_trace_context/Gemfile b/propagator/google_cloud_trace_context/Gemfile index dcb12336fd..8cea2e8437 100644 --- a/propagator/google_cloud_trace_context/Gemfile +++ b/propagator/google_cloud_trace_context/Gemfile @@ -8,7 +8,7 @@ group :test do gem 'bundler', '~> 2.4' gem 'minitest', '~> 5.0' gem 'rake', '~> 13.0' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'yard', '~> 0.9' diff --git a/propagator/ottrace/Gemfile b/propagator/ottrace/Gemfile index bf02a254dc..ce3778af58 100644 --- a/propagator/ottrace/Gemfile +++ b/propagator/ottrace/Gemfile @@ -9,7 +9,7 @@ group :test do gem 'bundler', '~> 2.4' gem 'minitest', '~> 5.0' gem 'rake', '~> 13.0' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'yard', '~> 0.9' diff --git a/propagator/vitess/Gemfile b/propagator/vitess/Gemfile index 4dc6e68538..783cd1dac0 100644 --- a/propagator/vitess/Gemfile +++ b/propagator/vitess/Gemfile @@ -9,7 +9,7 @@ group :test do gem 'bundler', '~> 2.4' gem 'minitest', '~> 5.0' gem 'rake', '~> 13.0' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'yard', '~> 0.9' diff --git a/propagator/xray/Gemfile b/propagator/xray/Gemfile index e111f7525a..53851e95ee 100644 --- a/propagator/xray/Gemfile +++ b/propagator/xray/Gemfile @@ -12,7 +12,7 @@ group :test do gem 'bundler', '~> 2.4' gem 'minitest', '~> 5.0' gem 'rake', '~> 13.0' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'yard', '~> 0.9' diff --git a/resources/aws/Gemfile b/resources/aws/Gemfile index 351b117b66..1585627fea 100644 --- a/resources/aws/Gemfile +++ b/resources/aws/Gemfile @@ -12,7 +12,7 @@ group :test do gem 'bundler', '~> 2.4' gem 'minitest', '~> 5.0' gem 'rake', '~> 13.0' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'webmock', '~> 3.24' diff --git a/resources/azure/Gemfile b/resources/azure/Gemfile index 351b117b66..1585627fea 100644 --- a/resources/azure/Gemfile +++ b/resources/azure/Gemfile @@ -12,7 +12,7 @@ group :test do gem 'bundler', '~> 2.4' gem 'minitest', '~> 5.0' gem 'rake', '~> 13.0' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'webmock', '~> 3.24' diff --git a/resources/container/Gemfile b/resources/container/Gemfile index a7675baf59..d237f03dc8 100644 --- a/resources/container/Gemfile +++ b/resources/container/Gemfile @@ -12,7 +12,7 @@ group :test do gem 'bundler', '~> 2.4' gem 'minitest', '~> 5.0' gem 'rake', '~> 13.0' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'yard', '~> 0.9' diff --git a/resources/google_cloud_platform/Gemfile b/resources/google_cloud_platform/Gemfile index 351b117b66..1585627fea 100644 --- a/resources/google_cloud_platform/Gemfile +++ b/resources/google_cloud_platform/Gemfile @@ -12,7 +12,7 @@ group :test do gem 'bundler', '~> 2.4' gem 'minitest', '~> 5.0' gem 'rake', '~> 13.0' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'webmock', '~> 3.24' diff --git a/sampler/xray/Gemfile b/sampler/xray/Gemfile index 8d900ea2d5..218a5b604c 100644 --- a/sampler/xray/Gemfile +++ b/sampler/xray/Gemfile @@ -12,7 +12,7 @@ group :test do gem 'bundler', '~> 2.4' gem 'minitest', '~> 5.0' gem 'rake', '~> 13.0' - gem 'rubocop', '~> 1.76.2' + gem 'rubocop', '~> 1.78.0' gem 'rubocop-performance', '~> 1.24.0' gem 'simplecov', '~> 0.22.0' gem 'yard', '~> 0.9'