smart_navigation 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/smart_navigation/renderer.rb +2 -2
- data/lib/smart_navigation/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1d0cedd231013baeb906ef6fb1ea5ae81f15b6bc
|
4
|
+
data.tar.gz: cf8c94fe585e6c9ffff2476c35776375f94657ad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a35ff5e4c1fdef96a74a2912c8c1e490a63b54b61e6062cb46650642f628c2954036019d6d5e6ef47a7fe465d4dfb54186a030ed842d8b828b6efaa2eea52826
|
7
|
+
data.tar.gz: 57638ee77ca91478754652bf571d76efde888af68cc2c9a57030f0567f5c2322b5e1f86d86afbef645561c1205628009b7b9ee3588d106d06d65845e7df653b6
|
@@ -155,14 +155,14 @@ module SmartNavigation
|
|
155
155
|
end
|
156
156
|
|
157
157
|
# Create menu list item
|
158
|
-
def item_tag(item, icons=false)
|
158
|
+
def item_tag(item, icons=false, subitem=false)
|
159
159
|
if render_item?(item)
|
160
160
|
if item[:separator].present?
|
161
161
|
separator_tag(item)
|
162
162
|
elsif item[:children].present?
|
163
163
|
group_item_tag(item, icons)
|
164
164
|
else
|
165
|
-
single_item_tag(item, icons)
|
165
|
+
single_item_tag(item, icons, subitem)
|
166
166
|
end
|
167
167
|
end
|
168
168
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smart_navigation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonian Guveli
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-12-
|
11
|
+
date: 2017-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionview
|
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
108
|
version: '0'
|
109
109
|
requirements: []
|
110
110
|
rubyforge_project:
|
111
|
-
rubygems_version: 2.6.
|
111
|
+
rubygems_version: 2.6.14
|
112
112
|
signing_key:
|
113
113
|
specification_version: 4
|
114
114
|
summary: View helpers for navigation menus
|