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.24'
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
@@ -1,4 +1,4 @@
1
- - 0.1.23 / 0.1.23
1
+ - 0.1.23 / 0.1.24 / 0.1.25
2
2
  work in progress: only precompile assets if any assets have changed
3
3
 
4
4
  - 0.1.21 / 0.1.22
@@ -6,9 +6,9 @@ module CapistranoDeployManagement
6
6
  use_recipe :rails
7
7
 
8
8
  namespace :deploy do
9
- namespace :assets, :roles => :web do
9
+ namespace :assets, roles: :web do
10
10
  desc 'Clear application cache (e.g. Memcached).'
11
- task :refresh_cache, roles: :web do
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, :roles => :web, :except => { :no_release => true } do
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/"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-deploy-management
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.24
4
+ version: 0.1.25
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: