Skip to content
Browse files

Typos.

  • Loading branch information...
1 parent 81d0b98 commit 53219cadcdf9fb08b344f2a5b19c35237732fdcd @rtlechow rtlechow committed Jan 10, 2011
View
2 TODO
@@ -6,7 +6,7 @@ the rake-devel@rubyforge.org mailing list.
=== To Do
* Need a nice API for accessing tasks in namespaces, namespaces in an app, etc.
* Provide a way to disable -w warning mode.
-* Define a set of default rules that work in the absense of any Rakefile
+* Define a set of default rules that work in the absence of any Rakefile
* What about cyclic dependencies?
* Java support utilities
* Installation support utilities
View
2 doc/glossary.rdoc
@@ -37,7 +37,7 @@
not needed. This may change in the future.
[<b>prerequisites</b>]
- Every task has a set (possiblity empty) of prerequisites. A
+ Every task has a set (possibility empty) of prerequisites. A
prerequisite P to Task T is itself a task that must be invoked
before Task T.
View
2 doc/rakefile.rdoc
@@ -27,7 +27,7 @@ parameter that is the name of the task.
=== Tasks with Prerequisites
-Any prerequisites are given as a list (inclosed in square brackets)
+Any prerequisites are given as a list (enclosed in square brackets)
following the name and an arrow (=>).
task :name => [:prereq1, :prereq2]
View
6 doc/rational.rdoc
@@ -44,7 +44,7 @@ prototype of Ruby make, complete with dependencies and actions.
I showed the code to my coworker and we had a good laugh. It was just
about a page worth of code that reproduced an amazing amount of the
-functionality of make. We were both truely stunned with the power of
+functionality of make. We were both truly stunned with the power of
Ruby.
But it didn't do everything make did. In particular, it didn't have
@@ -53,7 +53,7 @@ prerequisite files have a later timestamp). Obviously THAT would be a
pain to add and so Ruby Make would remain an interesting experiment.
... Except as I walked back to my desk, I started thinking about what
-file based dependecies would really need. Rats! I was hooked again,
+file based dependencies would really need. Rats! I was hooked again,
and by adding a new class and two new methods, file/timestamp
dependencies were implemented.
@@ -133,7 +133,7 @@ created for rake.
That's it. There's no documentation (other than whats in this
message). Does this sound interesting to anyone? If so, I'll continue
to clean it up and write it up and publish it on RAA. Otherwise, I'll
-leave it as an interesting excerise and a tribute to the power of Ruby.
+leave it as an interesting exercise and a tribute to the power of Ruby.
Why /might/ rake be interesting to Ruby programmers. I don't know,
perhaps ...
View
4 lib/rake/ext/string.rb
@@ -91,11 +91,11 @@ def pathmap_replace(patterns, &block)
# 'a/b/c/d/file.txt'.pathmap("%-2d") => 'c/d'
#
# Also the %d, %p, %f, %n, %x, and %X operators can take a
- # pattern/replacement argument to perform simple string substititions on a
+ # pattern/replacement argument to perform simple string substitutions on a
# particular part of the path. The pattern and replacement are separated
# by a comma and are enclosed by curly braces. The replacement spec comes
# after the % character but before the operator letter. (e.g.
- # "%{old,new}d"). Muliple replacement specs should be separated by
+ # "%{old,new}d"). Multiple replacement specs should be separated by
# semi-colons (e.g. "%{old,new;src,bin}d").
#
# Regular expressions may be used for the pattern, and back refs may be
View
2 lib/rake/task.rb
@@ -138,7 +138,7 @@ def clear_actions
self
end
- # Invoke the task if it is needed. Prerequites are invoked first.
+ # Invoke the task if it is needed. Prerequisites are invoked first.
def invoke(*args)
task_args = TaskArguments.new(arg_names, args)
invoke_with_call_chain(task_args, InvocationChain::EMPTY)
View
2 lib/rake/task_arguments.rb
@@ -1,7 +1,7 @@
module Rake
####################################################################
- # TaskAguments manage the arguments passed to a task.
+ # TaskArguments manage the arguments passed to a task.
#
class TaskArguments
include Enumerable
View
2 rake.blurb
@@ -12,7 +12,7 @@ description: >
defined in standard Ruby syntax. No XML files to edit. No quirky
Makefile syntax to worry about (is that a tab or a space?)</li>
<li>Users can specify tasks with prerequisites.</li>
- <li>Rake supports rule patterns to sythesize implicit tasks.</li>
+ <li>Rake supports rule patterns to synthesize implicit tasks.</li>
<li>Rake is lightweight. It can be distributed with other
projects as a single file. Projects that depend upon rake do not
require that rake be installed on target systems.</li>
View
4 test/functional/session_based_tests.rb
@@ -56,13 +56,13 @@ def test_rake_error_on_bad_task
assert_status(1)
end
- def test_env_availabe_at_top_scope
+ def test_env_available_at_top_scope
Dir.chdir("test/data/default") do rake "TESTTOPSCOPE=1" end
assert_match(/^TOPSCOPE$/, @out)
assert_status
end
- def test_env_availabe_at_task_scope
+ def test_env_available_at_task_scope
Dir.chdir("test/data/default") do rake "TESTTASKSCOPE=1 task_scope" end
assert_match(/^TASKSCOPE$/, @out)
assert_status
View
2 test/lib/filelist_test.rb
@@ -20,7 +20,7 @@ def teardown
FileUtils.rm_rf("testdata")
end
- def test_delgating_methods_do_not_include_to_a_or_to_ary
+ def test_delegating_methods_do_not_include_to_a_or_to_ary
assert ! FileList::DELEGATING_METHODS.include?("to_a"), "should not include to_a"
assert ! FileList::DELEGATING_METHODS.include?(:to_a), "should not include to_a"
assert ! FileList::DELEGATING_METHODS.include?("to_ary"), "should not include to_ary"
View
2 test/lib/rules_test.rb
@@ -97,7 +97,7 @@ def test_plain_strings_as_dependents_refer_to_files
assert_equal [OBJFILE], @runs
end
- def test_file_names_beginning_with_dot_can_be_tricked_into_refering_to_file
+ def test_file_names_beginning_with_dot_can_be_tricked_into_referring_to_file
verbose(false) do
chdir("testdata") do
create_file('.foo')
View
2 test/lib/task_arguments_test.rb
@@ -81,7 +81,7 @@ def test_default_arguments_values_can_be_merged
assert_equal 'original_val', ta[:bb]
end
- def test_default_arguements_that_dont_match_names_are_ignored
+ def test_default_arguments_that_dont_match_names_are_ignored
ta = Rake::TaskArguments.new(["aa", "bb"], [nil, "original_val"])
ta.with_defaults({ "cc" => "default_val" })
assert_nil ta[:cc]

0 comments on commit 53219ca

Please sign in to comment.
Something went wrong with that request. Please try again.