ost 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/ost.rb +2 -2
  2. data/test/ost_test.rb +1 -0
  3. metadata +5 -5
data/lib/ost.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require "nest"
2
2
 
3
3
  module Ost
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  TIMEOUT = ENV["OST_TIMEOUT"] || 0
6
6
 
7
7
  class Queue
@@ -27,7 +27,7 @@ module Ost
27
27
 
28
28
  block.call(item)
29
29
 
30
- @backup.del
30
+ @backup.lpop
31
31
  end
32
32
  end
33
33
 
data/test/ost_test.rb CHANGED
@@ -111,5 +111,6 @@ scope do
111
111
  Ost[:events].stop
112
112
 
113
113
  assert_equal 0, Ost[:events].backup.llen
114
+ assert_equal false, Ost[:events].backup.exists
114
115
  end
115
116
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ost
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-03-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nest
16
- requirement: &2160446460 !ruby/object:Gem::Requirement
16
+ requirement: &2152688580 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '1.0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *2160446460
24
+ version_requirements: *2152688580
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: cutest
27
- requirement: &2160445920 !ruby/object:Gem::Requirement
27
+ requirement: &2152688060 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,7 +32,7 @@ dependencies:
32
32
  version: '1.0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *2160445920
35
+ version_requirements: *2152688060
36
36
  description: Ost lets you manage queues and workers with Redis.
37
37
  email:
38
38
  - michel@soveran.com