capistrano-af83 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/capistrano/af83/mongoid.rb +2 -2
- data/lib/capistrano/af83/stages.rb +2 -2
- data/lib/capistrano/af83/version.rb +1 -1
- metadata +10 -10
@@ -3,12 +3,12 @@
|
|
3
3
|
namespace :mongoid do
|
4
4
|
desc "Copy mongoid config"
|
5
5
|
task :copy do
|
6
|
-
upload "config/mongoid/#{rails_env}.yml", "#{shared_path}/mongoid.yml", :via => :scp
|
6
|
+
upload "config/mongoid/#{rails_env}.yml", "#{shared_path}/mongoid.yml", :via => :scp
|
7
7
|
end
|
8
8
|
|
9
9
|
desc "Link the mongoid config in the release_path"
|
10
10
|
task :symlink do
|
11
|
-
run "test -f #{release_path}/config/mongoid.yml || ln -s #{shared_path}/mongoid.yml #{release_path}/config/mongoid.yml"
|
11
|
+
run "test -f #{release_path}/config/mongoid.yml || ln -s #{shared_path}/mongoid.yml #{release_path}/config/mongoid.yml"
|
12
12
|
end
|
13
13
|
|
14
14
|
desc "Create MongoDB indexes"
|
@@ -15,8 +15,8 @@ task :dev do
|
|
15
15
|
set :branch, :master
|
16
16
|
set :rails_env, :dev
|
17
17
|
set(:default_environment) { { "RAILS_ENV" => rails_env } }
|
18
|
-
server "#{user}@#{application}", :app, :web, :db, :primary => true
|
19
18
|
load "#{location}/#{stage}" if File.exists?("#{location}/#{stage}.rb")
|
19
|
+
server "#{user}@#{application}", :app, :web, :db, :primary => true
|
20
20
|
end
|
21
21
|
|
22
22
|
desc "Set the target stage to `staging'."
|
@@ -25,8 +25,8 @@ task :staging do
|
|
25
25
|
set :branch, :master
|
26
26
|
set :rails_env, :staging
|
27
27
|
set(:default_environment) { { "RAILS_ENV" => rails_env } }
|
28
|
-
server "#{user}@#{application}", :app, :web, :db, :primary => true
|
29
28
|
load "#{location}/#{stage}" if File.exists?("#{location}/#{stage}.rb")
|
29
|
+
server "#{user}@#{application}", :app, :web, :db, :primary => true
|
30
30
|
end
|
31
31
|
|
32
32
|
desc "Set the target stage to `prod'."
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-af83
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.7
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2012-01-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: capistrano
|
16
|
-
requirement: &
|
16
|
+
requirement: &88595590 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '2.9'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *88595590
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: capistrano_colors
|
27
|
-
requirement: &
|
27
|
+
requirement: &88595070 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0.5'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *88595070
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: capistrano-notification
|
38
|
-
requirement: &
|
38
|
+
requirement: &88594730 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0.1'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *88594730
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: sushi
|
49
|
-
requirement: &
|
49
|
+
requirement: &88594190 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,7 +54,7 @@ dependencies:
|
|
54
54
|
version: 0.0.2
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *88594190
|
58
58
|
description: Capistrano recipes for af83
|
59
59
|
email: bruno.michel@af83.com
|
60
60
|
executables: []
|