Fixed typo in comment
Merge pull request #876 from ognevsky/patch-1

Fixed typo in comment
Bump master to v1.0.0pre1
Show error when no docs found
Escape method names before using them in a regex
Merge pull request #881 from stuporglue/master

Escape method definition names before using in regexp
show-source: Indicate all monkeypatches can be shown with -a

Fixes #849
ShowDocSpec: fix indentation

"The snake which cannot cast its skin has to die.
As well the minds which are prevented from changing
their opinions; they cease to be mind."

  - Friedrich Nietzsche
Config: wrap everything at 80 characters

Conflicts:
	lib/pry/config.rb
PryClass: get rid of obsolete comment

The "ls" command uses tabular output by default (where possible).
Rubygem: fix raising of CommandError for #install

Fix issue #870 (gem-install seems broken on jruby)
Hist: fix `--exclude-pry` switch

Fix issue #874 (hist -e breaks with TypeError: can't convert
Pry::Code::LOC to String)

And add a test for that switch.
CLI: link to pryrepl.org instead of github

And apply a couple of cosmetic fixes.
CLI: output help when unknown switches are used

Fix issue #847 (Pry should output help when unknown flags are used)
WrappedModule::Candidate: exposed number_of_candidates as public method
ShowDocSpec: add a random comment to the definition

This commit fixes the failing test. Internally, Pry raises
`CommandError`, when cannot find a definition (this is the new
behaviour), so the test needs to be updated.
ShowDoc: display "current context" message

Consider the following example:

  [1] pry(main)> show-doc
  Error: No docs found for:
  [2] pry(main)>

The message is ambiguous. This commit adds "current context" label when
`obj_name` return `nil`.

  [1] pry(main)> show-doc
  Error: No docs found for: current context
  [2] pry(main)>
LsSpec: get rid of "empty spec" warning on RBX 1.9
ShowDocSpec: add another random comment to the definition

This commit is rather interesting. Well, maybe not the commit, but the
issue it is aimed to fix. So what's the aim? The aim is to eliminate an
error in the test for the following Ruby implementations: rbx-18mode,
jruby-18mode, jruby-19mode.

See that build for details: https://travis-ci.org/pry/pry/builds/5478834

You may be wondering now: "Kyrylo, what is so interesting in it?".
Heh-heh, sit down right beside me, my covey.

I have a screenshot for you:
http://img-fotki.yandex.ru/get/4125/98991937.11/0_911d2_acdd6798_orig

The screenshot demonstrates the difference between `show-doc` finding
monkey-patches on different Ruby implementations (JRuby and MRI 1.9.3).
Take a closer look at the order of the candidates. It is different in
the abovementioned implementations. That is the reason why the test is
failing. Unfortunately, I couldn't figure out why that is happening.

The fix is simple and it doesn't ruin the idea of the test. However,
I'm leaving that order issue to the greater minds of our civilization.

Uh! Don't forget to check out the description of that commit, because it
is related to this topic:
https://github.com/pry/pry/commit/e926d8c9444d025c5d86489aea0111b54378f396
ShowDocSpec: add a test concerning monkeypatching

Make sure that `show-doc` displays the comments of the original
definition by default. This test *must* fail with current state of
things. The goal is to eliminate the oddities in Pry across some Ruby
implementations.

For more information see:
https://github.com/pry/pry/commit/d05233ecd3ea0bba4c6fc0fb5c932631db687383