1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

fixed help for play command, updated TODO and CHANGELOG

This commit is contained in:
John Mair 2011-07-27 05:09:21 +12:00
parent cd48382d0e
commit 0394c3e6ea
3 changed files with 9 additions and 1 deletions

View file

@ -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!)

2
TODO
View file

@ -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

View file

@ -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