capistrano-lemur 0.0.2 → 0.0.3
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.
- data/lib/capistrano/lemur/unicorn.rb +6 -2
- data/lib/capistrano-lemur/version.rb +1 -1
- metadata +11 -5
@@ -3,7 +3,7 @@ Capistrano::Configuration.instance.load do
|
|
3
3
|
set(:unicorn_target) { current_path }
|
4
4
|
|
5
5
|
# TODO: make this more generic once we start using in multiple apps
|
6
|
-
namespace :
|
6
|
+
namespace :unicorn do
|
7
7
|
|
8
8
|
# override default tasks to make capistrano happy
|
9
9
|
desc "LMR Start unicorn"
|
@@ -24,5 +24,9 @@ Capistrano::Configuration.instance.load do
|
|
24
24
|
end
|
25
25
|
|
26
26
|
end
|
27
|
+
|
28
|
+
after "deploy:start", "unicorn:start"
|
29
|
+
after "deploy:restart", "unicorn:restart"
|
30
|
+
after "deploy:stop", "unicorn:stop"
|
27
31
|
|
28
|
-
end
|
32
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-lemur
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-03-
|
12
|
+
date: 2012-03-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: capistrano
|
16
|
-
requirement: &
|
16
|
+
requirement: &70100477540580 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: 2.11.2
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70100477540580
|
25
25
|
description: Recipes for deploying a LEMUR (Linux/Nginx/Mysql/Unicorn/Rails) stack.
|
26
26
|
Some of it is pulled from an existing application
|
27
27
|
email:
|
@@ -56,15 +56,21 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
56
56
|
- - ! '>='
|
57
57
|
- !ruby/object:Gem::Version
|
58
58
|
version: '0'
|
59
|
+
segments:
|
60
|
+
- 0
|
61
|
+
hash: -4223074850597107618
|
59
62
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
60
63
|
none: false
|
61
64
|
requirements:
|
62
65
|
- - ! '>='
|
63
66
|
- !ruby/object:Gem::Version
|
64
67
|
version: '0'
|
68
|
+
segments:
|
69
|
+
- 0
|
70
|
+
hash: -4223074850597107618
|
65
71
|
requirements: []
|
66
72
|
rubyforge_project:
|
67
|
-
rubygems_version: 1.8.
|
73
|
+
rubygems_version: 1.8.17
|
68
74
|
signing_key:
|
69
75
|
specification_version: 3
|
70
76
|
summary: Collection of Capistrano recipes for deploying a LEMUR (Linux/Nginx/Mysql/Unicorn/Rails)
|