Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Nov 14, 2012
  1. @banister
  2. @banister
  3. @banister
Commits on Nov 6, 2012
  1. @banister
  2. @kyrylo @banister

    Fix typo

    kyrylo authored banister committed
    "diskor" -> "disk or"
    
    Signed-off-by: Kyrylo Silin <kyrylosilin@gmail.com>
  3. @banister

    blergh

    banister authored
  4. @banister

    save-source -- added ability to open editor to manually insert code.

    banister authored
    The code is copied to the clipboard for ease of use.
  5. @banister

    save-source command, rudimentary functionality working.

    banister authored
    Can now create save new methods, and also replace old ones.
    Does not yet work with classes.
  6. @banister

    added #candidates method to Pry::WrappedModule

    banister authored
    This method returns an Enumerator and allows you to iterate over all module candidates
  7. @banister

    added a few helpers to Pry::Method including singleton_method?

    banister authored
    Also added optional boolean parameter to #source(raw=false) and #doc(raw=false)
    When `true` is passed, display raw sourcecode, i.e including leading whitespace
  8. @banister

    save-source now works on methods in simple (pry) case.

    banister authored
    Limitations:
    * only saves to primary candidates (monkeypatch with largest number of methods)
    * only saves to end of module/class definition (before the final end)
    * can't deal with situation where method is already defined in the file but has been overwritten by a (pry)
       - in this case we want to overwrite old method in exact location, not insert code at end of module/class def.
Commits on Nov 4, 2012
  1. @rf-

    Fix a few minor YARD issues

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

    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. @banister
  3. @banister
  4. @banister
  5. @ConradIrwin
Commits on Oct 31, 2012
  1. @ConradIrwin

    regemspec

    ConradIrwin authored
  2. @ConradIrwin

    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. @strcmp
  2. @strcmp
  3. @strcmp
Commits on Oct 22, 2012
  1. @kyrylo

    Implement `--patch` flag for `edit --ex` command

    kyrylo authored
    Fix issue #716 (edit --ex -p)
    
    Nothing interesting to describe :S
    
    Implement the feature and add a test for it. Also, remove a couple of
    extra characters from some lines (namely, quotation marks and nils).
    
    Signed-off-by: Kyrylo Silin <kyrylosilin@gmail.com>
Commits on Oct 21, 2012
  1. @kyrylo

    Remove ugly code

    kyrylo authored
    pry(main)> nil.__id__ #=> 4
    
    Signed-off-by: Kyrylo Silin <kyrylosilin@gmail.com>
  2. @kyrylo

    Remove dead method

    kyrylo authored
    It's not used in any calculations.
    
    Signed-off-by: Kyrylo Silin <kyrylosilin@gmail.com>
  3. @ConradIrwin
  4. @ConradIrwin

    Fix broken test on mac

    ConradIrwin authored
  5. @kyrylo

    Add extra tests for `edit-method --patch` command

    kyrylo authored
    There was no tests that verify that `edit-method` invokation with the
    `--patch` flag guarantees that the original source file doesn't get
    changed.
    
    Add these tests in this commit.
    
    Signed-off-by: Kyrylo Silin <kyrylosilin@gmail.com>
Commits on Oct 18, 2012
  1. @kyrylo

    Add an option for disabling colourful bacon output

    kyrylo authored
    If you don't want to see colours in your bacon output then export
    `NO_PRY_COLORED_BACON` variable in your shell rc file and set it to
    `true`.
    
    Signed-off-by: Kyrylo Silin <kyrylosilin@gmail.com>
Commits on Oct 14, 2012
  1. @rf-

    Workaround for JRuby :ambulance:

    rf- authored
Commits on Oct 13, 2012
  1. @rf-
Commits on Oct 1, 2012
  1. @banister
Commits on Sep 26, 2012
  1. @strcmp

    Merge pull request #717 from lloeki/fix_multiline_object_coloring

    strcmp authored
    Pry <#.*> coloring falls apart when it has multiple lines
  2. @kyrylo

    Merge pull request #718 from benpickles/patch-1

    kyrylo authored
    Fix link.
  3. @benpickles

    Fix link.

    benpickles authored
Something went wrong with that request. Please try again.