tootsie 0.9.6 → 0.9.7
Sign up to get free protection for your applications and to get access to all the features.
- data/config.ru +7 -6
- data/lib/tootsie/version.rb +1 -1
- metadata +3 -3
data/config.ru
CHANGED
@@ -6,14 +6,15 @@ Bundler.require
|
|
6
6
|
$:.unshift(File.join(File.dirname(__FILE__), "/lib"))
|
7
7
|
require 'tootsie'
|
8
8
|
|
9
|
-
|
9
|
+
config_path = ENV['TOOTSIE_CONFIG']
|
10
|
+
unless config_path
|
11
|
+
abort "You must specify a configuration file with TOOTSIE_CONFIG."
|
12
|
+
end
|
10
13
|
|
11
|
-
app = Tootsie::Application.new(
|
12
|
-
|
13
|
-
:logger => ENV["rack.logger"])
|
14
|
-
app.configure!
|
14
|
+
app = Tootsie::Application.new(:logger => ENV["rack.logger"])
|
15
|
+
app.configure!(config_path)
|
15
16
|
|
16
|
-
if
|
17
|
+
if ENV['RACK_ENV'] == 'development'
|
17
18
|
Thread.new do
|
18
19
|
Tootsie::Application.get.task_manager.run!
|
19
20
|
end
|
data/lib/tootsie/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tootsie
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 53
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 9
|
9
|
-
-
|
10
|
-
version: 0.9.
|
9
|
+
- 7
|
10
|
+
version: 0.9.7
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Alexander Staubo
|