manuscript 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +1 -1
- data/VERSION +1 -1
- data/lib/manuscript.rb +5 -0
- data/manuscript.gemspec +1 -1
- metadata +1 -1
data/LICENSE
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.9
|
data/lib/manuscript.rb
CHANGED
@@ -20,6 +20,10 @@ require 'manuscript/template_file'
|
|
20
20
|
require 'manuscript/template_file_manager'
|
21
21
|
require 'manuscript/user'
|
22
22
|
|
23
|
+
|
24
|
+
log = File.new("application.log", "a")
|
25
|
+
STDOUT.reopen(log)
|
26
|
+
STDERR.reopen(log)
|
23
27
|
ActiveRecord::Base.logger = Logger.new(STDERR)
|
24
28
|
|
25
29
|
module Sinatra
|
@@ -28,5 +32,6 @@ module Sinatra
|
|
28
32
|
set :static, true
|
29
33
|
set :public, File.dirname(__FILE__) + "/../public"
|
30
34
|
set :raise_errors, false
|
35
|
+
set :logging, true
|
31
36
|
end
|
32
37
|
end
|
data/manuscript.gemspec
CHANGED