coordinator 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/coordinator/redis_queue.rb +1 -1
- data/lib/coordinator/version.rb +1 -1
- data/test/unit/redis_queue_test.rb +1 -4
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57e51cb508420441045a2d7953063aa80731ff9a
|
4
|
+
data.tar.gz: e968db6fa6a80e0e140d8020cdaa572a46c672e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3841dab5c0ba4721b3706e899bb217266c70eea15a867d382bf38bda6e4b57e0c9d3532e18bad03902e66b1f25e598ab3d780fd2981e7838bffede316276815
|
7
|
+
data.tar.gz: a57895e4b8291722d69d83fcaec07c7d350f74014cea58eb372eeefb35d4f2509e8d16d85703aca56f7b5ee59ceb2e135ec5dcc6e239f749ca6134bff625dd36
|
data/lib/coordinator/version.rb
CHANGED
@@ -22,10 +22,7 @@ describe 'Coordinator::RedisQueue' do
|
|
22
22
|
it 'adds the same item only once' do
|
23
23
|
@queue.capacity = 1
|
24
24
|
@queue.push("a")
|
25
|
-
|
26
|
-
@queue.push("b")
|
27
|
-
}.must_raise Coordinator::Error
|
28
|
-
err.message.must_match /Queue is at capacity/
|
25
|
+
assert_equal false, @queue.push("b")
|
29
26
|
end
|
30
27
|
end
|
31
28
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: coordinator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tyler Mercier
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-03
|
11
|
+
date: 2014-04-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: http
|