gitter 1.1.4 → 1.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -68,8 +68,7 @@ module Gitter
68
68
 
69
69
  def distinct_values attr
70
70
  attribute = attr.to_s.split(/\./).last || attr
71
- #dv = scope.select(attr).uniq.map(&:"#{attribute}").uniq
72
- dv = scope.map(&:"#{attribute}").uniq
71
+ dv = scope.reorder.select(attr).uniq.map(&:"#{attribute}").uniq
73
72
  dv
74
73
  end
75
74
 
@@ -1,3 +1,3 @@
1
1
  module Gitter
2
- VERSION = "1.1.4"
2
+ VERSION = "1.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.4
4
+ version: 1.1.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: