Skip to content

Commit

Permalink
fixed help for play command, updated TODO and CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
banister committed Jul 26, 2011
1 parent cd48382 commit 0394c3e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG
Original file line number Original file line Diff line number Diff line change
@@ -1,10 +1,16 @@
*/7/2011 version 0.9.3 */7/2011 version 0.9.3
* hist command now excludes last line of input (the command invocation itself) * 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 * `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 * 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" * fixed exotic object regression - BasicObject.new etc now return "=> unknown"
* added reload-method command (reloads the associated file of a method) * added reload-method command (reloads the associated file of a method)
* converted: import => import-set, version => pry-version, install => install-command * 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 21/6/2011 version 0.9.2
* fixed string interpolation bug (caused valid ruby code not to execute, sorry!) * fixed string interpolation bug (caused valid ruby code not to execute, sorry!)
Expand Down
2 changes: 2 additions & 0 deletions TODO
Original file line number Original file line Diff line number Diff line change
@@ -1,5 +1,6 @@
0.9.3 0.9.3
* hist command now excludes last line of input (the command invocation itself) * 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 * `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 * new Pry.config.disable_auto_reload option, for turning off auto reloading by edit-method and related
* add better error messages for `cd` command * add better error messages for `cd` command
Expand All @@ -11,6 +12,7 @@
* fixed exotic object regression - BasicObject.new etc now return "=> unknown" * fixed exotic object regression - BasicObject.new etc now return "=> unknown"
* converted: import => import-set, version => pry-version, install => install-command * converted: import => import-set, version => pry-version, install => install-command
* fix show-doc bug for ruby 1.8 and Kernel.fork * 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 0.9.0
Major features Major features
Expand Down
2 changes: 1 addition & 1 deletion lib/pry/default_commands/input.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ module DefaultCommands


opt.on :l, :lines, 'The line (or range of lines) to replay.', true, :as => Range 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 :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 :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 opt.on :h, :help, "This message." do
output.puts opt output.puts opt
Expand Down

0 comments on commit 0394c3e

Please sign in to comment.