manage 1.3.8 → 1.3.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/manage/fields/searcher.rb +1 -1
- data/lib/manage/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 061752e634d9629d996768d7b62531d38c4c67ec
|
4
|
+
data.tar.gz: 49807811c7c5eb33b70b47261763480601906c91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c887922cb61c54e2a0d26022ffb3dc70dec5a79864e1de96101463662827da3f8a75c67b594bf854c34d2294e9cea235593e0b86ec9bfcfa6129297cfd770ba
|
7
|
+
data.tar.gz: 8dacb2edd59da1a9c546ebd238f4b32af7777d6c2e2de796d9b20ee33abfcf9af8143949091e63c9290390c87a251e21a95139b7a2a779fc73e90f61b7047f1a
|
@@ -17,7 +17,7 @@ module Manage
|
|
17
17
|
|
18
18
|
|
19
19
|
search_class.scope { resource_class.all }
|
20
|
-
Object.const_set("#{resource_class.name + 'Searcher'}", search_class)
|
20
|
+
Object.const_set("#{resource_class.name.gsub(/:/, '_') + 'Searcher'}", search_class)
|
21
21
|
|
22
22
|
search_fields.select {|f| not f.to_s.include?('.')}.each do |field|
|
23
23
|
field_type = resource_class.columns_hash[field.to_s].type
|
data/lib/manage/version.rb
CHANGED