trinidad 0.9.8 → 0.9.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ == 0.9.9 (2010-09-29)
2
+
3
+ * set tomcat's server address properly
4
+
1
5
  == 0.9.8 (2010-09-27)
2
6
 
3
7
  * fix http connector protocol enabling nio
data/lib/trinidad.rb CHANGED
@@ -22,5 +22,5 @@ require 'trinidad/rackup_web_app'
22
22
 
23
23
 
24
24
  module Trinidad
25
- VERSION = '0.9.8'
25
+ VERSION = '0.9.9'
26
26
  end
@@ -14,7 +14,8 @@ module Trinidad
14
14
  :default_web_xml => 'config/web.xml',
15
15
  :port => 3000,
16
16
  :jruby_min_runtimes => 1,
17
- :jruby_max_runtimes => 5
17
+ :jruby_max_runtimes => 5,
18
+ :address => 'localhost'
18
19
  }
19
20
  end
20
21
 
@@ -31,7 +32,8 @@ module Trinidad
31
32
 
32
33
  def load_tomcat_server
33
34
  @tomcat = Trinidad::Tomcat::Tomcat.new
34
- @tomcat.hostname = @config[:address] || 'localhost'
35
+ @tomcat.hostname = @config[:address]
36
+ @tomcat.server.address = @config[:address]
35
37
  @tomcat.port = @config[:port].to_i
36
38
  @tomcat.base_dir = Dir.pwd
37
39
  @tomcat.host.app_base = Dir.pwd
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 9
8
- - 8
9
- version: 0.9.8
8
+ - 9
9
+ version: 0.9.9
10
10
  platform: ruby
11
11
  authors:
12
12
  - David Calavera
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-09-26 00:00:00 +02:00
17
+ date: 2010-09-29 00:00:00 -04:00
18
18
  default_executable: trinidad
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency