kelredd-useful 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -27,18 +27,18 @@ Capistrano::Configuration.instance.load do
27
27
  run "touch #{current_path}/tmp/restart.txt"
28
28
  end
29
29
 
30
- end
31
-
32
- namespace :web do
33
- desc "_: (#{application}) Enable app and remove down page."
34
- task :enable, :roles => :app, :except => { :no_release => true } do
35
- run "rm #{current_path}/public/#{down_html}.html"
30
+ namespace :web do
31
+ desc "_: (#{application}) Enable app and remove down page."
32
+ task :enable, :roles => :app, :except => { :no_release => true } do
33
+ run "rm #{current_path}/public/#{down_html}.html"
34
+ end
35
+
36
+ desc "_: (#{application}) Put up down page and disable app"
37
+ task :disable, :roles => :app, :except => { :no_release => true } do
38
+ run "cp #{shared_path}/#{down_html}.html #{current_path}/public/#{down_html}.html"
39
+ end
36
40
  end
37
41
 
38
- desc "_: (#{application}) Put up down page and disable app"
39
- task :disable, :roles => :app, :except => { :no_release => true } do
40
- run "cp #{shared_path}/#{down_html}.html #{current_path}/public/#{down_html}.html"
41
- end
42
42
  end
43
43
 
44
44
  end
@@ -3,7 +3,7 @@ module Useful
3
3
 
4
4
  MAJOR = 0
5
5
  MINOR = 2
6
- TINY = 0
6
+ TINY = 1
7
7
 
8
8
  def self.to_s # :nodoc:
9
9
  [MAJOR, MINOR, TINY].join('.')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kelredd-useful
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kelly Redding
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-11-06 00:00:00 -06:00
12
+ date: 2009-11-07 00:00:00 -06:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency