caploy 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data/caploy.gemspec +3 -0
- data/lib/caploy/recipes/unicorn.rb +11 -11
- data/lib/caploy/version.rb +1 -1
- metadata +49 -1
data/caploy.gemspec
CHANGED
@@ -21,6 +21,9 @@ Gem::Specification.new do |gem|
|
|
21
21
|
gem.add_dependency('capistrano_colors', '>= 0.5.5')
|
22
22
|
gem.add_dependency('capistrano-file_db', '>= 0.1.0')
|
23
23
|
gem.add_dependency('capistrano-uptodate', '>= 0.0.2')
|
24
|
+
gem.add_dependency('capistrano-multiconfig', '>= 0.0.4')
|
25
|
+
gem.add_dependency('capistrano-patch', '>= 0.0.2')
|
26
|
+
gem.add_dependency('capistrano-calendar', '>= 0.1.2')
|
24
27
|
gem.add_dependency('rvm-capistrano', '>= 1.2.2')
|
25
28
|
gem.add_dependency('erubis')
|
26
29
|
|
@@ -14,17 +14,17 @@ Capistrano::Configuration.instance.load do
|
|
14
14
|
|
15
15
|
# Set unicorn vars
|
16
16
|
#
|
17
|
-
_cset :app_env
|
18
|
-
_cset :unicorn_bin
|
19
|
-
_cset :unicorn_pid
|
20
|
-
_cset :unicorn_env
|
21
|
-
_cset :unicorn_std_log
|
22
|
-
_cset :unicorn_err_log
|
23
|
-
_cset :unicorn_worker_processes
|
24
|
-
_cset :unicorn_timeout
|
25
|
-
_cset :unicorn_listen_backlog
|
26
|
-
_cset :sidekiq_redis_url
|
27
|
-
_cset :unicorn_hard_restart
|
17
|
+
_cset (:app_env) { fetch(:rails_env, 'production') }
|
18
|
+
_cset (:unicorn_bin) { "unicorn" }
|
19
|
+
_cset (:unicorn_pid) { "#{fetch(:current_path)}/tmp/pids/unicorn.pid" }
|
20
|
+
_cset (:unicorn_env) { app_env }
|
21
|
+
_cset (:unicorn_std_log) { "log/unicorn.stderr.log" }
|
22
|
+
_cset (:unicorn_err_log) { "log/unicorn.stderr.log" }
|
23
|
+
_cset (:unicorn_worker_processes) { 2 }
|
24
|
+
_cset (:unicorn_timeout) { 30 }
|
25
|
+
_cset (:unicorn_listen_backlog) { 2048 }
|
26
|
+
_cset (:sidekiq_redis_url) { nil }
|
27
|
+
_cset (:unicorn_hard_restart) { false }
|
28
28
|
|
29
29
|
namespace :unicorn do
|
30
30
|
desc 'Start Unicorn'
|
data/lib/caploy/version.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: caploy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.2.
|
5
|
+
version: 0.2.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Michael Schiller
|
@@ -107,6 +107,54 @@ dependencies:
|
|
107
107
|
- - ! '>='
|
108
108
|
- !ruby/object:Gem::Version
|
109
109
|
version: 0.0.2
|
110
|
+
- !ruby/object:Gem::Dependency
|
111
|
+
name: capistrano-multiconfig
|
112
|
+
type: :runtime
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
none: false
|
115
|
+
requirements:
|
116
|
+
- - ! '>='
|
117
|
+
- !ruby/object:Gem::Version
|
118
|
+
version: 0.0.4
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
none: false
|
122
|
+
requirements:
|
123
|
+
- - ! '>='
|
124
|
+
- !ruby/object:Gem::Version
|
125
|
+
version: 0.0.4
|
126
|
+
- !ruby/object:Gem::Dependency
|
127
|
+
name: capistrano-patch
|
128
|
+
type: :runtime
|
129
|
+
requirement: !ruby/object:Gem::Requirement
|
130
|
+
none: false
|
131
|
+
requirements:
|
132
|
+
- - ! '>='
|
133
|
+
- !ruby/object:Gem::Version
|
134
|
+
version: 0.0.2
|
135
|
+
prerelease: false
|
136
|
+
version_requirements: !ruby/object:Gem::Requirement
|
137
|
+
none: false
|
138
|
+
requirements:
|
139
|
+
- - ! '>='
|
140
|
+
- !ruby/object:Gem::Version
|
141
|
+
version: 0.0.2
|
142
|
+
- !ruby/object:Gem::Dependency
|
143
|
+
name: capistrano-calendar
|
144
|
+
type: :runtime
|
145
|
+
requirement: !ruby/object:Gem::Requirement
|
146
|
+
none: false
|
147
|
+
requirements:
|
148
|
+
- - ! '>='
|
149
|
+
- !ruby/object:Gem::Version
|
150
|
+
version: 0.1.2
|
151
|
+
prerelease: false
|
152
|
+
version_requirements: !ruby/object:Gem::Requirement
|
153
|
+
none: false
|
154
|
+
requirements:
|
155
|
+
- - ! '>='
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: 0.1.2
|
110
158
|
- !ruby/object:Gem::Dependency
|
111
159
|
name: rvm-capistrano
|
112
160
|
type: :runtime
|