capistrano-deploy 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -55,6 +55,11 @@ To automatically install missing gems:
55
55
 
56
56
  after 'deploy:update_code', 'bundle:install'
57
57
 
58
+ Passenger
59
+ ---------
60
+
61
+ require 'capistrano-deploy/passenger'
62
+
58
63
  Unicorn
59
64
  -------
60
65
 
@@ -1,7 +1,7 @@
1
1
  # -*- encoding: utf-8 -*-
2
2
  Gem::Specification.new do |s|
3
3
  s.name = 'capistrano-deploy'
4
- s.version = '0.0.4'
4
+ s.version = '0.0.5'
5
5
  s.platform = Gem::Platform::RUBY
6
6
  s.authors = ['Just Lest']
7
7
  s.email = ['just.lest@gmail.com']
@@ -0,0 +1,8 @@
1
+ Capistrano::Configuration.instance(:must_exist).load do
2
+ namespace :deploy do
3
+ desc 'Restart passenger'
4
+ task :restart, :roles => :app, :except => {:no_release => true} do
5
+ run "mkdir -p #{deploy_to}/tmp && touch #{deploy_to}/tmp/restart.txt"
6
+ end
7
+ end
8
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-deploy
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 4
10
- version: 0.0.4
9
+ - 5
10
+ version: 0.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Just Lest
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-11 00:00:00 +02:00
18
+ date: 2011-02-25 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -52,6 +52,7 @@ files:
52
52
  - lib/capistrano-deploy/bundle.rb
53
53
  - lib/capistrano-deploy/deploy.rb
54
54
  - lib/capistrano-deploy/multistage.rb
55
+ - lib/capistrano-deploy/passenger.rb
55
56
  - lib/capistrano-deploy/unicorn.rb
56
57
  - lib/capistrano-deploy/whenever.rb
57
58
  has_rdoc: true
@@ -84,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
84
85
  requirements: []
85
86
 
86
87
  rubyforge_project:
87
- rubygems_version: 1.5.0
88
+ rubygems_version: 1.5.2
88
89
  signing_key:
89
90
  specification_version: 3
90
91
  summary: Capistrano deploy recipes