caploy 0.2.1 → 0.2.2
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/caploy/recipes/setup.rb +2 -2
- data/lib/caploy/recipes/unicorn.rb +1 -0
- data/lib/caploy/version.rb +1 -1
- metadata +2 -2
data/lib/caploy/recipes/setup.rb
CHANGED
|
@@ -7,12 +7,12 @@ Capistrano::Configuration.instance.load do
|
|
|
7
7
|
config_file_to_setup.each do |config_file|
|
|
8
8
|
local_path = config_file_path(config_file)
|
|
9
9
|
put(File.read(local_path), "#{shared_path}/config/#{config_file}", :via => :scp) if local_path
|
|
10
|
-
end
|
|
10
|
+
end if defined?(config_file_to_setup)
|
|
11
11
|
end
|
|
12
12
|
|
|
13
13
|
desc "Set up shared directory structure"
|
|
14
14
|
task :create_shared_folders, :roles => :app do
|
|
15
|
-
directories_to_create.each { |directory| run "mkdir -p #{directory}" }
|
|
15
|
+
directories_to_create.each { |directory| run "mkdir -p #{directory}" } if defined?(directories_to_create)
|
|
16
16
|
end
|
|
17
17
|
|
|
18
18
|
task :set_permissions, :roles => :app do
|
|
@@ -24,6 +24,7 @@ Capistrano::Configuration.instance.load do
|
|
|
24
24
|
_cset (:unicorn_timeout) { 30 }
|
|
25
25
|
_cset (:unicorn_listen_backlog) { 2048 }
|
|
26
26
|
_cset (:sidekiq_redis_url) { nil }
|
|
27
|
+
_cset (:sidekiq_redis_count) { nil }
|
|
27
28
|
_cset (:unicorn_hard_restart) { false }
|
|
28
29
|
|
|
29
30
|
namespace :unicorn do
|
data/lib/caploy/version.rb
CHANGED
metadata
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
name: caploy
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 0.2.
|
|
5
|
+
version: 0.2.2
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Michael Schiller
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-
|
|
12
|
+
date: 2013-08-23 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: gemcutter
|