Posted By: Jim Weirich
Date: 2007-12-21 19:34
Summary: Rake 0.8.0 Released
Project: Rake

Rake 0.8.0 is released. The docs have not been updated yet, but I didn't want to delay the new version for that. We will get the documents up to date shortly.

In the meantime, here is the latest change list entries:

== Version 0.8.0

* Added task parameters (e.g. "rake build[version7]")
* Made task parameters passable to prerequisites.
* The 'task' command will now accept task argument names.
* Comments are limited to 80 columns or so (suggested by Jamis Buck).
* Added -D to display full comments (suggested by Jamis Buck).
* The rake program will set the status value used in any explicit
exit(n) calls. (patch provided by Stephen Touset)
* Fixed error in functional tests that were not including session (and
silently skipping the functionl tests).
* Removed --usage and make -h the same as -H.
* Make a prettier inspect for tasks.

Latest News
Version 1.6.0 of Mxx_ru released
    Nicolay Shmakov - 2013-06-19 12:07
TZInfo v1.0.0 and TZInfo::Data v1.2013.3 Released
    Philip Ross - 2013-06-02 17:12
icalendar 1.4.0 Released
    Ryan Ahearn - 2013-05-21 23:17
BinData 1.5.0 - source moved to github
    Dion Mendel - 2013-05-21 11:10
v13.5.0 Released !!
    id 774 - 2013-05-18 12:28

 

Forums | Admin

Discussion Forums: rake-0.8.0-released

Start New Thread Start New Thread
Message: 38547
BY: alex rakoczy (scissorjammer)
DATE: 2008-01-09 17:13
SUBJECT: RE: Rake::Task.execute

 

If you're working on a codebase where you're not sure what version of rake the user will have, you can try this as a workaround:

rake_gem_version = Gem.cache.search('rake').sort_by { |g|
g.version.version }.last.version.version
if rake_gem_version.to_f >= 0.8
Rake::Task["rake:task:here"].execute nil
else
Rake::Task["rake:task:here"].execute
end


Thread View

Thread Author Date
Rake::Task.executealex rakoczy2007-12-21 17:06
      RE: Rake::Task.executeAndy Kappen2008-01-09 16:31
            RE: Rake::Task.executealex rakoczy2008-01-09 17:13
            FAQAndrew Hopkins2008-01-12 13:31
      RE: Rake::Task.executeAndrew Hopkins2008-01-12 13:35

Post a followup to this message