capistrano-deploy-management 0.1.24 → 0.1.25
Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@
|
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
s.name = 'capistrano-deploy-management'
|
4
4
|
s.description = 'Collection of Capistrano recipes for deploying Rails apps into high-performance environments'
|
5
|
-
s.version = '0.1.
|
5
|
+
s.version = '0.1.25'
|
6
6
|
s.platform = Gem::Platform::RUBY
|
7
7
|
s.authors = ['Dominik Rodler']
|
8
8
|
s.email = ['dominik.rodler@gmail.com']
|
data/changelog.md
CHANGED
@@ -6,9 +6,9 @@ module CapistranoDeployManagement
|
|
6
6
|
use_recipe :rails
|
7
7
|
|
8
8
|
namespace :deploy do
|
9
|
-
namespace :assets, :
|
9
|
+
namespace :assets, roles: :web do
|
10
10
|
desc 'Clear application cache (e.g. Memcached).'
|
11
|
-
task :refresh_cache
|
11
|
+
task :refresh_cache do
|
12
12
|
run "cd #{current_path} && rake cache:clear RAILS_ENV=#{rails_env}"
|
13
13
|
# Requires this rake task: (include here!?)
|
14
14
|
# namespace :cache do
|
@@ -20,7 +20,7 @@ module CapistranoDeployManagement
|
|
20
20
|
end
|
21
21
|
|
22
22
|
desc 'Precompile assets if any assets have changed.'
|
23
|
-
task :lazy_precompile
|
23
|
+
task :lazy_precompile do
|
24
24
|
current_revision = "cat #{current_path}/REVISION"
|
25
25
|
head_revision = "cat #{latest_release}/REVISION"
|
26
26
|
assets_paths = "#{latest_release}/app/assets/ #{latest_release}/lib/assets/ #{latest_release}/vendor/assets/"
|