radiant-navigation-extension 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 2.0.2
1
+ 2.0.3
@@ -67,9 +67,9 @@ module Navigation
67
67
  tag_options = nil
68
68
  end
69
69
 
70
- %{<ol#{tag_options}>
70
+ %{<ul#{tag_options}>
71
71
  #{tree}
72
- </ol>}
72
+ </ul>}
73
73
 
74
74
  end
75
75
 
@@ -27,7 +27,7 @@ module Navigation
27
27
  allowed_children = child_page.children.delete_if{ |c| not_allowed?(tag,c) }
28
28
 
29
29
  if tag.attr['expand_all'] or current_page.url.starts_with?(child_page.url)
30
- if allowed_children.present? and depth.present? and child_page.class_name != 'ArchivePage'
30
+ if allowed_children.present? and depth.to_i > 0 and child_page.class_name != 'ArchivePage'
31
31
  r << %{<ul>}
32
32
  child_page.children.each do |child|
33
33
  depth -= 1
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{radiant-navigation-extension}
8
- s.version = "2.0.2"
8
+ s.version = "2.0.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Phil Schilter", "Dirk Kelly"]
12
- s.date = %q{2010-11-28}
12
+ s.date = %q{2010-12-08}
13
13
  s.description = %q{Navigation provides a way to generate navigation (with useful classes)}
14
14
  s.email = %q{dk@dirkkelly.com}
15
15
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: radiant-navigation-extension
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease: false
6
6
  segments:
7
7
  - 2
8
8
  - 0
9
- - 2
10
- version: 2.0.2
9
+ - 3
10
+ version: 2.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Phil Schilter
@@ -16,7 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2010-11-28 00:00:00 +08:00
19
+ date: 2010-12-08 00:00:00 +08:00
20
20
  default_executable:
21
21
  dependencies: []
22
22