obbistrano 1.1.14 → 1.1.15
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/obbistrano_tasks.rb +3 -1
- data/obbistrano.gemspec +1 -1
- metadata +1 -1
data/lib/obbistrano_tasks.rb
CHANGED
|
@@ -286,6 +286,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
|
286
286
|
|
|
287
287
|
desc "Restarts the web server."
|
|
288
288
|
task :restart do
|
|
289
|
+
detect_os
|
|
289
290
|
s_namespace = eval(server_type)
|
|
290
291
|
s_namespace.restart
|
|
291
292
|
end
|
|
@@ -294,6 +295,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
|
294
295
|
task :vhost do
|
|
295
296
|
config_check
|
|
296
297
|
needs_root
|
|
298
|
+
detect_os
|
|
297
299
|
s_namespace = eval(server_type)
|
|
298
300
|
s_namespace.vhost
|
|
299
301
|
s_namespace.restart
|
|
@@ -303,6 +305,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
|
303
305
|
task :setup_user do
|
|
304
306
|
config_check
|
|
305
307
|
needs_root
|
|
308
|
+
detect_os
|
|
306
309
|
s_namespace = eval(server_type)
|
|
307
310
|
s_namespace.setup_user
|
|
308
311
|
end
|
|
@@ -352,7 +355,6 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
|
352
355
|
config_setup
|
|
353
356
|
databases rescue set(:databases, ["#{application}"])
|
|
354
357
|
aliases rescue set(:aliases, []);
|
|
355
|
-
detect_os
|
|
356
358
|
end
|
|
357
359
|
|
|
358
360
|
task :needs_root do
|
data/obbistrano.gemspec
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |s|
|
|
4
4
|
s.name = %q{obbistrano}
|
|
5
|
-
s.version = "1.1.
|
|
5
|
+
s.version = "1.1.15"
|
|
6
6
|
s.authors = ["Ross Riley", "One Black Bear"]
|
|
7
7
|
s.date = Time.now
|
|
8
8
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|