Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jan 25, 2012
  1. @banister

    version 0.9.8 release

    banister authored
  2. @banister
Commits on Jan 24, 2012
  1. @banister
  2. @banister
  3. @banister
  4. @banister

    hist --replay now uses eval_string <<, fixes #443

    banister authored
    This ensures that the replayed lines end up in the pry input cache. This behaviour is now inline with the way play works.
  5. @banister

    Allow use of hash-based hooks, but show warning.

    banister authored
    * Shows a deprecation warning when used with a link to the new `Pry::Hooks` documentation.
    * When hash-based hooks are used they create anonymous hooks for the associated event.
    i.e Pry.hooks = { :before_session => proc { puts 'hi' } }, the 'name' of that hook is `nil`.
    * Anonymous hooks (nil-named) are different to ordinary hooks in that they dont raise an exception when user attempts to define another of the same name, they just silently overwrite previous one. This is to
    mimic the old hash-based behaviour.
    * Pry::Hooks[] and Pry::Hooks[]= are defined too, and they get and set the anonymous hook for the given event, i.e hooks[:before_session] = proc { "hi" } is equivalent to: hook.add_hook(:before_session, nil,
    proc { "hi" })
    * Proc::Hook#[] and Pry::Hooks#[]= also display deprecation warnings.
  6. @banister

    made = nil for tests

    banister authored
Commits on Jan 23, 2012
  1. @banister
  2. @banister

    Wrapped config.hooks{=} to error on old API.

    banister authored
    We no longer wish to support the (undocumented!!) hash-based hooks API. When a user attempts to use this API
    Pry will raise a `Pry::ObsoleteError` exception with a message telling them to use `Pry::Hooks` instead.
  3. @banister
  4. @banister
  5. @banister
  6. @banister
  7. @banister

    major cleanup to 'play' command + added -d option

    banister authored
    * -d option (combined with show-doc -b) enables you to easily play examples from documentation, e.g play -d Pry#repl --lines example..lines
  8. @banister
  9. @banister
  10. @rf-

    quick fix for Rails 3.2

    rf- authored
  11. @banister

    improved gist command

    banister authored
  12. @banister

    .puts -> warn, fixes #429

    banister authored
Commits on Jan 22, 2012
  1. @banister
  2. @rf-
Commits on Jan 21, 2012
  1. @banister

    command_class no longer alias for create_command

    banister authored
    * removed as an alias
    * converted remaining commands over to create_command
    * removed references in tests
  2. @banister

    slight cleanup to save-file

    banister authored
  3. @banister

    first stab at save-file command

    banister authored
    currently supports:
    * -i, -m, -c, -f, -l (specify lines to restrict to)
    
    TODO:
    * -a (append to file flag)
    * --insert (insert at a certain point in a file)
    * --indent (ensure inserted code is indented properly, using pry's indent mechanism)
  4. @rf-

    add Code#raw (fixes #427)

    rf- authored
  5. @banister

    Merge pull request #440 from csherin/replace-with-create-command

    banister authored
    Replace command_class with create_command for default commands
Commits on Jan 20, 2012
  1. @csherin
  2. @ConradIrwin
  3. @ConradIrwin
  4. @ConradIrwin

    hist -h,-t,-g -> -H,-T,-G.

    ConradIrwin authored
    -h should be --help, so -H makes more sense for --head. -t follows suit
    for consistency. -g -> -G too, though mainly for consistency with ls -G
  5. @banister
Commits on Jan 19, 2012
  1. @ConradIrwin
  2. @ConradIrwin

    Test works now [Fixes #34]

    ConradIrwin authored
  3. @ConradIrwin
Something went wrong with that request. Please try again.