Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Sep 7, 2011
  1. John Mair
  2. John Mair
  3. 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
  4. John Mair
  5. John Mair
  6. 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
  7. Ryan Fitzgerald
  8. Ryan Fitzgerald
  9. Ryan Fitzgerald

    fix history load speed on startup

    rf- authored
  10. John Mair

    updated CHANGELOG and TODO

    banister authored
  11. John Mair

    supercharged the `edit` command

    banister authored
    (1) It now dumps contents of input buffer in an editor when you type 'edit' (or edit -t) inside a non-empty input buffer
    (2) it accepts the file:line syntax. This closes #204
    
    When it evals files it now (by default) just replaces the content of eval_string with the content of the file. This is particularly useful if content of file was an incomplete expression as no error is raised instead
    the input buffer just awaits more input.
  12. John Mair
  13. John Mair
Commits on Sep 4, 2011
  1. John Mair

    Using a new Pry::CommandProcessor::Result class to manage the way com…

    banister authored
    …mand results are handled.
    
    Behaviour now is:
    
    (1) command that has keep_retval => false can replace eval_string() and when the multi-line expression is evaluated it will return value of the multi-line expression (old behaviour did not do this)
    (2) command that has keep_retval => true will always replace whatever multi-line expression it's invoked in with the return value of the command
  2. Eero Saynatkari John Mair

    Improved Pry.view_clip logic. Closes #221.

    rue authored banister committed
  3. Ryan Fitzgerald
  4. John Mair

    made it so commands (with :keep_retval => true) can now return nil as…

    banister authored
    … a legitimate return value. Created a new 'void' value to use instead when indicating no return value. also updated tests.
    
    'void' method now available to commands, commands must return this when they do not want their result displayed when they use :keep_retval => true. void just maps to a random object Pry::CommandContext::VOID_VALUE.
Commits on Sep 3, 2011
  1. John Mair
  2. John Mair
  3. John Mair

    added signature to stat and show-doc commands in ruby 1.8; added sour…

    banister authored
    …ce file output to stat command
Commits on Sep 2, 2011
  1. John Mair
Something went wrong with that request. Please try again.