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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 564fe9e5a287b363ceb5bb70e13b1121de478b76
4
- data.tar.gz: badd1a2da1fd9e81c0cf1732bb8d8408d437591a
3
+ metadata.gz: 6bd7ba79ed610d94c3bb391502c7a4fcb93114f6
4
+ data.tar.gz: 30babcb09320ea210ea6b72c2951a257f156c538
5
5
  SHA512:
6
- metadata.gz: 594d1f561370a6ed95c26772bce309fc417272f3dcbb139d2e4bbc9f60571c77de112897e4f1a4e7c4870e448eb994f9208234551c67a79ea136f067d3fc2e85
7
- data.tar.gz: bccb98e28a67b92cf397ebb533ba456dcfaea382f9f28574c6cccc552931d835138f405d6804e668cb8f39cdc9523019d9bfce7151c37c89048dd5ae8de4365c
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
@@ -1,3 +1,3 @@
1
1
  module UpnxtRansack
2
- VERSION = "1.6.6.patch2"
2
+ VERSION = "1.6.6.patch3"
3
3
  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.patch2
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-07-06 00:00:00.000000000 Z
11
+ date: 2015-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ransack