conjoin 0.0.65 → 0.0.66
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/conjoin/nav.rb +1 -0
- data/lib/conjoin/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: a890f2802eb442820ad0bed21b3374b1ebb8bddb
|
4
|
+
data.tar.gz: 89df6df273c4e1c939b958fb1b5a31c8bb0b98a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54ba3dd8e93065c37a10ba2d0bb7e22aed09f1c0042cdc6f2e986813a582aac8582dd16f74680f74630f6cfa120d7ad9cde7947abbbfbe885a434142d4d4fa07
|
7
|
+
data.tar.gz: 3d4ab47526588c51709aea771ccddc821a673ed67b71afab76cdd7f0c9e38c876ba455e9a766a745aa7fd68458c571157f7c29868a643139823c7cde5a94da06
|
data/lib/conjoin/nav.rb
CHANGED
@@ -54,6 +54,7 @@ module Conjoin
|
|
54
54
|
link.active = URI.decode(app.req.env['REQUEST_URI'])[link.path]
|
55
55
|
link.active_class = link.active ? config.active_class : false
|
56
56
|
link.id = "nav-#{link.text.underscore}"
|
57
|
+
link.label = app.instance_exec(&link.label) if link.label
|
57
58
|
|
58
59
|
if link.subs
|
59
60
|
link.subs = load_links link.subs
|
data/lib/conjoin/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: conjoin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.66
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- cj
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-06-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cuba
|