CHANGELOG.rdoc 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. == 0.15.4, release 2012-06-29
  2. * Fix regression when destination root contains reserved regexp characters
  3. == 0.15.3, release 2012-06-18
  4. * Support strict_args_position! for backwards compatibility
  5. * Escape Dir glob characters in paths
  6. == 0.15.2, released 2012-05-07
  7. * Added print_in_columns
  8. * Exposed terminal_width as a public API
  9. == 0.15.1, release 2012-05-06
  10. * Fix Ruby 1.8 truncation bug with unicode chars
  11. * Fix shell delegate methods to pass their block
  12. * Don't output trailing spaces when printing the last column in a table
  13. == 0.15, released 2012-04-29
  14. * Alias method_options to options
  15. * Refactor say to allow multiple colors
  16. * Exposed error as a public API
  17. * Exposed file_collision as a public API
  18. * Exposed print_wrapped as a public API
  19. * Exposed set_color as a public API
  20. * Fix number-formatting bugs in print_table
  21. * Fix "indent" typo in print_table
  22. * Fix Errno::EPIPE when piping tasks to `head`
  23. * More friendly error messages
  24. == 0.14, released 2010-07-25
  25. * Added CreateLink class and #link_file method
  26. * Made Thor::Actions#run use system as default method for system calls
  27. * Allow use of private methods from superclass as tasks
  28. * Added mute(&block) method which allows to run block without any output
  29. * Removed config[:pretend]
  30. * Enabled underscores for command line switches
  31. * Added Thor::Base.basename which is used by both Thor.banner and Thor::Group.banner
  32. * Deprecated invoke() without arguments
  33. * Added :only and :except to check_unknown_options
  34. == 0.13, released 2010-02-03
  35. * Added :lazy_default which is only triggered if a switch is given
  36. * Added Thor::Shell::HTML
  37. * Added subcommands
  38. * Decoupled Thor::Group and Thor, so it's easier to vendor
  39. * Added check_unknown_options! in case you want error messages to be raised in valid switches
  40. * run(command) should return the results of command
  41. == 0.12, released 2010-01-02
  42. * Methods generated by attr_* are automatically not marked as tasks
  43. * inject_into_file does not add the same content twice, unless :force is set
  44. * Removed rr in favor to rspec mock framework
  45. * Improved output for thor -T
  46. * [#7] Do not force white color on status
  47. * [#8] Yield a block with the filename on directory
  48. == 0.11, released 2009-07-01
  49. * Added a rake compatibility layer. It allows you to use spec and rdoc tasks on
  50. Thor classes.
  51. * BACKWARDS INCOMPATIBLE: aliases are not generated automatically anymore
  52. since it may cause wrong behavior in the invocation system.
  53. * thor help now show information about any class/task. All those calls are
  54. possible:
  55. thor help describe
  56. thor help describe:amazing
  57. Or even with default namespaces:
  58. thor help :spec
  59. * Thor::Runner now invokes the default task if none is supplied:
  60. thor describe # invokes the default task, usually help
  61. * Thor::Runner now works with mappings:
  62. thor describe -h
  63. * Added some documentation and code refactoring.
  64. == 0.9.8, released 2008-10-20
  65. * Fixed some tiny issues that were introduced lately.
  66. == 0.9.7, released 2008-10-13
  67. * Setting global method options on the initialize method works as expected:
  68. All other tasks will accept these global options in addition to their own.
  69. * Added 'group' notion to Thor task sets (class Thor); by default all tasks
  70. are in the 'standard' group. Running 'thor -T' will only show the standard
  71. tasks - adding --all will show all tasks. You can also filter on a specific
  72. group using the --group option: thor -T --group advanced
  73. == 0.9.6, released 2008-09-13
  74. * Generic improvements
  75. == 0.9.5, released 2008-08-27
  76. * Improve Windows compatibility
  77. * Update (incorrect) README and task.thor sample file
  78. * Options hash is now frozen (once returned)
  79. * Allow magic predicates on options object. For instance: `options.force?`
  80. * Add support for :numeric type
  81. * BACKWARDS INCOMPATIBLE: Refactor Thor::Options. You cannot access shorthand forms in options hash anymore (for instance, options[:f])
  82. * Allow specifying optional args with default values: method_options(:user => "mislav")
  83. * Don't write options for nil or false values. This allows, for example, turning color off when running specs.
  84. * Exit with the status of the spec command to help CI stuff out some.
  85. == 0.9.4, released 2008-08-13
  86. * Try to add Windows compatibility.
  87. * BACKWARDS INCOMPATIBLE: options hash is now accessed as a property in your class and is not passed as last argument anymore
  88. * Allow options at the beginning of the argument list as well as the end.
  89. * Make options available with symbol keys in addition to string keys.
  90. * Allow true to be passed to Thor#method_options to denote a boolean option.
  91. * If loading a thor file fails, don't give up, just print a warning and keep going.
  92. * Make sure that we re-raise errors if they happened further down the pipe than we care about.
  93. * Only delete the old file on updating when the installation of the new one is a success
  94. * Make it Ruby 1.8.5 compatible.
  95. * Don't raise an error if a boolean switch is defined multiple times.
  96. * Thor::Options now doesn't parse through things that look like options but aren't.
  97. * Add URI detection to install task, and make sure we don't append ".thor" to URIs
  98. * Add rake2thor to the gem binfiles.
  99. * Make sure local Thorfiles override system-wide ones.