daikon 0.7.1 → 0.7.2

Sign up to get free protection for your applications and to get access to all the features.
data/daikon.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{daikon}
8
- s.version = "0.7.1"
8
+ s.version = "0.7.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Nick Quaranto"]
12
- s.date = %q{2011-02-09}
12
+ s.date = %q{2011-02-11}
13
13
  s.default_executable = %q{daikon}
14
14
  s.description = %q{daikon, a radishapp.com client}
15
15
  s.email = %q{nick@quaran.to}
data/lib/daikon.rb CHANGED
@@ -26,5 +26,5 @@ require 'daikon/monitor'
26
26
  require 'daikon/redis_hacks'
27
27
 
28
28
  module Daikon
29
- VERSION = "0.7.1"
29
+ VERSION = "0.7.2"
30
30
  end
data/lib/daikon/daemon.rb CHANGED
@@ -1,14 +1,14 @@
1
1
  module Daikon
2
2
  class Daemon
3
3
  INFO_INTERVAL = ENV["INFO_INTERVAL"] || 5
4
- SUMMARY_INTERVAL = ENV["SUMMARY_INTERVAL"] || 1
4
+ SUMMARY_INTERVAL = ENV["SUMMARY_INTERVAL"] || 60
5
5
 
6
6
  def self.sleep_time=(sleep_time)
7
7
  @@sleep_time = sleep_time
8
8
  end
9
9
 
10
10
  def self.sleep_time
11
- @@sleep_time ||= 0.5
11
+ @@sleep_time ||= 1
12
12
  end
13
13
 
14
14
  def self.run=(run)
data/spec/daemon_spec.rb CHANGED
@@ -18,7 +18,7 @@ describe Daikon::Daemon do
18
18
  end
19
19
  sleep 3.1
20
20
  Daikon::Daemon.run = false
21
- client.should have_received(:rotate_monitor).times(61)
21
+ client.should have_received(:rotate_monitor)
22
22
  client.should have_received(:report_info).times(12)
23
23
  end
24
24
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 7
8
- - 1
9
- version: 0.7.1
8
+ - 2
9
+ version: 0.7.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Nick Quaranto
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2011-02-09 00:00:00 -05:00
17
+ date: 2011-02-11 00:00:00 -05:00
18
18
  default_executable: daikon
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency