pry 0.8.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown CHANGED
@@ -107,7 +107,7 @@ the `jump-to` command:
107
107
  ### Runtime invocation
108
108
 
109
109
  Pry can be invoked in the middle of a running program. It opens a Pry
110
- session at the point its called and makes all program state at that
110
+ session at the point it's called and makes all program state at that
111
111
  point available. When the session ends the program continues with any
112
112
  modifications you made to it.
113
113
 
data/bin/pry CHANGED
@@ -18,7 +18,7 @@ See: `https://github.com/banister` for more information.
18
18
  }
19
19
 
20
20
  on :e, :exec, "A line of code to execute in context before the session starts", true
21
- on :f, "Surpress loading of ~/.pryrc"
21
+ on :f, "Supress loading of ~/.pryrc"
22
22
  on "no-color", "Disable syntax highlighting for session"
23
23
 
24
24
  on "simple-prompt", "Enable simple prompt mode" do
@@ -20,7 +20,7 @@ class Pry
20
20
  gems_needed = Array(options[:requires_gem])
21
21
  gems_not_installed = gems_needed.select { |g| !gem_installed?(g) }
22
22
  proc do
23
- output.puts "\n`#{name}` requires the following gems to be installed: `#{gems_needed.join(", ")}`"
23
+ output.puts "\n#{name} requires the following gems to be installed: #{(gems_needed.join(", "))}"
24
24
  output.puts "Command not available due to dependency on gems: `#{gems_not_installed.join(", ")}` not being met."
25
25
  output.puts "Type `install #{name}` to install the required gems and activate this command."
26
26
  end
@@ -29,7 +29,7 @@ class Pry
29
29
  def create_command_stub(names, description, options, block)
30
30
  Array(names).each do |name|
31
31
  commands[name] = {
32
- :description => "Not available. Execute `#{name}` command for more information.",
32
+ :description => "Not available. Execute #{(name)} command for more information.",
33
33
  :action => stub_proc(name, options),
34
34
  :stub_info => options
35
35
  }
data/lib/pry/commands.rb CHANGED
@@ -59,7 +59,7 @@ class Pry
59
59
  alias_command "quit-program", "exit-program", ""
60
60
  alias_command "!!!", "exit-program", ""
61
61
 
62
- command "gem-install", "Install a gem" do |gem_name|
62
+ command "gem-install", "Install a gem and refresh the gem cache." do |gem_name|
63
63
  gem_home = Gem.instance_variable_get(:@gem_home)
64
64
  output.puts "Attempting to install gem: #{bold(gem_name)}"
65
65
 
@@ -149,6 +149,7 @@ e.g: stat hello_method
149
149
  opts = Slop.parse!(args) do |opts|
150
150
  opts.banner = %{Usage: gist-method [OPTIONS] [METH]
151
151
  Gist the method (doc or source) to github.
152
+ Ensure the `gist` gem is properly working before use. http://github.com/defunkt/gist for instructions.
152
153
  e.g: gist -m my_method
153
154
  e.g: gist -d my_method
154
155
  --
data/lib/pry/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  class Pry
2
- VERSION = "0.8.0"
2
+ VERSION = "0.8.1"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: pry
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.8.0
5
+ version: 0.8.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - John Mair (banisterfiend)