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.
@@ -1,3 +1,7 @@
1
+ == Trinidad 1.2.1 (2011-06-15)
2
+
3
+ * Allow to specify the monitor file from the command line
4
+
1
5
  == Trinidad 1.2.0 (2011-05-24)
2
6
 
3
7
  * Zero downtime hot deploy
@@ -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 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).
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 config your web application. By default the server tries to load the file <em>config/web.xml</em> but you can modify this path adding the option <em>default_web_xml</em> within your configuration file.
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 in the wiki: http://wiki.github.com/trinidad/trinidad/advanced-configuration
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
 
@@ -22,5 +22,5 @@ require 'trinidad/rackup_web_app'
22
22
  require 'trinidad/war_web_app'
23
23
 
24
24
  module Trinidad
25
- VERSION = '1.2.0'
25
+ VERSION = '1.2.1'
26
26
  end
@@ -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.0
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-05-24 00:00:00 -07:00
13
+ date: 2011-06-15 00:00:00 +02:00
14
14
  default_executable: trinidad
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency