1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

version bump to 0.8.1, improved stub method output text

This commit is contained in:
John Mair 2011-04-24 16:28:19 +12:00
parent 9c071dc144
commit 6fafe11df1
2 changed files with 3 additions and 3 deletions

View file

@ -20,7 +20,7 @@ class Pry
gems_needed = Array(options[:requires_gem])
gems_not_installed = gems_needed.select { |g| !gem_installed?(g) }
proc do
output.puts "\n`#{name}` requires the following gems to be installed: `#{gems_needed.join(", ")}`"
output.puts "\n#{name} requires the following gems to be installed: #{(gems_needed.join(", "))}"
output.puts "Command not available due to dependency on gems: `#{gems_not_installed.join(", ")}` not being met."
output.puts "Type `install #{name}` to install the required gems and activate this command."
end
@ -29,7 +29,7 @@ class Pry
def create_command_stub(names, description, options, block)
Array(names).each do |name|
commands[name] = {
:description => "Not available. Execute `#{name}` command for more information.",
:description => "Not available. Execute #{(name)} command for more information.",
:action => stub_proc(name, options),
:stub_info => options
}

View file

@ -1,3 +1,3 @@
class Pry
VERSION = "0.8.0"
VERSION = "0.8.1"
end