diff --git a/CHANGELOG b/CHANGELOG index 522591fc..aeac987b 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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 diff --git a/README.markdown b/README.markdown index 6fc89e34..f269841e 100644 --- a/README.markdown +++ b/README.markdown @@ -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). diff --git a/TODO b/TODO index 4d53effb..ed94b951 100644 --- a/TODO +++ b/TODO @@ -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 diff --git a/lib/pry/commands.rb b/lib/pry/commands.rb index f2c98b1a..48c5af05 100644 --- a/lib/pry/commands.rb +++ b/lib/pry/commands.rb @@ -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 diff --git a/lib/pry/version.rb b/lib/pry/version.rb index 11201c92..226b30c8 100644 --- a/lib/pry/version.rb +++ b/lib/pry/version.rb @@ -1,3 +1,3 @@ class Pry - VERSION = "0.6.7pre4" + VERSION = "0.6.7" end