simple_form_ransack 0.0.12 → 0.0.13

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: 006388474436da19f6fdddf9f5d8841df249294d
4
- data.tar.gz: 6b3c4b4d309a654566c72e3c963fad0389c4e19f
3
+ metadata.gz: 4dae9f1f5969a907d9edd65a9544387e00a0d8e6
4
+ data.tar.gz: 7d47d189be6c2813cf2496eb64e7d5d5fbda0956
5
5
  SHA512:
6
- metadata.gz: 48d2f85c01f488af2caf19b92525ec86faf7e52f04573f3261bf7bf8a44f3efb3eff7521085968dfaace16b2b677da981342d5064b3221c79f96ee3b1e96b80e
7
- data.tar.gz: 098d43e27853fc4fb77a8b5b41f8f7a456f2a145eeecf4252d6ad422a1d29a34292884555337786d4dcb4eec880242c053f2686eed34c0ce5165747f4008633d
6
+ metadata.gz: bd1fa558b38d90876e3e6f1406d566ef061ddb0550ae08800d6b4dbd16bd3f8a5225ba2c3568f9c9960e7b08fc0c8d79ab103ec8aa1fde566f5b3bd962f9ab46
7
+ data.tar.gz: 2557ce5258751b0c5bb12118684bcca244dad7c0334dfc802bc98ad883e687caab6c1064bea5338a0a67a200836826ee58e89b96d4c016f2da1fa4aa856ed61d
@@ -30,6 +30,7 @@ private
30
30
  def set_values
31
31
  @opts[:required] = false unless @opts.key?(:required)
32
32
  @opts[:input_html] = @input_html
33
+ @opts[:as] = @as # This fixes bug with delegated methods in SimpleForm - don't remove
33
34
 
34
35
  set_value
35
36
  set_name
@@ -1,3 +1,3 @@
1
1
  module SimpleFormRansack
2
- VERSION = "0.0.12".freeze
2
+ VERSION = "0.0.13".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_form_ransack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kasper Johansen