capper 0.7.1 → 0.7.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/capper.gemspec +1 -1
- data/lib/capper/templates/unicorn.rb.erb +8 -5
- metadata +2 -2
data/capper.gemspec
CHANGED
@@ -22,11 +22,14 @@ timeout <%= unicorn_timeout %>
|
|
22
22
|
# know what you are doing.
|
23
23
|
pid "<%= shared_path %>/pids/unicorn.pid"
|
24
24
|
|
25
|
-
#
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
25
|
+
# try using Syslogger and fall back to file-based logging
|
26
|
+
begin
|
27
|
+
require "syslogger"
|
28
|
+
logger Syslogger.new("<%= application %>-unicorn", Syslog::LOG_PID, Syslog::LOG_LOCAL1)
|
29
|
+
rescue
|
30
|
+
stderr_path "<%= shared_path %>/log/unicorn.stderr.log"
|
31
|
+
stdout_path "<%= shared_path %>/log/unicorn.stdout.log"
|
32
|
+
end
|
30
33
|
|
31
34
|
# combine REE with "preload_app true" for memory savings
|
32
35
|
# http://rubyenterpriseedition.com/faq.html#adapt_apps_for_cow
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: capper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 0.7.
|
5
|
+
version: 0.7.2
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- "Benedikt B\xC3\xB6hm"
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-10-
|
13
|
+
date: 2011-10-14 00:00:00 +02:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|