twitter_bootstrap_combo 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 7b797d6052c6f5bcc0a8aa8e11ce7f378e7c874a
4
+ data.tar.gz: 8c631724773ede2eb04cfe6a11ace2e34011b613
5
+ SHA512:
6
+ metadata.gz: 77ee56679b1a67decb5c3cb0c3d5bbf5aaefc77b6edc9799a3b597f57b0b10b84fbc620ac1d6574d0bebd417c111baa4ad3b295e86dfe69010a3f74f042e74bb
7
+ data.tar.gz: a524d8d1cead2e9d5d61668d1f71cefd1f3c8052c7db119053c3cbfa2992d2933f05dcaacc423033f945723f7869c62f28b6aad95b3a495cc60ada9f9f001ee8
@@ -1,3 +1,3 @@
1
1
  module TwitterBootstrapCombo
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -51,7 +51,7 @@ module TwitterBootstrapCombo
51
51
  #
52
52
  # container(:event, :calendar_id, options_from_collection_for_combo_box(Calendar.all, :id, :name, @event.calendar_id), :include_blank => true)
53
53
  def combo_box(object, method, choices, options = {}, html_options = {})
54
- current_value = self.instance_variable_get("@#{object}").instance_variable_get("@attributes")[method.to_s].to_i
54
+ current_value = self.instance_variable_get("@#{object}").instance_variable_get("@attributes")[method.to_s].value
55
55
 
56
56
  current_text = "(None)"
57
57
  if Array === choices then
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: twitter_bootstrap_combo
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
5
- prerelease:
4
+ version: 0.0.5
6
5
  platform: ruby
7
6
  authors:
8
7
  - Romain Tartiere
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-11-19 00:00:00.000000000 Z
11
+ date: 2015-01-09 00:00:00.000000000 Z
13
12
  dependencies: []
14
13
  description: Advanced combo-box using Twitter-Bootstrap
15
14
  email:
@@ -18,7 +17,7 @@ executables: []
18
17
  extensions: []
19
18
  extra_rdoc_files: []
20
19
  files:
21
- - .gitignore
20
+ - ".gitignore"
22
21
  - Gemfile
23
22
  - LICENSE.txt
24
23
  - README.md
@@ -33,27 +32,26 @@ files:
33
32
  homepage: https://github.com/smortex/twitter_bootstrap_combo
34
33
  licenses:
35
34
  - MIT
35
+ metadata: {}
36
36
  post_install_message:
37
37
  rdoc_options: []
38
38
  require_paths:
39
39
  - lib
40
40
  required_ruby_version: !ruby/object:Gem::Requirement
41
- none: false
42
41
  requirements:
43
- - - '>='
42
+ - - ">="
44
43
  - !ruby/object:Gem::Version
45
44
  version: '0'
46
45
  required_rubygems_version: !ruby/object:Gem::Requirement
47
- none: false
48
46
  requirements:
49
- - - '>='
47
+ - - ">="
50
48
  - !ruby/object:Gem::Version
51
49
  version: '0'
52
50
  requirements: []
53
51
  rubyforge_project:
54
- rubygems_version: 1.8.25
52
+ rubygems_version: 2.2.1
55
53
  signing_key:
56
- specification_version: 3
54
+ specification_version: 4
57
55
  summary: twitter_bootstrap_combo workarounds limitation of SELECT tags in Rails application
58
56
  and provide a coherent look & feel through Twitter-Bootstraped applications.
59
57
  test_files: []