trinidad 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/lib/trinidad/lifecycle/lifecycle_listener_base.rb +0 -7
- data/lib/trinidad/server.rb +1 -2
- data/lib/trinidad.rb +1 -1
- metadata +2 -2
data/History.txt
CHANGED
@@ -18,16 +18,9 @@ module Trinidad
|
|
18
18
|
|
19
19
|
def configure_defaults(context)
|
20
20
|
remove_defaults(context)
|
21
|
-
configure_context_runtime(context)
|
22
21
|
configure_logging
|
23
22
|
end
|
24
23
|
|
25
|
-
def configure_context_runtime(context)
|
26
|
-
if @webapp.solo? && @webapp.threadsafe?
|
27
|
-
context.servlet_context.set_attribute('jruby.runtime', JRuby.runtime)
|
28
|
-
end
|
29
|
-
end
|
30
|
-
|
31
24
|
def remove_defaults(context)
|
32
25
|
context.remove_welcome_file('index.jsp')
|
33
26
|
context.remove_welcome_file('index.htm')
|
data/lib/trinidad/server.rb
CHANGED
@@ -205,8 +205,7 @@ module Trinidad
|
|
205
205
|
default_app = {
|
206
206
|
:context_path => config[:context_path],
|
207
207
|
:web_app_dir => config[:web_app_dir] || Dir.pwd,
|
208
|
-
:log => config[:log]
|
209
|
-
:solo => true
|
208
|
+
:log => config[:log]
|
210
209
|
}
|
211
210
|
default_app[:rackup] = config[:rackup] if (config.has_key?(:rackup))
|
212
211
|
|
data/lib/trinidad.rb
CHANGED
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: trinidad
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.1.
|
5
|
+
version: 1.1.1
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- David Calavera
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2011-03-
|
13
|
+
date: 2011-03-27 00:00:00 -07:00
|
14
14
|
default_executable: trinidad
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|