auto_select2_tag 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8297cd154ec26c87c6dc41aa67bb93370624c913
4
- data.tar.gz: 9470c069552b436d2bd61ec1d3d0d3b962aac876
3
+ metadata.gz: b5bd5f69689b849a633521a3074534ac0ca7e888
4
+ data.tar.gz: c4ab52daf1b75f197409cc4009f8055297ee0caf
5
5
  SHA512:
6
- metadata.gz: 0c7be546036440ef5d913c749800a77152b9056c22560a5e1424b6c17f1c3052067a687f9b8eeacde5b6de945ec3510839afc1aeea96db67c0de5d18c34e124a
7
- data.tar.gz: 633a9db56e2639465436784087c6e649422ed08603ba5174fb4977251a19483b94bdc75c14f94a717f1fcac8df1eb889c2c720a4027d20575465d497d86a1ee5
6
+ metadata.gz: 1daae21e60a0ea6e5778c4cd145d2982cffb4cd67d70ae4a708f72d2304ea622f2bd5f5350036d9f885f50a4cbd5088421cc124f55a3f5b32f9e36e5a5f974fc
7
+ data.tar.gz: d6e40b5fe8e51817c2707573a913b5f576ec26d15185b11e286329e7c4fd8c0aadd074ea1d42486acbf87cddd10ee8717fdebd30ca4ad372343d6f335433d7b2
@@ -5,7 +5,7 @@ module AutoSelect2Tag
5
5
  options[:class] = [options[:class], 'auto-static-select2'].compact.join(' ')
6
6
  select2_options = options.delete(:select2_options)
7
7
  if select2_options.present?
8
- options[:data] = (options[:data] || {}).merge('s2options' => select2_options)
8
+ options[:data] = (options[:data] || {}).merge('s2-options' => select2_options)
9
9
  end
10
10
  select_tag(name, option_tags, options)
11
11
  end
@@ -15,7 +15,7 @@ module AutoSelect2Tag
15
15
  original_classes = options.delete(:class)
16
16
  original_data = options.delete(:data) || {}
17
17
  select2_options = options.delete(:select2_options)
18
- original_data.merge!('s2options' => select2_options) if select2_options.present?
18
+ original_data.merge!('s2-options' => select2_options) if select2_options.present?
19
19
  search_method = options.delete(:search_method)
20
20
  classes = ['auto-ajax-select2', original_classes].compact.join(' ')
21
21
  controller_params = {}
@@ -1,3 +1,3 @@
1
1
  module AutoSelect2Tag
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: auto_select2_tag
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitriy Lisichkin