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 CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2009 chrisdinn
1
+ Copyright (c) 2009-2010 Chris Dinn
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.8
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
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{manuscript}
8
- s.version = "0.1.8"
8
+ s.version = "0.1.9"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["hotink"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: manuscript
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - hotink