rails_nav 2.5.6 → 2.5.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/rails_nav.rb +2 -2
- data/rails_nav.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YTRiNzBkYTQzOWVlNTE4MWY2OTVkNDEzMDI4NjAxMjQxOGZhZmE1Nw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ODdmMGU5ZWE1NGFjMzAyYmI4ODlmZDU3NWQ2MzVlOThmYTAxNzJmYg==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
OTMwYzFkYzI5NGYzOGQ4ZGMyNmJhNjJiMDU3ZmE2NjUyMTVmOTgyMTNiZDIy
|
10
|
+
ZDdmMjljNmE2NTQyYTVhNmZkMGRmYmIxOTgwYzk4Njk1ZTgzMjE0NWY3MmY1
|
11
|
+
MDhlMGYzMDE5YjQ3OTY3NGNiZDhkZTk5N2I5NTA0YjIwMmE5ZTQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZjI4MzkwMTEwYjM2YjY0NWFiZTI0NGY3NWFmMDI2ZTBhMWViZGRlNjMzMGY4
|
14
|
+
M2Q2YTNjODIxYTBlYzFmNTgyZGNjOTA3N2U2ZWFjYjMyNmU1ODI5OWEzN2Uw
|
15
|
+
YzFkYmYzM2UyYmMyMjE5ZmZhZTNhMGViNzVhMWI5MTlkMTkyOWU=
|
data/lib/rails_nav.rb
CHANGED
@@ -7,7 +7,7 @@
|
|
7
7
|
##
|
8
8
|
#
|
9
9
|
def Nav.version()
|
10
|
-
'2.5.
|
10
|
+
'2.5.7'
|
11
11
|
end
|
12
12
|
|
13
13
|
def Nav.dependencies
|
@@ -312,7 +312,7 @@
|
|
312
312
|
end
|
313
313
|
|
314
314
|
def Link.default_active_pattern_for(content)
|
315
|
-
path_info = Slug.for(content, :join => '[_-]*')
|
315
|
+
path_info = Slug.for(content.to_s.split('/').first, :join => '[_-]*')
|
316
316
|
%r/\b#{ path_info }\b/i
|
317
317
|
end
|
318
318
|
|
data/rails_nav.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails_nav
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.5.
|
4
|
+
version: 2.5.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ara T. Howard
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails_current
|