rails_nav 2.5.3 → 2.5.4
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
|
+
MGQ5NmI4NmZlNDUwMzc1MjIzNGUwNDkxMjhjMGE4MmFjNTU2ODIwMg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MTU1ODJhZGZiZWZkYmFmYzhjOWRhYWRjOWZlNTY2YTdhMGEyYWI0Mg==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YTZjMzk1OTE5ZjkyMmRlNDYzZWNiZTg5NmY2NDhhYTg0NGRmYjQ1Y2JlYjQ3
|
10
|
+
M2MyZTlmMTZjMmZmYjE4ZDM4ZTNlOGU5MTg3MDEzY2FkNWRmYTRhZGFkYmIy
|
11
|
+
ODQ5YTdjZjlkYzQ4M2RhYWUxMWI4NjdjNmZjOTU5MzhlY2ZmM2Q=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MzI4Y2U5MWQyNGNiYjMyYzlkMDgxMTZjN2RmMTBmZTIyNzI4MDkyYjRjMzVh
|
14
|
+
MmViYjQ5YzFiODE4MmU3MTk2OTdhMDg2MTdhYzI2YjhjOTYwZGRlYTIwMmQw
|
15
|
+
MGRhNzI2MjMxMzdmZmU3YjNiZTgzNDAyNzU5NGVjYThkOGYxZGI=
|
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.4'
|
11
11
|
end
|
12
12
|
|
13
13
|
def Nav.dependencies
|
@@ -272,7 +272,7 @@
|
|
272
272
|
end
|
273
273
|
|
274
274
|
def compute_active!
|
275
|
-
@active = @nav.evaluate(@compute_active, link = self)
|
275
|
+
@active = (@compute_active.respond_to?(:call) ? @nav.evaluate(@compute_active, link = self) : !!@compute_active)
|
276
276
|
ensure
|
277
277
|
@already_computed_active = true
|
278
278
|
end
|
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.4
|
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: 2014-
|
11
|
+
date: 2014-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails_current
|