wackamole 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -9,4 +9,12 @@
9
9
 
10
10
  === 0.0.3 / 2010-01-30
11
11
 
12
- * Bug fixes
12
+ * Bug fixes
13
+
14
+ === 0.0.4 / 2010-02-07
15
+ * Revamp the ui some
16
+ * Bug fixes
17
+ * Add set_indexes script. Use to setup mole db indexes
18
+
19
+ === 0.0.5 / 2010-02-08
20
+ * Added debug
data/README.rdoc CHANGED
@@ -82,8 +82,14 @@
82
82
 
83
83
  The pool options assumes the following format:
84
84
 
85
- --pool {mongo|memcache}://{host}:{port}/{db_name|namespace}/{cltn_name}
85
+ --pool {mongo|memcache}://{host}:{port}/{db_name|namespace}/[cltn_name]
86
86
 
87
+ To launch wackamole in a given environment defined in your wackamole.yml configuration.
88
+
89
+ > wackamole -e env
90
+
91
+ This option defaults to production.
92
+
87
93
  Please checkout the forum and send us feedback and issues. This is still work in progress so your
88
94
  feedback is very important and will be very much appreciated!
89
95
 
data/bin/wackamole CHANGED
@@ -42,7 +42,12 @@ Main {
42
42
  ARGV.clear
43
43
  require 'sinatra'
44
44
  require File.join(File.dirname(__FILE__), %w[.. lib app.rb])
45
- Sinatra::Application.run! :port => default_port, :environment => params['environment'].value
45
+ begin
46
+ Sinatra::Application.run! :port => default_port, :environment => params['environment'].value
47
+ rescue => boom
48
+ $stderr.puts "Oh snap! - Wackamole crapped out -- #{boom}"
49
+ boom.backtrace.each { |l| $stderr.puts l }
50
+ end
46
51
  end
47
52
 
48
53
  # default wackamole port
@@ -11,7 +11,7 @@ module Mission
11
11
  session[:last_tick] = Time.now
12
12
 
13
13
  @pulse = Wackamole::Mission.pulse( last_tick.utc )
14
-
14
+
15
15
  erb :'mission/index'
16
16
  end
17
17
 
data/lib/wackamole.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  module Wackamole
2
2
 
3
3
  # :stopdoc:
4
- VERSION = '0.0.4' unless defined? Wackamole::VERSION
4
+ VERSION = '0.0.5' unless defined? Wackamole::VERSION
5
5
  LIBPATH = ::File.expand_path(::File.dirname(__FILE__)) + ::File::SEPARATOR unless defined? Wackamole::LIBPATH
6
6
  PATH = ::File.dirname(LIBPATH) + ::File::SEPARATOR unless defined? Wackamole::PATH
7
7
  # :startdoc:
@@ -10,7 +10,7 @@ module Wackamole
10
10
  to_date = count_logs
11
11
  today = count_logs( last_tick, true )
12
12
  last_tick = count_logs( last_tick )
13
- { :to_date => to_date, :today => today, :last_tick => last_tick }
13
+ { :to_date => to_date, :today => today, :last_tick => last_tick }
14
14
  end
15
15
 
16
16
  # -----------------------------------------------------------------------
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wackamole
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Fernand Galiana
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-02-07 00:00:00 -07:00
12
+ date: 2010-02-08 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency