Skip to content

Commit 80e00e2

Browse files
author
Colby Swandale
authored
Merge pull request #293 from colby-swandale/colby/rdoc-improvements
Rdoc improvements
2 parents 840f9ed + f9d736c commit 80e00e2

Some content is hidden

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

48 files changed

+60
-60
lines changed

lib/rake/application.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@ def rakefile_location(backtrace=caller) # :nodoc:
797797
backtrace.find { |str| str =~ re } || ""
798798
end
799799

800-
def set_default_options
800+
def set_default_options # :nodoc:
801801
options.always_multitask = false
802802
options.backtrace = false
803803
options.build_all = false

lib/rake/dsl_definition.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ module DSL
2626
private
2727

2828
# :call-seq:
29-
# task task_name
30-
# task task_name: dependencies
31-
# task task_name, arguments => dependencies
29+
# task(task_name)
30+
# task(task_name: dependencies)
31+
# task(task_name, arguments => dependencies)
3232
#
3333
# Declare a basic task. The +task_name+ is always the first argument. If
3434
# the task name contains a ":" it is defined in that namespace.

test/test_private_reader.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
require File.expand_path("../helper", __FILE__)
33
require "rake/private_reader"
44

5-
class TestPrivateAttrs < Rake::TestCase
5+
class TestPrivateAttrs < Rake::TestCase # :nodoc:
66

7-
class Sample
7+
class Sample # :nodoc:
88
include Rake::PrivateReader
99

1010
private_reader :reader, :a

test/test_rake.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22
require File.expand_path("../helper", __FILE__)
33

4-
class TestRake < Rake::TestCase
4+
class TestRake < Rake::TestCase # :nodoc:
55
def test_each_dir_parent
66
assert_equal ["a"], alldirs("a")
77
assert_equal ["a/b", "a"], alldirs("a/b")

test/test_rake_application.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22
require File.expand_path("../helper", __FILE__)
33

4-
class TestRakeApplication < Rake::TestCase
4+
class TestRakeApplication < Rake::TestCase # :nodoc:
55

66
def setup
77
super

test/test_rake_application_options.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
TESTING_REQUIRE = []
55

6-
class TestRakeApplicationOptions < Rake::TestCase
6+
class TestRakeApplicationOptions < Rake::TestCase # :nodoc:
77

88
def setup
99
super

test/test_rake_backtrace.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
require File.expand_path("../helper", __FILE__)
33
require "open3"
44

5-
class TestBacktraceSuppression < Rake::TestCase
5+
class TestBacktraceSuppression < Rake::TestCase # :nodoc:
66
def test_bin_rake_suppressed
77
paths = ["something/bin/rake:12"]
88

@@ -36,7 +36,7 @@ def test_near_system_dir_isnt_suppressed
3636
end
3737
end
3838

39-
class TestRakeBacktrace < Rake::TestCase
39+
class TestRakeBacktrace < Rake::TestCase # :nodoc:
4040
include RubyRunner
4141

4242
def setup

test/test_rake_clean.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
require File.expand_path("../helper", __FILE__)
33
require "rake/clean"
44

5-
class TestRakeClean < Rake::TestCase
5+
class TestRakeClean < Rake::TestCase # :nodoc:
66
def test_clean
77
load "rake/clean.rb", true
88

test/test_rake_cpu_counter.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# frozen_string_literal: true
22
require File.expand_path("../helper", __FILE__)
33

4-
class TestRakeCpuCounter < Rake::TestCase
4+
class TestRakeCpuCounter < Rake::TestCase # :nodoc:
55

66
def setup
77
super
@@ -28,7 +28,7 @@ def @cpu_counter.count; raise; end
2828
assert_equal(4, @cpu_counter.count_with_default)
2929
end
3030

31-
class TestClassMethod < Rake::TestCase
31+
class TestClassMethod < Rake::TestCase # :nodoc:
3232
def setup
3333
super
3434

test/test_rake_definitions.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
require File.expand_path("../helper", __FILE__)
33
require "fileutils"
44

5-
class TestRakeDefinitions < Rake::TestCase
5+
class TestRakeDefinitions < Rake::TestCase # :nodoc:
66
include Rake
77

88
EXISTINGFILE = "existing"

0 commit comments

Comments
 (0)