crossroads_capistrano 1.3.2 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/crossroads_capistrano.gemspec +1 -1
- data/lib/crossroads_capistrano.rb +3 -6
- metadata +1 -1
@@ -3,7 +3,7 @@ $:.push File.expand_path("../lib", __FILE__)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = "crossroads_capistrano"
|
6
|
-
s.version = "1.3.
|
6
|
+
s.version = "1.3.3"
|
7
7
|
s.platform = Gem::Platform::RUBY
|
8
8
|
s.authors = ["Steve Kenworthy", "Ben Tillman", "Nathan Broadbent"]
|
9
9
|
s.email = ["it_dept@crossroads.org.hk"]
|
@@ -1,13 +1,10 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
# Crossroads shared capistrano recipes
|
2
|
+
|
3
|
+
if defined?(Capistrano::Configuration) && Capistrano::Configuration.instance
|
3
4
|
require 'capistrano/ext/multistage'
|
4
5
|
require 'bundler/capistrano' unless $no_bundler rescue LoadError
|
5
6
|
require 'capistrano_colors' rescue LoadError puts "Capistrano Colors is not installed."
|
6
7
|
|
7
|
-
unless Capistrano::Configuration.respond_to?(:instance)
|
8
|
-
abort "rvm/capistrano requires Capistrano >= 2."
|
9
|
-
end
|
10
|
-
|
11
8
|
Capistrano::Configuration.instance(:must_exist).load do
|
12
9
|
set :rails_root, Dir.pwd # For tasks that need the root directory
|
13
10
|
|