auto_select2 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/auto_select2/select2_search_adapter/base.rb +1 -1
- data/lib/auto_select2/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: b9fa47b66a59a070e74887952d34731a09e92e98
|
4
|
+
data.tar.gz: 0b6f22ea5f73d56b4e8428745a641c90888dc9e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3c4a681e0dbc73ee2ae09eb2314edb0fc4706eec0186bdf4ad8a9b310afb264f9a4e8b766f5284b5a358b060c396e74d7a1491b9411943207ce70f8014840ebb
|
7
|
+
data.tar.gz: 53846bfbc7bfd9f5c649a197248adae98bf1735128304f01204077e74b4e91df237b232602c417d071815cfc82b457b6e6d817e30d34f5a1b20b677ef6738d1c
|
@@ -66,7 +66,7 @@ module AutoSelect2
|
|
66
66
|
|
67
67
|
def get_init_values(searched_class, ids, options = {})
|
68
68
|
hash_method = options[:hash_method]
|
69
|
-
text_columns = options[:text_columns]
|
69
|
+
text_columns = options[:text_columns] || []
|
70
70
|
id_column = options[:id_column] || searched_class.primary_key
|
71
71
|
ids = ids.split(',')
|
72
72
|
if ids.size > 1
|
data/lib/auto_select2/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: auto_select2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dmitriy Lisichkin
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2016-01-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|