turnpike 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -2,6 +2,6 @@
2
2
 
3
3
  [![travis](https://secure.travis-ci.org/papercavalier/turnpike.png)](http://travis-ci.org/papercavalier/turnpike)
4
4
 
5
- Turnpike is a Redis-backed processing queue.
5
+ Turnpike is a Redis-backed message processing queue.
6
6
 
7
7
  [Read here](http://code.papercavalier.com/turnpike) for more detail.
@@ -1,3 +1,3 @@
1
1
  class Turnpike
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
@@ -108,7 +108,7 @@ class TestTurnpike < Test::Unit::TestCase
108
108
  end
109
109
  assert_equal(0, queue.length)
110
110
  assert_equal('1', queue.pop(true))
111
- assert_equal(1, Time.now.to_i - started_at)
111
+ assert(Time.now.to_i - started_at > 0)
112
112
  end
113
113
 
114
114
  def test_blocking_shift
@@ -120,7 +120,7 @@ class TestTurnpike < Test::Unit::TestCase
120
120
  end
121
121
  assert_equal(0, queue.length)
122
122
  assert_equal('1', queue.shift(true))
123
- assert_equal(1, Time.now.to_i - started_at)
123
+ assert(Time.now.to_i - started_at > 0)
124
124
  end
125
125
 
126
126
  def test_timeout
data/turnpike.gemspec CHANGED
@@ -7,8 +7,8 @@ Gem::Specification.new do |s|
7
7
  s.authors = ["Paper Cavalier"]
8
8
  s.email = ["code@papercavalier.com"]
9
9
  s.homepage = "http://code.papercavalier.com/turnpike"
10
- s.summary = %q{Turnpike is a Redis-backed processing queue.}
11
- s.description = %q{Turnpike is a Redis-backed processing queue.}
10
+ s.summary = %q{Turnpike is a Redis-backed message processing queue.}
11
+ s.description = %q{Turnpike is a Redis-backed message processing queue.}
12
12
 
13
13
  s.rubyforge_project = "turnpike"
14
14
 
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: turnpike
3
3
  version: !ruby/object:Gem::Version
4
- prerelease: false
4
+ hash: 31
5
+ prerelease:
5
6
  segments:
6
7
  - 0
7
8
  - 1
8
- - 1
9
- version: 0.1.1
9
+ - 2
10
+ version: 0.1.2
10
11
  platform: ruby
11
12
  authors:
12
13
  - Paper Cavalier
@@ -18,34 +19,36 @@ date: 2011-07-19 00:00:00 +01:00
18
19
  default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
- name: redis
22
- requirement: &id001 !ruby/object:Gem::Requirement
22
+ version_requirements: &id001 !ruby/object:Gem::Requirement
23
23
  none: false
24
24
  requirements:
25
25
  - - ~>
26
26
  - !ruby/object:Gem::Version
27
+ hash: 7
27
28
  segments:
28
29
  - 2
29
30
  - 2
30
31
  version: "2.2"
31
- type: :runtime
32
+ name: redis
32
33
  prerelease: false
33
- version_requirements: *id001
34
+ type: :runtime
35
+ requirement: *id001
34
36
  - !ruby/object:Gem::Dependency
35
- name: rake
36
- requirement: &id002 !ruby/object:Gem::Requirement
37
+ version_requirements: &id002 !ruby/object:Gem::Requirement
37
38
  none: false
38
39
  requirements:
39
40
  - - ~>
40
41
  - !ruby/object:Gem::Version
42
+ hash: 25
41
43
  segments:
42
44
  - 0
43
45
  - 9
44
46
  version: "0.9"
45
- type: :development
47
+ name: rake
46
48
  prerelease: false
47
- version_requirements: *id002
48
- description: Turnpike is a Redis-backed processing queue.
49
+ type: :development
50
+ requirement: *id002
51
+ description: Turnpike is a Redis-backed message processing queue.
49
52
  email:
50
53
  - code@papercavalier.com
51
54
  executables: []
@@ -80,7 +83,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
80
83
  requirements:
81
84
  - - ">="
82
85
  - !ruby/object:Gem::Version
83
- hash: 233113184440690465
86
+ hash: 3
84
87
  segments:
85
88
  - 0
86
89
  version: "0"
@@ -89,16 +92,16 @@ required_rubygems_version: !ruby/object:Gem::Requirement
89
92
  requirements:
90
93
  - - ">="
91
94
  - !ruby/object:Gem::Version
92
- hash: 233113184440690465
95
+ hash: 3
93
96
  segments:
94
97
  - 0
95
98
  version: "0"
96
99
  requirements: []
97
100
 
98
101
  rubyforge_project: turnpike
99
- rubygems_version: 1.3.7
102
+ rubygems_version: 1.5.2
100
103
  signing_key:
101
104
  specification_version: 3
102
- summary: Turnpike is a Redis-backed processing queue.
105
+ summary: Turnpike is a Redis-backed message processing queue.
103
106
  test_files:
104
107
  - test/turnpike_test.rb