Skip to content

Commit a78dd56

Browse files
Merge branch 'main' into fossa-update
2 parents c8c792b + a9592d7 commit a78dd56

File tree

81 files changed

+117
-123
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+117
-123
lines changed

.rubocop.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,6 @@ Metrics/PerceivedComplexity:
3838
Naming/FileName:
3939
Exclude:
4040
- '**/opentelemetry-*'
41-
### TODO: Enable this is a separate PR
42-
Naming/BlockForwarding:
43-
Enabled: false
44-
Style/ArgumentsForwarding:
45-
Enabled: false
46-
#######################
4741
Style/Documentation:
4842
Exclude:
4943
- "**/test/**/*"

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@
77
source 'https://rubygems.org'
88

99
gem 'rake', '~> 13.0'
10-
gem 'rubocop', '~> 1.71.0'
10+
gem 'rubocop', '~> 1.72.2'
1111
gem 'rubocop-performance', '~> 1.23.0'

helpers/mysql/opentelemetry-helpers-mysql.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
3232
spec.add_development_dependency 'minitest', '~> 5.0'
3333
spec.add_development_dependency 'opentelemetry-test-helpers', '~> 0.3'
3434
spec.add_development_dependency 'rake', '~> 13.0'
35-
spec.add_development_dependency 'rubocop', '~> 1.71.0'
35+
spec.add_development_dependency 'rubocop', '~> 1.72.2'
3636
spec.add_development_dependency 'rubocop-performance', '~> 1.23.0'
3737
spec.add_development_dependency 'simplecov', '~> 0.22.0'
3838
spec.add_development_dependency 'yard', '~> 0.9'

helpers/sql-obfuscation/opentelemetry-helpers-sql-obfuscation.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Gem::Specification.new do |spec|
3131
spec.add_development_dependency 'minitest', '~> 5.0'
3232
spec.add_development_dependency 'opentelemetry-test-helpers', '~> 0.3'
3333
spec.add_development_dependency 'rake', '~> 13.0'
34-
spec.add_development_dependency 'rubocop', '~> 1.71.0'
34+
spec.add_development_dependency 'rubocop', '~> 1.72.2'
3535
spec.add_development_dependency 'rubocop-performance', '~> 1.23.0'
3636
spec.add_development_dependency 'simplecov', '~> 0.22.0'
3737
spec.add_development_dependency 'yard', '~> 0.9'

helpers/sql/opentelemetry-helpers-sql.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
3232
spec.add_development_dependency 'minitest', '~> 5.0'
3333
spec.add_development_dependency 'opentelemetry-test-helpers', '~> 0.3'
3434
spec.add_development_dependency 'rake', '~> 13.0'
35-
spec.add_development_dependency 'rubocop', '~> 1.71.0'
35+
spec.add_development_dependency 'rubocop', '~> 1.72.2'
3636
spec.add_development_dependency 'rubocop-performance', '~> 1.23.0'
3737
spec.add_development_dependency 'simplecov', '~> 0.22.0'
3838
spec.add_development_dependency 'yard', '~> 0.9'

instrumentation/action_mailer/opentelemetry-instrumentation-action_mailer.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Gem::Specification.new do |spec|
3535
spec.add_development_dependency 'opentelemetry-sdk', '~> 1.1'
3636
spec.add_development_dependency 'opentelemetry-test-helpers', '~> 0.3'
3737
spec.add_development_dependency 'rake', '~> 13.0'
38-
spec.add_development_dependency 'rubocop', '~> 1.71.0'
38+
spec.add_development_dependency 'rubocop', '~> 1.72.2'
3939
spec.add_development_dependency 'rubocop-performance', '~> 1.23.0'
4040
spec.add_development_dependency 'simplecov', '~> 0.22.0'
4141
spec.add_development_dependency 'webmock', '~> 3.24'

instrumentation/action_mailer/test/opentelemetry/instrumentation/action_mailer/subscription_test.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@
116116
end
117117
end
118118

119-
def with_configuration(values, &block)
119+
def with_configuration(values, &)
120120
original_config = instrumentation.instance_variable_get(:@config)
121121
modified_config = original_config.merge(values)
122122
instrumentation.instance_variable_set(:@config, modified_config)
@@ -126,14 +126,14 @@ def with_configuration(values, &block)
126126
instrumentation.instance_variable_set(:@config, original_config)
127127
end
128128

129-
def subscribing_to_deliver(&block)
129+
def subscribing_to_deliver(&)
130130
subscription = OpenTelemetry::Instrumentation::ActionMailer::Railtie.subscribe_to_deliver
131131
yield
132132
ensure
133133
ActiveSupport::Notifications.unsubscribe(subscription)
134134
end
135135

136-
def subscribing_to_process(&block)
136+
def subscribing_to_process(&)
137137
subscription = OpenTelemetry::Instrumentation::ActionMailer::Railtie.subscribe_to_process
138138
yield
139139
ensure

instrumentation/action_pack/opentelemetry-instrumentation-action_pack.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Gem::Specification.new do |spec|
3535
spec.add_development_dependency 'opentelemetry-sdk', '~> 1.1'
3636
spec.add_development_dependency 'opentelemetry-test-helpers', '~> 0.3'
3737
spec.add_development_dependency 'rake', '~> 13.0'
38-
spec.add_development_dependency 'rubocop', '~> 1.71.0'
38+
spec.add_development_dependency 'rubocop', '~> 1.72.2'
3939
spec.add_development_dependency 'rubocop-performance', '~> 1.23.0'
4040
spec.add_development_dependency 'simplecov', '~> 0.22.0'
4141
spec.add_development_dependency 'webmock', '~> 3.24'

instrumentation/action_view/opentelemetry-instrumentation-action_view.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Gem::Specification.new do |spec|
3636
spec.add_development_dependency 'opentelemetry-test-helpers', '~> 0.3'
3737
spec.add_development_dependency 'rails', '>= 6.1'
3838
spec.add_development_dependency 'rake', '~> 13.0'
39-
spec.add_development_dependency 'rubocop', '~> 1.71.0'
39+
spec.add_development_dependency 'rubocop', '~> 1.72.2'
4040
spec.add_development_dependency 'rubocop-performance', '~> 1.23.0'
4141
spec.add_development_dependency 'simplecov', '~> 0.22.0'
4242
spec.add_development_dependency 'webmock', '~> 3.24'

instrumentation/active_job/opentelemetry-instrumentation-active_job.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Gem::Specification.new do |spec|
3434
spec.add_development_dependency 'opentelemetry-sdk', '~> 1.1'
3535
spec.add_development_dependency 'opentelemetry-test-helpers', '~> 0.3'
3636
spec.add_development_dependency 'rake', '~> 13.0'
37-
spec.add_development_dependency 'rubocop', '~> 1.71.0'
37+
spec.add_development_dependency 'rubocop', '~> 1.72.2'
3838
spec.add_development_dependency 'rubocop-performance', '~> 1.23.0'
3939
spec.add_development_dependency 'simplecov', '~> 0.22.0'
4040
spec.add_development_dependency 'webmock', '~> 3.24'

0 commit comments

Comments
 (0)