convert win32 directory separator "\\" to "/".

convert win32 directory separator "\\" to "/".

%r!#{["e:\\xpgs\\jruby", 'other'].join '|'}!
ArgumentError: invalid hex escape
Add Rake::Task#prerequisite_tasks!

Add Rake::Task#prerequisite_tasks! method to return a full list
of prerequisite tasks from the receiver tasks and its prerequisite
tasks tasks, recursively.

This is usefull if one needs to call reenable on a task and all
of its prerequisite tasks.

Other alternatives for the method name may be #deep_prerequisite_tasks
based on deep_clone or deep_copy.

The implementation proposed sets a default depth limit of 30 to avoid
circular dependency(SystemStackError: stack level too deep).

Signed-off-by: João Soares <jsoaresgeral@gmail.com>
Add comments to Rake::Task#prerequisite_tasks!

Signed-off-by: João Soares <jsoaresgeral@gmail.com>
Merge pull request #167 from windwiny/patch-1

convert win32 directory separator "\\" to "/".
add Rakefile Path section to rakefile.rdoc
about environment variable persistance in doc
fix my own typos
fix example
Do NOT duplicate arguments in a future.

Duplicating a task argument in a future causes it's lock to become
useless.  Since we (currently) only pass tasks to futures as
arguments, and we only invoke it within the future, and invoking
itself is thread-safe, there is no need to automatically duplicate
arguments to the future.
Merge branch 'docs' of https://github.com/CLUSTERfoo/rake into docs

* 'docs' of https://github.com/CLUSTERfoo/rake:
  fix example
  fix my own typos
  about environment variable persistance in doc
  add Rakefile Path section to rakefile.rdoc
Minor tweeks to rakefile document changes.
Add travis CI config file.
Disable CI builds that aren't working (for now).
New implementation without duplicates

Rename Rake::Task#prerequisite_tasks! to
Rake::Task#all_prerequisite_tasks.

Reimplement Rake::Task#all_prerequisite_tasks to not return duplicates.

Add protected helper method to recursively collect dependencies
rejecting duplicates.

Abstract tests from returned list order.

Signed-off-by: João Soares <jsoaresgeral@gmail.com>
Merge branch 'deep_prerequisite_tasks' of https://github.com/jasoares/rake into prereq2

* 'deep_prerequisite_tasks' of https://github.com/jasoares/rake:
  New implementation without duplicates
  Add comments to Rake::Task#prerequisite_tasks!
  Add Rake::Task#prerequisite_tasks!
Remove unneeded "unless".
Switch to hash for recording already seen tasks in all_prerequisite_tasks.
Ooops. Missed a name change.