Permalink
Commits on Sep 12, 2011
Commits on Sep 11, 2011
  1. play -m now uses eval_string.replace() instead of changing Pry#input

    This is simpler and more transparent. Also added to this commit is `show-input` now invoked immediately after a `play -m meth --open` (this was only possible because of the eval_string change).
    Tests for `play` method also updated to reflect changes.
    banister committed Sep 11, 2011
  2. minor CHANGELOG addition

    rf- committed Sep 11, 2011
  3. updated CHANGELOG

    rf- committed Sep 11, 2011
  4. implement edit-method -p

    rf- committed Sep 9, 2011
  5. require ffi

    rf- committed Sep 11, 2011
Commits on Sep 10, 2011
  1. Merge pull request #257 from ConradIrwin/feature/edit-command

    Feature/edit command (Issue #254)
    rue committed Sep 10, 2011
  2. Don't explode if the file we're in doesn't exist.

    This happens particularly in testing where you want to delete files
    after each test, but the REPL state isn't reset correctly.
    ConradIrwin committed Sep 10, 2011
  3. added a Pry#run_command method

    Useful when pry instance is passed to procs such as exception handlers
    e.g Pry.config.exception_handler = proc |output, value, _pry_|
          _pry_.run_command('cat --ex')
        end
    
    Notw that run_command also accepts a optional second parameter 'binding' that defaults to binding_stack.last when not given
    banister committed Sep 10, 2011
  4. read_between_the_lines method can now return code defined in REPL.

    This enables `cat --ex` to now return code for REPL generated exceptions
    banister committed Sep 10, 2011
Commits on Sep 9, 2011
  1. fix top-level prompt test for 1.8

    rf- committed Sep 9, 2011
  2. fix top-level prompt for 1.8.7

    rf- committed Sep 9, 2011
Commits on Sep 8, 2011
  1. updated README

    banister committed Sep 8, 2011
  2. version 0.9.5 release

    banister committed Sep 8, 2011
  3. updated CONTRIBUTORS file

    banister committed Sep 8, 2011
  4. updated Pry.view_clip() again, this time calling #inspect on nil, tru…

    …e, false as well. Also truncted #<> syntax to exclude memory address to improve appearance of prompts
    banister committed Sep 8, 2011
  5. added Pry.config.ls.separator to allow further customization of ls ou…

    …tput, defaults to 2 spaces
    banister committed Sep 8, 2011
  6. improve regex for amend-line command

    * accurate spacing in front of the replacement line when there's no line number
    * remove legacy "amend-line-N" syntax
    rf- committed Sep 8, 2011
  7. updated Pry.view_clip() to call #inspect on Numerics, Strings and Sym…

    …bols, added tests for this. Also added new CLIPPED_PRINT printer (using Pry.view_clip), perhaps useful for enormous objects)
    banister committed Sep 8, 2011
  8. fixed tempfile-related bug and failing test and got rid of Pry.view()…

    … around nest_level in DEFAULT_PROMPT
    banister committed Sep 8, 2011
Commits on Sep 7, 2011
  1. more fixes for issue #245 (enormous inspect output lagging REPL)

    1. Pry.view_clip no longer uses #inspect, it defaults to #<> syntax (but using Module#name for modules), exception for 'main' object
    2. Pry.run_command passes in a blank prompt and blank hooks
    
    Also updated tests
    banister committed Sep 7, 2011