Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Apr 25, 2012
  1. @banister

    version 0.9.9.4 bugfix release

    banister authored
    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 authored
    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 authored
  5. @rf-
Commits on Apr 22, 2012
  1. @ConradIrwin

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

    ConradIrwin authored
    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
  2. @banister

    fixed bug preventing some core docs displaying

    banister authored
    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 0.9.9.2 minor bugfix release

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

    version 0.9.9.1 very minor docfix release

    banister authored
    * made it clear -a switch to show-source/show-doc applies to classes as well as modules
  3. @banister
  4. @banister

    updated CONTRIBUTORS

    banister authored
  5. @banister

    version 0.9.9 release

    banister authored
  6. @ConradIrwin
  7. @banister

    make whereami N work, fixes #537

    banister authored
  8. @banister

    show-source dependency on ruby18_source_location

    banister authored
    * 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 authored
    * also made Pry::WrappedModule.from_str more robust
Commits on Apr 17, 2012
  1. @banister
  2. @banister

    Pry::WrappedModule.from_str respects binding

    banister authored
    * 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 authored
    * 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

    Tweak

    ConradIrwin authored
  9. @ConradIrwin

    Refactor, optimize and slightly correct find-method.

    ConradIrwin authored
    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 authored
  12. @ConradIrwin
  13. @banister

    added -v switch show-source and show-doc

    banister authored
    * 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 authored
    * now using
    Pry::Code.retrieve_complete_expression_from instead of Pry.new.r when extracting source
    for repl-defined methods
Something went wrong with that request. Please try again.