deputy 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/bin/deputy +6 -1
- data/deputy.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.8
|
data/bin/deputy
CHANGED
@@ -15,10 +15,15 @@ Usage:
|
|
15
15
|
|
16
16
|
Options:
|
17
17
|
BANNER
|
18
|
+
|
18
19
|
opts.on("-h", "--help","Show this.") { puts opts; exit }
|
19
20
|
opts.on('-v', '--version','Show Version'){ puts Deputy::VERSION; exit}
|
20
21
|
opts.on('--install-cron','Install crontask'){ Deputy.install_cron; exit}
|
21
|
-
opts.on('--run-plugins','Run all plugins for this minute (belongs into crontask)')
|
22
|
+
opts.on('--run-plugins','Run all plugins for this minute (belongs into crontask)') do
|
23
|
+
puts Time.now.strftime("%Y-%m-%d %H:%M:%S")
|
24
|
+
Deputy.run_plugins
|
25
|
+
exit
|
26
|
+
end
|
22
27
|
end.parse!
|
23
28
|
|
24
29
|
metric, value = ARGV[0..1]
|
data/deputy.gemspec
CHANGED