bulmacomp 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/components/bulmacomp/navbar_component.rb +3 -1
- data/lib/bulmacomp/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c579db82c3306bf4ab683b2a0fb23a78fa1255419c7365a70114ae8017088a4
|
4
|
+
data.tar.gz: a09f86598c6811550e1c2079fed013a67f7f969a2b122ee9e6b3e94f5d004006
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b1efdddbdf692b70bfa473db3eaab0c813ebb14991fa796e3b0ae325ec161f10bbce6e92ee4ce7ca2a7b65350b5f79a3892ed25a3bab6422567a70e07b4daefb
|
7
|
+
data.tar.gz: e04f0c81eca22bbdfd9b6e949417cb59b4e85178d4587280925c9d67598e11d87ddcfeba478b0071fc691f76cbd7c40cf82f3606f001c16501d863ac0fed30f6
|
@@ -52,11 +52,13 @@ module Bulmacomp
|
|
52
52
|
|
53
53
|
# @return [String] html_safe navbar
|
54
54
|
def call
|
55
|
-
tag.nav safe_join([navbar_brand, navbar_menu]),
|
55
|
+
tag.nav safe_join([navbar_brand, navbar_menu]), **@opts
|
56
56
|
end
|
57
57
|
|
58
58
|
# @return [String] html_safe navbar-brand tag
|
59
59
|
def navbar_brand
|
60
|
+
return if @brand.blank?
|
61
|
+
|
60
62
|
tag.div safe_join([link_to(@brand, root_path, data_turbo_frame: 'yield', class: 'navbar-item'), navbar_burger]),
|
61
63
|
class: 'navbar-brand'
|
62
64
|
end
|
data/lib/bulmacomp/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bulmacomp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MDreW
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -85,7 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
85
85
|
- !ruby/object:Gem::Version
|
86
86
|
version: '0'
|
87
87
|
requirements: []
|
88
|
-
rubygems_version: 3.4.
|
88
|
+
rubygems_version: 3.4.10
|
89
89
|
signing_key:
|
90
90
|
specification_version: 4
|
91
91
|
summary: Rails 'View Components' for Bulma
|