hanna-nouveau 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -18,10 +18,10 @@ Jeweler::Tasks.new do |gem|
18
18
  gem.summary = %Q{A rework of the Hanna generator for RDoc 2.5 and 3.x}
19
19
  gem.description = %Q{}
20
20
  gem.email = "erik@hollensbe.org"
21
- gem.authors = ["Erik Hollensbe", "James Tucker", "Mislav Marohnić"]
21
+ gem.authors = ["Erik Hollensbe", "James Tucker", "Mislav Marohnic"]
22
22
  # Include your dependencies below. Runtime dependencies are required when using your gem,
23
23
  # and development dependencies are only needed for development (ie running rake tasks, tests, etc)
24
- gem.add_runtime_dependency 'haml'
24
+ gem.add_runtime_dependency 'haml', "= 3.0.25"
25
25
  gem.add_runtime_dependency 'rdoc'
26
26
  gem.add_development_dependency 'jeweler'
27
27
  gem.add_development_dependency 'rake'
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.2
1
+ 0.2.3
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{hanna-nouveau}
8
- s.version = "0.2.2"
8
+ s.version = "0.2.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Erik Hollensbe", "James Tucker", "Mislav Marohni\304\207"]
12
- s.date = %q{2010-12-28}
11
+ s.authors = ["Erik Hollensbe", "James Tucker", "Mislav Marohnic"]
12
+ s.date = %q{2011-05-12}
13
13
  s.description = %q{}
14
14
  s.email = %q{erik@hollensbe.org}
15
15
  s.extra_rdoc_files = [
@@ -41,11 +41,10 @@ Gem::Specification.new do |s|
41
41
  s.homepage = %q{http://github.com/erikh/hanna-nouveau}
42
42
  s.licenses = ["MIT"]
43
43
  s.require_paths = ["lib"]
44
- s.rubygems_version = %q{1.3.7}
44
+ s.rubygems_version = %q{1.7.2}
45
45
  s.summary = %q{A rework of the Hanna generator for RDoc 2.5 and 3.x}
46
46
 
47
47
  if s.respond_to? :specification_version then
48
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
49
48
  s.specification_version = 3
50
49
 
51
50
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
@@ -53,7 +52,7 @@ Gem::Specification.new do |s|
53
52
  s.add_development_dependency(%q<jeweler>, ["~> 1.5.1"])
54
53
  s.add_development_dependency(%q<rcov>, [">= 0"])
55
54
  s.add_development_dependency(%q<rdoc>, ["~> 3.1"])
56
- s.add_runtime_dependency(%q<haml>, [">= 0"])
55
+ s.add_runtime_dependency(%q<haml>, ["= 3.0.25"])
57
56
  s.add_runtime_dependency(%q<rdoc>, [">= 0"])
58
57
  s.add_development_dependency(%q<jeweler>, [">= 0"])
59
58
  s.add_development_dependency(%q<rake>, [">= 0"])
@@ -62,7 +61,7 @@ Gem::Specification.new do |s|
62
61
  s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
63
62
  s.add_dependency(%q<rcov>, [">= 0"])
64
63
  s.add_dependency(%q<rdoc>, ["~> 3.1"])
65
- s.add_dependency(%q<haml>, [">= 0"])
64
+ s.add_dependency(%q<haml>, ["= 3.0.25"])
66
65
  s.add_dependency(%q<rdoc>, [">= 0"])
67
66
  s.add_dependency(%q<jeweler>, [">= 0"])
68
67
  s.add_dependency(%q<rake>, [">= 0"])
@@ -72,7 +71,7 @@ Gem::Specification.new do |s|
72
71
  s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
73
72
  s.add_dependency(%q<rcov>, [">= 0"])
74
73
  s.add_dependency(%q<rdoc>, ["~> 3.1"])
75
- s.add_dependency(%q<haml>, [">= 0"])
74
+ s.add_dependency(%q<haml>, ["= 3.0.25"])
76
75
  s.add_dependency(%q<rdoc>, [">= 0"])
77
76
  s.add_dependency(%q<jeweler>, [">= 0"])
78
77
  s.add_dependency(%q<rake>, [">= 0"])
data/lib/hanna-nouveau.rb CHANGED
@@ -173,9 +173,9 @@ class RDoc::Generator::Hanna
173
173
  # FIXME linkify
174
174
  :classlist => '<ol>' + klass.classes_and_modules.inject('') { |x,y| x << '<li>' + y.name + '</li>' } + '</ol>',
175
175
  :constants => klass.constants,
176
- :aliases => klass.method_list.select { |x| x.is_alias_for },
177
- :attributes => klass.attributes,
178
- :method_list => klass.method_list.select { |x| !x.is_alias_for }
176
+ :aliases => klass.method_list.select { |x| x.is_alias_for }.sort,
177
+ :attributes => klass.attributes.sort,
178
+ :method_list => klass.method_list.select { |x| !x.is_alias_for }.sort
179
179
  }
180
180
  }
181
181
 
@@ -5,7 +5,7 @@
5
5
  - %w[attr attr_accessor attr_reader attr_writer class instance].each do |type|
6
6
  - (RDoc::VISIBILITIES rescue RDoc::Context::VISIBILITIES).each do |vis|
7
7
  -# FIXME ugly
8
- - list = methods.reject { |x| x.respond_to?(:is_alias_for) && x.is_alias_for }.select { |x| x.visibility == vis && x.type == type.to_s }
8
+ - list = methods.reject { |x| x.respond_to?(:is_alias_for) && x.is_alias_for }.select { |x| x.visibility == vis && x.type == type.to_s }.sort
9
9
  - unless list.empty?
10
10
  - type_result = ""
11
11
  - if type =~ /^attr_/
metadata CHANGED
@@ -1,142 +1,107 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hanna-nouveau
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
5
- prerelease: false
6
- segments:
7
- - 0
8
- - 2
9
- - 2
10
- version: 0.2.2
4
+ prerelease:
5
+ version: 0.2.3
11
6
  platform: ruby
12
7
  authors:
13
8
  - Erik Hollensbe
14
9
  - James Tucker
15
- - "Mislav Marohni\xC4\x87"
10
+ - Mislav Marohnic
16
11
  autorequire:
17
12
  bindir: bin
18
13
  cert_chain: []
19
14
 
20
- date: 2010-12-28 00:00:00 -05:00
21
- default_executable:
15
+ date: 2011-05-12 00:00:00 Z
22
16
  dependencies:
23
17
  - !ruby/object:Gem::Dependency
24
- type: :development
25
- prerelease: false
26
18
  name: bundler
27
- version_requirements: &id001 !ruby/object:Gem::Requirement
19
+ requirement: &id001 !ruby/object:Gem::Requirement
28
20
  none: false
29
21
  requirements:
30
22
  - - ~>
31
23
  - !ruby/object:Gem::Version
32
- hash: 23
33
- segments:
34
- - 1
35
- - 0
36
- - 0
37
24
  version: 1.0.0
38
- requirement: *id001
39
- - !ruby/object:Gem::Dependency
40
25
  type: :development
41
26
  prerelease: false
27
+ version_requirements: *id001
28
+ - !ruby/object:Gem::Dependency
42
29
  name: jeweler
43
- version_requirements: &id002 !ruby/object:Gem::Requirement
30
+ requirement: &id002 !ruby/object:Gem::Requirement
44
31
  none: false
45
32
  requirements:
46
33
  - - ~>
47
34
  - !ruby/object:Gem::Version
48
- hash: 1
49
- segments:
50
- - 1
51
- - 5
52
- - 1
53
35
  version: 1.5.1
54
- requirement: *id002
55
- - !ruby/object:Gem::Dependency
56
36
  type: :development
57
37
  prerelease: false
38
+ version_requirements: *id002
39
+ - !ruby/object:Gem::Dependency
58
40
  name: rcov
59
- version_requirements: &id003 !ruby/object:Gem::Requirement
41
+ requirement: &id003 !ruby/object:Gem::Requirement
60
42
  none: false
61
43
  requirements:
62
44
  - - ">="
63
45
  - !ruby/object:Gem::Version
64
- hash: 3
65
- segments:
66
- - 0
67
46
  version: "0"
68
- requirement: *id003
69
- - !ruby/object:Gem::Dependency
70
47
  type: :development
71
48
  prerelease: false
49
+ version_requirements: *id003
50
+ - !ruby/object:Gem::Dependency
72
51
  name: rdoc
73
- version_requirements: &id004 !ruby/object:Gem::Requirement
52
+ requirement: &id004 !ruby/object:Gem::Requirement
74
53
  none: false
75
54
  requirements:
76
55
  - - ~>
77
56
  - !ruby/object:Gem::Version
78
- hash: 5
79
- segments:
80
- - 3
81
- - 1
82
57
  version: "3.1"
83
- requirement: *id004
84
- - !ruby/object:Gem::Dependency
85
- type: :runtime
58
+ type: :development
86
59
  prerelease: false
60
+ version_requirements: *id004
61
+ - !ruby/object:Gem::Dependency
87
62
  name: haml
88
- version_requirements: &id005 !ruby/object:Gem::Requirement
63
+ requirement: &id005 !ruby/object:Gem::Requirement
89
64
  none: false
90
65
  requirements:
91
- - - ">="
66
+ - - "="
92
67
  - !ruby/object:Gem::Version
93
- hash: 3
94
- segments:
95
- - 0
96
- version: "0"
97
- requirement: *id005
98
- - !ruby/object:Gem::Dependency
68
+ version: 3.0.25
99
69
  type: :runtime
100
70
  prerelease: false
71
+ version_requirements: *id005
72
+ - !ruby/object:Gem::Dependency
101
73
  name: rdoc
102
- version_requirements: &id006 !ruby/object:Gem::Requirement
74
+ requirement: &id006 !ruby/object:Gem::Requirement
103
75
  none: false
104
76
  requirements:
105
77
  - - ">="
106
78
  - !ruby/object:Gem::Version
107
- hash: 3
108
- segments:
109
- - 0
110
79
  version: "0"
111
- requirement: *id006
112
- - !ruby/object:Gem::Dependency
113
- type: :development
80
+ type: :runtime
114
81
  prerelease: false
82
+ version_requirements: *id006
83
+ - !ruby/object:Gem::Dependency
115
84
  name: jeweler
116
- version_requirements: &id007 !ruby/object:Gem::Requirement
85
+ requirement: &id007 !ruby/object:Gem::Requirement
117
86
  none: false
118
87
  requirements:
119
88
  - - ">="
120
89
  - !ruby/object:Gem::Version
121
- hash: 3
122
- segments:
123
- - 0
124
90
  version: "0"
125
- requirement: *id007
126
- - !ruby/object:Gem::Dependency
127
91
  type: :development
128
92
  prerelease: false
93
+ version_requirements: *id007
94
+ - !ruby/object:Gem::Dependency
129
95
  name: rake
130
- version_requirements: &id008 !ruby/object:Gem::Requirement
96
+ requirement: &id008 !ruby/object:Gem::Requirement
131
97
  none: false
132
98
  requirements:
133
99
  - - ">="
134
100
  - !ruby/object:Gem::Version
135
- hash: 3
136
- segments:
137
- - 0
138
101
  version: "0"
139
- requirement: *id008
102
+ type: :development
103
+ prerelease: false
104
+ version_requirements: *id008
140
105
  description: ""
141
106
  email: erik@hollensbe.org
142
107
  executables: []
@@ -167,7 +132,6 @@ files:
167
132
  - lib/hanna-nouveau/template_files/sections.haml
168
133
  - lib/hanna-nouveau/template_files/styles.sass
169
134
  - lib/rdoc/discover.rb
170
- has_rdoc: true
171
135
  homepage: http://github.com/erikh/hanna-nouveau
172
136
  licenses:
173
137
  - MIT
@@ -181,7 +145,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
181
145
  requirements:
182
146
  - - ">="
183
147
  - !ruby/object:Gem::Version
184
- hash: 3
148
+ hash: -2056902760337974259
185
149
  segments:
186
150
  - 0
187
151
  version: "0"
@@ -190,14 +154,11 @@ required_rubygems_version: !ruby/object:Gem::Requirement
190
154
  requirements:
191
155
  - - ">="
192
156
  - !ruby/object:Gem::Version
193
- hash: 3
194
- segments:
195
- - 0
196
157
  version: "0"
197
158
  requirements: []
198
159
 
199
160
  rubyforge_project:
200
- rubygems_version: 1.3.7
161
+ rubygems_version: 1.7.2
201
162
  signing_key:
202
163
  specification_version: 3
203
164
  summary: A rework of the Hanna generator for RDoc 2.5 and 3.x