Skip to content

HTTPS clone URL

Subversion checkout URL

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

    version 0.9.5 release

    banister authored
  2. @banister

    updated CONTRIBUTORS file

    banister authored
  3. @banister
  4. @banister
  5. @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
  6. @banister
  7. @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
  8. @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)
  9. @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
  4. @banister
  5. @banister
  6. @banister

    whereami command now invoked on active pry instance instead of invoke…

    banister authored
    …d through Pry.run_command
    
    Advantages of this is the _file_ and _dir_ is set properly and also if current pry instance uses SIMPLE_PROMPT then a prompt using inspect wont be used on the temporary pry instance  as per #245
  7. @banister
  8. @banister
  9. @banister

    added Pry::NAV_PROMPT and Pry::SIMPLE_PRINT to pry.rb

    banister authored
    NAV_PROMPT shows you your current context along with all the previous contexts separated by a "/" a la shell-style; making it easier to navigate around. Also includes current index of _in_ and _out_ locals.
    
    SIMPLE_PRINT is just a simple inspect style printer (a la IRB); it doesnt use coloration or pretty printing or paging and can die for weird input. But is likely slightly faster for large output
  10. @banister
  11. @banister
  12. @banister
Commits on Sep 6, 2011
  1. @banister

    JRuby finally supported, passing 100% of tests - requires updated met…

    banister authored
    …hod_source gem (version 0.6.5).
  2. @banister
  3. @banister
  4. @banister

    when playing string vars using the play command can now use --lines, …

    banister authored
    …note only able to play string variables now - not just arbitrary strings. Primary use is with _in_ special local
  5. @banister
  6. @banister
  7. @banister

    This closes issue #241. Files are not eval'd at top-level and temps a…

    banister authored
    …re inserted into the input buffer (eval_string). edit --ex now auto-reloads too.
    
    Auto-reloads can be suppressed using the new `-n` option. Situation is now the following:
    
    (1) files are not reloaded by default
    (2) if files are reloaded (using -r) they are eval'd at toplevel
    (3) edit --ex is reloaded by default and is eval'd at toplevel (same as files)
    (4) edit -t or just `edit` is reloaded by default and is inserted into input buffer (eval_string)
    (5) if you need to suppress auto-reloading for edit --ex or edit -t then also pass the -n switch
  8. @banister
Commits on Sep 5, 2011
  1. @rf-

    add documentation for History

    rf- authored
  2. @banister
  3. @banister

    Added support for complex syntax to the `cd` command, e.g: cd ../@x/y…

    banister authored
    …../z. Updated tests.
    
    cd @x/@y/@z will push @x and @y and @z onto the stack in that order
    cd ../../ will pop @z and @y off the stack
  4. @banister
  5. @rf-

    bug fix

    rf- authored
  6. @rf-
Something went wrong with that request. Please try again.