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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 59162cb651a81d83a25c2f0e523dc45bec318416
4
- data.tar.gz: '095b63cdfb2403fe0ba226a19adad7aeda77583c'
3
+ metadata.gz: 1d0cedd231013baeb906ef6fb1ea5ae81f15b6bc
4
+ data.tar.gz: cf8c94fe585e6c9ffff2476c35776375f94657ad
5
5
  SHA512:
6
- metadata.gz: ba40db2192c56173a156e9c7615b94c60fa59b4468ff615bdebefcd6b8cbe9a9cf39aeedf9c425a2c54acab616a6a238a8f63d67f82cb2ec9213e51cb37e936a
7
- data.tar.gz: 370d3e7dcdd7641c65cfe687fd74cf14069c95433808a2596ee8924e9c8f6c21b58b64cdf0e1ba2a59787d85c4ebcf301fd427ac33b07fda4e2e1bea5e85581c
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
@@ -1,3 +1,3 @@
1
1
  module SmartNavigation
2
- VERSION = '0.1.7'
2
+ VERSION = '0.1.8'
3
3
  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.7
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-18 00:00:00.000000000 Z
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.13
111
+ rubygems_version: 2.6.14
112
112
  signing_key:
113
113
  specification_version: 4
114
114
  summary: View helpers for navigation menus