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.
@@ -21,8 +21,9 @@ module Resque
21
21
  end
22
22
 
23
23
  def self.all(start = 0, count = 1)
24
- all_failures = Resque.mongo_failures.find().skip(start).limit(count).to_a
25
- # all_failures.size == 1 ? all_failures.first : all_failures
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
@@ -1,3 +1,3 @@
1
1
  module Resque
2
- Version = VERSION = '1.1.2'
2
+ Version = VERSION = '1.1.3'
3
3
  end
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: 23
4
+ hash: 21
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 2
10
- version: 1.1.2
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
@@ -1,3 +0,0 @@
1
- module Resque
2
- Version = VERSION = '1.1.1'
3
- end