Permalink
Commits on Feb 9, 2012
  1. version 0.9.8.2 release

    banister committed Feb 9, 2012
  2. added edit -c option

    banister committed Feb 9, 2012
    * edit current line as returned by `whereami` (most useful in binding.pry situations, also useful for plymouth when editing current test failure)
    * edit also now respects Pry.config.disable_autoreload option
  3. added not_a_real_file? helper to BaseHelpers

    banister committed Feb 9, 2012
    * Useful for 'whereami' command and other commands that need to check whether file name was actually "<main>" or "(eval)" and so on
Commits on Feb 4, 2012
  1. convert start_line to an integer

    Joe Peduto committed Feb 4, 2012
Commits on Feb 1, 2012
Commits on Jan 30, 2012
Commits on Jan 29, 2012
  1. better fix...

    ConradIrwin committed Jan 29, 2012
Commits on Jan 25, 2012
  1. updated CONTRIBUTORS

    banister committed Jan 25, 2012
  2. updated gemspec

    banister committed Jan 25, 2012
  3. version 0.9.8 release

    banister committed Jan 25, 2012
  4. removed % alias for amend-line

    banister committed Jan 25, 2012
Commits on Jan 24, 2012
  1. hist --replay now uses eval_string <<, fixes #443

    banister committed Jan 24, 2012
    This ensures that the replayed lines end up in the pry input cache. This behaviour is now inline with the way play works.
  2. Allow use of hash-based hooks, but show warning.

    banister committed Jan 24, 2012
    * 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.
  3. made = nil for tests

    banister committed Jan 24, 2012
Commits on Jan 23, 2012
  1. Wrapped config.hooks{=} to error on old API.

    banister committed Jan 23, 2012
    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.
  2. major cleanup to 'play' command + added -d option

    banister committed Jan 23, 2012
    * -d option (combined with show-doc -b) enables you to easily play examples from documentation, e.g play -d Pry#repl --lines example..lines