trinidad 1.2.0 → 1.2.1
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 +4 -0
- data/README.rdoc +3 -3
- data/lib/trinidad.rb +1 -1
- data/lib/trinidad/command_line_parser.rb +4 -0
- metadata +2 -2
data/History.txt
CHANGED
data/README.rdoc
CHANGED
@@ -32,13 +32,13 @@ Trinidad allows you to configure some parameters when the server is started from
|
|
32
32
|
* -g, --log LEVEL => set the log level, default INFO.
|
33
33
|
* --apps APPS_BASE_DIRECTORY => set the applications base directory.
|
34
34
|
|
35
|
-
The server can also be configured from a yaml file. By default, if a file is not
|
35
|
+
The server can also be configured from a yaml file. By default, if a file is not specified, 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).
|
36
36
|
|
37
37
|
jruby -S trinidad --config my_custom_configuration.yml
|
38
38
|
|
39
|
-
You can also specify a default web.xml to
|
39
|
+
You can also specify a default web.xml to configure your web application. By default the server tries to load the file <em>config/web.xml</em> but you can modify this path by adding the option <em>default_web_xml</em> within your configuration file.
|
40
40
|
|
41
|
-
Other advanced options can be found
|
41
|
+
Other advanced options can be found on the wiki: http://wiki.github.com/trinidad/trinidad/advanced-configuration
|
42
42
|
|
43
43
|
== HOT DEPLOYMENT:
|
44
44
|
|
data/lib/trinidad.rb
CHANGED
@@ -131,6 +131,10 @@ module Trinidad
|
|
131
131
|
default_options[:apps_base] = path
|
132
132
|
end
|
133
133
|
|
134
|
+
opts.on('--monitor' '--monitor MONITOR_FILE', 'monitor file for hot deployments') do |monitor|
|
135
|
+
default_options[:monitor] = monitor
|
136
|
+
end
|
137
|
+
|
134
138
|
opts.on('-h', '--help', 'display the help') do
|
135
139
|
puts opts
|
136
140
|
exit
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: trinidad
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.2.
|
5
|
+
version: 1.2.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-
|
13
|
+
date: 2011-06-15 00:00:00 +02:00
|
14
14
|
default_executable: trinidad
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|