Commits on May 10, 2012
  1. v0.9.9.5 minor release

    ConradIrwin committed May 10, 2012
Commits on May 8, 2012
  1. Merge pull request #548 from YorickPeterse/master

    Auto create configuration objects for plugins
    YorickPeterse committed May 8, 2012
  2. Revert "Always start the prompt in the first column (fix #551)"

    This fixes #564 this commit does more harm than good, as it
    causes things to break badly on libedit. The bug it's fixing is
    also quite trivial and highly unlikely to annoy anybody in
    This reverts commit 7af3660.
    banister committed May 8, 2012
Commits on May 5, 2012
  1. Preserve backticks and don't double highlight [Fixes #562]

    Before this change all `` pairs were removed from documentation which
    makes the ``foo'' quoting style used by some authors look very odd.
    We'd also try to syntax highlight code inside `` inside code, which
    caused nasty rendering errors as the escape sequences got tangled up.
    ConradIrwin committed May 5, 2012
Commits on May 2, 2012
Commits on Apr 29, 2012
Commits on Apr 25, 2012
  1. version bugfix release

    Fixes `undefined method `winsize' for #<IO:<STDOUT>>` error (#549), and exit breakage on syntax error (#550).
    banister committed Apr 25, 2012
  2. Fix `exit` after previous syntax error in `exit` command.

    Before this commit, the binding stack was cleared before evaluating
    the user-given value for the `exit` command. If a syntax error happened
    when `eval`ing it, the program would still be running with no elements
    in the binding stack, causing next calls of `exit` to fail.
    Renato Mascarenhas committed Apr 25, 2012
  3. Fix Jruby...

    ConradIrwin committed Apr 25, 2012
Commits on Apr 23, 2012
  1. Set plugin options before requiring the plugin.

    Signed-off-by: Yorick Peterse <>
    YorickPeterse committed Apr 23, 2012
Commits on Apr 22, 2012
  1. Don't indent inside strings. [Fixes #535]

    This is acheived by keeping track of which Strings are open and
    re-opening them before giving CodeRay the new line of input.
    I considered instead passing the entire input through CodeRay and then
    just extracting the last line of tokens, unfortunately this would
    exhibit O(n²) behaviour when pasting code into the terminal; and it's
    not obvious whether the tokenization would be stable enough to guarantee
    an easy way to get the last line of tokens.
    ConradIrwin committed Apr 22, 2012
Commits on Apr 21, 2012
Commits on Apr 20, 2012
  1. Auto create configuration objects for plugins.

    Whenever a plugin is activated a configuration object (using OpenStruct) will be
    created in Pry.config for that plugin. For example, for the plugin "pry-doc" the
    object Pry.config.pry_doc would be created.
    See #436 for more information.
    Signed-off-by: Yorick Peterse <>
    YorickPeterse committed Apr 20, 2012
  2. version docfix release

    banister committed Apr 20, 2012
  3. fixed bug preventing some core docs displaying

    closes #547. Repro: `? Enumerator`. Bug arose because core docs
    have no associated line number and so attempting to calculate relative location of docs
    resulted in a NilClass error
    banister committed Apr 20, 2012
Commits on Apr 19, 2012
  1. version minor bugfix release

    correct_indentation now respects Pry.color
    banister committed Apr 19, 2012
Commits on Apr 18, 2012
  1. version very minor docfix release

    * made it clear -a switch to show-source/show-doc applies to classes as well as modules
    banister committed Apr 18, 2012
  2. updated CONTRIBUTORS

    banister committed Apr 18, 2012
  3. version 0.9.9 release

    banister committed Apr 18, 2012
  4. make whereami N work, fixes #537

    banister committed Apr 18, 2012
  5. show-source dependency on ruby18_source_location

    * necessary to bring new show-source/show-doc functionality to ruby 1.8
    * pry now also auto-requires ruby18_source_location if it's available
    banister committed Apr 18, 2012
  6. DRYed up show-doc/show-source code

    * also made Pry::WrappedModule.from_str more robust
    banister committed Apr 18, 2012
Commits on Apr 17, 2012
  1. Pry::WrappedModule.from_str respects binding

    * module are now looked up with respect to the optional binding parameter to from_str
    * also improved some docs
    banister committed Apr 17, 2012
  2. `show-source -v` => `show-source -a`

    * switch to show all monkeypatches is now -a (for all)
    * improved some method names (top_method_candidates => method_candidates in wrapped_module.rb)
    * improved in-session documentation for show-source and show-doc
    banister committed Apr 17, 2012