ChangeLog.md in rprogram-0.2.3 vs ChangeLog.md in rprogram-0.3.0

- old
+ new

@@ -1,38 +1,60 @@ +### 0.3.0 / 2011-04-08 + +* Merged `RProgram::Nameable` into {RProgram::Program}. +* Merged `RProgram::Options` into {RProgram::Task}. +* Renamed `RProgram::Compat` to {RProgram::System}. +* Added {RProgram::System.arch}. +* Added {RProgram::System.platform}. +* Added {RProgram::System.windows?}. +* Added {RProgram::System.ruby_1_8?}. +* Added {RProgram::System.jruby?}. +* Added {RProgram::System.sudo_path}. +* Added {RProgram::System.sudo_path=}. +* Added {RProgram::System.sudo?}. +* Added {RProgram::Sudo}. +* Added {RProgram::SudoTask}. +* Allow passing tailing [exec-options](http://rubydoc.info/stdlib/core/1.9.2/Kernel#spawn-instance_method) + to {RProgram::System.run} (only supported on Ruby 1.9). +* Allow using `IO.popen` in {RProgram::System.run} if the `:popen` option + is specified (only available on Ruby 1.9). +* Allow specifying the environment variables in {RProgram::System.run} + if the `:env` option is specified (only available on Ruby 1.9). + ### 0.2.3 / 2011-03-30 * Require env ~> 0.1, >= 0.1.2. * Automatically search for programs with a `.exe` suffix, when running on Windows. -* {RProgram::Compat.find_program} and {RProgram::Compat.find_program_by_names} +* `RProgram::Compat.find_program` and `RProgram::Compat.find_program_by_names` now return a `Pathname` object. ### 0.2.2 / 2011-01-22 -* Deprecated {RProgram::Compat.platform}. +* Deprecated `RProgram::Compat.platform`. * Use `File::PATH_SEPARATOR` to separate the `PATH` environment variable in `RProgram::Compat.paths`. ### 0.2.1 / 2010-10-27 * Allow the formatter block passed to {RProgram::Option} to return `nil`. ### 0.2.0 / 2010-10-03 -* Added {RProgram::Nameable::ClassMethods}. -* Added {RProgram::Options::ClassMethods}. -* Added {RProgram::Nameable::ClassMethods#path}: +* Added `RProgram::Nameable::ClassMethods`. +* Added `RProgram::Options::ClassMethods`. +* Added `RProgram::Nameable::ClassMethods#path`: * {RProgram::Program.find} will default to - {RProgram::Nameable::ClassMethods#path} if set. + `RProgram::Nameable::ClassMethods#path` if set. ### 0.1.8 / 2009-12-24 * Allow Program to run commands under sudo: - * Added {RProgram::Compat.sudo}. - * Added {RProgram::Task#sudo}. - * Added {RProgram::Task#sudo=}. - * Added {RProgram::Task#sudo?}. + * Added `RProgram::Compat.sudo`. + * Added `RProgram::Task#sudo`. + * Added `RProgram::Task#sudo=`. + * Added `RProgram::Task#sudo?`. * Added {RProgram::Program#sudo}. ### 0.1.7 / 2009-09-21 * Require Hoe >= 2.3.3. @@ -44,10 +66,10 @@ ### 0.1.6 / 2009-06-30 * Use Hoe 2.2.0. * Removed requirement for 'open3'. -* Renamed PRogram::Compat.PATHS to `RProgram::Compat.paths`. +* Renamed `PRogram::Compat.PATHS` to `RProgram::Compat.paths`. * Refactored {RProgram::Option#arguments}. * Removed `RProgram::Option#format`. * Refactored {RProgram::NonOption#arguments}. * Renamed `RProgram::NonOption#leading` to {RProgram::NonOption#leading?}. * Removed `RProgram::NonOption#tailing`.