easy-deployment 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/easy-deployment/version.rb +1 -1
- data/lib/easy/deployment/apache.rb +2 -2
- metadata +4 -4
@@ -9,8 +9,8 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
9
9
|
run "ln -fs /etc/apache2/sites-available/#{application} /etc/apache2/sites-enabled/#{application}"
|
10
10
|
end
|
11
11
|
|
12
|
-
[:stop, :start, :restart].each do |action|
|
13
|
-
desc "#{action.to_s.capitalize} Apache"
|
12
|
+
[:stop, :start, :restart, :graceful].each do |action|
|
13
|
+
desc (action == :graceful ? "Restart Apache gracefully" : "#{action.to_s.capitalize} Apache")
|
14
14
|
task action, :roles => :web do
|
15
15
|
run "sudo apache2ctl #{action.to_s}"
|
16
16
|
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.1.
|
4
|
+
version: 0.1.5
|
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-08-19 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: rails
|
@@ -158,7 +158,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
158
158
|
version: '0'
|
159
159
|
segments:
|
160
160
|
- 0
|
161
|
-
hash: -
|
161
|
+
hash: -3267408181129166584
|
162
162
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
163
163
|
none: false
|
164
164
|
requirements:
|
@@ -167,7 +167,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
167
167
|
version: '0'
|
168
168
|
segments:
|
169
169
|
- 0
|
170
|
-
hash: -
|
170
|
+
hash: -3267408181129166584
|
171
171
|
requirements: []
|
172
172
|
rubyforge_project:
|
173
173
|
rubygems_version: 1.8.24
|