Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Sep 8, 2011
  1. John Mair

    version 0.9.5 release

    banister authored
  2. John Mair

    updated CONTRIBUTORS file

    banister authored
  3. John Mair
  4. John Mair
  5. John Mair

    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. John Mair
  7. Ryan Fitzgerald

    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. John Mair

    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. John Mair

    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. John Mair
  2. John Mair

    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. John Mair
  4. John Mair
  5. John Mair
  6. John Mair

    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. John Mair
  8. John Mair
  9. John Mair

    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. John Mair
  11. John Mair
  12. John Mair
Commits on Sep 6, 2011
  1. John Mair

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

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

    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. John Mair
  6. John Mair
  7. John Mair

    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. John Mair
Commits on Sep 5, 2011
  1. Ryan Fitzgerald

    add documentation for History

    rf- authored
  2. John Mair
  3. John Mair

    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. John Mair
  5. Ryan Fitzgerald

    bug fix

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