bin/wackamole in wackamole-0.0.8 vs bin/wackamole in wackamole-0.0.9
- old
+ new
@@ -5,11 +5,11 @@
URI_MATCH = /(mongo|memcache):\/\/(.+?)\:(\d+)\/(\w+)\/{0,1}(\w*)/
Main {
option( 'pool=[pool]', 'p' ) {
validate { |pool| pool =~ URI_MATCH }
- description "specify session server uri. Must be of the form {[mongo|memcache]}://{host}:{port}/{[database_name|namespace]}[/{collection_name}]"
+ description "specify session server uri. Must be of the form {[mongo|memcache]}://{host}:{port}/{[database_name|namespace]}[/{collection_name}]. Defaults to local memcached on default port"
}
option( 'environment', 'e' ) {
argument :required
default 'production'
description 'Specifies the env to run wackamole in'
@@ -24,10 +24,10 @@
@@options = parse_args( params[:pool].value )
ENV['RACK_ENV'] = params['environment'].value
Thread.new do
puts "-"*100
- puts "Initializing Wackamole -- Version #{Wackamole::VERSION}"
+ puts "Initializing Wackamole -- Version #{Wackamole::VERSION} -- Landscape #{params['environment']}"
puts "-"*100
puts "\n"*2
puts ">>> Waiting for Franky to warm up..."
puts "\n"*2
sleep( sleep_time )
\ No newline at end of file