resque-igo 1.12.3 → 1.12.4

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/resque.rb +2 -1
  2. data/lib/resque/version.rb +1 -1
  3. metadata +3 -3
@@ -182,7 +182,8 @@ module Resque
182
182
  query['delay_until'] = { '$not' => { '$gt' => Time.new}}
183
183
  end
184
184
  #sorting will result in significant performance penalties for large queues, you have been warned.
185
- item = mongo[queue].find_and_modify(:query => query, :remove => true, :sort => [[:_id, :asc]] )
185
+ #this applies to _id, too. it'd be nice, but it won't work, so don't try it.
186
+ item = mongo[queue].find_and_modify(:query => query, :remove => true) #, :sort => [[:_id, :asc]] )
186
187
  rescue Mongo::OperationFailure => e
187
188
  return nil if e.message =~ /No matching object/
188
189
  raise e
@@ -1,3 +1,3 @@
1
1
  module Resque
2
- Version = VERSION = '1.12.3'
2
+ Version = VERSION = '1.12.4'
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: 33
4
+ hash: 47
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 12
9
- - 3
10
- version: 1.12.3
9
+ - 4
10
+ version: 1.12.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - Nathan D Acuff