Skip to content
This repository

Jan 20, 2013

  1. John Mair

    version 0.9.11.4 release

    * fixed pager bug (wouldn't render color codes in some circumstances)
    authored January 20, 2013
  2. John Mair

    Added Pry.last_internal_error

    Holds the last internal error (such as CommandError, Slop::InvalidOptionError,
    or MethodSource::SourceNotFoundError). Useful for debugging commands.
    Just set: _pry_.last_exception = Pry.last_internal_error
    authored January 20, 2013

Jan 19, 2013

  1. John Mair

    pager.rb: Ensure we explicitly rescue LoadError

    a bare 'rescue' will not catch a LoadError
    authored January 19, 2013
  2. Chris Gahan

    Some fixes to the pager.

    We didn't send any flags to the pager, as a result ansi codes
    were not applied unless the user had properly set up their LESS
    env variable. This was often not the case, resulting in broken
    and ugly output. This commit sends along the proper flags whenever
    we use the pager, regardless of the user's LESS variable
    authored January 18, 2013 banister committed January 19, 2013

Jan 18, 2013

  1. John Mair

    version 0.9.11.3 bugix release

    * fix Pry.run_command
    * improve `ls` output
    * add :requires_gem => "jist" to 'gist' command (so deps can be installed
    	via install-command)
    * improve help for 'edit' command
    authored January 18, 2013
  2. John Mair

    improve help for 'edit' command

    authored January 18, 2013
  3. John Mair

    Fix failing specs on ree/ruby18

    We put a conditional around tests so that we skip those those using
    show-source (namely the one in run_command_spec.rb) on ree/ruby18
    authored January 18, 2013

Jan 17, 2013

  1. ☈king

    Adjusting ls output for voluminous output

    The previous table output was geared mostly for `ls _pry_`, which isn't
    a common of hierarchy. After feedback from users such as @envygeeks, we
    found a few tweaks that would help the really-small layers such as those
    found in Rails or in small classes, namely:
    
    - Rolling it up onto one line, if possible
    - Highlighting the heading in the colors familiar to users of GNU ls for
      "directory" style
    
    Additionally, I took the opportunity for toning down the
    private/protected method colors, because before they were green and
    yellow, now they're both "muted terminal blue"
    
    Without the ability to really get in and really distinguish colors (e.g.
    using 256 colors), giving "protected" such a loud color seems wrong.
    
    Before recoloring:
      #813 (comment)
    After:
      #813 (comment)
    authored January 16, 2013 rking@sharpsaw.org committed January 17, 2013
  2. ☈king

    Add Pry.auto_resize! to respond to width changes.

    - Opt-in because we aren't sure where it doesn't work
    - Not Coolline-aware
    - Otherwise a big improvement
    authored October 27, 2012 rking@sharpsaw.org committed January 17, 2013
  3. ☈king

    Bump version (it was conflicted anyway)

    authored January 17, 2013 rking@sharpsaw.org committed January 17, 2013
  4. John Mair

    add some missing pieces from CHANGELOG

    authored January 17, 2013
  5. John Mair

    Fix Pry.run_command

    The problem was that Pry#rep() no longer works on its own, it's
    necessary to use Pry#repl() instead. This is because many new API, like
    Pry::CodeObject.lookup now get the target binding directly from the _pry_ instance
    (Pry#current_context), rather than requiring it to be passed in
    separately. This saves us a parameter.
    
    The reason Pry#rep doesnt work with Pry::CodeObject.lookup (and so
    show-source/show-doc etc) is that the binding_stack is only set up in
    Pry#repl_prologue, and it is the binding_stack (via Pry#current_context)
    that is accessed by Pry::CodeObject and pals.
    authored January 17, 2013
  6. John Mair

    gist: re-add 'jist' gem dependency with :requires_gem

    Oops, forgetting this meant that 'gist' command would error out with
    ugly messages rather than prompting the user to 'install-command'
    authored January 17, 2013
  7. Kyrylo Silin

    Command: fix typo in comments

    authored January 17, 2013

Jan 16, 2013

  1. John Mair

    0.9.11.2 bugfix for windows

    minor bug fix for gist on windows, rescuing Jist::ClipboardError
    rather than letting the scary error spill out to users and potentially
    have them think the gist didnt post.
    authored January 17, 2013
  2. John Mair

    gist: window's fix for broken clipboard

    authored January 16, 2013
  3. John Mair

    updated CHANGELOG for 0.9.11.1

    authored January 16, 2013
  4. John Mair

    v0.9.11.1 bugfix

    * forgot to remove 'no_arg' from Pry::Command::CodeCollector, this method no longer exists
    and so 'gist' (when not given any params) would break. Replaced no_arg with empty string ""
    so that 'gist' gists current object/method by default.
    authored January 16, 2013
  5. John Mair

    Version 0.9.11 release

    Final adjustments made to CHANGELOG and CONTRIBUTORS
    authored January 16, 2013
  6. John Mair

    Edit::MethodPatcher: remove unnecessary assignment

    authored January 16, 2013
  7. Kyrylo Silin

    Prepare CHANGELOG for the new release

    authored January 16, 2013

Jan 15, 2013

  1. Kyrylo Silin

    Remove "notes.yml"

    authored January 16, 2013
  2. John Mair

    turn Pry.config.collision_warnings back off

    This was a horrible mistake, it's stupidly annoying
    
    * in the case of 'rake pry' it warngs every time we do 'cd' (since 'cd' is a top-levle method
      defined by rake)
    
    That's all i can think of right now, but that's still annoying enough.
    authored January 16, 2013
  3. John Mair

    Thread.current -> Pry.current

    authored January 15, 2013
  4. John Mair

    Add deprecated_commands API

    And rewrite edit-method / show-command to use this API.
    authored January 15, 2013
  5. John Mair

    gist: Use Pry::CodeCollector (like play/save-file)

    This enables a simplified UI, i.e: gist my_file.rb instead of gist -f my_file.rb
    and `gist my_method` instead of `gist -m my_method`. Unfortunately, we had to kill our
    tests in the process of doing this (gist_spec.rb is just commented out) - however since play
    and save-file have tests and they use the same Pry::CodeCollector object 'gist' is indirectly
    tested. Nonetheless, we should re-add tests at some point
    authored January 15, 2013
  6. John Mair

    edit: ensure 'edit --ex' always edits the exception

    There was a bug where if 'edit --ex' was invoked in a patched method context
    it would instead to the equivalent of 'edit --method' (patching the current method
    rather than the exception)
    authored January 15, 2013
  7. John Mair

    Pry::Command::CodeCollector: add #file attribute

    This allows callers to know that CC is working on a file rather than ruby code.
    authored January 15, 2013

Jan 14, 2013

  1. John Mair

    save-file passes on windows :D

    authored January 15, 2013
  2. Kyrylo Silin

    Update hist command to the new Slop API

    It was creating a new Slop instance for its own needs, thus and so
    remove the previous abstraction for Slop commands. The
    `ClassCommand::Options` class should be removed because we don't need it
    anymore.
    authored January 14, 2013
  3. Kyrylo Silin

    Update examples for ClassCommand#subcommands

    authored January 14, 2013
  4. Kyrylo Silin

    Update relevant tests in "command_spec.rb"

    Make them use the new Slop syntax.
    authored January 14, 2013
  5. Kyrylo Silin

    Remove old subcommands cruft

      * use a plain old Slop instance instead of `Options`;
      * remove `ClassCommand::Options` and its tests;
      * add clearer subcommand example (for `Command#subcommand` method);
      * refactor `ClassCommand#slop`;
      * refactor `ClassCommand#complete`.
    
    Slop v3.4.0 has introduced full-featured subcommands. There is no need
    in Pry specific code anymore.
    authored January 13, 2013
  6. Kyrylo Silin

    [GEM] Depend on Slop "~> 3.4"

    Slop v3.4.0 includes new syntax for subcommands. And we're going to
    utilise it.
    authored January 13, 2013
  7. Kyrylo Silin

    Fix indentations for the gist command description

    authored January 14, 2013
Something went wrong with that request. Please try again.