navigasmic 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.textile CHANGED
@@ -248,9 +248,7 @@ The XML Builder isn't hashed out completely, but it more or less generates googl
248
248
  </pre>
249
249
 
250
250
  Tip: You can check the template_format and use the XML Builder when it's :xml, and the HTML Builder if not.
251
- <pre>
252
- :builder => template_format == :xml ? Navigasmic::XmlNavigationBuilder : nil
253
- </pre>
251
+ @:builder => template_format == :xml ? Navigasmic::XmlNavigationBuilder : nil@
254
252
 
255
253
  h3. Other
256
254
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1
@@ -49,7 +49,7 @@ module Navigasmic
49
49
  options[:html][:class] = template.add_class(options[:html][:class], @@classnames[:highlighted]) if item.highlighted?(template.request.path, template.params)
50
50
 
51
51
  label = label_for_item(label)
52
- label = template.link_to(label, item.link) unless item.link.empty?
52
+ label = template.link_to(label, item.link) unless item.link.empty? || item.disabled?
53
53
 
54
54
  template.content_tag(@@item_tag, label + buffer, options.delete(:html))
55
55
  end
data/navigasmic.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{navigasmic}
8
- s.version = "0.3.0"
8
+ s.version = "0.3.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jeremy Jackson"]
12
- s.date = %q{2010-02-08}
12
+ s.date = %q{2010-02-19}
13
13
  s.description = %q{Semantic navigation; a semantic way to build beautifully simple navigation structures in Rails.}
14
14
  s.email = %q{jejacks0n@gmail.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: navigasmic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Jackson
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-02-08 00:00:00 -07:00
12
+ date: 2010-02-19 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency