easy-deployment 0.2.2 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +8 -0
- data/lib/easy/deployment/apache.rb +10 -4
- data/lib/easy-deployment/version.rb +1 -1
- metadata +2 -2
data/ChangeLog
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
0.3.0 - 2012-09-04
|
2
|
+
|
3
|
+
Enhancements:
|
4
|
+
|
5
|
+
* Add apache:configure_and_reload capistrano task, which will configure the site, test the configuration & gracefully reload the Apache configuration
|
6
|
+
|
7
|
+
cap apache:configure_and_reload
|
8
|
+
|
1
9
|
0.2.2 - 2012-08-27
|
2
10
|
|
3
11
|
Enhancements:
|
@@ -3,8 +3,15 @@
|
|
3
3
|
|
4
4
|
Capistrano::Configuration.instance(:must_exist).load do
|
5
5
|
namespace :apache do
|
6
|
-
desc "Configure this site &
|
7
|
-
task :
|
6
|
+
desc "Configure this site, test the configuration & gracefully reload the Apache configuration"
|
7
|
+
task :configure_and_reload, :roles => :web, :except => { :no_release => true } do
|
8
|
+
configure
|
9
|
+
configtest
|
10
|
+
graceful
|
11
|
+
end
|
12
|
+
|
13
|
+
desc "Configure this site"
|
14
|
+
task :configure, :roles => :web, :except => { :no_release => true } do
|
8
15
|
run "cp -f #{current_path}/config/deploy/#{stage}/apache.conf /etc/apache2/sites-available/#{application}"
|
9
16
|
run "ln -fs /etc/apache2/sites-available/#{application} /etc/apache2/sites-enabled/#{application}"
|
10
17
|
end
|
@@ -17,6 +24,5 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
17
24
|
end
|
18
25
|
end
|
19
26
|
|
20
|
-
before 'deploy:start', 'apache:
|
21
|
-
after 'apache:configure', 'apache:graceful'
|
27
|
+
before 'deploy:start', 'apache:configure_and_reload'
|
22
28
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: easy-deployment
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2012-
|
15
|
+
date: 2012-09-04 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: rails
|