/tools/Ruby/lib/ruby/gems/1.8/gems/rake-0.9.2/doc/release_notes/rake-0.7.2.rdoc

http://github.com/agross/netopenspace · Unknown · 121 lines · 75 code · 46 blank · 0 comment · 0 complexity · d81b38727ccd92edf937b6aebcae2fb9 MD5 · raw file

  1. = Rake 0.7.2 Released
  2. Version 0.7.2 supplies a bug fix and a few minor enhancements. In
  3. particular, the new version fixes an incompatibility with the soon to
  4. be released Ruby 1.8.6. We strongly recommend upgrading to Rake 0.7.2
  5. in order to be compatible with the new version of Ruby.
  6. == Changes
  7. === Bug Fixes in 0.7.2
  8. There are quite a number of bug fixes in the new 0.7.2 version of
  9. Rake:
  10. * Removed dependency on internal fu_xxx functions from FileUtils.
  11. * Error messages are now send to stderr rather than stdout (from
  12. Payton Quackenbush).
  13. * Better error handling on invalid command line arguments (from Payton
  14. Quackenbush).
  15. * Fixed some bugs where the application object was going to the global
  16. appliation instead of using its own data.
  17. * Fixed the method name leak from FileUtils (bug found by Glenn
  18. Vanderburg).
  19. * Added test for noop, bad_option and verbose flags to sh command.
  20. * Added a description to the gem task in GemPackageTask.
  21. * Fixed a bug when rules have multiple prerequisites (patch by Joel
  22. VanderWerf)
  23. * Added the handful of RakeFileUtils to the private method as well.
  24. === New Features in 0.7.2
  25. The following new features are available in Rake version 0.7.2:
  26. * Added square and curly bracket patterns to FileList#include (Tilman
  27. Sauerbeck).
  28. * FileLists can now pass a block to FileList#exclude to exclude files
  29. based on calculated values.
  30. * Added plain filename support to rule dependents (suggested by Nobu
  31. Nakada).
  32. * Added pathmap support to rule dependents. In other words, if a
  33. pathmap format (beginning with a '%') is given as a Rake rule
  34. dependent, then the name of the depend will be the name of the
  35. target with the pathmap format applied.
  36. * Added a 'tasks' method to a namespace to get a list of tasks
  37. associated with the namespace.
  38. * Added tar_command and zip_command options to the Package task.
  39. * The clean task will no longer delete 'core' if it is a directory.
  40. === Internal Rake Improvements
  41. The following changes will are mainly internal improvements and
  42. refactorings and have little effect on the end user. But they may be
  43. of interest to the general public.
  44. * Added rcov task and updated unit testing for better code coverage.
  45. * Added a 'shame' task to the Rakefile.
  46. * Added rake_extension to handle detection of extension collisions.
  47. * Added a protected 'require "rubygems"' to test/test_application to
  48. unbreak cruisecontrol.rb.
  49. * Removed rake_dup. Now we just simply rescue a bad dup.
  50. * Refactored the FileList reject logic to remove duplication.
  51. * Removed if __FILE__ at the end of the rake.rb file.
  52. == What is Rake
  53. Rake is a build tool similar to the make program in many ways. But
  54. instead of cryptic make recipes, Rake uses standard Ruby code to
  55. declare tasks and dependencies. You have the full power of a modern
  56. scripting language built right into your build tool.
  57. == Availability
  58. The easiest way to get and install rake is via RubyGems ...
  59. gem install rake (you may need root/admin privileges)
  60. Otherwise, you can get it from the more traditional places:
  61. Home Page:: http://rake.rubyforge.org/
  62. Download:: http://rubyforge.org/project/showfiles.php?group_id=50
  63. == Thanks
  64. As usual, it was input from users that drove a alot of these changes.
  65. The following people either contributed patches, made suggestions or
  66. made otherwise helpful comments. Thanks to ...
  67. * Payton Quackenbush -- For several error handling improvements.
  68. * Glenn Vanderburg -- For finding and fixing the method name leak from
  69. FileUtils.
  70. * Joel VanderWerf -- for finding and fixing a bug in the handling of
  71. multiple prerequisites.
  72. * Tilman Sauerbeck -- For some enhancing FileList to support more
  73. advanced file globbing.
  74. * Nobu Nakada -- For suggesting plain file name support to rule dependents.
  75. -- Jim Weirich