Permalink
Commits on Nov 29, 2011
  1. Fetch method name for 'whereami' directly from binding.

    Pry::Method.from_str fails to find by name unbound method that was
    removed from the class. As 'whereami' command needs only name of the
    method it can fetch that name directly from binding without performing
    lookup of the method itself.
    committed Nov 29, 2011
  2. New backtrace command. :when_started hook now yields binding_stack, too.

    Pry saves the backtrace (output of caller method) before a session starts in the Pry#backtrace= accessor.
    The 'backtrace' command always uses this backtrace.
    
    *BUG* may exist where need to take into account whether Pry was invoked with Pry.start of binding.pry -- so that we know how much of the backtrace to cut off.
    
    :when_started hook now yields binding_stack, giving the hook opportunity to change the target of the session.
    banister committed Nov 29, 2011
  3. added backtrace to pry object

    banister committed Nov 27, 2011
Commits on Nov 27, 2011
  1. always add input to history

    rf- committed Nov 27, 2011
  2. move reset char to the end of output

    rf- committed Nov 27, 2011
  3. improve method name guessing

    rf- committed Nov 27, 2011
Commits on Nov 26, 2011
  1. Stop using broken Slop API

    Re Issue #354, Issue #308, et.al.
    ConradIrwin committed Nov 26, 2011
  2. Add test for Issue 343

    ConradIrwin committed Nov 26, 2011
  3. Merge pull request #353 from pry/experiment/eval2

    Experiment/eval2
    banister committed Nov 26, 2011
  4. reset colours before printing prompt

    This makes Issue #352 much less severe.
    ConradIrwin committed Nov 26, 2011
  5. typo

    ConradIrwin committed Nov 26, 2011
  6. cleanup and rbx fixes

    rf- committed Nov 26, 2011
  7. ensure undef after method patch

    rf- committed Nov 21, 2011
Commits on Nov 25, 2011
  1. Fix a typo

    ConradIrwin committed Nov 24, 2011
Commits on Nov 24, 2011
  1. updated rename_command() to accept either actual command name or list…

    …ing name, tests also updated
    banister committed Nov 24, 2011
  2. Added rename() method to Pry#CommandSet

    This enables whingers like RubyPanther to change commands such as 'ls'
    to something more bland so they no longer suffer 'mental pollution'
    banister committed Nov 24, 2011
Commits on Nov 23, 2011
  1. Hook system now executes hooks in order.

    Also the return value of exec_hook() is now the value of the last executed hook.
    Internally, hooks now use arrays (rather than hash). Also added a get_hooks() method.
    Updated tests to reflect these changes.
    banister committed Nov 23, 2011
Commits on Nov 22, 2011
  1. modified select_prompt() method so it now takes eval_string and targe…

    …t; makes for cleaner code at callsites, update tests
    banister committed Nov 22, 2011
Commits on Nov 20, 2011
  1. rearrange line retrieval to fix #344

    rf- committed Nov 20, 2011
Commits on Nov 19, 2011
Commits on Nov 17, 2011