1= Rake 0.9.0 Released 2 3Rake version 0.9.0 has a number of bug fixes and enhancments (see 4below for more details). Additionally, the internals have be slightly 5restructured and improved. 6 7== Changes 8 9=== New Features / Enhancements / Bug Fixes in Version 0.9.0 10 11* Rake now warns when the deprecated :needs syntax used (and suggests 12 the proper syntax in the warning). 13 14* Moved Rake DSL commands to top level ruby object 'main'. Rake DSL 15 commands are no longer private methods in Object. (Suggested by 16 James M. Lawrence/quix) 17 18* Rake now uses case-insensitive comparisons to find the Rakefile on Windows. 19 Based on patch by Roger Pack. 20 21* Rake now requires (instead of loads) files in the test task. Patch by Cezary 22 Baginski. 23 24* Fixed typos. Patches by Sean Scot August Moon and R.T. Lechow. 25 26* Rake now prints the Rakefile directory only when it's different from the 27 current directory. Patch by Alex Chaffee. 28 29* Improved rakefile_location discovery on Windows. Patch by James Tucker. 30 31* Rake now recognizes "Windows Server" as a windows system. Patch by Matthias 32 Lüdtke 33 34* Rake::RDocTask is deprecated. Use RDoc::Task from RDoc 2.4.2+ (require 35 'rdoc/task') 36 37* Rake::GemPackageTask is deprecated. Use Gem::PackageTask (require 38 'rubygems/package_task') 39 40* Rake now outputs various messages to $stderr instead of $stdout. 41 42* Rake no longer emits warnings for Config. Patch by Santiago Pastorino. 43 44* Removed Rake's DSL methods from the top level scope. If you need to 45 call 'task :xzy' in your code, include Rake::DSL into your class, or 46 put the code in a Rake::DSL.environment do ... end block. 47 48* Split rake.rb into individual files. 49 50* Support for the --where (-W) flag for showing where a task is defined. 51 52* Fixed quoting in test task. 53 (http://onestepback.org/redmine/issues/show/44, 54 http://www.pivotaltracker.com/story/show/1223138) 55 56* Fixed the silent option parsing problem. 57 (http://onestepback.org/redmine/issues/show/47) 58 59* Fixed :verbose=>false flag on sh and ruby commands. 60 61* Rake command line options may be given by default in a RAKEOPT 62 environment variable. 63 64* Errors in Rake will now display the task invocation chain in effect 65 at the time of the error. 66 67* Accepted change by warnickr to not expand test patterns in shell 68 (allowing more files in the test suite). 69 70* Fixed that file tasks did not perform prereq lookups in scope 71 (Redmine #57). 72 73== What is Rake 74 75Rake is a build tool similar to the make program in many ways. But 76instead of cryptic make recipes, Rake uses standard Ruby code to 77declare tasks and dependencies. You have the full power of a modern 78scripting language built right into your build tool. 79 80== Availability 81 82The easiest way to get and install rake is via RubyGems ... 83 84 gem install rake (you may need root/admin privileges) 85 86Otherwise, you can get it from the more traditional places: 87 88Home Page:: http://rake.rubyforge.org/ 89Download:: http://rubyforge.org/project/showfiles.php?group_id=50 90GitHub:: git://github.com/jimweirich/rake.git 91 92== Thanks 93 94As usual, it was input from users that drove a alot of these changes. The 95following people either contributed patches, made suggestions or made 96otherwise helpful comments. Thanks to ... 97 98* James M. Lawrence (quix) 99* Roger Pack 100* Cezary Baginski 101* Sean Scot August Moon 102* R.T. Lechow 103* Alex Chaffee 104* James Tucker 105* Matthias Lüdtke 106* Santiago Pastorino 107 108Also, bit thanks to Eric Hodel for assisting with getting this release 109out the door (where "assisting" includes, but is not by any means 110limited to, "pushing" me to get it done). 111 112-- Jim Weirich 113