Skip to content
Commits on Apr 25, 2012
  1. @banister

    version bugfix release

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

    Renato Mascarenhas committed Apr 25, 2012
    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.
  4. @ConradIrwin

    Fix Jruby...

    ConradIrwin committed Apr 24, 2012
  5. @rf-
Commits on Apr 22, 2012
  1. @ConradIrwin

    Don't indent inside strings. [Fixes #535]

    ConradIrwin committed Apr 22, 2012
    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.
Commits on Apr 21, 2012
  1. @banister
Commits on Apr 20, 2012
  1. @banister

    version docfix release

    banister committed Apr 20, 2012
  2. @banister

    fixed bug preventing some core docs displaying

    banister committed Apr 20, 2012
    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
Commits on Apr 19, 2012
  1. @banister

    version minor bugfix release

    banister committed Apr 19, 2012
    correct_indentation now respects Pry.color
Commits on Apr 18, 2012
  1. @banister
  2. @banister

    version very minor docfix release

    banister committed Apr 19, 2012
    * made it clear -a switch to show-source/show-doc applies to classes as well as modules
  3. @banister
  4. @banister

    updated CONTRIBUTORS

    banister committed Apr 18, 2012
  5. @banister

    version 0.9.9 release

    banister committed Apr 18, 2012
  6. @ConradIrwin
  7. @banister

    make whereami N work, fixes #537

    banister committed Apr 18, 2012
  8. @banister

    show-source dependency on ruby18_source_location

    banister committed Apr 18, 2012
    * 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
  9. @banister
  10. @banister

    DRYed up show-doc/show-source code

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

    Pry::WrappedModule.from_str respects binding

    banister committed Apr 18, 2012
    * module are now looked up with respect to the optional binding parameter to from_str
    * also improved some docs
  3. @banister

    `show-source -v` => `show-source -a`

    banister committed Apr 18, 2012
    * 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
  4. @banister
  5. @banister
  6. @banister
  7. @banister
  8. @ConradIrwin


    ConradIrwin committed Apr 17, 2012
  9. @ConradIrwin

    Refactor, optimize and slightly correct find-method.

    ConradIrwin committed Apr 17, 2012
    This increases the speed for name_search considerably (~50%), and makes
    the code a bit more readable. It also Fixes # 527, by deduping methods
    by the pair of [owner, name] not just name.
    TODO: Test
  10. @banister
  11. @ConradIrwin

    Be less codey...

    ConradIrwin committed Apr 16, 2012
  12. @ConradIrwin
  13. @banister

    added -v switch show-source and show-doc

    banister committed Apr 17, 2012
    * applies to modules/classes, displays the full list of candidate module definitions or documentation (in case of show-doc)
    * TODO: a fucktonne of tests
Commits on Apr 16, 2012
  1. @banister
  2. @banister

    replaced mini-instance with Pry::Code helper

    banister committed Apr 16, 2012
    * now using
    Pry::Code.retrieve_complete_expression_from instead of when extracting source
    for repl-defined methods
Something went wrong with that request. Please try again.