Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Nov 16, 2012
  1. @banister

    start of pipes implementation

    banister committed
    Currently they just pipe strings around the place, but there's no reason we can't pipe objects instead.
    Demo commands to use are: grep, sort, less, wc
    i.e show-source Pry | grep target | sort | wc
    * aliased dont work, so you have to use show-source, not just $
    * commands can no longer take 'block' input, and the tests have been commented out
    * commands are currently too aware of pipes, in the future output should be automatically piped without requiring
      the command programmer to check for out_pipe?
Commits on Nov 15, 2012
  1. @banister
Commits on Nov 14, 2012
  1. @ConradIrwin
  2. @ConradIrwin
  3. @ConradIrwin
  4. @ConradIrwin
  5. @ConradIrwin
  6. @ConradIrwin
Commits on Nov 8, 2012
  1. @ConradIrwin
  2. @ConradIrwin

    Move hashrocket out of Pry.config.print

    ConradIrwin committed
    This simplifies the contract of Pry.config.print which makes it easier to use
    in other places that we want to output a value, like ls -l.
    If desired you can stil remove the => by setting Pry.config.output_prefix = ''
    in your ~/.pryrc
  3. @ConradIrwin
  4. @ConradIrwin
  5. @ConradIrwin
Commits on Nov 7, 2012
  1. @ConradIrwin
  2. @havenwood

    chmod -x file permissions

    havenwood committed
  3. @kyrylo

    Merge pull request #745 from mickey/save_file_prints_success

    kyrylo committed
    save-file should print "success" message, if a file was saved
  4. @mickey
Commits on Nov 6, 2012
  1. @banister

    added gaslight to sponsors

    banister committed
Commits on Nov 5, 2012
  1. @rking

    Rename to output_with_default_format

    rking committed with
  2. @rking

    Not !~, but .not =~.

    rking committed with
  3. @rking

    Non-MRI1.9 local_variables return Strings (dumb.)

    rking committed with
  4. @rking

    Eliminate spurious hashrockets.

    rking committed with
    These were coming from a pretty simple source: the DEFAULT_PRINT
    prepends them so you can get output like:
    [1] pry(main)> 2+3
    => 5
    But since we're formatting these differently, obviously we don't want
    that prefix. So this patch extracts a Pry.format_for_output method then
    calls that iff the user hasn't changed the default.
    There is some hackitude involved, but the test pass (and are of decent
    coverage, I think, so feel fry to try to diff this down if you have a
    good idea.)
  5. @rking

    Use `ls -l` instead of new command.

    rking committed with
  6. @rking

    local-variables command. :neckbeard:

    rking committed with
Commits on Nov 4, 2012
  1. @rf-

    Fix a few minor YARD issues

    rf- committed
Commits on Nov 2, 2012
  1. @banister

    Improve Ruby 2.0 refinement support, closes #738

    banister committed
    added lookup_method_via_binding(), using this rather than safe_send
    we respect the method object introduced by any refinements in the binding.
    Further work can be done for refinement support -- such as indicating that the method is a refinement, showing
    the name of the refining module, and so on.
  2. @banister
  3. @banister
  4. @banister
  5. @ConradIrwin
Commits on Oct 31, 2012
  1. @ConradIrwin


    ConradIrwin committed
  2. @ConradIrwin

    Allow pry to be disabled [Fixes #497]

    ConradIrwin committed
    It's easy to find yourself in 'pry-hell' when you've added a binding.pry in a
    tight loop, or if you've got pry-rescue or plymouth enabled and you've broken
    hundreds of tests. To get out of this, the user can just type 'disable-pry'.
    If you suspect in advance that pry is going to be unhelpful you can temporarily
    disable it without having to edit the source code of your program by exporting
Commits on Oct 26, 2012
  1. Pull this value from SystemPager.default_pager.

    Rob Gleeson committed
  2. Respect $PAGER (shell environment variable).

    Rob Gleeson committed
    Closes #736.
Something went wrong with that request. Please try again.