Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions api/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,14 @@ require 'yard'

require 'rubocop/rake_task'
RuboCop::RakeTask.new
YARD::Rake::YardocTask.new

Rake::TestTask.new :test do |t|
t.libs << 'test'
t.libs << 'lib'
t.test_files = FileList['test/**/*_test.rb']
end

YARD::Rake::YardocTask.new do |t|
t.stats_options = ['--list-undoc']
end

default_tasks =
if RUBY_ENGINE == 'truffleruby'
%i[test]
Expand Down
5 changes: 1 addition & 4 deletions common/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ require 'yard'
require 'rubocop/rake_task'

RuboCop::RakeTask.new
YARD::Rake::YardocTask.new

Rake::TestTask.new :test do |t|
t.libs << '../api/lib'
Expand All @@ -18,10 +19,6 @@ Rake::TestTask.new :test do |t|
t.test_files = FileList['test/**/*_test.rb']
end

YARD::Rake::YardocTask.new do |t|
t.stats_options = ['--list-undoc']
end

default_tasks =
if RUBY_ENGINE == 'truffleruby'
%i[test]
Expand Down
10 changes: 10 additions & 0 deletions contrib/rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@ Metrics/MethodLength:
Metrics/ParameterLists:
Enabled: false

Style/Documentation:
Exclude:
- "**/test/**/*"
- "**/*test*"
Style/DocumentationMethod:
Enabled: true
Severity: info
Exclude:
- "**/test/**/*"
- "**/*test*"
Style/ModuleFunction:
Enabled: false
Style/NumericPredicate:
Expand Down
5 changes: 1 addition & 4 deletions exporter/jaeger/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ require 'yard'

require 'rubocop/rake_task'
RuboCop::RakeTask.new
YARD::Rake::YardocTask.new

Rake::TestTask.new :test do |t|
t.libs << 'test'
Expand All @@ -19,10 +20,6 @@ Rake::TestTask.new :test do |t|
t.test_files = FileList['test/**/*_test.rb']
end

YARD::Rake::YardocTask.new do |t|
t.stats_options = ['--list-undoc']
end

default_tasks =
if RUBY_ENGINE == 'truffleruby'
%i[test]
Expand Down
5 changes: 1 addition & 4 deletions exporter/otlp-common/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ require 'yard'

require 'rubocop/rake_task'
RuboCop::RakeTask.new
YARD::Rake::YardocTask.new

Rake::TestTask.new :test do |t|
t.libs << 'test'
Expand All @@ -19,10 +20,6 @@ Rake::TestTask.new :test do |t|
t.test_files = FileList['test/**/*_test.rb']
end

YARD::Rake::YardocTask.new do |t|
t.stats_options = ['--list-undoc']
end

default_tasks =
if RUBY_ENGINE == 'truffleruby'
%i[test]
Expand Down
5 changes: 1 addition & 4 deletions exporter/otlp-grpc/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ require 'yard'

require 'rubocop/rake_task'
RuboCop::RakeTask.new
YARD::Rake::YardocTask.new

Rake::TestTask.new :test do |t|
t.libs << 'test'
Expand All @@ -19,10 +20,6 @@ Rake::TestTask.new :test do |t|
t.test_files = FileList['test/**/*_test.rb']
end

YARD::Rake::YardocTask.new do |t|
t.stats_options = ['--list-undoc']
end

default_tasks =
if RUBY_ENGINE == 'truffleruby'
%i[test]
Expand Down
5 changes: 1 addition & 4 deletions exporter/otlp-http/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ require 'yard'

require 'rubocop/rake_task'
RuboCop::RakeTask.new
YARD::Rake::YardocTask.new

Rake::TestTask.new :test do |t|
t.libs << 'test'
Expand All @@ -19,10 +20,6 @@ Rake::TestTask.new :test do |t|
t.test_files = FileList['test/**/*_test.rb']
end

YARD::Rake::YardocTask.new do |t|
t.stats_options = ['--list-undoc']
end

default_tasks =
if RUBY_ENGINE == 'truffleruby'
%i[test]
Expand Down
5 changes: 1 addition & 4 deletions exporter/otlp-logs/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ require 'yard'

require 'rubocop/rake_task'
RuboCop::RakeTask.new
YARD::Rake::YardocTask.new

Rake::TestTask.new :test do |t|
t.libs << 'test'
Expand All @@ -19,10 +20,6 @@ Rake::TestTask.new :test do |t|
t.test_files = FileList['test/**/*_test.rb']
end

YARD::Rake::YardocTask.new do |t|
t.stats_options = ['--list-undoc']
end

default_tasks =
if RUBY_ENGINE == 'truffleruby'
%i[test]
Expand Down
5 changes: 1 addition & 4 deletions exporter/otlp-metrics/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ require 'yard'

require 'rubocop/rake_task'
RuboCop::RakeTask.new
YARD::Rake::YardocTask.new

Rake::TestTask.new :test do |t|
t.libs << 'test'
Expand All @@ -19,10 +20,6 @@ Rake::TestTask.new :test do |t|
t.test_files = FileList['test/**/*_test.rb']
end

YARD::Rake::YardocTask.new do |t|
t.stats_options = ['--list-undoc']
end

default_tasks =
if RUBY_ENGINE == 'truffleruby'
%i[test]
Expand Down
5 changes: 1 addition & 4 deletions exporter/otlp/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ require 'yard'

require 'rubocop/rake_task'
RuboCop::RakeTask.new
YARD::Rake::YardocTask.new

Rake::TestTask.new :test do |t|
t.libs << 'test'
Expand All @@ -19,10 +20,6 @@ Rake::TestTask.new :test do |t|
t.test_files = FileList['test/**/*_test.rb']
end

YARD::Rake::YardocTask.new do |t|
t.stats_options = ['--list-undoc']
end

default_tasks =
if RUBY_ENGINE == 'truffleruby'
%i[test]
Expand Down
5 changes: 1 addition & 4 deletions exporter/zipkin/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ require 'yard'

require 'rubocop/rake_task'
RuboCop::RakeTask.new
YARD::Rake::YardocTask.new

Rake::TestTask.new :test do |t|
t.libs << 'test'
Expand All @@ -19,10 +20,6 @@ Rake::TestTask.new :test do |t|
t.test_files = FileList['test/**/*_test.rb']
end

YARD::Rake::YardocTask.new do |t|
t.stats_options = ['--list-undoc']
end

default_tasks =
if RUBY_ENGINE == 'truffleruby'
%i[test]
Expand Down
5 changes: 1 addition & 4 deletions logs_api/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,14 @@ require 'yard'

require 'rubocop/rake_task'
RuboCop::RakeTask.new
YARD::Rake::YardocTask.new

Rake::TestTask.new :test do |t|
t.libs << 'test'
t.libs << 'lib'
t.test_files = FileList['test/**/*_test.rb']
end

YARD::Rake::YardocTask.new do |t|
t.stats_options = ['--list-undoc']
end

default_tasks =
if RUBY_ENGINE == 'truffleruby'
%i[test]
Expand Down
5 changes: 1 addition & 4 deletions logs_sdk/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,14 @@ require 'yard'

require 'rubocop/rake_task'
RuboCop::RakeTask.new
YARD::Rake::YardocTask.new

Rake::TestTask.new :test do |t|
t.libs << 'test'
t.libs << 'lib'
t.test_files = FileList['test/**/*_test.rb']
end

YARD::Rake::YardocTask.new do |t|
t.stats_options = ['--list-undoc']
end

default_tasks =
if RUBY_ENGINE == 'truffleruby'
%i[test]
Expand Down
5 changes: 1 addition & 4 deletions metrics_api/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,14 @@ require 'yard'

require 'rubocop/rake_task'
RuboCop::RakeTask.new
YARD::Rake::YardocTask.new

Rake::TestTask.new :test do |t|
t.libs << 'test'
t.libs << 'lib'
t.test_files = FileList['test/**/*_test.rb']
end

YARD::Rake::YardocTask.new do |t|
t.stats_options = ['--list-undoc']
end

default_tasks =
if RUBY_ENGINE == 'truffleruby'
%i[test]
Expand Down
5 changes: 1 addition & 4 deletions metrics_sdk/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,14 @@ require 'yard'

require 'rubocop/rake_task'
RuboCop::RakeTask.new
YARD::Rake::YardocTask.new

Rake::TestTask.new :test do |t|
t.libs << 'test'
t.libs << 'lib'
t.test_files = FileList['test/**/*_test.rb']
end

YARD::Rake::YardocTask.new do |t|
t.stats_options = ['--list-undoc']
end

default_tasks =
if RUBY_ENGINE == 'truffleruby'
%i[test]
Expand Down
5 changes: 1 addition & 4 deletions propagator/b3/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,14 @@ require 'yard'
require 'rubocop/rake_task'

RuboCop::RakeTask.new
YARD::Rake::YardocTask.new

Rake::TestTask.new :test do |t|
t.libs << 'test'
t.libs << 'lib'
t.test_files = FileList['test/**/*_test.rb']
end

YARD::Rake::YardocTask.new do |t|
t.stats_options = ['--list-undoc']
end

default_tasks =
if RUBY_ENGINE == 'truffleruby'
%i[test]
Expand Down
5 changes: 1 addition & 4 deletions propagator/jaeger/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,14 @@ require 'yard'
require 'rubocop/rake_task'

RuboCop::RakeTask.new
YARD::Rake::YardocTask.new

Rake::TestTask.new :test do |t|
t.libs << 'test'
t.libs << 'lib'
t.test_files = FileList['test/**/*_test.rb']
end

YARD::Rake::YardocTask.new do |t|
t.stats_options = ['--list-undoc']
end

default_tasks =
if RUBY_ENGINE == 'truffleruby'
%i[test]
Expand Down
5 changes: 1 addition & 4 deletions registry/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,14 @@ require 'yard'
require 'rubocop/rake_task'

RuboCop::RakeTask.new
YARD::Rake::YardocTask.new

Rake::TestTask.new :test do |t|
t.libs << 'test'
t.libs << 'lib'
t.test_files = FileList['test/**/*_test.rb']
end

YARD::Rake::YardocTask.new do |t|
t.stats_options = ['--list-undoc']
end

default_tasks =
if RUBY_ENGINE == 'truffleruby'
%i[test]
Expand Down
5 changes: 1 addition & 4 deletions sdk/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ require 'yard'

require 'rubocop/rake_task'
RuboCop::RakeTask.new
YARD::Rake::YardocTask.new

Rake::TestTask.new :test do |t|
t.libs << 'test'
Expand All @@ -18,10 +19,6 @@ Rake::TestTask.new :test do |t|
t.test_files = FileList['test/**/*_test.rb']
end

YARD::Rake::YardocTask.new do |t|
t.stats_options = ['--list-undoc']
end

default_tasks =
if RUBY_ENGINE == 'truffleruby'
%i[test]
Expand Down
5 changes: 1 addition & 4 deletions sdk_experimental/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,14 @@ require 'yard'

require 'rubocop/rake_task'
RuboCop::RakeTask.new
YARD::Rake::YardocTask.new

Rake::TestTask.new :test do |t|
t.libs << 'test'
t.libs << 'lib'
t.test_files = FileList['test/**/*_test.rb']
end

YARD::Rake::YardocTask.new do |t|
t.stats_options = ['--list-undoc']
end

default_tasks =
if RUBY_ENGINE == 'truffleruby'
%i[test]
Expand Down
5 changes: 1 addition & 4 deletions semantic_conventions/Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ require 'tmpdir'
require 'pathname'

RuboCop::RakeTask.new
YARD::Rake::YardocTask.new

Rake::TestTask.new :test do |t|
t.libs << '../api/lib'
Expand All @@ -34,10 +35,6 @@ Rake::TestTask.new :test do |t|
t.test_files = FileList['test/**/*_test.rb']
end

YARD::Rake::YardocTask.new do |t|
t.stats_options = ['--list-undoc']
end

default_tasks =
if RUBY_ENGINE == 'truffleruby'
%i[test]
Expand Down
Loading
Loading