capistrano-deploy-management 0.1.16 → 0.1.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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.16'
5
+ s.version = '0.1.17'
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,3 +1,6 @@
1
+ - 0.1.17
2
+ commented out some rails_assets recipes, as they are included in capistrano by default now
3
+
1
4
  - 0.1.13 / 0.1.14 / 0.1.15 / 0.1.16
2
5
  fix puma configuration
3
6
 
@@ -4,7 +4,6 @@ module CapistranoDeployManagement
4
4
  configuration.load do
5
5
 
6
6
  # set(:puma_config) { "#{current_path}/config/puma.rb" }
7
- set(:puma_port) { "cat #{current_path}/config/puma.rb" }
8
7
  set(:puma_pidfile) { "#{deploy_to}/shared/pids/puma.pid" }
9
8
  set(:puma_pid) { "cat #{deploy_to}/shared/pids/puma.pid" }
10
9
 
@@ -19,7 +18,8 @@ module CapistranoDeployManagement
19
18
  task :start, :roles => :app, :except => {:no_release => true} do
20
19
  # run "cd #{current_path} && puma -C #{puma_config}"
21
20
  # TODO: fix hardcoded port setting by using a config file
22
- run "cd #{current_path} && RAILS_ENV=#{rails_env} bundle exec rails s puma --port 3005 --pidfile '#{puma_pidfile}' -e #{rails_env}"
21
+ # run "cd #{current_path} && RAILS_ENV=#{rails_env} bundle exec rails s puma --port 3005 --pidfile #{puma_pidfile} -e #{rails_env}"
22
+ run "cd #{current_path} && RAILS_ENV=#{rails_env} bundle exec rails s puma --port 3005 -e #{rails_env}"
23
23
  end
24
24
 
25
25
  desc 'Stop puma.'
@@ -7,15 +7,15 @@ module CapistranoDeployManagement
7
7
 
8
8
  namespace :deploy do
9
9
  namespace :assets do
10
- desc 'Precompile assets.'
11
- task :precompile do
12
- run "cd #{current_path} && RAILS_ENV=#{rails_env} RAILS_GROUPS=assets #{rake} assets:precompile"
13
- end
10
+ # desc 'Precompile assets.'
11
+ # task :precompile do
12
+ # run "cd #{current_path} && RAILS_ENV=#{rails_env} RAILS_GROUPS=assets #{rake} assets:precompile"
13
+ # end
14
14
 
15
- desc 'Clean assets.'
16
- task :clean do
17
- run "cd #{current_path} && RAILS_ENV=#{rails_env} RAILS_GROUPS=assets #{rake} assets:clean"
18
- end
15
+ # desc 'Clean assets.'
16
+ # task :clean do
17
+ # run "cd #{current_path} && RAILS_ENV=#{rails_env} RAILS_GROUPS=assets #{rake} assets:clean"
18
+ # end
19
19
 
20
20
  desc 'Clear application cache (e.g. Memcached).'
21
21
  task :refresh_cache, roles: :app do
@@ -31,8 +31,9 @@ module CapistranoDeployManagement
31
31
  end
32
32
  end
33
33
 
34
- before 'deploy:assets:precompile', 'deploy:assets:clean'
35
- after 'deploy:assets:precompile', 'deploy:assets:refresh_cache'
34
+ # before 'deploy:assets:precompile', 'deploy:assets:clean'
35
+ # after 'deploy:assets:precompile', 'deploy:assets:refresh_cache'
36
+ after 'deploy:update', 'deploy:assets:refresh_cache'
36
37
 
37
38
  end
38
39
  end
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.16
4
+ version: 0.1.17
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: