Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Nov 16, 2012
  1. John Mair

    start of pipes implementation

    banister authored
    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
    
    Limitations:
    * 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. John Mair
Commits on Nov 14, 2012
  1. Conrad Irwin
  2. Conrad Irwin
  3. Conrad Irwin
  4. Conrad Irwin
  5. Conrad Irwin
  6. Conrad Irwin
Commits on Nov 8, 2012
  1. Conrad Irwin
  2. Conrad Irwin

    Move hashrocket out of Pry.config.print

    ConradIrwin authored
    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. Conrad Irwin
  4. Conrad Irwin
  5. Conrad Irwin
Commits on Nov 7, 2012
  1. Conrad Irwin
  2. Shannon Skipper

    chmod -x file permissions

    havenwood authored
  3. Kyrylo Silin

    Merge pull request #745 from mickey/save_file_prints_success

    kyrylo authored
    save-file should print "success" message, if a file was saved
  4. Michael Bensoussan
Commits on Nov 6, 2012
  1. John Mair

    added gaslight to sponsors

    banister authored
Commits on Nov 5, 2012
  1. ☈king

    Rename to output_with_default_format

    rking authored rking@sharpsaw.org committed
  2. ☈king

    Not !~, but .not =~.

    rking authored rking@sharpsaw.org committed
  3. ☈king

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

    rking authored rking@sharpsaw.org committed
  4. ☈king

    Eliminate spurious hashrockets.

    rking authored rking@sharpsaw.org committed
    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. ☈king

    Use `ls -l` instead of new command.

    rking authored rking@sharpsaw.org committed
  6. ☈king

    local-variables command. :neckbeard:

    rking authored rking@sharpsaw.org committed
Commits on Nov 4, 2012
  1. Ryan Fitzgerald

    Fix a few minor YARD issues

    rf- authored
Commits on Nov 2, 2012
  1. John Mair

    Improve Ruby 2.0 refinement support, closes #738

    banister authored
    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. John Mair
  3. John Mair
  4. John Mair
  5. Conrad Irwin
Commits on Oct 31, 2012
  1. Conrad Irwin

    regemspec

    ConradIrwin authored
  2. Conrad Irwin

    Allow pry to be disabled [Fixes #497]

    ConradIrwin authored
    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
    NO_PRY=true.
Commits on Oct 26, 2012
  1. Pull this value from SystemPager.default_pager.

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

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