effective_bootstrap 0.1.9 → 0.1.10

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: df0fbde9e0f6918d464da5e7bd962401b0db8c8e
4
- data.tar.gz: 7b09a1f7b6d8e44ba0414a28b847128999e36a22
3
+ metadata.gz: b9aaa5138b10510b13e98e2a795dada3fbece1bc
4
+ data.tar.gz: '09dfbf8c49c1644dd65ba2e93cb63224c18bb54a'
5
5
  SHA512:
6
- metadata.gz: 1a1a74eec25fabe39ba5cdf8b34e57f8acb94c536e5f8888f18cb2a5f1b03454875b02a5c7c7169000498e78e93dd1a2eb8d3f7471607719436ead155106e4f5
7
- data.tar.gz: 92724d005a2dc2916e4d6dcb48aec5ea913f6dcb4fddbb799c35d80e48ae76d129c1bbaf273f5a21d1e47ed420ae3f92e75c5755d0ce4d71db3b3a22aa40ffba
6
+ metadata.gz: 4ced5e0ccdf0d0f79906ae000a7c5a6f3c0dca97e1ac73f7ce0871ceb7705ba55e55db1b97d3eb7b42b2d7dbb7ca3591317ff54a0d672b89d6a7317cc2ab80ed
7
+ data.tar.gz: 8d5e3d89697fc1ccddda55ee851d76e48064229e8a8ebab577c4725a2e263f78e806feb5d84db96f87b8f04629310012cd0d96675f3fea900947e8a272c42a5f
@@ -29,8 +29,8 @@ module EffectiveBootstrapHelper
29
29
 
30
30
  content_tag(:div, class: 'btn-group') do
31
31
  content_tag(:div, class: ['btn-group', variation.to_s.presence].compact.join(' '), role: 'group') do
32
- [:dropleft].include?(variation) ? (split + menu + first) : (first + split + menu)
33
- end
32
+ [:dropleft].include?(variation) ? (split + menu) : (first + split + menu)
33
+ end + ([:dropleft].include?(variation) ? first : '').html_safe
34
34
  end
35
35
  else
36
36
  raise 'split false is unsupported'
@@ -1,3 +1,3 @@
1
1
  module EffectiveBootstrap
2
- VERSION = '0.1.9'.freeze
2
+ VERSION = '0.1.10'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_bootstrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.9
4
+ version: 0.1.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-28 00:00:00.000000000 Z
11
+ date: 2018-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails