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 +4 -4
- data/app/helpers/effective_bootstrap_helper.rb +2 -2
- data/lib/effective_bootstrap/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9aaa5138b10510b13e98e2a795dada3fbece1bc
|
4
|
+
data.tar.gz: '09dfbf8c49c1644dd65ba2e93cb63224c18bb54a'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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'
|
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.
|
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-
|
11
|
+
date: 2018-08-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|