diff --git a/CHANGELOG b/CHANGELOG index 03de184e..150cb0bb 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,10 +1,16 @@ */7/2011 version 0.9.3 * hist command now excludes last line of input (the command invocation itself) +* hist now has `history` alias * `pry -r` requires now happen after plugin loading (so as not to interfere with * new Pry.config.disable_auto_reload option, for turning off auto reloading by edit-method and related +* add better error messages for `cd` command * fixed exotic object regression - BasicObject.new etc now return "=> unknown" * added reload-method command (reloads the associated file of a method) * converted: import => import-set, version => pry-version, install => install-command +* cat --ex (cats 5 lines above and below line in file where exception was raised) +* edit --ex (edits line in file where exception was raised) +* Pry.config.command_prefix support +* edit -t (opens a temporary file and evals it in current context when closed) 21/6/2011 version 0.9.2 * fixed string interpolation bug (caused valid ruby code not to execute, sorry!) diff --git a/TODO b/TODO index 9d2a28b7..3b5173c2 100644 --- a/TODO +++ b/TODO @@ -1,5 +1,6 @@ 0.9.3 * hist command now excludes last line of input (the command invocation itself) +* hist now has `history` alias * `pry -r` requires now happen after plugin loading (so as not to interfere with * new Pry.config.disable_auto_reload option, for turning off auto reloading by edit-method and related * add better error messages for `cd` command @@ -11,6 +12,7 @@ * fixed exotic object regression - BasicObject.new etc now return "=> unknown" * converted: import => import-set, version => pry-version, install => install-command * fix show-doc bug for ruby 1.8 and Kernel.fork +* edit -t (opens a temporary file and evals it in current context when closed) 0.9.0 Major features diff --git a/lib/pry/default_commands/input.rb b/lib/pry/default_commands/input.rb index fd5005eb..6816040d 100644 --- a/lib/pry/default_commands/input.rb +++ b/lib/pry/default_commands/input.rb @@ -60,7 +60,7 @@ e.g amend-line puts 'hello again' # no line number modifies immediately preced opt.on :l, :lines, 'The line (or range of lines) to replay.', true, :as => Range opt.on :m, :method, 'Play a method.', true - opt.on :f, "file", 'The line (or range of lines) to replay.', true + opt.on :f, "file", 'The file to replay in context.', true opt.on :o, "open", 'When used with the -m switch, it plays the entire method except the last line, leaving the method definition "open". `amend-line` can then be used to modify the method.' opt.on :h, :help, "This message." do output.puts opt