simple-navigation 4.0.2 → 4.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/simple_navigation/adapters/rails.rb +1 -1
- data/lib/simple_navigation/item.rb +2 -1
- data/lib/simple_navigation/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 14ed2a793a80e75cc8ac03f09c2d03d7c6672bea
|
|
4
|
+
data.tar.gz: 4d33fafbeb0d419f27a6d0695582077e68c6ca13
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: db0eecfe9e6b34d144aec5e76bf9bc69e29078f22f85b70a4945f90ad952219cac18b1ca428877adec9cb792348ea3da121b8be1b6ed5ff2d4f367270990be1d
|
|
7
|
+
data.tar.gz: 5e2085493c00bf60d6ad18d9119f0f6d0dd71f05744468313e3f4b7fbc6110af191e877cf1fdc084af3f71aef196a76e2060fd1d81de1c679334cd18cd3b84f1
|
data/CHANGELOG.md
CHANGED
|
@@ -153,8 +153,9 @@ module SimpleNavigation
|
|
|
153
153
|
|
|
154
154
|
def selected_by_autohighlight?
|
|
155
155
|
return false unless auto_highlight?
|
|
156
|
+
|
|
156
157
|
root_path_match? ||
|
|
157
|
-
SimpleNavigation.current_page?(url_for_autohighlight) ||
|
|
158
|
+
(url_for_autohighlight && SimpleNavigation.current_page?(url_for_autohighlight)) ||
|
|
158
159
|
autohighlight_by_subpath?
|
|
159
160
|
end
|
|
160
161
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: simple-navigation
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.0.
|
|
4
|
+
version: 4.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Andi Schacke
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2015-04-
|
|
13
|
+
date: 2015-04-09 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: activesupport
|