resque-mongo-groups 0.6.2 → 0.6.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -98,7 +98,7 @@ module Resque::Plugins::Groups
98
98
  end
99
99
 
100
100
  def groups_stats(start, count)
101
- job_groups.find({}, :skip => start, :limit => count, :sort => ['_id', 1]).to_a
101
+ job_groups.find({}, :skip => start, :limit => count, :sort => ['started_at', -1]).to_a
102
102
  end
103
103
 
104
104
  def groups_count
@@ -2,6 +2,6 @@ require 'resque'
2
2
 
3
3
  module Resque::Plugins
4
4
  module Groups
5
- Version = '0.6.2'
5
+ Version = '0.6.3'
6
6
  end
7
7
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: resque-mongo-groups
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.6.2
5
+ version: 0.6.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Gheorghita Catalin Bordianu