upnxt_ransack 1.6.6.patch2 → 1.6.6.patch3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/initializers/ransack.rb +1 -1
- data/lib/upnxt_ransack/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6bd7ba79ed610d94c3bb391502c7a4fcb93114f6
|
4
|
+
data.tar.gz: 30babcb09320ea210ea6b72c2951a257f156c538
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0be332a3d1ba1fa220896e604f4cc6b658e1c2ce6c4187fcfa9a1fab3e16c844132f859d4d52e7ec176167e1f5fcd9049c8c11c6a4ccaa4d2e613cef2c0ede1
|
7
|
+
data.tar.gz: 89eb8bf983438b9758c7de018e141cb4994089356ef00130799e800739985af43fb7c157cebd50081e58595940e3fbd7421454ddb429dab6e7d8b64c8e27b0b0
|
@@ -16,7 +16,7 @@ module Ransack
|
|
16
16
|
assoc.reverse.each do |klass, str, reflection|
|
17
17
|
assoc_sym = str.sub(/_#{attr_name}\z/, '').to_sym
|
18
18
|
macro = reflection.macro if reflection.macro == :has_many
|
19
|
-
klass.send(macro, assoc_sym, through: reflection.name.to_sym, source: prev_assoc_sym) unless klass.reflections.keys.include?(assoc_sym)
|
19
|
+
klass.send(macro, assoc_sym, through: reflection.name.to_sym, source: prev_assoc_sym) unless klass.reflections.keys.map(&:to_sym).include?(assoc_sym)
|
20
20
|
prev_assoc_sym = assoc_sym
|
21
21
|
end
|
22
22
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: upnxt_ransack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.6.
|
4
|
+
version: 1.6.6.patch3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- bert bruynooghe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-08-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ransack
|