cmdeploy 0.2.2 → 0.2.3

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.
@@ -7,7 +7,7 @@ module CMDeploy
7
7
 
8
8
  namespace :deploy do
9
9
  namespace :assets do
10
- desc "cm-deploy: Assets precompilation"
10
+ desc "cmdeploy: Assets precompilation"
11
11
  task :precompile do
12
12
  run "cd #{release_path} && #{rake} RAILS_RELATIVE_URL_ROOT=/#{application} RAILS_ENV=#{stage} RAILS_GROUPS=assets assets:precompile"
13
13
  end
@@ -7,7 +7,7 @@ module CMDeploy
7
7
 
8
8
  namespace :deploy do
9
9
 
10
- desc "cm-deploy: check and install gems via bunlder"
10
+ desc "cmdeploy: check and install gems via bundler"
11
11
  task :bundle_setup, roles: :app do
12
12
  run ". ~/.bashrc && cd #{release_path} && (bundle check || bundle install --without development) && bundle install --binstubs"
13
13
  end
@@ -6,7 +6,7 @@ module CMDeploy
6
6
  configuration.load do
7
7
 
8
8
  namespace :nginx do
9
- desc "cm-deploy: setup nginx configuration for this application"
9
+ desc "cmdeploy: setup nginx configuration for this application"
10
10
  task :setup, roles: :web do
11
11
  template("nginx_unicorn.erb","/tmp/nginx_unicorn")
12
12
  run "mv /tmp/nginx_unicorn #{nginx_conf_folder}/#{application}.conf"
@@ -17,7 +17,7 @@ module CMDeploy
17
17
  after "deploy:setup", "nginx:setup"
18
18
 
19
19
  %w[start stop restart status reload configtest].each do |command|
20
- desc "cm-deploy: #{command} nginx"
20
+ desc "cmdeploy: #{command} nginx"
21
21
  task command, roles: :web do
22
22
  run "#{sudo} /sbin/service nginx #{command}"
23
23
  end
@@ -7,7 +7,7 @@ module CMDeploy
7
7
 
8
8
  namespace :deploy do
9
9
 
10
- desc "cm-deploy: copy password file from server"
10
+ desc "cmdeploy: copy password file from server"
11
11
  task :copy_password_file, roles: :app do
12
12
  begin
13
13
  run "mkdir -p ~/.rails/#{application} && cp ~/.rails/#{application}/database.yml #{release_path}/config"
@@ -7,7 +7,7 @@ module CMDeploy
7
7
 
8
8
  namespace :deploy do
9
9
 
10
- desc "cm_deploy: fetch revision history"
10
+ desc "cmdeploy: fetch revision history"
11
11
  task :fetch_revision_history, roles: :app do
12
12
  run "cd #{release_path} && svn log --xml #{release_path} > revision.xml"
13
13
  end
@@ -6,7 +6,7 @@ module CMDeploy
6
6
  configuration.load do
7
7
 
8
8
  namespace :unicorn do
9
- desc "cm-deploy: create unicorn startup script"
9
+ desc "cmdeploy: create unicorn startup script"
10
10
  task :setup, roles: :app do
11
11
  run "mkdir -p #{unicorn_conf_folder}"
12
12
  template("unicorn_conf.erb","/tmp/unicorn_conf")
@@ -15,7 +15,7 @@ module CMDeploy
15
15
  after "deploy:setup", "unicorn:setup"
16
16
 
17
17
  %w[start stop restart reload upgrade status rotate].each do |command|
18
- desc "cm-deploy: #{command} unicorn"
18
+ desc "cmdeploy: #{command} unicorn"
19
19
  task command, roles: :app do
20
20
  run ". ~/.bashrc && uc #{command} ~/etc/unicorn/#{application}.conf"
21
21
  end
@@ -1,3 +1,3 @@
1
1
  module CMDeploy
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cmdeploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: