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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5ef3cc70b274675d5f697f6e5ed96ce4e60bd4b7
4
- data.tar.gz: c56eb505f1fda1ecd54e9870d694419b14066206
3
+ metadata.gz: a890f2802eb442820ad0bed21b3374b1ebb8bddb
4
+ data.tar.gz: 89df6df273c4e1c939b958fb1b5a31c8bb0b98a7
5
5
  SHA512:
6
- metadata.gz: 34fca8bd4b22397c4bff6a71bd1c6aba160def800054442e6aff70b41f2eb62a923001ee64164f54cb9fc013bd17cd27e9e3ee14bdbb39ec552c00c161ad19c2
7
- data.tar.gz: 7de2ce33cfdf282e8f81c6db012a7929f9fe39ba5042f6dfeba896e100d87b2da93775f3eae34af8ff66b65969c004a63162f74d3e8005e6f260a47e18fcb7aa
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
@@ -1,3 +1,3 @@
1
1
  module Conjoin
2
- VERSION = "0.0.65"
2
+ VERSION = "0.0.66"
3
3
  end
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.65
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-05-31 00:00:00.000000000 Z
11
+ date: 2014-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cuba