ransack_ui 1.3.2 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c6437e9ac6dde8506d7593890aa7d90859422d8e
|
4
|
+
data.tar.gz: d66d83b1a2cb81a197a708cd52b12ff9b3c010e2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a36ad04c91c615bbaad78a10e73385a09efc242d89f90232375fcfd27bf2a613a3592b402423e9988ff45e87253471eb20ed2a02614337c6859819621f12867d
|
7
|
+
data.tar.gz: 1b7df5282b4519f2fb5532fd63a0ee61f0f0c94ce2f73ffda6466b4a2f4dd6515395703716959cf55333973227e3410f492155441ef8853852131c0224764696
|
@@ -24,7 +24,7 @@ module RansackUI
|
|
24
24
|
# (Default to :string type for ransackers)
|
25
25
|
def ransackable_attributes(auth_object = nil)
|
26
26
|
columns.map{|c| [c.name, c.type] } +
|
27
|
-
_ransackers.keys.map {|k| [k, :string] }
|
27
|
+
_ransackers.keys.map {|k,v| [k, v.type || :string] }
|
28
28
|
end
|
29
29
|
|
30
30
|
def ransackable_associations(auth_object = nil)
|
@@ -8,7 +8,7 @@ module Ransack
|
|
8
8
|
# (Default to :string type for ransackers)
|
9
9
|
def ransackable_attributes(auth_object = nil)
|
10
10
|
columns.map{|c| [c.name, c.type] } +
|
11
|
-
_ransackers.keys.map {|k| [k, :string] }
|
11
|
+
_ransackers.keys.map {|k,v| [k, v.type || :string] }
|
12
12
|
end
|
13
13
|
|
14
14
|
def self.extended(base)
|
data/lib/ransack_ui/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ransack_ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nathan Broadbent
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ransack_chronic
|