obbistrano 1.1.78 → 1.1.79
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/obbistrano.rb +4 -1
- data/lib/obbistrano_tasks.rb +2 -2
- data/obbistrano.gemspec +1 -1
- metadata +2 -2
data/lib/obbistrano.rb
CHANGED
data/lib/obbistrano_tasks.rb
CHANGED
|
@@ -479,7 +479,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
|
479
479
|
end
|
|
480
480
|
|
|
481
481
|
task :needs_root do
|
|
482
|
-
puts "
|
|
482
|
+
puts "==> This operation needs root access - Please set a root password inside your /etc/capistrano.conf file" if !defined? "#{root_pass}".red
|
|
483
483
|
exit if !defined? "#{root_pass}"
|
|
484
484
|
config_check
|
|
485
485
|
end
|
|
@@ -492,7 +492,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
|
492
492
|
rescue
|
|
493
493
|
print "==== The user does not yet exist. Would you like to create? [Y/N]"
|
|
494
494
|
line = STDIN.gets.upcase.strip
|
|
495
|
-
puts "
|
|
495
|
+
puts "==> Could not continue as the login does not exist" if line !="Y".red
|
|
496
496
|
exit if line != "Y"
|
|
497
497
|
setup_user
|
|
498
498
|
end
|
data/obbistrano.gemspec
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = %q{obbistrano}
|
|
5
|
-
s.version = "1.1.
|
|
5
|
+
s.version = "1.1.79"
|
|
6
6
|
s.authors = ["Ross Riley", "One Black Bear"]
|
|
7
7
|
s.date = Time.now
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|