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.
@@ -1,3 +1,6 @@
1
1
  require "slicehost" if defined? SLICEHOST_API_PASSWORD
2
2
  require "githubapi"
3
- require "obbistrano_tasks"
3
+ require 'colored'
4
+ require 'fileutils'
5
+ require 'inifile'
6
+ require "obbistrano_tasks"
@@ -479,7 +479,7 @@ Capistrano::Configuration.instance(:must_exist).load do
479
479
  end
480
480
 
481
481
  task :needs_root do
482
- puts "*** This operation needs root access - Please set a root password inside your /etc/capistrano.conf file" if !defined? "#{root_pass}".red
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 "*** Could not continue as the login does not exist" if line !="Y"
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
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{obbistrano}
5
- s.version = "1.1.78"
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=
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 1
8
- - 78
9
- version: 1.1.78
8
+ - 79
9
+ version: 1.1.79
10
10
  platform: ruby
11
11
  authors:
12
12
  - Ross Riley