effective_bootstrap 0.8.1 → 0.8.2

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
  SHA256:
3
- metadata.gz: 0c8ff2ddc7846693eda910018d90b746abe50f7a617eea476edd16920672df78
4
- data.tar.gz: 544986295a3ac4a9b05e5cdf70f17b766682c4f95c8ba9ac0a551ebfa8c07fef
3
+ metadata.gz: 13069c885db1c7ecc88b9b09fe3da23ba6eecb8c45154cf6ecb705edd0910bf8
4
+ data.tar.gz: e93591a88deec48ce908ae47f6bee319bda2ede3218b6a4ab181fd70b1726aa6
5
5
  SHA512:
6
- metadata.gz: ee013e77368c0443632902e1a67870012d270e8d15fa4051aa9cf3e67d479b4f121e40a4b2b8aee389370bf183fcecdbc4dac0c79f8dae4c75b9c580d63d38ce
7
- data.tar.gz: 363f67e6ac798acd14506af81b769d5e8d56fe130281719bd71743f1738193a615e943b7df7df7039446eb19cd2bc359e4b8776040a43279f39eb4c4b9e5829b
6
+ metadata.gz: ab8b70579e1f9a81e7575c4fb6df6fcbd07a0df05d4a5bb6c65547cdaab4a6c36ff3f296ef560711fd9b76dfd8dfe1e2b66d8ad8794b0cbafd693de570332b5c
7
+ data.tar.gz: a08b4fdc0bbb4fc94b513546e7be2fbe359ad41c1bf4378462fda34891a61b9cc2923aa2f8c9965ad9550b2649521c3f339d001bf874db8f79749d678a70498c
@@ -154,11 +154,13 @@ module EffectiveBootstrapHelper
154
154
  end
155
155
 
156
156
  # Works with dots ao and dropdown do
157
- def dropdown_divider
157
+ def dropdown_divider(options = {})
158
+ options[:class] = [options[:class], 'dropdown-divider'].compact.join(' ')
159
+
158
160
  unless @_dropdown_link_tos
159
- content_tag(:div, '', class: 'dropdown-divider')
161
+ content_tag(:div, '', options)
160
162
  else
161
- @_dropdown_link_tos << content_tag(:div, '', class: 'dropdown-divider')
163
+ @_dropdown_link_tos << content_tag(:div, '', options)
162
164
  nil
163
165
  end
164
166
  end
@@ -1,3 +1,3 @@
1
1
  module EffectiveBootstrap
2
- VERSION = '0.8.1'.freeze
2
+ VERSION = '0.8.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_bootstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.1
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect