capones_recipes 1.17.0 → 1.18.0

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ 1.18.0
2
+ ======
3
+ * Use instance instead of client.domain as bluepill instance name.
4
+
1
5
  1.17.0
2
6
  ======
3
7
  * Only call :configure after deploy:restart in thinking_sphinx to better support bluepill monitoring.
@@ -1,18 +1,15 @@
1
1
  Capistrano::Configuration.instance.load do
2
2
  namespace :deploy do
3
3
  task :start, :roles => :app, :except => { :no_release => true } do
4
- set :bluepill_app, "#{client}.#{domain}"
5
- run "bluepill --no-privileged #{bluepill_app} start"
4
+ run "bluepill --no-privileged #{instance} start"
6
5
  end
7
6
 
8
7
  task :stop, :roles => :app, :except => { :no_release => true } do
9
- set :bluepill_app, "#{client}.#{domain}"
10
- run "bluepill --no-privileged #{bluepill_app} stop"
8
+ run "bluepill --no-privileged #{instance} stop"
11
9
  end
12
10
 
13
11
  task :restart, :roles => :app, :except => { :no_release => true } do
14
- set :bluepill_app, "#{client}.#{domain}"
15
- run "bluepill --no-privileged #{bluepill_app} restart"
12
+ run "bluepill --no-privileged #{instance} restart"
16
13
  end
17
14
  end
18
15
 
@@ -36,8 +33,7 @@ Capistrano::Configuration.instance.load do
36
33
 
37
34
  desc "Prints bluepills monitored processes statuses"
38
35
  task :status, :roles => [:app] do
39
- set :bluepill_app, "#{client}.#{domain}"
40
- run "bluepill --no-privileged #{bluepill_app} status"
36
+ run "bluepill --no-privileged #{instance} status"
41
37
  end
42
38
  end
43
39
  end
@@ -1,3 +1,3 @@
1
1
  module CaponesRecipes
2
- VERSION = "1.17.0"
2
+ VERSION = "1.18.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capones_recipes
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.17.0
4
+ version: 1.18.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-02-02 00:00:00.000000000 Z
13
+ date: 2013-02-04 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: capistrano