trinidad 0.9.7 → 0.9.8
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/README.rdoc +2 -1
- data/lib/trinidad.rb +1 -1
- data/lib/trinidad/server.rb +1 -1
- metadata +2 -10
data/History.txt
CHANGED
data/README.rdoc
CHANGED
@@ -46,7 +46,8 @@ Trinidad allows you to configure some parameters when the server is started from
|
|
46
46
|
* -r, --rackup [RACKUP_FILE] => run a provided rackup file instead of a rails application, by default it's config.ru.
|
47
47
|
* --public PUBLIC_DIR => specify the public directory for your application, by default it's 'public'.
|
48
48
|
* -t, --threadsafe => shortcut to work in threadsafe mode. Setting jruby_min_runtimes and jruby_max_runtimes to 1 in the configuration file the server behaves as the same way.
|
49
|
-
* -l, --load EXTENSION_NAME =>
|
49
|
+
* -l, --load EXTENSION_NAME => load an extension to use its command line options.
|
50
|
+
* --address HOST => set the server host.
|
50
51
|
|
51
52
|
The server can also be configured from a yaml file. If a file is not especified, the server tries to load the file <em>config/trinidad.yml</em>. Within this file you can add other options like jruby.min.runtimes(:jruby_min_runtimes) or jruby.max.runtimes(:jruby_max_runtimes).
|
52
53
|
|
data/lib/trinidad.rb
CHANGED
data/lib/trinidad/server.rb
CHANGED
@@ -105,7 +105,7 @@ module Trinidad
|
|
105
105
|
options[:port] = @config[:port]
|
106
106
|
options[:protocol_handler] = 'org.apache.coyote.http11.Http11NioProtocol' if options[:nio]
|
107
107
|
|
108
|
-
connector = add_service_connector(options)
|
108
|
+
connector = add_service_connector(options, options[:protocol_handler])
|
109
109
|
@tomcat.connector = connector
|
110
110
|
end
|
111
111
|
|
metadata
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trinidad
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash: 53
|
5
4
|
prerelease: false
|
6
5
|
segments:
|
7
6
|
- 0
|
8
7
|
- 9
|
9
|
-
-
|
10
|
-
version: 0.9.
|
8
|
+
- 8
|
9
|
+
version: 0.9.8
|
11
10
|
platform: ruby
|
12
11
|
authors:
|
13
12
|
- David Calavera
|
@@ -26,7 +25,6 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
hash: 19
|
30
28
|
segments:
|
31
29
|
- 0
|
32
30
|
- 3
|
@@ -42,7 +40,6 @@ dependencies:
|
|
42
40
|
requirements:
|
43
41
|
- - ">="
|
44
42
|
- !ruby/object:Gem::Version
|
45
|
-
hash: 19
|
46
43
|
segments:
|
47
44
|
- 1
|
48
45
|
- 0
|
@@ -58,7 +55,6 @@ dependencies:
|
|
58
55
|
requirements:
|
59
56
|
- - ">="
|
60
57
|
- !ruby/object:Gem::Version
|
61
|
-
hash: 3
|
62
58
|
segments:
|
63
59
|
- 0
|
64
60
|
version: "0"
|
@@ -72,7 +68,6 @@ dependencies:
|
|
72
68
|
requirements:
|
73
69
|
- - ">="
|
74
70
|
- !ruby/object:Gem::Version
|
75
|
-
hash: 3
|
76
71
|
segments:
|
77
72
|
- 0
|
78
73
|
version: "0"
|
@@ -86,7 +81,6 @@ dependencies:
|
|
86
81
|
requirements:
|
87
82
|
- - ">="
|
88
83
|
- !ruby/object:Gem::Version
|
89
|
-
hash: 3
|
90
84
|
segments:
|
91
85
|
- 0
|
92
86
|
version: "0"
|
@@ -129,7 +123,6 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
129
123
|
requirements:
|
130
124
|
- - ">="
|
131
125
|
- !ruby/object:Gem::Version
|
132
|
-
hash: 3
|
133
126
|
segments:
|
134
127
|
- 0
|
135
128
|
version: "0"
|
@@ -138,7 +131,6 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
138
131
|
requirements:
|
139
132
|
- - ">="
|
140
133
|
- !ruby/object:Gem::Version
|
141
|
-
hash: 3
|
142
134
|
segments:
|
143
135
|
- 0
|
144
136
|
version: "0"
|