the list-inspectors command shows a list of available inspectors as well
as the active inspectors in the list. inspectors are drawn with a name as
well as a short description.
change-inspector can be used to change the inspector by the name found in
the list-inspectors command.
an inspector in pry is something that prints a return value in a repl session.
i'm not crazy about the name `inspector` but the traditional name used in pry(`print`)
didn't fit well. some discussion led us to `inspector` for lack of a better word,
see #1176 on github for discussion
the list-prompts command shows a list of available prompts as well
as the active prompt in the list. prompts are drawn with a name as
well as a short description.
change-prompt can be used to change the prompt by the name found in
the list-prompts command.
change 2nd argument of Pry.view_clip() to accept a Hash of options
with two keys: max_length (default 60) and id (default false)
the custom prompt proc's in lib/pry.rb clip the object shown to
look better visually. this change still supports that behavior but
also adds the option to include a hex representation of the object's
ID by including id: true.
@rf- suggested supporting both (with & without id) to be able to
keep printer proc's pretty but also support other code that's okay
with printing inspects that are hex-y, like the Pry::CLIPPED_PRINT.
also changes Pry::CLIPPED_PRINT to print return values with a hex
ID included since it is a bit different from prompt proc's.
prior to commit both would be loaded but in most cases you'd only use
one or the other. when `bond` is available and `_pry_.config.completer`
has not been set to nil before the pry session has started & editline is
not being used(OSX only), then "pry/bond_completer" is loaded. otherwise
the default fallback is Pry::InputCompleter("pry/input_completer")
* Remove unused development dependency on open4
* Use pessimistic versioning for coderay, rake, and simplecov
* Bump versions of rake and mocha
* Loosen pessimistic versioning on mocha and bond
The only remaining warning from RubyGems is on coderay -- we chose not
to use '~> 1.1' because there were breaking changes between 1.0 and 1.1.
'openstruct' is not a runtime dependency that pry has anymore but it
was not added to the changelog. other two changes include better messages
for older changelog entries related to config.
* Make it Markdown instead of plain text
* Clean up wording and formatting back to 0.9.0
* Incorporate entries for non-master releases 0.9.11.4 through 0.9.12.2