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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e7f7e1fa606243b4d82a503343c9c0d4532e499a
4
- data.tar.gz: 7f923bb89d70ba76c2276e38d033379ac9a376ed
3
+ metadata.gz: b9fa47b66a59a070e74887952d34731a09e92e98
4
+ data.tar.gz: 0b6f22ea5f73d56b4e8428745a641c90888dc9e0
5
5
  SHA512:
6
- metadata.gz: 117baee22614bae20ad9eae43ef651c7b21a29673e4509c49ed9ecc165cffed9138f5c202ad159aab7348ef7cf1ffe77559e4ec7893cb0210b28b65c8993666f
7
- data.tar.gz: cca87d16826b15918e7a6079e8c56403648b566e5546590c63b95b8e9ca0001765dc221b31e330f91105ad125c85fbe95243ce1d8dc39d8eadb05faeb0adc81e
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
@@ -1,3 +1,3 @@
1
1
  module AutoSelect2
2
- VERSION = '0.5.2'
2
+ VERSION = '0.5.3'
3
3
  end
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.2
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: 2015-12-24 00:00:00.000000000 Z
12
+ date: 2016-01-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties