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

Clean up CHANGELOG

* Make it Markdown instead of plain text
* Clean up wording and formatting back to 0.9.0
* Incorporate entries for non-master releases 0.9.11.4 through 0.9.12.2
This commit is contained in:
Ryan Fitzgerald 2013-11-09 18:05:53 -08:00
parent def1d745a9
commit 9ac9280009

View file

@ -1,178 +1,238 @@
17/01/2012 version 0.9.11.3 ### 0.9.12.3 (2013/09/11)
* fix Pry.run_command * Bump Coderay dependency (#987)
* improve `ls` output * Fix consecutive newlines in heredocs being collapsed (#962)
* add :requires_gem => "jist" to 'gist' command (so deps can be installed * Fix pager not working in JRuby > 1.7.5 (#992)
via install-command)
* improve help for 'edit' command
16/01/2012 version 0.9.11.2 ### 0.9.12.2 (2013/05/10)
* minor bug fix for gist on windows, rescuing Jist::ClipboardError * Make `reload-code` with no args reload "current" file (#920)
rather than letting the scary error spill out to users and potentially
have them think the gist didnt post.
16/01/2012 version 0.9.11.1 ### 0.9.12.1 (2013/04/21)
* fixed minor bug in 'gist' command where i neglected to remove * Add workaround for JRuby crashing bug (#890)
a call to a non-existent method (no_arg) which was called when * Related to http://jira.codehaus.org/browse/JRUBY-7114
### 0.9.12 (2013/02/12)
#### Features
* `pry --gem` (see 19bfc13aa)
* `show-source` now works on commands created with `create_command`
* `whereami` now has `-m` (method), `-c` (class), and `-f` (file) options
* `show-source` now falls back to superclass (and displays warning) if it
can't find class code
* `show-source`/`show-doc` now indicate when `-a` option is available
#### Bug fixes, etc.
* Fix commands breaking due to Slop looking at `ARGV` instead of command
parameters (#828)
* Fix pager breaking in some situations (#845)
* Fix broken rendering of some docs (#795)
* Silence warnings during failed tab-completion attempts
* Fix broken prompt when prompt is colored (#822 / #823)
* Added `reload-method` as alias for `reload-code` (for backwards
compatibility)
* Reopen `Readline.output` if it is not a tty (see 1538bc0990)
### 0.9.11.4 (2013/01/20)
* Fix pager not rendering color codes in some circumstances
* Add `Pry.last_internal_error`, useful for devs debugging commands
### 0.9.11.3 (2013/01/17)
* Fix `Pry.run_command`
* Improve `ls` output
* Add `:requires_gem => "jist"` to `gist` command (so dependencies can be
installed via `install-command`)
* Improve help for `edit` command
### 0.9.11.2 (2013/01/16)
* Fix minor bug in `gist` on Windows: rescue `Jist::ClipboardError` rather
than letting the scary error spill out to users and potentially having them
think the gist didn't post.
### 0.9.11.1 (2013/01/16)
* Fix minor bug in `gist` command where I neglected to remove
a call to a non-existent method (`no_arg`) which was called when
`gist` is invoked with no parameters `gist` is invoked with no parameters
16/01/2013 version 0.9.11 ### 0.9.11 (2013/01/16)
dependency changes: #### Dependency changes
* upgrade the slop gem to version ~> 3.4 * Upgrade `slop` to `~> 3.4`
* new optional dependency: Bond (you'll need to perform `gem install bond`). It enables autocompletion if you use Readline. Does not support work for Editline (more info: https://github.com/pry/pry/wiki/FAQ#wiki-readline). Big thanks to cldwalker. * New optional dependency: `bond`
* You'll need to perform `gem install bond`
* It improves autocompletion if you use Readline
* Does not work for libedit
(More info: https://github.com/pry/pry/wiki/FAQ#wiki-readline)
* Big thanks to cldwalker
new features: #### Features
* #738 basic Ruby 2.0 support * Basic Ruby 2.0 support (#738)
* #732 JRuby 1.7.0+ support * JRuby 1.7.0+ support (#732)
* new reload-code command, using it you can reload code for methods, * New `reload-code` command
classes, commands, objects and so on. e.g reload-code MyCLass, * Reload code for methods, classes, commands, objects and so on
reload-code my_method, reload-code my_obj * Examples: `reload-code MyClass`, `reload-code my_method`,
* added bond tabcompletion, much more powerful than standard tab `reload-code my_obj`
completion. However, it requires a real 'readline' to work, * Bond tab completion (see "Dependency changes")
so will not work on standard osx setup (since it uses Editline) * Consolidate "show" commands into `show-source`
* show-source can now extract source for classes, methods, procs, * `show-source` can now extract source for:
pry commands, and arbitrary objects (it shows the source for the class of * Classes
the object). As a result, show-command is now deprecated * Methods
* gist/play/save-file now infer object type without requiring flags, * Procs
e.g play MyClass, play my_file.rb, play my_method * Pry commands
* edit command can now edit most things, including: files, methods, * Arbitrary objects (it shows the source for the class of the object)
classes, commands. As a result the 'edit-method' command is now * As a result, `show-command` is now removed
deprecatd. * `gist`, `play`, and `save-file` now infer object type without requiring flags
e.g edit my_file.rb, edit my_method, edit MyClass * Examples: `play MyClass`, `play my_file.rb`, `play my_method`
* removed "edit-method", now merged with 'edit' * Consolidate editing commands into `edit`
* amend-line and play now properly indent code added to input buffer. * `edit` can now edit:
* #674 added support for require switches chaining (`pry -rubygems -r./a.rb`) * Files
* #695 added ability to customize the name displayed in the prompt * Methods
* #716 added `--patch` switch for `edit --ex` command * Classes
* #736 respect the `$PAGER` environment variable * Pry commands
* #497 added `disable-pry` command * As a result, `edit-method` is now removed
* removed "show-command" command; use "show-source" command instead * Examples: `edit MyClass`, `edit my_file.rb`, `edit my_method`
* exec switch chaining (`pry -e ':one' -e ':two'`) * `amend-line` and `play` now properly indent code added to input buffer
* added two new hooks: "before_eval" and "after_eval" * Support for multiple require switches (`pry -rubygems -r./a.rb`) (#674)
* added tabcompletion for "show-source", "show-doc" commands and "Array#<tab>" cases * Support for multiple exec switches (`pry -e ':one' -e ':two'`)
* immediately require gems after gem-install * Ability to customize the name displayed in the prompt (#695)
* added `-l` switch for `ls` command (displays local variables) * `--patch` switch for `edit --ex` command (#716)
* added "gem-open" command * Respect the `$PAGER` environment variable (#736)
* added "fix-indent" command * `disable-pry` command (#497)
* added subcommands API * Two new hooks, `before_eval` and `after_eval`
* exposed the test API for plugin writers (d1489a) * Tab completion for `Array#<tab>` in `show-source` and `show-doc`
* tablifed ls output * `gem-install` immediately requires gems
* added `--no-line-numbers` switch for "whereami" command * `-l` switch for `ls` command (displays local variables)
* added `--lines` switch for "play" command * `gem-open` command
* `fix-indent` command
* Subcommands API
* Public test API for plugin writers (see d1489a)
* Tabular `ls` output
* `--no-line-numbers` switch for `whereami` command
* `--lines` switch for `play` command
bug fixes: #### Bug fixes, etc.
* #652 find-method uses single escape instead of double * Use single escape instead of double in `find-method` (#652)
* #657 fixed blank string delimiters * Fix blank string delimiters (#657)
* #622 fixed "unwanted 'binding_impl_method' local now exists in scratch bindings" * Fix unwanted `binding_impl_method` local in scratch bindings (#622)
* #645 fixed "edit-method -p changes constant lookup" * Fix `edit-method -p` changing constant lookup (#645)
* #682 fixed ".pryrc" loading twice when invoked from `$HOME` directory * Fix `.pryrc` loading twice when invoked from `$HOME` directory (#682)
* #675 fixed pry not remembering initial "pwd" * Fix Pry not remembering initial `pwd` (#675)
* #717 fixed multiline object coloring * Fix multiline object coloring (#717)
* #719 fixed "show-method" not supporting `String::new` notation * Fix `show-method` not supporting `String::new` notation (#719)
* #754 fixed "whereami" command not showing correct line numbers * Fix `whereami` command not showing correct line numbers (#754)
* #751 fixed buggy Cucumber AST output * Fix buggy Cucumber AST output (#751)
* #787 fixed `while/until do` loops indentation * Fix `while/until do` loops indentation (#787)
* #526 fixed buggy `--no-plugins` switch of pry * Fix `--no-plugins` switch (#526)
* #774 ensure all errors go to the error handler * Ensure all errors go to the error handler (#774)
* fixed ".pryrc" loading with wrong `__FILE__` * Fix `.pryrc` loading with wrong `__FILE__`
* fixed bug when pager doesn't work if "less" is not available on system * Fix pager not working if `less` is not available
* fixed "Control-D" press in nested REPL * Fix `^D` in nested REPL
* many small improvements of unclear error messages and formatting of documentation * Many small improvements to error message clarity and documentation formatting
14/07/2012 version 0.9.10 ### 0.9.10 (2012/07/04)
dependency changes: #### Dependency changes
* #561 upgrade the slop gem to version 3 * Upgrade `slop` to version 3 (#561)
* #590 move to the jist gem from gist. * Switch from `gist` gem to `jist` (#590)
* upgrade method_source to 0.8 * Upgrade `method_source` to 0.8
new features: #### Features
* #572 add --hist, -o and -k flags to gist command * Add `--hist`, `-o` and `-k` flags to `gist` command (#572)
* #584 support show-source/doc on methods defined in class-eval * Support `show-source`/`show-doc` on methods defined in `class_eval` (#584)
* #585 support show-source/doc on gem methods defined in C * Support `show-source`/`show-doc` on gem methods defined in C (#585)
* #596 add --disable-plugin and --select-plugin options * Add `--disable-plugin` and `--select-plugin` options (#596)
* #597 allow "cd -" to switch between bindings * Allow `cd -` to switch between bindings (#597)
* #612 add Pry.config.should_load_local_rc to turn off ./.pryrc * Add `Pry.config.should_load_local_rc` to turn off `./.pryrc` (#612)
* allow running a file of pry input with pry <file> * Allow running a file of Pry input with `pry <file>`
* support colours in "ri" command * Support colours in `ri` command
* add before_eval hook * Add `before_eval` hook
* prompt now gets a lot more data when proc arity is 1 * The prompt proc now gets a lot more data when its arity is 1
bug fixes &c. #### Bug fixes, etc.
* #554 removed the "req" command * Removed the `req` command (#554)
* #567 fix rendering bugs when starting pry * Fix rendering bugs when starting Pry (#567)
* #568 fix Array#pretty_print on Jruby * Fix `Array#pretty_print` on Jruby (#568)
* #575 fix "edit" on windows * Fix `edit` on Windows (#575)
* #576 fix "find-method" in the presence of badly behaved objects * Fix `find-method` in the presence of badly behaved objects (#576)
* #580 fix "whereami" in erb files on rails * Fix `whereami` in ERb files on Rails (#580)
* #632 raise fewer exceptions while tab completing * Raise fewer exceptions while tab completing (#632)
* #605 dont immediately quite pry when an error happens in readline * Don't immediately quit Pry when an error happens in Readline (#605)
* #606 support for ansicon to give jruby windows users colour * Support for `ansicon` to give JRuby Windows users colour (#606)
* #613 massive speed improvements to show-source for modules * Massive speed improvements to `show-source` for modules (#613)
* #620 improve whereami command when not in a binding.pry * Improve `whereami` command when not in a `binding.pry` (#620)
* #622 support embedded documents (=begin ... =end) * Support embedded documents (`=begin` ... `=end`) (#622)
* #627 support editing files with spaces in the name * Support editing files with spaces in the name (#627)
* changed __binding_impl__ to __pry__ * Renamed `__binding_impl__` to `__pry__`
* support for absolute paths in $EDITOR * Support for absolute paths in `$EDITOR`
* fix "cat" command on files with unknown extensions * Fix `cat` command on files with unknown extensions
* many many internal refactorings and tidyings * Many, many internal refactorings and tidyings
09/05/2012 version 0.9.9.6 fixes #558 ### 0.9.9.6 (2012/05/09)
* #558 has been a thorn in our side for long enough, hopefully this properly fixes it * Fix `ZeroDivisionError` in `correct_indentation` (#558)
(though im not too confident :P)
09/05/2012 version 0.9.9.5 minor bugfix ### 0.9.9.5 (2012/05/09)
* fixed ZeroDivisionError in correct_indentation, bug #558 * Fix `ZeroDivisionError` in `correct_indentation` (#558)
* fix double highlighting in rdoc, bug #562 * Fix double highlighting in RDoc (#562)
* autocreate configuration for plugins, bug #548 * Automatically create configuration for plugins (#548)
26/4/2012 version 0.9.9.4 major bugfix ### 0.9.9.4 (2012/04/26)
* fixed `NoMethodError: undefined method `winsize' for #<IO:<STDOUT>>`, bug #549 * Fix `NoMethodError: undefined method `winsize' for #<IO:<STDOUT>>` (#549)
* fixes for jruby * Fixes for JRuby
* breakage on `exit` syntax error, fixes, #550 * Fix syntax error on `exit` (550)
* heredoc content no longer auto-indented * Heredoc content no longer auto-indented
19/4/2012 version 0.9.9.3 major doc bugfix ### 0.9.9.3 (2012/04/19)
* show-doc would fail on some core classes, i.e `show-doc Bignum`. This is now fixed * Fix `show-doc` failing on some core classes, like `Bignum`
and show allow a wider range of core documentation to be viewed directly in Pry.
18/4/2012 version 0.9.9.2 minor bugfix ### 0.9.9.2 (2012/04/18)
* make correct_indentation's auto-colorization respect Pry.color * Make `correct_indentation`'s auto-colorization respect `Pry.color`
18/4/2012 version 0.9.9.1 very minor release ### 0.9.9.1 (2012/04/18)
* cleared up confusion in show-source/show-doc docs that -a switch applies to classes * Clear up confusion in `show-source`/`show-doc` docs
as well as modules * `-a` switch applies to classes as well as modules
18/4/2012 version 0.9.9 ### 0.9.9 (2012/04/18)
MAJOR NEW FEATURES #### New features
* lines of input are syntax highlighted upon 'enter' keypress * Lines of input are syntax highlighted upon Enter keypress
* show-source command can now show class/module sourcecode (use -a to see all monkeypatches). Hard dependency on ruby18_source_location gem in MRI 1.8 * `show-source` command can now show class/module source code
* show-doc command can show class/module docs (use -a to see docs for all monkeypatches) Hard dependency on ruby18_source_location gem in MRI 1.8. * Use `-a` to see all monkeypatches
* new `find-method` command, performs a recursive search in a namespace for the existence of methods. Can find methods whose names match a regex or methods which contain provided CODE! This command is like a ruby-aware 'grep', very cool (thanks swarley) * Hard dependency on `ruby18_source_location` gem in MRI 1.8
* pry-coolline now works properly with Pry (https://github.com/pry/pry-coolline) * `show-doc` command can now show class/module docs
* alias_command method now much more powerful, e.g: alias_command "lM", "ls -M" * Use `-a` to see docs for all monkeypatches
* `whereami` is now more intelligent, automatically showing entire sourcecode of current method if current context is a method (thanks robgleeson). * Hard dependency on `ruby18_source_location` gem in MRI 1.8
* new `raise-up` command. Allows you to raise an exception that will bubble out of pry (ending the session) and escape into enclosing program. * New `find-method` command
* Performs a recursive search in a namespace for the existence of methods
* Can find methods whose names match a regex or methods which contain
provided code
* This command is like a ruby-aware `grep`, very cool (thanks swarley)
* [`pry-coolline`](https://github.com/pry/pry-coolline) now works properly
* `alias_command` method now much more powerful
* Example: `alias_command "lM", "ls -M"`
* `whereami` is now more intelligent
* Automatically shows entire source code of current method if current
context is a method (thanks robgleeson)
* New `raise-up` command
* Allows you to raise an exception that will bubble out of pry (ending the
session) and escape into enclosing program
remaining items: #### Bug fixes, etc.
* fixed windows crashing bug when paging * Fixed crash when paging under Windows
* lines ending with \ are incomplete (kudos to fowl) * Lines ending with `\` are incomplete (kudos to fowl)
* `edit-method -n` no longer blocks (thanks misfo)s * `edit-method -n` no longer blocks (thanks misfo)
* show instance methods of modules by default in ls * Show instance methods of modules by default in `ls`
* docs for REPL defined methods can now be displayed using show-doc * Docs for REPL-defined methods can now be displayed using `show-doc`
* autoload ruby18_source_location on mri18, when available (https://github.com/conradirwin/ruby18_source_location) * Autoload `ruby18_source_location` on MRI 1.8, when available
* tab completion should work on first line now (historic bug fixed) * See https://github.com/conradirwin/ruby18_source_location
* :quiet => true option added to `Pry.start`, turns off whereami * Tab completion should work on first line now (historic bug fixed)
* another easter egg added * `:quiet => true` option added to `Pry.start`, turns off `whereami`
* show unloaded constants in yellow for ls * Another easter egg added
* improved documentation for Pry.config options * Show unloaded constants in yellow for `ls`
* improved auto indentation * Improved documentation for `Pry.config` options
* JRuby: heuristics used to clean up 'ls' output (less internal methods polluting output) * Improved auto-indentation
* JRuby: heuristics used to clean up `ls` output
* Fewer internal methods polluting output
6/3/2012 version 0.9.8.4 major bugfix ### 0.9.8.4 (2012/6/3)
* ~/.pry_history wasnt being created (if it did not exist)! FIXED * ~/.pry_history wasnt being created (if it did not exist)! FIXED
* `hist --save` saved colors! FIXED * `hist --save` saved colors! FIXED
* added Pry#add_sticky_local API for adding sticky locals to individual pry instances * added Pry#add_sticky_local API for adding sticky locals to individual pry instances
2/3/2012 version 0.9.8.3 minor update ### 0.9.8.3 (2012/3/2)
* various tweaks to improve rbx support * various tweaks to improve rbx support
* commands now support optional block arguments * commands now support optional block arguments
* much improved help command * much improved help command
@ -180,13 +240,13 @@ remaining items:
* added wtf command * added wtf command
* jruby should now work in windows (though without color) * jruby should now work in windows (though without color)
9/2/2012 version 0.9.8.2 bugfix ### 0.9.8.2 (2012/2/9)
* fixed bugs related to --super * fixed bugs related to --super
* upgraded slop dependency * upgraded slop dependency
* added edit -c (edit current line) * added edit -c (edit current line)
* edit now respects Pry.config.disable_autoreload option * edit now respects Pry.config.disable_autoreload option
30/1/2012 version 0.9.8.1 bugfix ### 0.9.8.1 (2012/1/30)
* fixed broken --no-plugins option * fixed broken --no-plugins option
* Ensure ARGV is not mutated during option parsing. * Ensure ARGV is not mutated during option parsing.
* Use a more rbx-friendly test for unicodeness * Use a more rbx-friendly test for unicodeness
@ -194,7 +254,7 @@ remaining items:
* Don't explode in gem-list [Fixes #453, #454] * Don't explode in gem-list [Fixes #453, #454]
* Check for command-name collision on assignment [Fixes #450] * Check for command-name collision on assignment [Fixes #450]
25/1/2012 version 0.9.8 ### 0.9.8 (2012/1/25)
MAJOR NEW FEATURES MAJOR NEW FEATURES
- upgraded command api, https://github.com/pry/pry/wiki/Custom-commands - upgraded command api, https://github.com/pry/pry/wiki/Custom-commands
@ -235,28 +295,28 @@ complete CHANGELOG:
* fixed empty lines so that they don't replace _ by nil * fixed empty lines so that they don't replace _ by nil
* fixed SyntaxErrors at the REPL level so they don't replace _ex_. * fixed SyntaxErrors at the REPL level so they don't replace _ex_.
5/11/2011 version 0.9.7.4 hotfix ### 0.9.7.4 (2011/11/5)
* ls -M now works in modules (bugfix) * ls -M now works in modules (bugfix)
* added exception msg for bad cd object/path * added exception msg for bad cd object/path
* no longer die when encounter exceptions in .pryrc * no longer die when encounter exceptions in .pryrc
* baked in CoolLine support * baked in CoolLine support
* Pry.config.input in .pryrc now respected * Pry.config.input in .pryrc now respected
28/10/2011 version 0.9.7.3 hotfix-hotfix ;) ### 0.9.7.3 (2011/10/28)
* really fixed indentation for 'super if' and friends * really fixed indentation for 'super if' and friends
* Fixed indentation for tmux * Fixed indentation for tmux
* added Pry.config.correct_indent option (to toggle whether indentation * added Pry.config.correct_indent option (to toggle whether indentation
* corrected optional param behaviour for method signatures: e.g Signature meth(param1=?, param2=?) * corrected optional param behaviour for method signatures: e.g Signature meth(param1=?, param2=?)
27/10/2011 version 0.9.7.2 hotfix ### 0.9.7.2 (2011/10/27)
* fixed indentation for 'super if' and 'ensure', 'next if', etc * fixed indentation for 'super if' and 'ensure', 'next if', etc
* refactored Pry#run_command so it can accept an eval_string parameter (so amend-line and so on can work with it) * refactored Pry#run_command so it can accept an eval_string parameter (so amend-line and so on can work with it)
* changed ^D so it no longer resets indent level automatically * changed ^D so it no longer resets indent level automatically
26/10/2011 version 0.9.7.1 hotfix ### 0.9.7.1 (2011/10/26)
* fixed gem dependecy issues * fixed gem dependecy issues
25/10/2011 version 0.9.7 ### 0.9.7 (2011/10/25)
MAJOR NEW FEATURES: MAJOR NEW FEATURES:
- upgraded ls command to have a more intuitive interface - upgraded ls command to have a more intuitive interface
@ -277,12 +337,12 @@ complete CHANGELOG:
* added input_array info to DEFAULT_PROMPT, e.g [1] pry(main)> * added input_array info to DEFAULT_PROMPT, e.g [1] pry(main)>
* added --no-history option to pry binary (prevent history being LOADED, history will still be saved) * added --no-history option to pry binary (prevent history being LOADED, history will still be saved)
27/9/2011 version 0.9.6.2 HOTFIX release ### 0.9.6.2 (2011/9/27)
* downgrading to CodeRay 0.9.8 due to problems with 1.0 and rails (autoloading problem) see #280 on pry and #6 on CodeRay * downgrading to CodeRay 0.9.8 due to problems with 1.0 and rails (autoloading problem) see #280 on pry and #6 on CodeRay
* also added (as a minor feature) cirwin's implementation of edit --in * also added (as a minor feature) cirwin's implementation of edit --in
* added early break/exit for objectpath errors (the 'cd 34/@hello/bad_path/23') * added early break/exit for objectpath errors (the 'cd 34/@hello/bad_path/23')
19/9/2011 version 0.9.6 ### 0.9.6 (2011/9/19)
* restored previous behavior of command-line switches (allowing "-rfilename") * restored previous behavior of command-line switches (allowing "-rfilename")
* removed -p option (--play) from edit command * removed -p option (--play) from edit command
* `edit` with no arguments now edits the current or most recent expression * `edit` with no arguments now edits the current or most recent expression
@ -303,7 +363,7 @@ complete CHANGELOG:
* play now performs 'show-input' always unless eval_string contains a valid expression (i.e it's about to be eval'd) * play now performs 'show-input' always unless eval_string contains a valid expression (i.e it's about to be eval'd)
* play and hist --replay now push the current input object onto the input_stack before redirecting input to a StringIO (works much better with pry-remote now) * play and hist --replay now push the current input object onto the input_stack before redirecting input to a StringIO (works much better with pry-remote now)
8/9/2011 version 0.9.5 ### 0.9.5 (2011/9/8)
MAJOR NEW FEATURES: MAJOR NEW FEATURES:
- JRuby support, including show-method/edit-method and editor integration on both 1.8 and 1.9 versions - JRuby support, including show-method/edit-method and editor integration on both 1.8 and 1.9 versions
@ -356,7 +416,7 @@ complete CHANGELOG:
* ls separator configurable via, e.g Pry.config.ls.separator = " " * ls separator configurable via, e.g Pry.config.ls.separator = " "
* Pry.view_clip() now only calls inspect on a few immediates, otherwise uses the #<> syntax, which has been truncated further to exclude teh mem address, again related to #245 * Pry.view_clip() now only calls inspect on a few immediates, otherwise uses the #<> syntax, which has been truncated further to exclude teh mem address, again related to #245
27/7/2011 version 0.9.3 ### 0.9.3 (2011/7/27)
* cat --ex (cats 5 lines above and below line in file where exception was raised) * 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) * edit --ex (edits line in file where exception was raised)
* edit -t (opens a temporary file and evals it in current context when closed) * edit -t (opens a temporary file and evals it in current context when closed)
@ -373,12 +433,12 @@ complete CHANGELOG:
* missing plugins no longer raise exception, just print a warning to $stderr * missing plugins no longer raise exception, just print a warning to $stderr
* fixed jedit editor support * fixed jedit editor support
21/6/2011 version 0.9.2 ### 0.9.2 (2011/6/21)
* fixed string interpolation bug (caused valid ruby code not to execute, sorry!) * fixed string interpolation bug (caused valid ruby code not to execute, sorry!)
* fixed `ls` command, so it can properly display members of Object and classes, and BasicObject, etc * fixed `ls` command, so it can properly display members of Object and classes, and BasicObject, etc
* added a few git related commands to experimental command set, blame and diff * added a few git related commands to experimental command set, blame and diff
17/6/2011 version 0.9.0 ### 0.9.0 (2011/6/17)
* plugin system * plugin system
* regex commands * regex commands
* show-method works on methods defined in REPL * show-method works on methods defined in REPL
@ -400,26 +460,26 @@ complete CHANGELOG:
* removed eval-file, lls, lcd, and a few other commands * removed eval-file, lls, lcd, and a few other commands
26/3/2011 version 0.7.6.1 ### 0.7.6.1 (2011/3/26)
* added slightly better support for YARD * added slightly better support for YARD
* now @param and @return tags are colored green and markdown `code` is syntax highlighted using coderay * now @param and @return tags are colored green and markdown `code` is syntax highlighted using coderay
26/3/2011 version 0.7.6 ### 0.7.6 (2011/3/26)
* `whereami` command now accepts parameter AROUND, to display AROUND lines on eitherside of invocation line. * `whereami` command now accepts parameter AROUND, to display AROUND lines on eitherside of invocation line.
* made it so `whereami` is invoked even if no method exists in current context (i.e in rspec tests) * made it so `whereami` is invoked even if no method exists in current context (i.e in rspec tests)
* added rubinius support for `whereami` invocation in HOOKS by checking for __unknown__.rb rather than just <main> * added rubinius support for `whereami` invocation in HOOKS by checking for __unknown__.rb rather than just <main>
15/3/2011 version 0.7.0 ### 0.7.0 (2011/3/15)
* add pry-doc support with syntax highlighting for docs * add pry-doc support with syntax highlighting for docs
* add 'mj' option to ls (restrict to singleton methods) * add 'mj' option to ls (restrict to singleton methods)
* add _ex_ local to hold last exception raised in an exception * add _ex_ local to hold last exception raised in an exception
6/3/2011 version 0.6.8 ### 0.6.8 (2011/3/6)
* add whereami command, a la the `ir_b` gem * add whereami command, a la the `ir_b` gem
* make whereami run at the start of every session * make whereami run at the start of every session
* make .pryrc be loaded by run-time pry sessions * make .pryrc be loaded by run-time pry sessions
4/3/2011 version 0.6.7 ### 0.6.7 (2011/3/4)
* color support * color support
* --simple-prompt for pry commandline * --simple-prompt for pry commandline
* -I mode for pry commandline * -I mode for pry commandline
@ -427,11 +487,11 @@ complete CHANGELOG:
* clean up requires (put them all in one place) * clean up requires (put them all in one place)
* simple-prompt command and toggle-color commandd. * simple-prompt command and toggle-color commandd.
28/2/2011 version 0.6.3 ### 0.6.3 (2011/2/28)
* Using MethodSource 0.3.4 so 1.8 show-method support provided * Using MethodSource 0.3.4 so 1.8 show-method support provided
* `Set` class added to list of classes that are inspected * `Set` class added to list of classes that are inspected
26/2/2011 version 0.6.1 ### 0.6.1 (2011/2/26)
* !@ command alias for exit_all * !@ command alias for exit_all
* `cd /` for breaking out to pry top level (jump-to 0) * `cd /` for breaking out to pry top level (jump-to 0)
* made `-e` option work in a more effective way for `pry` command line invocation * made `-e` option work in a more effective way for `pry` command line invocation
@ -439,20 +499,20 @@ complete CHANGELOG:
* `command` method from CommandBase now accepts a :keep_retval arg that determines if command value is returned to pry session or just `nil` (`nil` was old behaviour) * `command` method from CommandBase now accepts a :keep_retval arg that determines if command value is returned to pry session or just `nil` (`nil` was old behaviour)
* tests for new :keep_retval and exit-all/exit behaviour; :keep_retval will remain undocumented. * tests for new :keep_retval and exit-all/exit behaviour; :keep_retval will remain undocumented.
22/2/2011 version 0.5.8 ### 0.5.8 (2011/2/22)
* Added -c (context) option to show-doc, show-methods and eval-file * Added -c (context) option to show-doc, show-methods and eval-file
* Fixed up ordering issue of -c and -r parameters to command line pry * Fixed up ordering issue of -c and -r parameters to command line pry
21/2/2011 version 0.5.7 ### 0.5.7 (2011/2/21)
* Added pry executable, auto-loads .pryrc in user's home directory, if it * Added pry executable, auto-loads .pryrc in user's home directory, if it
exists. exists.
19/2/2011 version 0.5.5 ### 0.5.5 (2011/2/19)
* Added Pry.run_command * Added Pry.run_command
* More useful error messages * More useful error messages
* Easter eggs (game and cohen-poem) * Easter eggs (game and cohen-poem)
17/2/2011 version 0.5.0 ### 0.5.0 (2011/2/17)
* Use clipped version of Pry.view() for large objects * Use clipped version of Pry.view() for large objects
* Exit Pry session on ^d * Exit Pry session on ^d
* Use Shellwords for breaking up parameters to pry commands * Use Shellwords for breaking up parameters to pry commands
@ -468,16 +528,19 @@ complete CHANGELOG:
* Get rid of show_idoc and show_imethod * Get rid of show_idoc and show_imethod
* Add special eval-file command that evals target file in current context * Add special eval-file command that evals target file in current context
27/1/2011 version 0.4.5 ### 0.4.5 (2011/1/27)
* fixed show_method (though fragile as it references __binding_impl__ * fixed show_method (though fragile as it references __binding_impl__
directly, making a name change to that method difficult directly, making a name change to that method difficult
27/1/2011 version 0.4.4
### 0.4.4 (2011/1/27)
* oops, added examples/ directory * oops, added examples/ directory
26/1/2011 version 0.4.3
### 0.4.3 (2011/1/26)
* added alias_command and desc methods to Pry::CommandBase * added alias_command and desc methods to Pry::CommandBase
* changed behaviour of ls_methods and ls_imethods to return sorted lists * changed behaviour of ls_methods and ls_imethods to return sorted lists
of methods of methods
23/1/2011 version 0.4.1
### 0.4.1 (2011/1/23)
* made it so a 'def meth;end' in an object Pry session defines singleton * made it so a 'def meth;end' in an object Pry session defines singleton
methods, not methods on the class (except in the case of methods, not methods on the class (except in the case of
immediates) immediates)
@ -485,7 +548,8 @@ complete CHANGELOG:
* storing wiki in a nested git repo, as github wiki pages have their own * storing wiki in a nested git repo, as github wiki pages have their own
repo repo
* added more tests for new method definition behaviour * added more tests for new method definition behaviour
21/1/2011 version 0.4.0
### 0.4.0 (2011/1/21)
* added command API * added command API
* added many new commands, i.e ls_methods and friends * added many new commands, i.e ls_methods and friends
* modified other commands * modified other commands
@ -495,9 +559,12 @@ complete CHANGELOG:
* added extensive tests * added extensive tests
* added examples * added examples
* many more changes * many more changes
9/12/2010 version 0.1.3
### 0.1.3 (2010/12/9)
* Got rid of rubygems dependency, refactored some code. * Got rid of rubygems dependency, refactored some code.
8/12/2010 version 0.1.2
### 0.1.2 (2010/12/8)
* now rescuing SyntaxError as well as Racc::Parser error in valid_expression? * now rescuing SyntaxError as well as Racc::Parser error in valid_expression?
8/12/2010 version 0.1.0
### 0.1.0 (2010/12/8)
* release! * release!