deployments 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/deployments/recipes.rb +1 -4
- data/lib/deployments/version.rb +1 -1
- metadata +2 -2
data/lib/deployments/recipes.rb
CHANGED
@@ -5,12 +5,9 @@ Capistrano::Configuration.instance.load do
|
|
5
5
|
after 'deploy', 'deployments:push'
|
6
6
|
|
7
7
|
namespace :deployments do
|
8
|
-
task :push do
|
8
|
+
task :push, :roles => :db do
|
9
9
|
run <<-CMD
|
10
10
|
cd #{current_path}/public && ln -s #{shared_path}/public/version.txt version.txt
|
11
|
-
CMD
|
12
|
-
|
13
|
-
run <<-CMD
|
14
11
|
cd #{current_path} && rake deployments:push app_env=#{rails_env}
|
15
12
|
CMD
|
16
13
|
end
|
data/lib/deployments/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deployments
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.9
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-06-
|
12
|
+
date: 2012-06-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: curb
|