version 0.6.7 release: major features are (1) syntax highlighting (2) in order to support this had to build many platform gems as windows requires win32console gem which *nix does not

This commit is contained in:
John Mair 2011-03-04 00:50:04 +13:00
parent e5b6924c61
commit 52349f552a
5 changed files with 18 additions and 3 deletions

View File

@ -1,3 +1,11 @@
4/3/2011 version 0.6.7
* color support
* --simple-prompt for pry commandline
* -I mode for pry commandline
* --color mode for pry commandline
* clean up requires (put them all in one place)
* simple-prompt command and toggle-color commandd.
28/2/2011 version 0.6.3
* Using MethodSource 0.3.4 so 1.8 show-method support provided
* `Set` class added to list of classes that are inspected

View File

@ -164,6 +164,7 @@ end.
* Pry can be invoked at any time and on any object in the running program.
* Pry sessions can nest arbitrarily deeply -- to go back one level of nesting type 'exit' or 'quit' or 'back'
* Pry comes with syntax highlighting just use the `toggle-color` command to use it.
* Use `_` to recover last result.
* Use `_pry_` to reference the Pry instance managing the current session.
* Pry supports tab completion.
@ -241,6 +242,8 @@ If you want to access a method of the same name, prefix the invocation by whites
* `status` shows status information about the current session.
* `version` Show Pry version information
* `help` shows the list of session commands with brief explanations.
* `toggle-color` turns on and off syntax highlighting.
* `simple-prompt` toggles the simple prompt mode.
* `exit` or `quit` or `back` or `^d` (control-d) will end the current Pry session and go
back to the calling process or back one level of nesting (if there
are nested sessions).

6
TODO
View File

@ -1,10 +1,14 @@
Future
* add whereami command, a la the `ir_b` gem
* allows pipes (|) for commands
0.6.7
* color support
* --simple-prompt for pry commandline
* -I mode for pry commandline
* --color mode for pry commandline
* clean up requires (put them all in one place)
* add whereami command, a la the `ir_b` gem
* simple-prompt command and toggle-color commandd.
0.6.1
* !@ command alias for exit_all

View File

@ -48,7 +48,7 @@ class Pry
output.puts "Syntax highlighting #{Pry.color ? "on" : "off"}"
end
command "toggle-simple", "Toggle the simple prompt." do
command "simple-prompt", "Toggle the simple prompt." do
case Pry.active_instance.prompt
when Pry::SIMPLE_PROMPT
Pry.active_instance.prompt = Pry::DEFAULT_PROMPT

View File

@ -1,3 +1,3 @@
class Pry
VERSION = "0.6.7pre4"
VERSION = "0.6.7"
end