All Versions
71
Latest Version
Avg Release Cycle
126 days
Latest Release
1887 days ago
Changelog History
Page 3
Changelog History
Page 3
-
v0.9.12.3 Changes
September 11, 2013- โฌ๏ธ Bump Coderay dependency (#987)
- ๐ Fix consecutive newlines in heredocs being collapsed (#962)
- ๐ Fix pager not working in JRuby > 1.7.5 (#992)
-
v0.9.12.2 Changes
May 10, 2013- ๐ Make
reload-codewith no args reload "current" file (#920)
- ๐ Make
-
v0.9.12.1 Changes
April 21, 2013- โ Add workaround for JRuby crashing bug (#890)
- Related to http://jira.codehaus.org/browse/JRUBY-7114
- โ Add workaround for JRuby crashing bug (#890)
-
v0.9.11 Changes
January 16, 2013Dependency changes
- โฌ๏ธ Upgrade
slopto~> 3.4 - ๐ 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
- You'll need to perform
๐ Features
- ๐ Basic Ruby 2.0 support (#738)
- ๐ JRuby 1.7.0+ support (#732)
- ๐ New
reload-codecommand- Reload code for methods, classes, commands, objects and so on
- Examples:
reload-code MyClass,reload-code my_method,reload-code my_obj
- ๐ Bond tab completion (see "Dependency changes")
- Consolidate "show" commands into
show-sourceshow-sourcecan now extract source for:- Classes
- Methods
- Procs
- Pry commands
- Arbitrary objects (it shows the source for the class of the object)
- As a result,
show-commandis now removed
gist,play, andsave-filenow infer object type without requiring flags- Examples:
play MyClass,play my_file.rb,play my_method
- Examples:
- Consolidate editing commands into
editeditcan now edit:- Files
- Methods
- Classes
- Pry commands
- As a result,
edit-methodis now removed - Examples:
edit MyClass,edit my_file.rb,edit my_method
amend-lineandplaynow properly indent code added to input buffer- ๐ Support for multiple require switches (
pry -rubygems -r./a.rb) (#674) - ๐ Support for multiple exec switches (
pry -e ':one' -e ':two') - Ability to customize the name displayed in the prompt (#695)
--patchswitch foredit --excommand (#716)- Respect the
$PAGERenvironment variable (#736) disable-prycommand (#497)- Two new hooks,
before_evalandafter_eval - Tab completion for
Array#<tab>inshow-sourceandshow-doc gem-installimmediately requires gems-lswitch forlscommand (displays local variables)gem-opencommandfix-indentcommand- Subcommands API
- ๐ Public test API for plugin writers (see d1489a)
- Tabular
lsoutput --no-line-numbersswitch forwhereamicommand--linesswitch forplaycommand
๐ Bug fixes, etc.
- ๐ Use single escape instead of double in
find-method(#652) - ๐ Fix blank string delimiters (#657)
- Fix unwanted
binding_impl_methodlocal in scratch bindings (#622) - ๐ Fix
edit-method -pchanging constant lookup (#645) - ๐ Fix
.pryrcloading twice when invoked from$HOMEdirectory (#682) - ๐ Fix Pry not remembering initial
pwd(#675) - ๐ Fix multiline object coloring (#717)
- ๐ Fix
show-methodnot supportingString::newnotation (#719) - ๐ Fix
whereamicommand not showing correct line numbers (#754) - ๐ Fix buggy Cucumber AST output (#751)
- ๐ Fix
while/until doloops indentation (#787) - ๐ Fix
--no-pluginsswitch (#526) - Ensure all errors go to the error handler (#774)
- Fix
.pryrcloading with wrong__FILE__ - ๐ Fix pager not working if
lessis not available - ๐ Fix
^Din nested REPL - ๐ Many small improvements to error message clarity and documentation formatting
- โฌ๏ธ Upgrade
-
v0.9.11.4 Changes
January 20, 2013- ๐ Fix pager not rendering color codes in some circumstances
- Add
Pry.last_internal_error, useful for devs debugging commands
-
v0.9.11.3 Changes
January 17, 2013- ๐ Fix
Pry.run_command - ๐ Improve
lsoutput - โ Add
:requires_gem => "jist"togistcommand (so dependencies can be installed viainstall-command) - ๐ Improve help for
editcommand
- ๐ Fix
-
v0.9.11.2 Changes
January 16, 2013- ๐ Fix minor bug in
giston Windows: rescueJist::ClipboardErrorrather than letting the scary error spill out to users and potentially having them think the gist didn't post.
- ๐ Fix minor bug in
-
v0.9.11.1 Changes
January 16, 2013- ๐ Fix minor bug in
gistcommand where I neglected to remove a call to a non-existent method (no_arg) which was called whengistis invoked with no parameters
- ๐ Fix minor bug in
-
v0.9.10 Changes
July 04, 2012Dependency changes
- โฌ๏ธ Upgrade
slopto version 3 (#561) - Switch from
gistgem tojist(#590) - โฌ๏ธ Upgrade
method_sourceto 0.8
๐ Features
- โ Add
--hist,-oand-kflags togistcommand (#572) - ๐ Support
show-source/show-docon methods defined inclass_eval(#584) - ๐ Support
show-source/show-docon gem methods defined in C (#585) - โ Add
--disable-pluginand--select-pluginoptions (#596) - ๐ Allow
cd -to switch between bindings (#597) - Add
Pry.config.should_load_local_rcto turn off./.pryrc(#612) - ๐ Allow running a file of Pry input with
pry <file> - ๐ Support colours in
ricommand - โ Add
before_evalhook - The prompt proc now gets a lot more data when its arity is 1
๐ Bug fixes, etc.
- โ Removed the
reqcommand (#554) - ๐ Fix rendering bugs when starting Pry (#567)
- ๐ Fix
Array#pretty_printon Jruby (#568) - ๐ Fix
editon Windows (#575) - ๐ Fix
find-methodin the presence of badly behaved objects (#576) - ๐ Fix
whereamiin ERb files on Rails (#580) - Raise fewer exceptions while tab completing (#632)
- Don't immediately quit Pry when an error happens in Readline (#605)
- ๐ Support for
ansiconto give JRuby Windows users colour (#606) - Massive speed improvements to
show-sourcefor modules (#613) - ๐ Improve
whereamicommand when not in abinding.pry(#620) - ๐ Support embedded documents (
=begin...=end) (#622) - ๐ Support editing files with spaces in the name (#627)
- Renamed
__binding_impl__to__pry__ - ๐ Support for absolute paths in
$EDITOR - ๐ Fix
catcommand on files with unknown extensions - ๐จ Many, many internal refactorings and tidyings
- โฌ๏ธ Upgrade
-
v0.9.9 Changes
April 18, 2012๐ New features
- Lines of input are syntax highlighted upon Enter keypress
show-sourcecommand can now show class/module source code- Use
-ato see all monkeypatches - Hard dependency on
ruby18_source_locationgem in MRI 1.8
- Use
- ๐
show-doccommand can now show class/module docs- Use
-ato see docs for all monkeypatches - Hard dependency on
ruby18_source_locationgem in MRI 1.8
- Use
- ๐ New
find-methodcommand- 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-coollinenow works properlyalias_commandmethod now much more powerful- Example:
alias_command "lM", "ls -M"
- Example:
whereamiis now more intelligent- Automatically shows entire source code of current method if current context is a method (thanks robgleeson)
- ๐ New
raise-upcommand- Allows you to raise an exception that will bubble out of pry (ending the session) and escape into enclosing program
๐ Bug fixes, etc.
- ๐ Fixed crash when paging under Windows
- Lines ending with
\are incomplete (kudos to fowl) edit-method -nno longer blocks (thanks misfo)- 0๏ธโฃ Show instance methods of modules by default in
ls - ๐ Docs for REPL-defined methods can now be displayed using
show-doc - Autoload
ruby18_source_locationon MRI 1.8, when available - ๐ Tab completion should work on first line now (historic bug fixed)
:quiet => trueoption added toPry.start, turns offwhereami- Another easter egg added
- ๐ Show unloaded constants in yellow for
ls - ๐ Improved documentation for
Pry.configoptions - ๐ Improved auto-indentation
- ๐ JRuby: heuristics used to clean up
lsoutput- Fewer internal methods polluting output