picnic 0.6.2 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.txt +5 -0
- data/Rakefile +3 -2
- data/lib/picnic/postambles.rb +4 -5
- data/lib/picnic/version.rb +1 -1
- metadata +2 -2
data/CHANGELOG.txt
CHANGED
data/Rakefile
CHANGED
@@ -18,10 +18,11 @@ GEM_NAME = "picnic"
|
|
18
18
|
RUBYFORGE_PROJECT = "picnic"
|
19
19
|
HOMEPATH = "http://#{RUBYFORGE_PROJECT}.rubyforge.org"
|
20
20
|
|
21
|
+
ENV['NODOT'] = '1'
|
21
22
|
|
22
23
|
NAME = "picnic"
|
23
|
-
|
24
|
-
REV = `svn info`[/Revision: (\d+)/, 1] rescue nil
|
24
|
+
REV = nil
|
25
|
+
#REV = `svn info`[/Revision: (\d+)/, 1] rescue nil
|
25
26
|
VERS = ENV['VERSION'] || (Picnic::VERSION::STRING + (REV ? ".#{REV}" : ""))
|
26
27
|
CLEAN.include ['**/.*.sw?', '*.gem', '.config']
|
27
28
|
RDOC_OPTS = ['--quiet', '--title', "picnic #{VERS} documentation",
|
data/lib/picnic/postambles.rb
CHANGED
@@ -153,10 +153,11 @@ module Picnic
|
|
153
153
|
app_mod = self
|
154
154
|
mongrel = Mongrel::Configurator.new settings do
|
155
155
|
daemonize :log_file => Picnic::Conf.log[:file], :cwd => $APP_PATH if $DAEMONIZE
|
156
|
+
app_mod.init_logger
|
157
|
+
#app_mod.init_db_logger
|
156
158
|
listener :port => Picnic::Conf.port do
|
157
159
|
uri Picnic::Conf.uri_path, :handler => Mongrel::Camping::CampingHandler.new(app_mod)
|
158
|
-
|
159
|
-
|
160
|
+
|
160
161
|
if public_dirs
|
161
162
|
public_dirs.each do |d|
|
162
163
|
dir = d[:dir]
|
@@ -174,9 +175,7 @@ module Picnic
|
|
174
175
|
end
|
175
176
|
|
176
177
|
mongrel.run
|
177
|
-
|
178
|
-
self.init_logger
|
179
|
-
#self.init_db_logger
|
178
|
+
|
180
179
|
|
181
180
|
if $DAEMONIZE && $PID_FILE
|
182
181
|
write_pid_file
|
data/lib/picnic/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: picnic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Zukowski
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-03-
|
12
|
+
date: 2008-03-14 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|