heartbeat-client 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/bin/hbc +3 -3
  3. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.3
1
+ 0.4.4
data/bin/hbc CHANGED
@@ -35,12 +35,12 @@ if ARGV and ARGV.size == 1
35
35
  Daemons.run_proc('heartbeat-client.rb', :dir => File.join('/tmp'), :monitor => true,
36
36
  :backtrace => true, :monitor => true) do
37
37
  Heartbeat.log = Logger.new('/tmp/heartbeat.log')
38
- count = 0
38
+ count = 1
39
39
  loop do
40
40
  begin
41
- Heartbeat.create(@config, version, (count == 2))
42
41
  count += 1
43
- count = 0 if count == 2
42
+ Heartbeat.create(@config, version, (count == 2))
43
+ count = 0 if count == 3
44
44
  rescue => e
45
45
  puts e.message
46
46
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: heartbeat-client
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 7
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 3
10
- version: 0.4.3
9
+ - 4
10
+ version: 0.4.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Oliver Kiessler