gitter 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
@@ -68,7 +68,9 @@ module Gitter
|
|
68
68
|
|
69
69
|
def distinct_values attr
|
70
70
|
attribute = attr.to_s.split(/\./).last || attr
|
71
|
-
scope.select(attr).uniq.map(&:"#{attribute}").uniq
|
71
|
+
#dv = scope.select(attr).uniq.map(&:"#{attribute}").uniq
|
72
|
+
dv = scope.map(&:"#{attribute}").uniq
|
73
|
+
dv
|
72
74
|
end
|
73
75
|
|
74
76
|
def to_s
|
data/lib/gitter/version.rb
CHANGED
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
|
+
version: 1.1.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-04-
|
12
|
+
date: 2013-04-29 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|