All Versions
71
Latest Version
Avg Release Cycle
126 days
Latest Release
666 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-code
with 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
slop
to~> 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-code
command- 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-source
show-source
can 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-command
is now removed
gist
,play
, andsave-file
now infer object type without requiring flags- Examples:
play MyClass
,play my_file.rb
,play my_method
- Examples:
- Consolidate editing commands into
edit
edit
can now edit:- Files
- Methods
- Classes
- Pry commands
- As a result,
edit-method
is now removed - Examples:
edit MyClass
,edit my_file.rb
,edit my_method
amend-line
andplay
now 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)
--patch
switch foredit --ex
command (#716)- Respect the
$PAGER
environment variable (#736) disable-pry
command (#497)- Two new hooks,
before_eval
andafter_eval
- Tab completion for
Array#<tab>
inshow-source
andshow-doc
gem-install
immediately requires gems-l
switch forls
command (displays local variables)gem-open
commandfix-indent
command- Subcommands API
- ๐ Public test API for plugin writers (see d1489a)
- Tabular
ls
output --no-line-numbers
switch forwhereami
command--lines
switch forplay
command
๐ Bug fixes, etc.
- ๐ Use single escape instead of double in
find-method
(#652) - ๐ Fix blank string delimiters (#657)
- Fix unwanted
binding_impl_method
local in scratch bindings (#622) - ๐ Fix
edit-method -p
changing constant lookup (#645) - ๐ Fix
.pryrc
loading twice when invoked from$HOME
directory (#682) - ๐ Fix Pry not remembering initial
pwd
(#675) - ๐ Fix multiline object coloring (#717)
- ๐ Fix
show-method
not supportingString::new
notation (#719) - ๐ Fix
whereami
command not showing correct line numbers (#754) - ๐ Fix buggy Cucumber AST output (#751)
- ๐ Fix
while/until do
loops indentation (#787) - ๐ Fix
--no-plugins
switch (#526) - Ensure all errors go to the error handler (#774)
- Fix
.pryrc
loading with wrong__FILE__
- ๐ Fix pager not working if
less
is not available - ๐ Fix
^D
in 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
ls
output - โ Add
:requires_gem => "jist"
togist
command (so dependencies can be installed viainstall-command
) - ๐ Improve help for
edit
command
- ๐ Fix
-
v0.9.11.2 Changes
January 16, 2013- ๐ Fix minor bug in
gist
on Windows: rescueJist::ClipboardError
rather 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
gist
command where I neglected to remove a call to a non-existent method (no_arg
) which was called whengist
is invoked with no parameters
- ๐ Fix minor bug in
-
v0.9.10 Changes
July 04, 2012Dependency changes
- โฌ๏ธ Upgrade
slop
to version 3 (#561) - Switch from
gist
gem tojist
(#590) - โฌ๏ธ Upgrade
method_source
to 0.8
๐ Features
- โ Add
--hist
,-o
and-k
flags togist
command (#572) - ๐ Support
show-source
/show-doc
on methods defined inclass_eval
(#584) - ๐ Support
show-source
/show-doc
on gem methods defined in C (#585) - โ Add
--disable-plugin
and--select-plugin
options (#596) - ๐ Allow
cd -
to switch between bindings (#597) - Add
Pry.config.should_load_local_rc
to turn off./.pryrc
(#612) - ๐ Allow running a file of Pry input with
pry <file>
- ๐ Support colours in
ri
command - โ Add
before_eval
hook - The prompt proc now gets a lot more data when its arity is 1
๐ Bug fixes, etc.
- โ Removed the
req
command (#554) - ๐ Fix rendering bugs when starting Pry (#567)
- ๐ Fix
Array#pretty_print
on Jruby (#568) - ๐ Fix
edit
on Windows (#575) - ๐ Fix
find-method
in the presence of badly behaved objects (#576) - ๐ Fix
whereami
in 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
ansicon
to give JRuby Windows users colour (#606) - Massive speed improvements to
show-source
for modules (#613) - ๐ Improve
whereami
command 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
cat
command 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-source
command can now show class/module source code- Use
-a
to see all monkeypatches - Hard dependency on
ruby18_source_location
gem in MRI 1.8
- Use
- ๐
show-doc
command can now show class/module docs- Use
-a
to see docs for all monkeypatches - Hard dependency on
ruby18_source_location
gem in MRI 1.8
- Use
- ๐ 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
now works properlyalias_command
method now much more powerful- Example:
alias_command "lM", "ls -M"
- Example:
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
๐ Bug fixes, etc.
- ๐ Fixed crash when paging under Windows
- Lines ending with
\
are incomplete (kudos to fowl) edit-method -n
no 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_location
on MRI 1.8, when available - ๐ Tab completion should work on first line now (historic bug fixed)
:quiet => true
option added toPry.start
, turns offwhereami
- Another easter egg added
- ๐ Show unloaded constants in yellow for
ls
- ๐ Improved documentation for
Pry.config
options - ๐ Improved auto-indentation
- ๐ JRuby: heuristics used to clean up
ls
output- Fewer internal methods polluting output