voloko-sdoc 0.2.13 → 0.2.14

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
- :minor: 2
3
- :patch: 13
4
2
  :major: 0
3
+ :minor: 2
4
+ :patch: 14
@@ -191,13 +191,14 @@ class RDoc::Generator::SHtml
191
191
  @classes.select { |klass|
192
192
  klass.document_self_or_methods
193
193
  }.sort.each do |klass|
194
+ modulename = klass.module? ? '' : (klass.superclass ? (String === klass.superclass ? klass.superclass : klass.superclass.full_name) : '')
194
195
  index[:searchIndex].push( search_string(klass.name) )
195
- index[:longSearchIndex].push( search_string(klass.parent.name) )
196
+ index[:longSearchIndex].push( search_string(klass.parent.full_name) )
196
197
  index[:info].push([
197
198
  klass.name,
198
199
  klass.parent.full_name,
199
200
  klass.path,
200
- klass.module? ? '' : (klass.superclass ? " < #{String === klass.superclass ? klass.superclass : klass.superclass.full_name}" : ''),
201
+ modulename ? " < #{modulename}" : '',
201
202
  snippet(klass.comment),
202
203
  TYPE_CLASS
203
204
  ])
data/sdoc.gemspec CHANGED
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{sdoc}
5
- s.version = "0.2.13"
5
+ s.version = "0.2.14"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Volodya Kolesnikov"]
9
- s.date = %q{2009-06-17}
9
+ s.date = %q{2009-08-14}
10
10
  s.email = %q{voloko@gmail.com}
11
11
  s.executables = ["sdoc", "sdoc-merge"]
12
12
  s.extra_rdoc_files = [
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: voloko-sdoc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.13
4
+ version: 0.2.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Volodya Kolesnikov
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-06-17 00:00:00 -07:00
12
+ date: 2009-08-14 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -95,6 +95,7 @@ files:
95
95
  - sdoc.gemspec
96
96
  has_rdoc: false
97
97
  homepage: http://github.com/voloko/sdoc
98
+ licenses:
98
99
  post_install_message:
99
100
  rdoc_options:
100
101
  - --charset=UTF-8
@@ -115,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
116
  requirements: []
116
117
 
117
118
  rubyforge_project:
118
- rubygems_version: 1.2.0
119
+ rubygems_version: 1.3.5
119
120
  signing_key:
120
121
  specification_version: 3
121
122
  summary: rdoc html with javascript search index.