resque-igo 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/resque/failure/mongo.rb +3 -2
- data/lib/resque/version.rb +1 -1
- metadata +3 -4
- data/lib/resque/version.rb~ +0 -3
data/lib/resque/failure/mongo.rb
CHANGED
@@ -21,8 +21,9 @@ module Resque
|
|
21
21
|
end
|
22
22
|
|
23
23
|
def self.all(start = 0, count = 1)
|
24
|
-
|
25
|
-
|
24
|
+
|
25
|
+
all_failures = Resque.mongo_failures.find().skip(start.to_i).limit(count.to_i).to_a
|
26
|
+
all_failures.size == 1 ? all_failures.first : all_failures
|
26
27
|
end
|
27
28
|
|
28
29
|
def self.clear
|
data/lib/resque/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: resque-igo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 21
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 1.1.
|
9
|
+
- 3
|
10
|
+
version: 1.1.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Nathan D Acuff
|
@@ -131,7 +131,6 @@ files:
|
|
131
131
|
- lib/resque/stat.rb
|
132
132
|
- lib/resque/tasks.rb
|
133
133
|
- lib/resque/version.rb
|
134
|
-
- lib/resque/version.rb~
|
135
134
|
- lib/resque/worker.rb
|
136
135
|
- lib/resque.rb
|
137
136
|
- bin/resque
|
data/lib/resque/version.rb~
DELETED