simple_navigation 1.4.2 → 1.4.3
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/Rakefile +1 -1
- data/lib/simple_navigation.rb +1 -1
- data/simple_navigation.gemspec +1 -1
- metadata +3 -3
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
Binary file
|
data/Rakefile
CHANGED
@@ -2,7 +2,7 @@ require 'rubygems'
|
|
2
2
|
require 'rake'
|
3
3
|
require 'echoe'
|
4
4
|
|
5
|
-
Echoe.new('simple_navigation', '1.4.
|
5
|
+
Echoe.new('simple_navigation', '1.4.3') do |e|
|
6
6
|
e.description = "Simple navigation menu gem for Ruby on Rails"
|
7
7
|
e.url = "http://github.com/mexpolk/simple_navigation"
|
8
8
|
e.author = "Ivan Torres"
|
data/lib/simple_navigation.rb
CHANGED
@@ -29,7 +29,7 @@ module SimpleNavigation
|
|
29
29
|
|
30
30
|
# Set default html attributes
|
31
31
|
html_attrs = { :id => menu[:id] }
|
32
|
-
html_attrs[:class] = menu[:class]
|
32
|
+
html_attrs[:class] = menu[:class] || ""
|
33
33
|
|
34
34
|
# Render submenus first so we can detect if current menu
|
35
35
|
# is between child menu's
|
data/simple_navigation.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_navigation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 1
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 1.4.
|
9
|
+
- 3
|
10
|
+
version: 1.4.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ivan Torres
|
metadata.gz.sig
CHANGED
Binary file
|