easy-deployment 0.1.4 → 0.1.5

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.
@@ -1,5 +1,5 @@
1
1
  module Easy
2
2
  module Deployment
3
- VERSION = "0.1.4"
3
+ VERSION = "0.1.5"
4
4
  end
5
5
  end
@@ -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
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-07-15 00:00:00.000000000 Z
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: -1451020214739844817
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: -1451020214739844817
170
+ hash: -3267408181129166584
171
171
  requirements: []
172
172
  rubyforge_project:
173
173
  rubygems_version: 1.8.24