darkfish-rdoc 1.1.4 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ChangeLog +176 -117
- data/Rakefile +40 -3
- data/Rakefile.local +16 -0
- data/lib/rdoc/generator/darkfish.rb +11 -7
- data/lib/rdoc/generator/template/darkfish/classpage.rhtml +1 -2
- data/lib/rdoc/generator/template/darkfish/js/jquery.js +23 -23
- data/lib/rdoc/generator/template/darkfish/js/quicksearch.js +27 -5
- data/lib/rdoc/generator/template/darkfish/rdoc.css +4 -6
- data/rake/dependencies.rb +25 -11
- data/rake/helpers.rb +16 -12
- data/rake/manual.rb +435 -64
- data/rake/publishing.rb +15 -10
- data/rake/rdoc.rb +6 -2
- data/rake/svn.rb +64 -6
- data/rake/testing.rb +3 -2
- data/spec/rdoc/generator/darkfish_spec.rb +13 -2
- metadata +2 -2
data/ChangeLog
CHANGED
@@ -1,8 +1,67 @@
|
|
1
|
-
--
|
2
|
-
Changed:
|
3
|
-
project.yml
|
1
|
+
-- Fri, 26 Sep 2008 06:14:25 -0000 by deveiant (r41) -----
|
2
|
+
Changed: ChangeLog
|
4
3
|
lib/rdoc/generator/template/darkfish/rdoc.css
|
5
|
-
|
4
|
+
|
5
|
+
Merged [changetset:40 a few more fixes] from trunk before releasing
|
6
|
+
|
7
|
+
|
8
|
+
-- Thu, 25 Sep 2008 17:08:59 -0000 by deveiant (r39) -----
|
9
|
+
Changed: Rakefile.local
|
10
|
+
lib/rdoc/generator/template/darkfish/js/jquery.js
|
11
|
+
lib/rdoc/generator/template/darkfish/js/quicksearch.js
|
12
|
+
|
13
|
+
Merged [changeset:38 a few fixes from trunk] before release.
|
14
|
+
|
15
|
+
|
16
|
+
-- Wed, 24 Sep 2008 14:44:32 -0000 by deveiant (r37) -----
|
17
|
+
Added: /releases/1.1.5
|
18
|
+
-> renamed from /trunk@r36
|
19
|
+
|
20
|
+
Branching for release 1.1.5
|
21
|
+
|
22
|
+
|
23
|
+
-- Mon, 22 Sep 2008 15:57:32 -0000 by deveiant (r36) -----
|
24
|
+
Changed: /trunk/Rakefile
|
25
|
+
/trunk/ChangeLog
|
26
|
+
|
27
|
+
Updated build system to add the workaround for broken developmental dependencies under RubyGems 1.2.0.
|
28
|
+
|
29
|
+
|
30
|
+
-- Mon, 22 Sep 2008 15:14:43 -0000 by deveiant (r35) -----
|
31
|
+
Changed: /trunk/spec/rdoc/generator/darkfish_spec.rb
|
32
|
+
/trunk/lib/rdoc/generator/darkfish.rb
|
33
|
+
|
34
|
+
Updated to work under RDoc 2.2.0 (fixes #2).
|
35
|
+
|
36
|
+
|
37
|
+
-- Tue, 16 Sep 2008 14:22:21 -0000 by deveiant (r34) -----
|
38
|
+
Changed: /trunk/Rakefile
|
39
|
+
/trunk/project.yml
|
40
|
+
|
41
|
+
Updated the build system.
|
42
|
+
|
43
|
+
|
44
|
+
-- Tue, 16 Sep 2008 14:21:23 -0000 by deveiant (r33) -----
|
45
|
+
Changed: /trunk/lib/rdoc/generator/darkfish.rb
|
46
|
+
/trunk/lib/rdoc/generator/template/darkfish/classpage.rhtml
|
47
|
+
|
48
|
+
* Fixed method name extraction for non \w+ methods (e.g., operators)
|
49
|
+
* Bumped version to 1.1.5.
|
50
|
+
|
51
|
+
|
52
|
+
-- Wed, 20 Aug 2008 01:45:44 -0000 by deveiant (r32) -----
|
53
|
+
Changed: /trunk/lib/rdoc/generator/darkfish.rb
|
54
|
+
/trunk/ChangeLog
|
55
|
+
/trunk/lib/darkfish-rdoc.rb
|
56
|
+
|
57
|
+
Updated build system.
|
58
|
+
|
59
|
+
|
60
|
+
-- Wed, 20 Aug 2008 01:28:01 -0000 by deveiant (r30) -----
|
61
|
+
Changed: /trunk/Rakefile
|
62
|
+
/trunk/project.yml
|
63
|
+
/trunk/lib/rdoc/generator/template/darkfish/rdoc.css
|
64
|
+
/trunk/lib/rdoc/generator/template/darkfish/js/darkfish.js
|
6
65
|
|
7
66
|
* Updated build system
|
8
67
|
* Added a fix for javascript 'console is not defined' bug in the darkfish.js file.
|
@@ -11,28 +70,28 @@
|
|
11
70
|
|
12
71
|
|
13
72
|
-- Tue, 19 Aug 2008 02:37:00 -0000 by deveiant (r29) -----
|
14
|
-
Changed: README
|
15
|
-
ChangeLog
|
16
|
-
Rakefile.local
|
73
|
+
Changed: /trunk/README
|
74
|
+
/trunk/ChangeLog
|
75
|
+
/trunk/Rakefile.local
|
17
76
|
|
18
77
|
Added some local tasks to clean up .svn directories before publication.
|
19
78
|
|
20
79
|
|
21
80
|
-- Tue, 19 Aug 2008 02:12:27 -0000 by deveiant (r27) -----
|
22
|
-
Changed: lib/rdoc/generator/darkfish.rb
|
23
|
-
lib/darkfish-rdoc.rb
|
81
|
+
Changed: /trunk/lib/rdoc/generator/darkfish.rb
|
82
|
+
/trunk/lib/darkfish-rdoc.rb
|
24
83
|
|
25
84
|
Oops. Forgot I need to change the version string in two places. Should really figure out some better
|
26
85
|
way to do this.
|
27
86
|
|
28
87
|
|
29
88
|
-- Tue, 19 Aug 2008 02:10:53 -0000 by deveiant (r26) -----
|
30
|
-
Changed: README
|
31
|
-
lib/rdoc/generator/darkfish.rb
|
32
|
-
lib/rdoc/generator/template/darkfish/classpage.rhtml
|
33
|
-
Rakefile
|
34
|
-
lib/rdoc/generator/template/darkfish/rdoc.css
|
35
|
-
ChangeLog (and 2 other/s)
|
89
|
+
Changed: /trunk/README
|
90
|
+
/trunk/lib/rdoc/generator/darkfish.rb
|
91
|
+
/trunk/lib/rdoc/generator/template/darkfish/classpage.rhtml
|
92
|
+
/trunk/Rakefile
|
93
|
+
/trunk/lib/rdoc/generator/template/darkfish/rdoc.css
|
94
|
+
/trunk/ChangeLog (and 2 other/s)
|
36
95
|
|
37
96
|
* Bumped version to 1.1.3
|
38
97
|
* Updated build system
|
@@ -41,29 +100,29 @@
|
|
41
100
|
|
42
101
|
-- Thu, 14 Aug 2008 00:59:07 -0000 by deveiant (r24) -----
|
43
102
|
Changed: /trunk
|
44
|
-
lib/rdoc/generator/darkfish.rb
|
45
|
-
Rakefile
|
46
|
-
lib/darkfish-rdoc.rb
|
103
|
+
/trunk/lib/rdoc/generator/darkfish.rb
|
104
|
+
/trunk/Rakefile
|
105
|
+
/trunk/lib/darkfish-rdoc.rb
|
47
106
|
|
48
107
|
* Updated build system
|
49
108
|
|
50
109
|
|
51
110
|
-- Sat, 09 Aug 2008 01:14:22 -0000 by deveiant (r23) -----
|
52
|
-
Added: spec/rdoc/generator (new)
|
53
|
-
spec/rdoc/generator/darkfish_spec.rb (new)
|
54
|
-
spec/rdoc (new)
|
55
|
-
spec (new)
|
56
|
-
Changed: project.yml
|
57
|
-
lib/rdoc/generator/template/darkfish/rdoc.css
|
58
|
-
lib/rdoc/generator/darkfish.rb
|
59
|
-
Rakefile
|
60
|
-
ChangeLog
|
61
|
-
Deleted: lib/rdoc/generator/template/darkfish/images/bullet_go.png
|
62
|
-
lib/rdoc/generator/template/darkfish/images/lightbulb.png
|
63
|
-
lib/rdoc/generator/template/darkfish/images/page_white_ruby.png
|
64
|
-
lib/rdoc/generator/template/darkfish/images/tag_blue.png
|
65
|
-
lib/rdoc/generator/template/darkfish/images/tag_blue_edit.png
|
66
|
-
lib/rdoc/generator/template/darkfish/images/bullet_toggle_plus.png (and 12 other/s)
|
111
|
+
Added: /trunk/spec/rdoc/generator (new)
|
112
|
+
/trunk/spec/rdoc/generator/darkfish_spec.rb (new)
|
113
|
+
/trunk/spec/rdoc (new)
|
114
|
+
/trunk/spec (new)
|
115
|
+
Changed: /trunk/project.yml
|
116
|
+
/trunk/lib/rdoc/generator/template/darkfish/rdoc.css
|
117
|
+
/trunk/lib/rdoc/generator/darkfish.rb
|
118
|
+
/trunk/Rakefile
|
119
|
+
/trunk/ChangeLog
|
120
|
+
Deleted: /trunk/lib/rdoc/generator/template/darkfish/images/bullet_go.png
|
121
|
+
/trunk/lib/rdoc/generator/template/darkfish/images/lightbulb.png
|
122
|
+
/trunk/lib/rdoc/generator/template/darkfish/images/page_white_ruby.png
|
123
|
+
/trunk/lib/rdoc/generator/template/darkfish/images/tag_blue.png
|
124
|
+
/trunk/lib/rdoc/generator/template/darkfish/images/tag_blue_edit.png
|
125
|
+
/trunk/lib/rdoc/generator/template/darkfish/images/bullet_toggle_plus.png (and 12 other/s)
|
67
126
|
|
68
127
|
* Updated build system.
|
69
128
|
* Fixed distributions, which didn't have the static files included with them.
|
@@ -74,66 +133,66 @@
|
|
74
133
|
|
75
134
|
-- Fri, 08 Aug 2008 13:15:20 -0000 by deveiant (r22) -----
|
76
135
|
Changed: /trunk
|
77
|
-
Rakefile
|
78
|
-
project.yml
|
79
|
-
Deleted: misc/rake
|
136
|
+
/trunk/Rakefile
|
137
|
+
/trunk/project.yml
|
138
|
+
Deleted: /trunk/misc/rake
|
80
139
|
|
81
140
|
Checkpoint commit
|
82
141
|
|
83
142
|
|
84
143
|
-- Fri, 08 Aug 2008 02:47:22 -0000 by deveiant (r21) -----
|
85
|
-
Changed: README
|
86
|
-
lib/rdoc/generator/template/darkfish/classpage.rhtml
|
87
|
-
Rakefile
|
88
|
-
ChangeLog
|
89
|
-
lib/rdoc/generator/template/darkfish/js/darkfish.js
|
144
|
+
Changed: /trunk/README
|
145
|
+
/trunk/lib/rdoc/generator/template/darkfish/classpage.rhtml
|
146
|
+
/trunk/Rakefile
|
147
|
+
/trunk/ChangeLog
|
148
|
+
/trunk/lib/rdoc/generator/template/darkfish/js/darkfish.js
|
90
149
|
|
91
150
|
Checkpoint commit
|
92
151
|
|
93
152
|
|
94
153
|
-- Thu, 07 Aug 2008 06:56:40 -0000 by deveiant (r18) -----
|
95
|
-
Added: lib/rdoc/generator/darkfish.rb
|
154
|
+
Added: /trunk/lib/rdoc/generator/darkfish.rb
|
96
155
|
-> renamed from /trunk/lib/rdoc/generator/darkfish_generator.rb@r16
|
97
|
-
LICENSE (new)
|
98
|
-
project.yml (new)
|
99
|
-
ChangeLog (new)
|
100
|
-
Rakefile.local (new)
|
101
|
-
lib/rdoc/generator/template/darkfish/js/darkfish.js (new) (and 1 other/s)
|
156
|
+
/trunk/LICENSE (new)
|
157
|
+
/trunk/project.yml (new)
|
158
|
+
/trunk/ChangeLog (new)
|
159
|
+
/trunk/Rakefile.local (new)
|
160
|
+
/trunk/lib/rdoc/generator/template/darkfish/js/darkfish.js (new) (and 1 other/s)
|
102
161
|
Changed: /trunk
|
103
|
-
lib/rdoc/generator/template/darkfish/classpage.rhtml
|
104
|
-
Rakefile
|
105
|
-
lib/darkfish-rdoc.rb
|
106
|
-
Deleted: lib/rdoc/generator/darkfish_generator.rb
|
162
|
+
/trunk/lib/rdoc/generator/template/darkfish/classpage.rhtml
|
163
|
+
/trunk/Rakefile
|
164
|
+
/trunk/lib/darkfish-rdoc.rb
|
165
|
+
Deleted: /trunk/lib/rdoc/generator/darkfish_generator.rb
|
107
166
|
|
108
167
|
Integrated new Rake build system.
|
109
168
|
|
110
169
|
|
111
170
|
-- Tue, 29 Jul 2008 14:52:26 -0000 by deveiant (r17) -----
|
112
|
-
Changed: lib/darkfish-rdoc.rb
|
171
|
+
Changed: /trunk/lib/darkfish-rdoc.rb
|
113
172
|
|
114
173
|
Fixed bug in darkfish-rdoc: 'generators' -> 'generator'
|
115
174
|
|
116
175
|
|
117
176
|
-- Mon, 30 Jun 2008 19:06:36 -0000 by deveiant (r16) -----
|
118
|
-
Added: lib/rdoc/generator
|
177
|
+
Added: /trunk/lib/rdoc/generator
|
119
178
|
-> renamed from /trunk/lib/rdoc/generators@r14
|
120
|
-
Changed: Rakefile
|
121
|
-
lib/darkfish-rdoc.rb
|
122
|
-
Deleted: lib/rdoc/generators
|
179
|
+
Changed: /trunk/Rakefile
|
180
|
+
/trunk/lib/darkfish-rdoc.rb
|
181
|
+
Deleted: /trunk/lib/rdoc/generators
|
123
182
|
|
124
183
|
Beginning conversion to Rdoc 2.0. Broken for now; see tags/RDOC_1 for a working
|
125
184
|
RDoc 1.x version.
|
126
185
|
|
127
186
|
|
128
187
|
-- Wed, 21 May 2008 17:08:10 -0000 by deveiant (r14) -----
|
129
|
-
Added: darkfish_preview.png (new)
|
130
|
-
lib/darkfish-rdoc.rb (new)
|
131
|
-
Changed: README
|
188
|
+
Added: /trunk/darkfish_preview.png (new)
|
189
|
+
/trunk/lib/darkfish-rdoc.rb (new)
|
190
|
+
Changed: /trunk/README
|
132
191
|
/trunk
|
133
|
-
Rakefile
|
134
|
-
lib/rdoc/generators/template/darkfish/js/jquery.js
|
135
|
-
lib/rdoc/generators/template/darkfish/classpage.rhtml
|
136
|
-
lib/rdoc/generators/darkfish_generator.rb (and 2 other/s)
|
192
|
+
/trunk/Rakefile
|
193
|
+
/trunk/lib/rdoc/generators/template/darkfish/js/jquery.js
|
194
|
+
/trunk/lib/rdoc/generators/template/darkfish/classpage.rhtml
|
195
|
+
/trunk/lib/rdoc/generators/darkfish_generator.rb (and 2 other/s)
|
137
196
|
|
138
197
|
* Added a `require`-able library that injects the generator into RDoc's known
|
139
198
|
generator hash.
|
@@ -144,32 +203,32 @@
|
|
144
203
|
|
145
204
|
|
146
205
|
-- Sat, 03 May 2008 02:56:54 -0000 by deveiant (r13) -----
|
147
|
-
Changed: lib/rdoc/generators/darkfish_generator.rb
|
206
|
+
Changed: /trunk/lib/rdoc/generators/darkfish_generator.rb
|
148
207
|
|
149
208
|
Added some more output path debugging
|
150
209
|
|
151
210
|
|
152
211
|
-- Tue, 18 Mar 2008 15:52:57 -0000 by deveiant (r12) -----
|
153
|
-
Added: lib/rdoc/generators/template/darkfish/classpage.rhtml
|
212
|
+
Added: /trunk/lib/rdoc/generators/template/darkfish/classpage.rhtml
|
154
213
|
-> renamed from /trunk/lib/rdoc/generators/template/classpage.rhtml@r10
|
155
|
-
lib/rdoc/generators/template/darkfish/index.rhtml
|
214
|
+
/trunk/lib/rdoc/generators/template/darkfish/index.rhtml
|
156
215
|
-> renamed from /trunk/lib/rdoc/generators/template/index.rhtml@r10
|
157
|
-
lib/rdoc/generators/template/darkfish (new)
|
158
|
-
lib/rdoc/generators/template/darkfish/filepage.rhtml
|
216
|
+
/trunk/lib/rdoc/generators/template/darkfish (new)
|
217
|
+
/trunk/lib/rdoc/generators/template/darkfish/filepage.rhtml
|
159
218
|
-> renamed from /trunk/lib/rdoc/generators/template/filepage.rhtml@r10
|
160
|
-
lib/rdoc/generators/template/darkfish/images
|
219
|
+
/trunk/lib/rdoc/generators/template/darkfish/images
|
161
220
|
-> renamed from /trunk/lib/rdoc/generators/template/images@r10
|
162
|
-
lib/rdoc/generators/template/darkfish/js
|
221
|
+
/trunk/lib/rdoc/generators/template/darkfish/js
|
163
222
|
-> renamed from /trunk/lib/rdoc/generators/template/js@r10 (and 2 other/s)
|
164
|
-
Changed: lib/rdoc/generators/darkfish_generator.rb
|
165
|
-
Rakefile
|
166
|
-
misc/rake/svn.rb
|
167
|
-
Deleted: lib/rdoc/generators/template/js
|
168
|
-
lib/rdoc/generators/template/rdoc.css
|
169
|
-
lib/rdoc/generators/template/classpage.rhtml
|
170
|
-
lib/rdoc/generators/template/index.rhtml
|
171
|
-
lib/rdoc/generators/template/filepage.rhtml
|
172
|
-
lib/rdoc/generators/template/images (and 1 other/s)
|
223
|
+
Changed: /trunk/lib/rdoc/generators/darkfish_generator.rb
|
224
|
+
/trunk/Rakefile
|
225
|
+
/trunk/misc/rake/svn.rb
|
226
|
+
Deleted: /trunk/lib/rdoc/generators/template/js
|
227
|
+
/trunk/lib/rdoc/generators/template/rdoc.css
|
228
|
+
/trunk/lib/rdoc/generators/template/classpage.rhtml
|
229
|
+
/trunk/lib/rdoc/generators/template/index.rhtml
|
230
|
+
/trunk/lib/rdoc/generators/template/filepage.rhtml
|
231
|
+
/trunk/lib/rdoc/generators/template/images (and 1 other/s)
|
173
232
|
|
174
233
|
* Set up rdoc options to use itself for docs.
|
175
234
|
* Set up sensible package tasks
|
@@ -179,30 +238,30 @@
|
|
179
238
|
|
180
239
|
|
181
240
|
-- Mon, 18 Feb 2008 14:33:06 -0000 by deveiant (r11) -----
|
182
|
-
Changed: README
|
183
|
-
lib/rdoc/generators/template/rdoc.css
|
241
|
+
Changed: /trunk/README
|
242
|
+
/trunk/lib/rdoc/generators/template/rdoc.css
|
184
243
|
|
185
244
|
* Updated README
|
186
245
|
* Fixed up CSS for the index page.
|
187
246
|
|
188
247
|
|
189
248
|
-- Sat, 16 Feb 2008 08:11:47 -0000 by deveiant (r10) -----
|
190
|
-
Added: README (new)
|
191
|
-
lib/rdoc (new)
|
192
|
-
lib/rdoc/generators/template
|
249
|
+
Added: /trunk/README (new)
|
250
|
+
/trunk/lib/rdoc (new)
|
251
|
+
/trunk/lib/rdoc/generators/template
|
193
252
|
-> copied from /trunk/generators/template@r9
|
194
|
-
misc/prototype.html
|
253
|
+
/trunk/misc/prototype.html
|
195
254
|
-> renamed from /trunk/prototype.html@r8
|
196
|
-
lib (new)
|
197
|
-
lib/rdoc/generators
|
255
|
+
/trunk/lib (new)
|
256
|
+
/trunk/lib/rdoc/generators
|
198
257
|
-> renamed from /trunk/generators@r8 (and 3 other/s)
|
199
258
|
Changed: /trunk
|
200
|
-
Rakefile
|
201
|
-
misc/rake/svn.rb
|
202
|
-
Deleted: index-prototype.html
|
203
|
-
misc/rake/verifytask.rb
|
204
|
-
prototype.html
|
205
|
-
generators
|
259
|
+
/trunk/Rakefile
|
260
|
+
/trunk/misc/rake/svn.rb
|
261
|
+
Deleted: /trunk/index-prototype.html
|
262
|
+
/trunk/misc/rake/verifytask.rb
|
263
|
+
/trunk/prototype.html
|
264
|
+
/trunk/generators
|
206
265
|
|
207
266
|
* Added README
|
208
267
|
* Rakefile
|
@@ -213,66 +272,66 @@
|
|
213
272
|
|
214
273
|
|
215
274
|
-- Sat, 16 Feb 2008 06:19:51 -0000 by deveiant (r9) -----
|
216
|
-
Added: misc/rake (new)
|
217
|
-
misc/rake/helpers.rb (new)
|
218
|
-
Rakefile (new)
|
219
|
-
misc/rake/svn.rb (new)
|
220
|
-
misc/rake/verifytask.rb (new)
|
221
|
-
misc (new) (and 1 other/s)
|
222
|
-
Changed: generators/template/rdoc.css
|
223
|
-
generators/template/classpage.rhtml
|
224
|
-
generators/darkfish_generator.rb
|
275
|
+
Added: /trunk/misc/rake (new)
|
276
|
+
/trunk/misc/rake/helpers.rb (new)
|
277
|
+
/trunk/Rakefile (new)
|
278
|
+
/trunk/misc/rake/svn.rb (new)
|
279
|
+
/trunk/misc/rake/verifytask.rb (new)
|
280
|
+
/trunk/misc (new) (and 1 other/s)
|
281
|
+
Changed: /trunk/generators/template/rdoc.css
|
282
|
+
/trunk/generators/template/classpage.rhtml
|
283
|
+
/trunk/generators/darkfish_generator.rb
|
225
284
|
|
226
285
|
Reorganizing for release.
|
227
286
|
|
228
287
|
|
229
288
|
-- Thu, 03 Jan 2008 19:40:24 -0000 by deveiant (r8) -----
|
230
|
-
Changed: generators/template/index.rhtml
|
289
|
+
Changed: /trunk/generators/template/index.rhtml
|
231
290
|
|
232
291
|
Removed the description bit from the index page -- there's just no way to make it work gracefully.
|
233
292
|
|
234
293
|
|
235
294
|
-- Fri, 19 Oct 2007 01:04:31 -0000 by deveiant (r7) -----
|
236
|
-
Changed: generators/template/rdoc.css
|
237
|
-
generators/template/classpage.rhtml
|
295
|
+
Changed: /trunk/generators/template/rdoc.css
|
296
|
+
/trunk/generators/template/classpage.rhtml
|
238
297
|
|
239
298
|
Fixes for C source documentation, a few CSS tweaks
|
240
299
|
|
241
300
|
|
242
301
|
-- Thu, 18 Oct 2007 15:15:47 -0000 by deveiant (r6) -----
|
243
|
-
Added: generators/template/images/macFFBgHack.png (new)
|
244
|
-
Changed: generators/template/rdoc.css
|
302
|
+
Added: /trunk/generators/template/images/macFFBgHack.png (new)
|
303
|
+
Changed: /trunk/generators/template/rdoc.css
|
245
304
|
|
246
305
|
Fixed missing piece of ThickBox for FF on the Mac
|
247
306
|
|
248
307
|
|
249
308
|
-- Fri, 12 Oct 2007 00:20:02 -0000 by deveiant (r5) -----
|
250
|
-
Changed: generators/darkfish_generator.rb
|
309
|
+
Changed: /trunk/generators/darkfish_generator.rb
|
251
310
|
|
252
311
|
Add time constants for the time-detla calculations
|
253
312
|
|
254
313
|
|
255
314
|
-- Thu, 11 Oct 2007 21:05:25 -0000 by deveiant (r4) -----
|
256
|
-
Changed: generators/template/rdoc.css
|
257
|
-
generators/darkfish_generator.rb
|
315
|
+
Changed: /trunk/generators/template/rdoc.css
|
316
|
+
/trunk/generators/darkfish_generator.rb
|
258
317
|
|
259
318
|
* Updated definition lists in the description to not look like ass.
|
260
319
|
* Documentation touchups.
|
261
320
|
|
262
321
|
|
263
322
|
-- Wed, 10 Oct 2007 20:40:20 -0000 by deveiant (r3) -----
|
264
|
-
Changed: generators/darkfish_generator.rb
|
323
|
+
Changed: /trunk/generators/darkfish_generator.rb
|
265
324
|
|
266
325
|
Added a Generators::DARKFISHGenerators alias to work around Rdoc's assumption that all formats are acronyms.
|
267
326
|
|
268
327
|
|
269
328
|
-- Wed, 10 Oct 2007 19:33:33 -0000 by deveiant (r2) -----
|
270
|
-
Added: generators/template/images/wrench_orange.png (new)
|
271
|
-
generators/template/images/zoom.png (new)
|
272
|
-
generators/template/js (new)
|
273
|
-
generators/template/images/wrench.png (new)
|
274
|
-
generators/template/rdoc.css (new)
|
275
|
-
generators/template/images/tag_green.png (new) (and 40 other/s)
|
329
|
+
Added: /trunk/generators/template/images/wrench_orange.png (new)
|
330
|
+
/trunk/generators/template/images/zoom.png (new)
|
331
|
+
/trunk/generators/template/js (new)
|
332
|
+
/trunk/generators/template/images/wrench.png (new)
|
333
|
+
/trunk/generators/template/rdoc.css (new)
|
334
|
+
/trunk/generators/template/images/tag_green.png (new) (and 40 other/s)
|
276
335
|
|
277
336
|
Initial commit
|
278
337
|
|
data/Rakefile
CHANGED
@@ -34,12 +34,14 @@ $dryrun = false
|
|
34
34
|
|
35
35
|
### Config constants
|
36
36
|
BASEDIR = Pathname.new( __FILE__ ).dirname.relative_path_from( Pathname.getwd )
|
37
|
+
BINDIR = BASEDIR + 'bin'
|
37
38
|
LIBDIR = BASEDIR + 'lib'
|
38
39
|
EXTDIR = BASEDIR + 'ext'
|
39
40
|
DOCSDIR = BASEDIR + 'docs'
|
40
41
|
PKGDIR = BASEDIR + 'pkg'
|
41
42
|
|
42
|
-
|
43
|
+
PROJECT_NAME = 'Darkfish-Rdoc'
|
44
|
+
PKG_NAME = PROJECT_NAME.downcase
|
43
45
|
PKG_SUMMARY = 'A pretty (different) Rdoc HTML generator'
|
44
46
|
VERSION_FILE = LIBDIR + 'rdoc/generator/darkfish.rb'
|
45
47
|
PKG_VERSION = VERSION_FILE.read[ /VERSION = '(\d+\.\d+\.\d+)'/, 1 ]
|
@@ -49,11 +51,14 @@ GEM_FILE_NAME = "#{PKG_FILE_NAME}.gem"
|
|
49
51
|
ARTIFACTS_DIR = Pathname.new( ENV['CC_BUILD_ARTIFACTS'] || 'artifacts' )
|
50
52
|
|
51
53
|
TEXT_FILES = %w( Rakefile ChangeLog README LICENSE ).collect {|filename| BASEDIR + filename }
|
54
|
+
BIN_FILES = Pathname.glob( BINDIR + '*' ).delete_if {|item| item =~ /\.svn/ }
|
52
55
|
LIB_FILES = Pathname.glob( LIBDIR + '**/*.rb' ).delete_if {|item| item =~ /\.svn/ }
|
53
56
|
EXT_FILES = Pathname.glob( EXTDIR + '**/*.{c,h,rb}' ).delete_if {|item| item =~ /\.svn/ }
|
54
57
|
|
55
58
|
SPECDIR = BASEDIR + 'spec'
|
56
|
-
|
59
|
+
SPECLIBDIR = SPECDIR + 'lib'
|
60
|
+
SPEC_FILES = Pathname.glob( SPECDIR + '**/*_spec.rb' ).delete_if {|item| item =~ /\.svn/ } +
|
61
|
+
Pathname.glob( SPECLIBDIR + '**/*.rb' ).delete_if {|item| item =~ /\.svn/ }
|
57
62
|
|
58
63
|
TESTDIR = BASEDIR + 'tests'
|
59
64
|
TEST_FILES = Pathname.glob( TESTDIR + '**/*.tests.rb' ).delete_if {|item| item =~ /\.svn/ }
|
@@ -69,6 +74,7 @@ EXTRA_PKGFILES.concat Pathname.glob( BASEDIR + 'lib/rdoc/generator/**/*.{css,rht
|
|
69
74
|
RELEASE_FILES = TEXT_FILES +
|
70
75
|
SPEC_FILES +
|
71
76
|
TEST_FILES +
|
77
|
+
BIN_FILES +
|
72
78
|
LIB_FILES +
|
73
79
|
EXT_FILES +
|
74
80
|
RAKE_TASKLIBS +
|
@@ -108,6 +114,7 @@ SNAPSHOT_PKG_NAME = "#{PKG_FILE_NAME}.#{PKG_BUILD}"
|
|
108
114
|
SNAPSHOT_GEM_NAME = "#{SNAPSHOT_PKG_NAME}.gem"
|
109
115
|
|
110
116
|
# Documentation constants
|
117
|
+
RDOCDIR = DOCSDIR + 'api'
|
111
118
|
RDOC_OPTIONS = [
|
112
119
|
'-w', '4',
|
113
120
|
'-SHN',
|
@@ -136,6 +143,22 @@ DEPENDENCIES = {
|
|
136
143
|
'rdoc' => '>= 2.1.0',
|
137
144
|
}
|
138
145
|
|
146
|
+
# Developer Gem dependencies: gemname => version
|
147
|
+
DEVELOPMENT_DEPENDENCIES = {
|
148
|
+
'amatch' => '>= 0.2.3',
|
149
|
+
'rake' => '>= 0.8.1',
|
150
|
+
'rcodetools' => '>= 0.7.0.0',
|
151
|
+
'rcov' => '>= 0',
|
152
|
+
'RedCloth' => '>= 4.0.3',
|
153
|
+
'rspec' => '>= 0',
|
154
|
+
'rubyforge' => '>= 0',
|
155
|
+
'termios' => '>= 0',
|
156
|
+
'text-format' => '>= 1.0.0',
|
157
|
+
'tmail' => '>= 1.2.3.1',
|
158
|
+
'ultraviolet' => '>= 0.10.2',
|
159
|
+
'libxml-ruby' => '>= 0.8.3',
|
160
|
+
}
|
161
|
+
|
139
162
|
# Non-gem requirements: packagename => version
|
140
163
|
REQUIREMENTS = {
|
141
164
|
}
|
@@ -159,6 +182,9 @@ GEMSPEC = Gem::Specification.new do |gem|
|
|
159
182
|
gem.has_rdoc = true
|
160
183
|
gem.rdoc_options = RDOC_OPTIONS
|
161
184
|
|
185
|
+
gem.bindir = BINDIR.relative_path_from(BASEDIR).to_s
|
186
|
+
|
187
|
+
|
162
188
|
gem.files = RELEASE_FILES.
|
163
189
|
collect {|f| f.relative_path_from(BASEDIR).to_s }
|
164
190
|
gem.test_files = SPEC_FILES.
|
@@ -166,7 +192,15 @@ GEMSPEC = Gem::Specification.new do |gem|
|
|
166
192
|
|
167
193
|
DEPENDENCIES.each do |name, version|
|
168
194
|
version = '>= 0' if version.length.zero?
|
169
|
-
gem.
|
195
|
+
gem.add_runtime_dependency( name, version )
|
196
|
+
end
|
197
|
+
|
198
|
+
# Developmental dependencies don't work as of RubyGems 1.2.0
|
199
|
+
unless Gem::Version.new( Gem::RubyGemsVersion ) <= Gem::Version.new( "1.2.0" )
|
200
|
+
DEVELOPMENT_DEPENDENCIES.each do |name, version|
|
201
|
+
version = '>= 0' if version.length.zero?
|
202
|
+
gem.add_development_dependency( name, version )
|
203
|
+
end
|
170
204
|
end
|
171
205
|
|
172
206
|
REQUIREMENTS.each do |name, version|
|
@@ -174,6 +208,9 @@ GEMSPEC = Gem::Specification.new do |gem|
|
|
174
208
|
end
|
175
209
|
end
|
176
210
|
|
211
|
+
# Manual-generation config
|
212
|
+
MANUALDIR = DOCSDIR + 'manual'
|
213
|
+
|
177
214
|
$trace = Rake.application.options.trace ? true : false
|
178
215
|
$dryrun = Rake.application.options.dryrun ? true : false
|
179
216
|
|