kestrelrb 0.8.0 → 0.8.1

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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.8.0
1
+ 0.8.1
data/lib/kestrelrb.rb CHANGED
@@ -46,7 +46,7 @@ module Kestrel
46
46
  if msg = get
47
47
  block.call(msg)
48
48
  else
49
- sleep SLEEP_DELAY if timeout != 0
49
+ sleep SLEEP_DELAY if timeout == 0
50
50
  end
51
51
  rescue Unsubscribe => e
52
52
  break
data/test/helper.rb CHANGED
@@ -1,6 +1,5 @@
1
1
  require 'rubygems'
2
2
  require 'test/unit'
3
- require 'shoulda'
4
3
 
5
4
  $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
6
5
  $LOAD_PATH.unshift(File.dirname(__FILE__))
@@ -1,6 +1,4 @@
1
- require 'rubygems'
2
- require File.dirname(__FILE__) + '/../lib/kestrelrb.rb'
3
- require 'test/unit'
1
+ require File.dirname(__FILE__) + '/helper'
4
2
  class ReliableQueueTest < Test::Unit::TestCase
5
3
 
6
4
  QUEUE_NAME = 'test_queue'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kestrelrb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin E. Hunt