bootstrap-navbar 3.1.0 → 3.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bootstrap-navbar/helpers/bootstrap4.rb +4 -0
- data/lib/bootstrap-navbar/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3445728612483f40949783e8114c602586ae724d5dc87aad2b40ccb206451851
|
4
|
+
data.tar.gz: 7be996d67556fce1e26cd5ba7c2312e5f4bb94d77bdda23af9ef1380d8d7863b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6f775024975cbeb5c0cb9de3330cb38d2b47f7fdf89d940a4dc19312d1127068cd98bbe9ca9960fe18c0c3da311035bd6d4e78c79ffaf278d8591d0805495a8
|
7
|
+
data.tar.gz: 51c165a6e7464b77a44dbe1ab8c8e5f86c1bceac6dde177c5aa8a6e6f8e289dc573ae293031d7b481b463264a5b0d66c266fd72a379e4148fe8e2f32e30f925a
|
@@ -62,6 +62,10 @@ module BootstrapNavbar::Helpers::Bootstrap4
|
|
62
62
|
HTML
|
63
63
|
end
|
64
64
|
|
65
|
+
def navbar_text(text)
|
66
|
+
%(<span class="navbar-text">#{text}</span>)
|
67
|
+
end
|
68
|
+
|
65
69
|
def navbar_item(text, url = nil, list_item_options = nil, link_options = nil, &block)
|
66
70
|
text, url, list_item_options, link_options = capture(&block), text, (url || {}), list_item_options if block_given?
|
67
71
|
url ||= '#'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootstrap-navbar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manuel Meurer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|