deputy 0.1.7 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/bin/deputy +6 -1
  3. data/deputy.gemspec +1 -1
  4. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.7
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)'){ Deputy.run_plugins; exit}
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
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{deputy}
8
- s.version = "0.1.7"
8
+ s.version = "0.1.8"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Michael Grosser"]
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 7
9
- version: 0.1.7
8
+ - 8
9
+ version: 0.1.8
10
10
  platform: ruby
11
11
  authors:
12
12
  - Michael Grosser