rhuidean 0.2.6 → 0.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,7 +14,7 @@ module IRC
14
14
  class Client
15
15
  ##
16
16
  # constants
17
- VERSION = '0.2.6'
17
+ VERSION = '0.2.7'
18
18
 
19
19
  ##
20
20
  # instance attributes
@@ -68,6 +68,7 @@ class Timer
68
68
  # returns:: minimum timer interval, see above
69
69
  #
70
70
  def Timer.next_time
71
+ return 0 if @@timers.empty?
71
72
  @@timers.collect { |t| t.timeout }.min
72
73
  end
73
74
 
data/rakefile CHANGED
@@ -10,7 +10,7 @@
10
10
  require 'rake/' + m
11
11
  end
12
12
 
13
- VER = '0.2.6'
13
+ VER = '0.2.7'
14
14
 
15
15
  #
16
16
  # Default task - unit tests.
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 2
8
- - 6
9
- version: 0.2.6
8
+ - 7
9
+ version: 0.2.7
10
10
  platform: ruby
11
11
  authors:
12
12
  - Eric Will
@@ -31,10 +31,10 @@ files:
31
31
  - rakefile
32
32
  - lib/rhuidean.rb
33
33
  - lib/rhuidean/client.rb
34
+ - lib/rhuidean/timer.rb
34
35
  - lib/rhuidean/event.rb
35
36
  - lib/rhuidean/methods.rb
36
37
  - lib/rhuidean/numeric.rb
37
- - lib/rhuidean/timer.rb
38
38
  - test/tc_client.rb
39
39
  - test/ts_rhuidean.rb
40
40
  has_rdoc: true