wackamole 0.0.4 → 0.0.5
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 +9 -1
- data/README.rdoc +7 -1
- data/bin/wackamole +6 -1
- data/lib/controllers/mission.rb +1 -1
- data/lib/wackamole.rb +1 -1
- data/lib/wackamole/models/mission.rb +1 -1
- metadata +2 -2
data/History.txt
CHANGED
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}/
|
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
|
-
|
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
|
data/lib/controllers/mission.rb
CHANGED
data/lib/wackamole.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module Wackamole
|
2
2
|
|
3
3
|
# :stopdoc:
|
4
|
-
VERSION = '0.0.
|
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
|
+
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-
|
12
|
+
date: 2010-02-08 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|