deputy 0.1.39 → 0.1.40

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/VERSION +1 -1
  2. data/bin/deputy +1 -1
  3. data/deputy.gemspec +2 -2
  4. data/lib/deputy.rb +1 -0
  5. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.39
1
+ 0.1.40
data/bin/deputy CHANGED
@@ -31,4 +31,4 @@ if metric.to_s.empty?
31
31
  exit
32
32
  end
33
33
 
34
- Deputy.send_report metric, value
34
+ Deputy.send_report metric, (value || Deputy::DEFAULT_VALUE)
data/deputy.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{deputy}
8
- s.version = "0.1.39"
8
+ s.version = "0.1.40"
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"]
12
- s.date = %q{2010-07-16}
12
+ s.date = %q{2010-07-27}
13
13
  s.default_executable = %q{deputy}
14
14
  s.email = %q{mirko@dawanda.com}
15
15
  s.executables = ["deputy"]
data/lib/deputy.rb CHANGED
@@ -86,6 +86,7 @@ end
86
86
  module Deputy
87
87
  START_MINUTE = (Time.now.to_i + 30) / 60 # we could start at 58..02 seconds -> always in middle of minute
88
88
  VERSION = File.read( File.join(File.dirname(__FILE__),'..','VERSION') ).strip
89
+ DEFAULT_VALUE = 'OK'
89
90
 
90
91
  def self.install_cron
91
92
  executable = `which deputy`.strip
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 39
9
- version: 0.1.39
8
+ - 40
9
+ version: 0.1.40
10
10
  platform: ruby
11
11
  authors:
12
12
  - Michael Grosser
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-07-16 00:00:00 +02:00
17
+ date: 2010-07-27 00:00:00 +02:00
18
18
  default_executable: deputy
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency