Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Sep 12, 2011
  1. @banister
  2. @banister
Commits on Sep 11, 2011
  1. @banister
  2. @banister

    play -m now uses eval_string.replace() instead of changing Pry#input

    banister authored
    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.
  3. @rf-

    minor CHANGELOG addition

    rf- authored
  4. @rf-

    updated CHANGELOG

    rf- authored
  5. @rf-
  6. @rf-

    implement edit-method -p

    rf- authored
  7. @rf-

    require ffi

    rf- authored
Commits on Sep 10, 2011
  1. @rue

    Merge pull request #257 from ConradIrwin/feature/edit-command

    rue authored
    Feature/edit command (Issue #254)
  2. @ConradIrwin
  3. @ConradIrwin

    Don't explode if the file we're in doesn't exist.

    ConradIrwin authored
    This happens particularly in testing where you want to delete files
    after each test, but the REPL state isn't reset correctly.
  4. @ConradIrwin
  5. @banister

    added a Pry#run_command method

    banister authored
    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
  6. @banister
  7. @banister
  8. @banister

    read_between_the_lines method can now return code defined in REPL.

    banister authored
    This enables `cat --ex` to now return code for REPL generated exceptions
Commits on Sep 9, 2011
  1. @rf-

    fix top-level prompt test for 1.8

    rf- authored
  2. @rf-

    fix top-level prompt for 1.8.7

    rf- authored
  3. @rf-
Commits on Sep 8, 2011
  1. @rue
  2. @rue
  3. @banister

    updated README

    banister authored
  4. @banister

    version 0.9.5 release

    banister authored
  5. @banister

    updated CONTRIBUTORS file

    banister authored
  6. @banister
  7. @banister
  8. @banister

    updated Pry.view_clip() again, this time calling #inspect on nil, tru…

    banister authored
    …e, false as well. Also truncted #<> syntax to exclude memory address to improve appearance of prompts
  9. @banister
  10. @rf-

    improve regex for amend-line command

    rf- authored
    * accurate spacing in front of the replacement line when there's no line number
    * remove legacy "amend-line-N" syntax
  11. @banister

    updated Pry.view_clip() to call #inspect on Numerics, Strings and Sym…

    banister authored
    …bols, added tests for this. Also added new CLIPPED_PRINT printer (using Pry.view_clip), perhaps useful for enormous objects)
  12. @banister

    fixed tempfile-related bug and failing test and got rid of Pry.view()…

    banister authored
    … around nest_level in DEFAULT_PROMPT
Commits on Sep 7, 2011
  1. @banister
  2. @banister

    more fixes for issue #245 (enormous inspect output lagging REPL)

    banister authored
    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
  3. @banister
Something went wrong with that request. Please try again.