simple_form-dropdown_select 0.1.0 → 0.1.1

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: e7977a34a10b1d4e690bd38ed72ef27a0f5a299f
4
- data.tar.gz: a2fba974f0eb63d5a23a0104ff92cff425d3d215
3
+ metadata.gz: d9f1b3887b5061d8f2ee478623c3dec844c3c866
4
+ data.tar.gz: ca82c4b4363dec54db9e269ab821b0f6aa1d308b
5
5
  SHA512:
6
- metadata.gz: fc0ccdf2e1c8e2d4f624bb92d527b7e4c51749926c50a2e0afc667d4cda9897818350326abf72172e6e9fca3ab55cc8879e7ca73856626491d0ee07e38d72ab3
7
- data.tar.gz: 7344478fdbece2f1c83b03630f88958161b4a3f074db1eef231c61ca1a947f097db2c538d17ddc5f0e619f63b92fb97bb8783a70fb56d14c7758cd08cfa41849
6
+ metadata.gz: c2afff27f072f8622026a1dcb2e630560e06ec81955258a681fbe59085e5109d359f3efe5bca3632a39d002caea5e85259e0887754fea93f5113707f5a0bbd8b
7
+ data.tar.gz: d7e6720f01b7e48527ce2690db69d91f715f1effe268b3c041705d7d75991bf11ea453324d41976da2869c651ea843bb076c10220fc0de0b6f875c8c0f010582
@@ -7,7 +7,7 @@ class DropdownSelectInput < SimpleForm::Inputs::CollectionInput
7
7
  collection.find { |x| x[1] == object.send(attribute_name) }
8
8
  end
9
9
 
10
- def input
10
+ def input(wrapper_options = nil)
11
11
  if options[:allow_blank]
12
12
  collection.unshift(
13
13
  [options[:allow_blank] == true ? 'None' : options[:allow_blank], '']
@@ -1,5 +1,5 @@
1
1
  module SimpleForm
2
2
  module DropdownSelect
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_form-dropdown_select
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Becker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-11-02 00:00:00.000000000 Z
11
+ date: 2014-12-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: coffee-script