Permalink
Browse files

fixed help for play command, updated TODO and CHANGELOG

  • Loading branch information...
1 parent cd48382 commit 0394c3e6ead0b08c47ccf2d0f8edbe9c5d0da98b @banister banister committed Jul 26, 2011
Showing with 9 additions and 1 deletion.
  1. +6 −0 CHANGELOG
  2. +2 −0 TODO
  3. +1 −1 lib/pry/default_commands/input.rb
View
@@ -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!)
View
2 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
@@ -60,7 +60,7 @@ module DefaultCommands
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

0 comments on commit 0394c3e

Please sign in to comment.