bluecloth 2.0.0 → 2.0.1

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 CHANGED
@@ -1,6 +1,91 @@
1
+ -- Wed, 29 Apr 2009 13:12:34 -0000 by deveiant (r115) -----
2
+ Changed: ext/markdown.c
3
+ ext/VERSION
4
+ ChangeLog
5
+ lib/bluecloth.rb
6
+ Deleted: .gemspec
7
+
8
+ * Bumped version to 2.0.1
9
+ * Updated to Discount 1.3.6.
10
+ * Removed old .gemspec
11
+
12
+
13
+ -- Tue, 07 Apr 2009 20:27:23 -0000 by deveiant (r113) -----
14
+ Added: /releases/2.0.0
15
+ -> renamed from /trunk@r112
16
+
17
+ Branching for release 2.0.0
18
+
19
+
20
+ -- Wed, 25 Mar 2009 14:42:18 -0000 by deveiant (r111) -----
21
+ Added: /trunk/LICENSE
22
+ -> copied from /trunk/LICENSE@r101
23
+ Changed: /trunk/README
24
+ /trunk/ext
25
+ /trunk/Rakefile
26
+ /trunk/ChangeLog
27
+
28
+ Merged build system update and README changes from the [log:branches/spec-and-19-fixes@109:110 spec-and-19-fixes branch].
29
+
30
+
31
+ -- Fri, 13 Mar 2009 23:26:24 -0000 by deveiant (r108) -----
32
+ Changed: /trunk/ext
33
+ /trunk/Rakefile
34
+ /trunk/ChangeLog
35
+
36
+ * Updated build system
37
+ * Fixed the description of the markdowntest spec.
38
+
39
+
40
+ -- Fri, 13 Mar 2009 22:56:29 -0000 by deveiant (r107) -----
41
+ Added: /trunk/spec/data/markdowntest/Code Blocks.text
42
+ -> renamed from /branches/spec-and-19-fixes/spec/data/markdowntest/Code Blocks.text@r106
43
+ /trunk/spec/data/markdowntest/Code Spans.text
44
+ -> renamed from /branches/spec-and-19-fixes/spec/data/markdowntest/Code Spans.text@r106
45
+ /trunk/spec/data/markdowntest/Code Blocks.html
46
+ -> renamed from /branches/spec-and-19-fixes/spec/data/markdowntest/Code Blocks.html@r106
47
+ /trunk/spec/data/markdowntest/Links, shortcut references.text
48
+ -> renamed from /branches/spec-and-19-fixes/spec/data/markdowntest/Links, shortcut references.text@r106
49
+ /trunk/spec/data/markdowntest/Code Spans.html
50
+ -> renamed from /branches/spec-and-19-fixes/spec/data/markdowntest/Code Spans.html@r106
51
+ /trunk/spec/bluecloth
52
+ -> renamed from /branches/spec-and-19-fixes/spec/bluecloth@r106 (and 3 other/s)
53
+ Changed: /trunk/experiments/benchmark.rb
54
+ /trunk/spec/data/markdowntest/Ordered and unordered lists.text
55
+ /trunk/spec/data/markdowntest/Backslash escapes.text
56
+ /trunk/spec/lib/matchers.rb
57
+ /trunk/spec/data/markdowntest/Markdown Documentation - Syntax.text
58
+ /trunk/Rakefile.local (and 22 other/s)
59
+
60
+ Merged spec updates, new version of Discount, updated MarkdownTest and Ruby 1.9.1 fixes from [log:branches/spec-and-19-fixes@102:106 the spec-and-19-fixes branch].
61
+
62
+
63
+ -- Mon, 23 Feb 2009 14:16:32 -0000 by deveiant (r101) -----
64
+ Changed: /trunk/ChangeLog
65
+ /trunk/spec/bluecloth_spec.rb
66
+ /trunk/spec/lib/matchers.rb
67
+
68
+ * Trying to fix whitespace differences in generated output.
69
+
70
+
71
+ -- Mon, 23 Feb 2009 06:58:24 -0000 by deveiant (r100) -----
72
+ Changed: /trunk/Rakefile
73
+ /trunk/spec/lib/helpers.rb
74
+ /trunk/project.yml
75
+ /trunk/spec/markdowntest_spec.rb
76
+
77
+ Started work on fixes for 1.9.1.
78
+
79
+
80
+ -- Wed, 07 Jan 2009 21:43:14 -0000 by deveiant (r99) -----
81
+ Changed: /trunk/ext/VERSION
82
+
83
+ Fixed the VERSION
84
+
85
+
1
86
  -- Fri, 02 Jan 2009 23:46:50 -0000 by deveiant (r98) -----
2
- Added: experiments/old-bluecloth.rb (new)
3
- Changed: experiments/benchmark.rb
87
+ Added: /trunk/experiments/old-bluecloth.rb (new)
88
+ Changed: /trunk/experiments/benchmark.rb
4
89
  /trunk
5
90
 
6
91
  Made the benchmark run with no additional prep (other than installing the requisite alternative implementations).
@@ -8,11 +93,11 @@
8
93
 
9
94
  -- Fri, 02 Jan 2009 17:56:30 -0000 by deveiant (r97) -----
10
95
  Changed: /trunk
11
- Rakefile
12
- ChangeLog
13
- docs
14
- ext/extconf.rb
15
- bin/bluecloth (and 1 other/s)
96
+ /trunk/Rakefile
97
+ /trunk/ChangeLog
98
+ /trunk/docs
99
+ /trunk/ext/extconf.rb
100
+ /trunk/bin/bluecloth (and 1 other/s)
16
101
 
17
102
  * Updated build system
18
103
  * Added some stuff for building under Windows. Thanks to Daniel J. Berger for the help.
@@ -20,62 +105,62 @@
20
105
 
21
106
 
22
107
  -- Tue, 30 Dec 2008 08:16:47 -0000 by deveiant (r96) -----
23
- Changed: ChangeLog
24
- ext/generate.c
108
+ Changed: /trunk/ChangeLog
109
+ /trunk/ext/generate.c
25
110
 
26
111
  Updated to Discount 1.3.1.
27
112
 
28
113
 
29
114
  -- Sun, 28 Dec 2008 06:19:13 -0000 by deveiant (r95) -----
30
- Changed: experiments/benchmark.rb
31
- ext/bluecloth.c
115
+ Changed: /trunk/experiments/benchmark.rb
116
+ /trunk/ext/bluecloth.c
32
117
 
33
118
  * Removed some chatty memory-allocation debugging.
34
119
  * Added an explanatory comment in the benchmark script.
35
120
 
36
121
 
37
122
  -- Sun, 28 Dec 2008 03:04:23 -0000 by deveiant (r94) -----
38
- Added: experiments/benchmark.rb (new)
39
- experiments/benchmark.txt (new)
123
+ Added: /trunk/experiments/benchmark.rb (new)
124
+ /trunk/experiments/benchmark.txt (new)
40
125
  Changed: /trunk
41
- Rakefile
42
- project.yml
43
- ChangeLog
126
+ /trunk/Rakefile
127
+ /trunk/project.yml
128
+ /trunk/ChangeLog
44
129
 
45
130
  * Include the ext/VERSION file in the gem, as it's required for building.
46
131
  * Added a benchmark script
47
132
 
48
133
 
49
134
  -- Sat, 27 Dec 2008 02:28:32 -0000 by deveiant (r93) -----
50
- Changed: ext/bluecloth.c
51
- spec/bluecloth_spec.rb
135
+ Changed: /trunk/ext/bluecloth.c
136
+ /trunk/spec/bluecloth_spec.rb
52
137
 
53
138
  Added support for Discount Markdown extensions and Pandoc header.
54
139
 
55
140
 
56
141
  -- Thu, 25 Dec 2008 09:53:24 -0000 by deveiant (r92) -----
57
- Changed: spec/markdowntest_spec.rb
142
+ Changed: /trunk/spec/markdowntest_spec.rb
58
143
 
59
144
  Handle the 'tidy' library not being installed.
60
145
 
61
146
 
62
147
  -- Thu, 25 Dec 2008 09:41:29 -0000 by deveiant (r91) -----
63
- Changed: spec/markdowntest_spec.rb
148
+ Changed: /trunk/spec/markdowntest_spec.rb
64
149
 
65
150
  Forgot to change the libtidy name hack to the spec itself.
66
151
 
67
152
 
68
153
  -- Thu, 25 Dec 2008 09:37:04 -0000 by deveiant (r90) -----
69
- Added: ChangeLog (new)
70
- LICENSE.discount (new)
71
- Changed: README
72
- .irbrc
73
- LICENSE
74
- ext/bluecloth.c
75
- spec/bluecloth_spec.rb
76
- ext/extconf.rb (and 5 other/s)
77
- Deleted: utils.rb
78
- CHANGES
154
+ Added: /trunk/ChangeLog (new)
155
+ /trunk/LICENSE.discount (new)
156
+ Changed: /trunk/README
157
+ /trunk/.irbrc
158
+ /trunk/LICENSE
159
+ /trunk/ext/bluecloth.c
160
+ /trunk/spec/bluecloth_spec.rb
161
+ /trunk/ext/extconf.rb (and 5 other/s)
162
+ Deleted: /trunk/utils.rb
163
+ /trunk/CHANGES
79
164
 
80
165
  * Cleaned up a bunch of stuff from the first version.
81
166
  * Initial whack at README/RDoc updates
@@ -90,134 +175,134 @@
90
175
 
91
176
 
92
177
  -- Thu, 25 Dec 2008 03:29:19 -0000 by deveiant (r89) -----
93
- Added: ext/docheader.c (new)
94
- ext/resource.c (new)
95
- Rakefile.local (new)
96
- ext/mkdio.c (new)
97
- ext/mkdio.h (new)
98
- ext/amalloc.h (new) (and 11 other/s)
99
- Changed: README
100
- project.yml
101
- spec/lib/matchers.rb
102
- experiments/re-overflow.rb
103
- .irbrc
104
- Rakefile (and 13 other/s)
178
+ Added: /trunk/ext/docheader.c (new)
179
+ /trunk/ext/resource.c (new)
180
+ /trunk/Rakefile.local (new)
181
+ /trunk/ext/mkdio.c (new)
182
+ /trunk/ext/mkdio.h (new)
183
+ /trunk/ext/amalloc.h (new) (and 11 other/s)
184
+ Changed: /trunk/README
185
+ /trunk/project.yml
186
+ /trunk/spec/lib/matchers.rb
187
+ /trunk/experiments/re-overflow.rb
188
+ /trunk/.irbrc
189
+ /trunk/Rakefile (and 13 other/s)
105
190
 
106
191
  First working commit of Discount-backed BlueCloth 2.0.
107
192
 
108
193
 
109
194
  -- Mon, 01 Sep 2008 22:24:13 -0000 by deveiant (r87) -----
110
- Added: LICENSE (new)
111
- spec/lib/helpers.rb (new)
112
- Changed: README
113
- Rakefile
114
- spec/bluecloth_spec.rb
115
- spec/contributions_spec.rb
116
- spec/lib/matchers.rb
117
- spec/markdowntest_spec.rb (and 3 other/s)
118
- Deleted: tests
195
+ Added: /trunk/LICENSE (new)
196
+ /trunk/spec/lib/helpers.rb (new)
197
+ Changed: /trunk/README
198
+ /trunk/Rakefile
199
+ /trunk/spec/bluecloth_spec.rb
200
+ /trunk/spec/contributions_spec.rb
201
+ /trunk/spec/lib/matchers.rb
202
+ /trunk/spec/markdowntest_spec.rb (and 3 other/s)
203
+ Deleted: /trunk/tests
119
204
 
120
205
  * Checkpoint commit of MarkdownTest integration
121
206
 
122
207
 
123
208
  -- Wed, 20 Aug 2008 21:46:31 -0000 by deveiant (r86) -----
124
- Added: project.yml (new)
125
- spec/data/markdowntest/Markdown Documentation - Syntax.text (new)
126
- spec/data/re-overflow2.txt (new)
127
- spec/lib/constants.rb (new)
128
- spec/data/markdowntest/Auto links.text (new)
129
- spec/data/markdowntest/Inline HTML comments.text (new) (and 52 other/s)
209
+ Added: /trunk/project.yml (new)
210
+ /trunk/spec/data/markdowntest/Markdown Documentation - Syntax.text (new)
211
+ /trunk/spec/data/re-overflow2.txt (new)
212
+ /trunk/spec/lib/constants.rb (new)
213
+ /trunk/spec/data/markdowntest/Auto links.text (new)
214
+ /trunk/spec/data/markdowntest/Inline HTML comments.text (new) (and 52 other/s)
130
215
  Changed: /trunk
131
- tests/contrib.tests.rb
132
- web/index.html
133
- lib/bluecloth.rb
134
- bin/bluecloth
135
- Deleted: LICENSE.txt
136
- MANIFEST
137
- install.rb
138
- LICENSE
139
- docs/CATALOG
140
- makedist.rb (and 3 other/s)
216
+ /trunk/tests/contrib.tests.rb
217
+ /trunk/web/index.html
218
+ /trunk/lib/bluecloth.rb
219
+ /trunk/bin/bluecloth
220
+ Deleted: /trunk/LICENSE.txt
221
+ /trunk/MANIFEST
222
+ /trunk/install.rb
223
+ /trunk/LICENSE
224
+ /trunk/docs/CATALOG
225
+ /trunk/makedist.rb (and 3 other/s)
141
226
 
142
227
  Adding MarkdownTest tests, new build system. [broken build]
143
228
 
144
229
 
145
230
  -- Thu, 12 May 2005 21:31:59 -0000 by ged (r76) -----
146
- Added: tests/bug.tests.rb
231
+ Added: /trunk/tests/bug.tests.rb
147
232
  -> renamed from /trunk/tests/10_Bug.tests.rb@r74
148
- tests/contrib.tests.rb
233
+ /trunk/tests/contrib.tests.rb
149
234
  -> renamed from /trunk/tests/15_Contrib.tests.rb@r74
150
- tests/markdown.tests.rb
235
+ /trunk/tests/markdown.tests.rb
151
236
  -> renamed from /trunk/tests/05_Markdown.tests.rb@r74
152
- tests/class.tests.rb
237
+ /trunk/tests/class.tests.rb
153
238
  -> renamed from /trunk/tests/00_Class.tests.rb@r74
154
- Deleted: tests/10_Bug.tests.rb
155
- tests/00_Class.tests.rb
156
- tests/15_Contrib.tests.rb
157
- tests/05_Markdown.tests.rb
239
+ Deleted: /trunk/tests/10_Bug.tests.rb
240
+ /trunk/tests/00_Class.tests.rb
241
+ /trunk/tests/15_Contrib.tests.rb
242
+ /trunk/tests/05_Markdown.tests.rb
158
243
 
159
244
  - Renamed tests without goofy numbers.
160
245
 
161
246
 
162
247
  -- Thu, 12 May 2005 20:31:10 -0000 by ged (r75) -----
163
- Added: LICENSE.txt (new)
164
- Changed: README
248
+ Added: /trunk/LICENSE.txt (new)
249
+ Changed: /trunk/README
165
250
 
166
251
  - Updated license to BSD/Ruby's; included LICENSE.txt from Ruby dist.
167
252
 
168
253
 
169
254
  -- Thu, 12 May 2005 19:48:27 -0000 by ged (r74) -----
170
- Changed: tests/05_Markdown.tests.rb
255
+ Changed: /trunk/tests/05_Markdown.tests.rb
171
256
 
172
257
  - Added tests to make sure I dont break lists trying to fix #15
173
258
  - Added tests for Markdown 1.0.1 syntax (#18).
174
259
 
175
260
 
176
261
  -- Thu, 12 May 2005 19:26:33 -0000 by ged (r73) -----
177
- Changed: tests/10_Bug.tests.rb
262
+ Changed: /trunk/tests/10_Bug.tests.rb
178
263
 
179
264
  - Added new tests for bug #17 (two-character bold/italic bug)
180
265
  - Added new test for bug #12 (Ruby with warnings enabled causes ArgumentError)
181
266
 
182
267
 
183
268
  -- Tue, 31 Aug 2004 05:19:45 -0000 by ged (r72) -----
184
- Changed: MANIFEST
185
- CHANGES
269
+ Changed: /trunk/MANIFEST
270
+ /trunk/CHANGES
186
271
 
187
272
  - Updated for 1.0.0fc3 release.
188
273
 
189
274
 
190
275
  -- Wed, 25 Aug 2004 05:27:15 -0000 by ged (r69) -----
191
- Changed: lib/bluecloth.rb
192
- tests/05_Markdown.tests.rb
276
+ Changed: /trunk/lib/bluecloth.rb
277
+ /trunk/tests/05_Markdown.tests.rb
193
278
 
194
279
  - Fixed bug introduced by the last bugfix, fixed tests that missed the new bug.
195
280
 
196
281
 
197
282
  -- Wed, 25 Aug 2004 05:14:37 -0000 by ged (r68) -----
198
- Added: experiments/re-overflow2.rb (new)
199
- tests/data/re-overflow2.txt (new)
200
- Changed: tests/10_Bug.tests.rb
201
- lib/bluecloth.rb
283
+ Added: /trunk/experiments/re-overflow2.rb (new)
284
+ /trunk/tests/data/re-overflow2.txt (new)
285
+ Changed: /trunk/tests/10_Bug.tests.rb
286
+ /trunk/lib/bluecloth.rb
202
287
 
203
288
  - Tracked down and fixed another regexp engine overflow bug; added a new test,
204
289
  datafile, and minimal testcase that illustrates it.
205
290
 
206
291
 
207
292
  -- Tue, 24 Aug 2004 14:57:17 -0000 by ged (r66) -----
208
- Changed: .gemspec
293
+ Changed: /trunk/.gemspec
209
294
 
210
295
  - Updated to v1.0.0.
211
296
 
212
297
 
213
298
  -- Tue, 24 Aug 2004 14:56:47 -0000 by ged (r65) -----
214
- Changed: README
299
+ Changed: /trunk/README
215
300
 
216
301
  - Updated to v1.0.0.
217
302
 
218
303
 
219
304
  -- Tue, 24 Aug 2004 14:53:32 -0000 by ged (r64) -----
220
- Changed: CHANGES
305
+ Changed: /trunk/CHANGES
221
306
 
222
307
  - Updated to 20040824.
223
308
 
@@ -229,8 +314,8 @@
229
314
 
230
315
 
231
316
  -- Tue, 24 Aug 2004 14:48:44 -0000 by ged (r62) -----
232
- Changed: lib/bluecloth.rb
233
- tests/05_Markdown.tests.rb
317
+ Changed: /trunk/lib/bluecloth.rb
318
+ /trunk/tests/05_Markdown.tests.rb
234
319
 
235
320
  - Brought list of block-level tags up to date with Markdown 1.0's list
236
321
  - Propagated fix for overflow to the other two block-match patterns.
@@ -241,8 +326,8 @@
241
326
 
242
327
 
243
328
  -- Sun, 22 Aug 2004 19:28:23 -0000 by ged (r61) -----
244
- Changed: lib/bluecloth.rb
245
- tests/05_Markdown.tests.rb
329
+ Changed: /trunk/lib/bluecloth.rb
330
+ /trunk/tests/05_Markdown.tests.rb
246
331
 
247
332
  - Fixed re-engine overflow for all tested cases (thanks to Martin Chase
248
333
  <stillflame@FaerieMUD.org> for the fix).
@@ -251,93 +336,93 @@
251
336
 
252
337
 
253
338
  -- Sun, 22 Aug 2004 19:26:25 -0000 by ged (r60) -----
254
- Changed: tests/10_Bug.tests.rb
339
+ Changed: /trunk/tests/10_Bug.tests.rb
255
340
 
256
341
  - Removed skip of overflow test.
257
342
 
258
343
 
259
344
  -- Sun, 22 Aug 2004 19:24:35 -0000 by ged (r59) -----
260
- Changed: experiments/re-overflow.rb
345
+ Changed: /trunk/experiments/re-overflow.rb
261
346
 
262
347
  - "Fixed" the test case so it overflows again.
263
348
 
264
349
 
265
350
  -- Mon, 09 Aug 2004 05:12:02 -0000 by deveiant (r58) -----
266
- Changed: CHANGES
351
+ Changed: /trunk/CHANGES
267
352
 
268
353
  - Updated to 20040808.
269
354
 
270
355
 
271
356
  -- Mon, 09 Aug 2004 01:16:14 -0000 by deveiant (r57) -----
272
- Changed: tests/bctestcase.rb
357
+ Changed: /trunk/tests/bctestcase.rb
273
358
 
274
359
  - Modified to work from wherever the test is run (RPA compat).
275
360
 
276
361
 
277
362
  -- Mon, 09 Aug 2004 01:15:57 -0000 by deveiant (r56) -----
278
- Changed: test.rb
363
+ Changed: /trunk/test.rb
279
364
 
280
365
  - Modified to work from wherever the test is run (RPA compat).
281
366
 
282
367
 
283
368
  -- Mon, 09 Aug 2004 01:15:27 -0000 by deveiant (r55) -----
284
- Changed: .gemspec
369
+ Changed: /trunk/.gemspec
285
370
 
286
371
  - Updated version attribute.
287
372
 
288
373
 
289
374
  -- Mon, 09 Aug 2004 01:14:58 -0000 by deveiant (r54) -----
290
- Changed: lib/bluecloth.rb
291
- tests/05_Markdown.tests.rb
375
+ Changed: /trunk/lib/bluecloth.rb
376
+ /trunk/tests/05_Markdown.tests.rb
292
377
 
293
378
  - Brought markdown syntax up to date with Markdown 1.0fc1.
294
379
 
295
380
 
296
381
  -- Mon, 09 Aug 2004 01:13:16 -0000 by deveiant (r53) -----
297
- Changed: tests/TEMPLATE.rb.tpl
298
- tests/10_Bug.tests.rb
299
- tests/00_Class.tests.rb
300
- tests/15_Contrib.tests.rb
382
+ Changed: /trunk/tests/TEMPLATE.rb.tpl
383
+ /trunk/tests/10_Bug.tests.rb
384
+ /trunk/tests/00_Class.tests.rb
385
+ /trunk/tests/15_Contrib.tests.rb
301
386
 
302
387
  - Made the require-header work wherever the test is run from (RPA compat).
303
388
 
304
389
 
305
390
  -- Mon, 21 Jun 2004 15:20:59 -0000 by deveiant (r51) -----
306
- Added: docs/makedocs.rb (new)
307
- docs/CATALOG (new)
308
- CHANGES (new)
309
- docs (new)
310
- experiments/re-overflow.rb (new)
311
- Changed: README
391
+ Added: /trunk/docs/makedocs.rb (new)
392
+ /trunk/docs/CATALOG (new)
393
+ /trunk/CHANGES (new)
394
+ /trunk/docs (new)
395
+ /trunk/experiments/re-overflow.rb (new)
396
+ Changed: /trunk/README
312
397
  /trunk
313
- tests/10_Bug.tests.rb
314
- lib/bluecloth.rb
315
- tests/05_Markdown.tests.rb
398
+ /trunk/tests/10_Bug.tests.rb
399
+ /trunk/lib/bluecloth.rb
400
+ /trunk/tests/05_Markdown.tests.rb
316
401
 
317
402
  - Brought up to date with Markdown 1.0b7.
318
403
  - Ignore list properties on the base and docs directories updated.
319
404
 
320
405
 
321
406
  -- Wed, 02 Jun 2004 13:37:15 -0000 by deveiant (r50) -----
322
- Changed: bin/bluecloth
407
+ Changed: /trunk/bin/bluecloth
323
408
 
324
409
  - Commented out non-functional --output option for now.
325
410
 
326
411
 
327
412
  -- Wed, 02 Jun 2004 03:30:18 -0000 by deveiant (r49) -----
328
- Added: tests/data/re-overflow.txt (new)
413
+ Added: /trunk/tests/data/re-overflow.txt (new)
329
414
 
330
415
  Initial checkin.
331
416
 
332
417
 
333
418
  -- Wed, 02 Jun 2004 03:29:31 -0000 by deveiant (r48) -----
334
- Changed: tests/10_Bug.tests.rb
419
+ Changed: /trunk/tests/10_Bug.tests.rb
335
420
 
336
421
  - Added test for bug #574.
337
422
 
338
423
 
339
424
  -- Wed, 02 Jun 2004 03:21:04 -0000 by deveiant (r47) -----
340
- Changed: tests/05_Markdown.tests.rb
425
+ Changed: /trunk/tests/05_Markdown.tests.rb
341
426
 
342
427
  - Test for bug #620 - Unresolved reference-style links doubled the character
343
428
  immediately after them.
@@ -347,14 +432,14 @@
347
432
 
348
433
 
349
434
  -- Wed, 02 Jun 2004 03:19:41 -0000 by deveiant (r46) -----
350
- Changed: lib/bluecloth.rb
435
+ Changed: /trunk/lib/bluecloth.rb
351
436
 
352
437
  - Fix for bug #620 - Unresolved reference-style links doubled the character
353
438
  immediately after them.
354
439
 
355
440
 
356
441
  -- Fri, 14 May 2004 02:43:17 -0000 by deveiant (r45) -----
357
- Changed: tests/05_Markdown.tests.rb
442
+ Changed: /trunk/tests/05_Markdown.tests.rb
358
443
 
359
444
  - Added tests for bug #568 (Two sets of bold text on one line doesn't render
360
445
  properly). Tests confirmed that two sets of bold text did work, but single
@@ -362,39 +447,39 @@
362
447
 
363
448
 
364
449
  -- Fri, 14 May 2004 02:41:52 -0000 by deveiant (r44) -----
365
- Changed: lib/bluecloth.rb
450
+ Changed: /trunk/lib/bluecloth.rb
366
451
 
367
452
  - Fixed bug with bolding of single characters (bug #568).
368
453
 
369
454
 
370
455
  -- Tue, 04 May 2004 14:35:11 -0000 by deveiant (r43) -----
371
- Changed: lib/bluecloth.rb
372
- tests/05_Markdown.tests.rb
456
+ Changed: /trunk/lib/bluecloth.rb
457
+ /trunk/tests/05_Markdown.tests.rb
373
458
 
374
459
  - Additional fixes and tests for bug #537.
375
460
 
376
461
 
377
462
  -- Fri, 30 Apr 2004 03:40:38 -0000 by deveiant (r41) -----
378
- Changed: MANIFEST
463
+ Changed: /trunk/MANIFEST
379
464
 
380
465
  - Added bin/ directory.
381
466
 
382
467
 
383
468
  -- Fri, 30 Apr 2004 03:40:04 -0000 by deveiant (r40) -----
384
- Changed: README
469
+ Changed: /trunk/README
385
470
 
386
471
  - Set date.
387
472
 
388
473
 
389
474
  -- Fri, 30 Apr 2004 03:39:24 -0000 by deveiant (r39) -----
390
- Changed: tests/15_Contrib.tests.rb
475
+ Changed: /trunk/tests/15_Contrib.tests.rb
391
476
 
392
477
  - Added test for Bug #543 (Safe mode does not work when there are no left
393
478
  angle-brackets in the source).
394
479
 
395
480
 
396
481
  -- Fri, 30 Apr 2004 03:38:42 -0000 by deveiant (r38) -----
397
- Changed: tests/05_Markdown.tests.rb
482
+ Changed: /trunk/tests/05_Markdown.tests.rb
398
483
 
399
484
  - Added test for email address encoding (Bug #537).
400
485
  - Added test for bug #541 (Leading line of codeblock with more than one tab
@@ -402,70 +487,70 @@
402
487
 
403
488
 
404
489
  -- Fri, 30 Apr 2004 03:35:26 -0000 by deveiant (r37) -----
405
- Changed: lib/bluecloth.rb
490
+ Changed: /trunk/lib/bluecloth.rb
406
491
 
407
492
  - Fix for bug #543 (Safe mode does not work when there are no left
408
493
  angle-brackets in the source).
409
494
 
410
495
 
411
496
  -- Fri, 30 Apr 2004 03:33:01 -0000 by deveiant (r36) -----
412
- Changed: lib/bluecloth.rb
497
+ Changed: /trunk/lib/bluecloth.rb
413
498
 
414
499
  - Fix for bug #541 (Leading line of codeblock with more than one tab
415
500
  width of indent mistakenly unindented)
416
501
 
417
502
 
418
503
  -- Fri, 30 Apr 2004 03:31:37 -0000 by deveiant (r35) -----
419
- Changed: lib/bluecloth.rb
504
+ Changed: /trunk/lib/bluecloth.rb
420
505
 
421
506
  - Fix for bug #537. Fix suggested by Marek Janukowicz.
422
507
 
423
508
 
424
509
  -- Fri, 23 Apr 2004 04:47:42 -0000 by deveiant (r32) -----
425
- Changed: makedist.rb
510
+ Changed: /trunk/makedist.rb
426
511
 
427
512
  - Temporary fixes until I have time to integrate SVN stuff.
428
513
 
429
514
 
430
515
  -- Fri, 23 Apr 2004 04:46:51 -0000 by deveiant (r31) -----
431
- Changed: .gemspec
516
+ Changed: /trunk/.gemspec
432
517
 
433
518
  - Version bump.
434
519
 
435
520
 
436
521
  -- Fri, 23 Apr 2004 04:46:15 -0000 by deveiant (r30) -----
437
- Changed: README
522
+ Changed: /trunk/README
438
523
 
439
524
  - Brought in line with most-recent release.
440
525
 
441
526
 
442
527
  -- Fri, 23 Apr 2004 04:40:50 -0000 by deveiant (r29) -----
443
- Changed: lib/bluecloth.rb
528
+ Changed: /trunk/lib/bluecloth.rb
444
529
 
445
530
  - Version bump.
446
531
 
447
532
 
448
533
  -- Fri, 23 Apr 2004 04:39:05 -0000 by deveiant (r28) -----
449
- Changed: lib/bluecloth.rb
534
+ Changed: /trunk/lib/bluecloth.rb
450
535
 
451
536
  - Bugfixes for bugs 524 and 525. Thanks to David Heinemeier Hansson and Javier
452
537
  Goizueta for bug reports and fixes.
453
538
 
454
539
 
455
540
  -- Fri, 23 Apr 2004 04:34:31 -0000 by deveiant (r27) -----
456
- Changed: tests/05_Markdown.tests.rb
541
+ Changed: /trunk/tests/05_Markdown.tests.rb
457
542
 
458
543
  - Test for bugs 524 and 525
459
544
 
460
545
 
461
546
  -- Fri, 16 Apr 2004 01:55:19 -0000 by deveiant (r25) -----
462
- Changed: README
547
+ Changed: /trunk/README
463
548
 
464
549
  - Corrected version
465
550
 
466
551
 
467
552
  -- Fri, 16 Apr 2004 01:53:52 -0000 by deveiant (r24) -----
468
- Changed: lib/bluecloth.rb
553
+ Changed: /trunk/lib/bluecloth.rb
469
554
 
470
555
  - Brought Version up to date.
471
556
 
@@ -477,18 +562,18 @@
477
562
 
478
563
 
479
564
  -- Fri, 16 Apr 2004 01:51:14 -0000 by deveiant (r22) -----
480
- Added: tests/data/antsugar.txt (new)
481
- web (new)
482
- web/base.css (new)
483
- .gemspec (new)
484
- tests/data/ml-announce.txt (new)
485
- web/index.html (new) (and 3 other/s)
565
+ Added: /trunk/tests/data/antsugar.txt (new)
566
+ /trunk/web (new)
567
+ /trunk/web/base.css (new)
568
+ /trunk/.gemspec (new)
569
+ /trunk/tests/data/ml-announce.txt (new)
570
+ /trunk/web/index.html (new) (and 3 other/s)
486
571
 
487
572
  Initial checkin.
488
573
 
489
574
 
490
575
  -- Fri, 16 Apr 2004 01:50:31 -0000 by deveiant (r21) -----
491
- Changed: MANIFEST
576
+ Changed: /trunk/MANIFEST
492
577
 
493
578
  - Changed tests/ pattern to catch all tests.
494
579
  - Added CHANGES.
@@ -496,13 +581,13 @@
496
581
 
497
582
 
498
583
  -- Fri, 16 Apr 2004 01:49:46 -0000 by deveiant (r20) -----
499
- Changed: install.rb
584
+ Changed: /trunk/install.rb
500
585
 
501
586
  - Added missing dependency check for devel-logger.
502
587
 
503
588
 
504
589
  -- Fri, 16 Apr 2004 01:49:12 -0000 by deveiant (r19) -----
505
- Changed: lib/bluecloth.rb
590
+ Changed: /trunk/lib/bluecloth.rb
506
591
 
507
592
  - Added contributors section to the header.
508
593
  - Integrated html- and style-filtering patch from Florian Gross <flgr@ccan.de>.
@@ -511,7 +596,7 @@
511
596
 
512
597
 
513
598
  -- Fri, 16 Apr 2004 01:48:27 -0000 by deveiant (r18) -----
514
- Changed: README
599
+ Changed: /trunk/README
515
600
 
516
601
  - Added contributors section to the header.
517
602
  - Integrated html- and style-filtering patch from Florian Gross <flgr@ccan.de>.
@@ -520,13 +605,13 @@
520
605
 
521
606
 
522
607
  -- Mon, 12 Apr 2004 06:02:54 -0000 by deveiant (r15) -----
523
- Changed: tests/10_Bug.tests.rb
608
+ Changed: /trunk/tests/10_Bug.tests.rb
524
609
 
525
610
  - Added keywords.
526
611
 
527
612
 
528
613
  -- Mon, 12 Apr 2004 06:01:40 -0000 by deveiant (r14) -----
529
- Changed: tests/10_Bug.tests.rb
614
+ Changed: /trunk/tests/10_Bug.tests.rb
530
615
 
531
616
  - Updated comments/added to-do marker.
532
617
 
@@ -538,38 +623,38 @@
538
623
 
539
624
 
540
625
  -- Mon, 12 Apr 2004 05:46:49 -0000 by deveiant (r12) -----
541
- Added: bin (new)
542
- bin/bluecloth (new)
626
+ Added: /trunk/bin (new)
627
+ /trunk/bin/bluecloth (new)
543
628
 
544
629
  Initial checkin.
545
630
 
546
631
 
547
632
  -- Mon, 12 Apr 2004 05:45:07 -0000 by deveiant (r11) -----
548
- Changed: utils.rb
633
+ Changed: /trunk/utils.rb
549
634
 
550
635
  - Added a time() function for timing bits of code.
551
636
 
552
637
 
553
638
  -- Mon, 12 Apr 2004 05:43:10 -0000 by deveiant (r10) -----
554
- Changed: lib/bluecloth.rb
639
+ Changed: /trunk/lib/bluecloth.rb
555
640
 
556
641
  - Changed keyword constants from CVS to SVN keywords.
557
642
 
558
643
 
559
644
  -- Mon, 12 Apr 2004 05:29:37 -0000 by deveiant (r9) -----
560
- Changed: README
645
+ Changed: /trunk/README
561
646
 
562
647
  - Changed location of keyword stuff, added URL keyword.
563
648
 
564
649
 
565
650
  -- Mon, 12 Apr 2004 05:26:38 -0000 by deveiant (r8) -----
566
- Changed: README
651
+ Changed: /trunk/README
567
652
 
568
653
  - Added the rest of the content.
569
654
 
570
655
 
571
656
  -- Mon, 12 Apr 2004 05:21:47 -0000 by deveiant (r7) -----
572
- Changed: lib/bluecloth.rb
657
+ Changed: /trunk/lib/bluecloth.rb
573
658
 
574
659
  - Fixed license in header
575
660
  - Fixed error message in exception class with no second argument.
@@ -581,48 +666,48 @@
581
666
 
582
667
 
583
668
  -- Mon, 12 Apr 2004 05:17:45 -0000 by deveiant (r6) -----
584
- Added: tests/10_Bug.tests.rb
669
+ Added: /trunk/tests/10_Bug.tests.rb
585
670
  -> renamed from /trunk/tests/10_Output.tests.rb@r5
586
- Deleted: tests/10_Output.tests.rb
671
+ Deleted: /trunk/tests/10_Output.tests.rb
587
672
 
588
673
  - Renamed to reflect repurposing.
589
674
 
590
675
 
591
676
  -- Mon, 12 Apr 2004 05:17:08 -0000 by deveiant (r5) -----
592
- Changed: tests/10_Output.tests.rb
677
+ Changed: /trunk/tests/10_Output.tests.rb
593
678
 
594
679
  - Converted to bug-testing testcase.
595
680
 
596
681
 
597
682
  -- Mon, 12 Apr 2004 05:15:34 -0000 by deveiant (r4) -----
598
- Changed: tests/05_Markdown.tests.rb
683
+ Changed: /trunk/tests/05_Markdown.tests.rb
599
684
 
600
685
  - Added some mode code span tests to catch bugs.
601
686
 
602
687
 
603
688
  -- Sun, 11 Apr 2004 04:40:29 -0000 by deveiant (r3) -----
604
- Added: MANIFEST (new)
689
+ Added: /trunk/MANIFEST (new)
605
690
  Changed: /trunk
606
- utils.rb
607
- makedist.rb
608
- install.rb
691
+ /trunk/utils.rb
692
+ /trunk/makedist.rb
693
+ /trunk/install.rb
609
694
 
610
695
  - Updated dist/install utilities/libs.
611
696
 
612
697
 
613
698
  -- Sat, 10 Apr 2004 20:36:46 -0000 by deveiant (r2) -----
614
- Deleted: Markdown_1.0b4
699
+ Deleted: /trunk/Markdown_1.0b4
615
700
 
616
701
  Removed markdown reference source
617
702
 
618
703
 
619
704
  -- Sat, 10 Apr 2004 20:35:02 -0000 by deveiant (r1) -----
620
- Added: README (new)
705
+ Added: /trunk/README (new)
621
706
  /trunk (new)
622
- utils.rb (new)
623
- tests (new)
624
- experiments (new)
625
- makedist.rb (new) (and 18 other/s)
707
+ /trunk/utils.rb (new)
708
+ /trunk/tests (new)
709
+ /trunk/experiments (new)
710
+ /trunk/makedist.rb (new) (and 18 other/s)
626
711
 
627
712
  Initial checkin
628
713
 
data/Rakefile CHANGED
@@ -44,10 +44,6 @@ PROJECT_NAME = 'BlueCloth'
44
44
  PKG_NAME = PROJECT_NAME.downcase
45
45
  PKG_SUMMARY = 'BlueCloth is a Ruby implementation of Markdown'
46
46
 
47
- # Cruisecontrol stuff
48
- CC_BUILD_LABEL = ENV['CC_BUILD_LABEL']
49
- CC_BUILD_ARTIFACTS = ENV['CC_BUILD_ARTIFACTS'] || 'artifacts'
50
-
51
47
  VERSION_FILE = LIBDIR + 'bluecloth.rb'
52
48
  if VERSION_FILE.exist? && buildrev = ENV['CC_BUILD_LABEL']
53
49
  PKG_VERSION = VERSION_FILE.read[ /VERSION\s*=\s*['"](\d+\.\d+\.\d+)['"]/, 1 ] + '.' + buildrev
@@ -62,7 +58,7 @@ GEM_FILE_NAME = "#{PKG_FILE_NAME}.gem"
62
58
 
63
59
  EXTCONF = EXTDIR + 'extconf.rb'
64
60
 
65
- ARTIFACTS_DIR = Pathname.new( CC_BUILD_ARTIFACTS )
61
+ ARTIFACTS_DIR = Pathname.new( ENV['CC_BUILD_ARTIFACTS'] || 'artifacts' )
66
62
 
67
63
  TEXT_FILES = %w( Rakefile ChangeLog README LICENSE ).collect {|filename| BASEDIR + filename }
68
64
  BIN_FILES = Pathname.glob( "#{BINDIR}/*" ).delete_if {|item| item.to_s =~ /\.svn/ }
@@ -295,7 +291,7 @@ end
295
291
  desc "Cruisecontrol build"
296
292
  task :cruise => [:clean, 'spec:quiet', :package] do |task|
297
293
  raise "Artifacts dir not set." if ARTIFACTS_DIR.to_s.empty?
298
- artifact_dir = ARTIFACTS_DIR.cleanpath + (CC_BUILD_LABEL || Time.now.strftime('%Y%m%d-%T'))
294
+ artifact_dir = ARTIFACTS_DIR.cleanpath + ENV['CC_BUILD_LABEL']
299
295
  artifact_dir.mkpath
300
296
 
301
297
  coverage = BASEDIR + 'coverage'
@@ -1 +1 @@
1
- 1.3.4
1
+ 1.3.6
@@ -21,10 +21,12 @@
21
21
  */
22
22
  struct kw {
23
23
  char *id;
24
- int siz;
24
+ int size;
25
+ int selfclose;
25
26
  } ;
26
27
 
27
- #define KW(x) { x, sizeof(x)-1 }
28
+ #define KW(x) { x, sizeof(x)-1, 0 }
29
+ #define SC(x) { x, sizeof(x)-1, 1 }
28
30
 
29
31
  static struct kw blocktags[] = { KW("!--"), KW("STYLE"), KW("SCRIPT"),
30
32
  KW("ADDRESS"), KW("BDO"), KW("BLOCKQUOTE"),
@@ -33,7 +35,7 @@ static struct kw blocktags[] = { KW("!--"), KW("STYLE"), KW("SCRIPT"),
33
35
  KW("H6"), KW("IFRAME"), KW("LISTING"), KW("NOBR"),
34
36
  KW("UL"), KW("P"), KW("OL"), KW("DL"),
35
37
  KW("PLAINTEXT"), KW("PRE"), KW("TABLE"),
36
- KW("WBR"), KW("XMP"), KW("HR"), KW("BR") };
38
+ KW("WBR"), KW("XMP"), SC("HR"), SC("BR") };
37
39
  #define SZTAGS (sizeof blocktags / sizeof blocktags[0])
38
40
  #define MAXTAG 11 /* sizeof "BLOCKQUOTE" */
39
41
 
@@ -47,9 +49,9 @@ typedef ANCHOR(Paragraph) ParagraphRoot;
47
49
  static int
48
50
  casort(struct kw *a, struct kw *b)
49
51
  {
50
- if ( a->siz != b->siz )
51
- return a->siz - b->siz;
52
- return strncasecmp(a->id, b->id, b->siz);
52
+ if ( a->size != b->size )
53
+ return a->size - b->size;
54
+ return strncasecmp(a->id, b->id, b->size);
53
55
  }
54
56
 
55
57
 
@@ -132,7 +134,7 @@ ___mkd_tidy(Line *t)
132
134
  }
133
135
 
134
136
 
135
- static char *
137
+ static struct kw *
136
138
  isopentag(Line *p)
137
139
  {
138
140
  int i=0, len;
@@ -154,57 +156,85 @@ isopentag(Line *p)
154
156
  ;
155
157
 
156
158
  key.id = T(p->text)+1;
157
- key.siz = i-1;
159
+ key.size = i-1;
158
160
 
159
- if ( ret = bsearch(&key,blocktags,SZTAGS,sizeof key, (stfu)casort))
160
- return ret->id;
161
+ if ( ret = bsearch(&key, blocktags, SZTAGS, sizeof key, (stfu)casort))
162
+ return ret;
161
163
 
162
164
  return 0;
163
165
  }
164
166
 
165
167
 
166
- static int
167
- selfclose(Line *t, char *tag)
168
- {
169
- char *q = T(t->text);
170
- int siz = strlen(tag);
168
+ typedef struct _flo {
169
+ Line *t;
171
170
  int i;
171
+ } FLO;
172
172
 
173
- if ( strcasecmp(tag, "HR") == 0 || strcasecmp(tag, "BR") == 0 )
174
- /* <HR> and <BR> are self-closing block-level tags,
175
- */
176
- return 1;
177
-
178
- i = S(t->text) - (siz + 3);
179
173
 
180
- /* we specialcase start and end tags on the same line.
181
- */
182
- return ( i > 0 ) && (q[i] == '<') && (q[i+1] == '/')
183
- && (q[i+2+siz] == '>')
184
- && (strncasecmp(&q[i+2], tag, siz) == 0);
174
+ static int
175
+ flogetc(FLO *f)
176
+ {
177
+ if ( f && f->t ) {
178
+ if ( f->i < S(f->t->text) )
179
+ return T(f->t->text)[f->i++];
180
+ f->t = f->t->next;
181
+ f->i = 0;
182
+ return flogetc(f);
183
+ }
184
+ return EOF;
185
185
  }
186
186
 
187
187
 
188
188
  static Line *
189
- htmlblock(Paragraph *p, char *tag)
189
+ htmlblock(Paragraph *p, struct kw *tag)
190
190
  {
191
- Line *t = p->text, *ret;
192
- int closesize;
193
- char close[MAXTAG+4];
191
+ Line *ret;
192
+ FLO f = { p->text, 0 };
193
+ int c;
194
+ int i, closing, depth=0;
194
195
 
195
- if ( selfclose(t, tag) || (strlen(tag) >= MAXTAG) ) {
196
- ret = t->next;
197
- t->next = 0;
196
+ if ( tag->selfclose || (tag->size >= MAXTAG) ) {
197
+ ret = f.t->next;
198
+ f.t->next = 0;
198
199
  return ret;
199
200
  }
200
201
 
201
- closesize = sprintf(close, "</%s>", tag);
202
-
203
- for ( ; t ; t = t->next) {
204
- if ( strncasecmp(T(t->text), close, closesize) == 0 ) {
205
- ret = t->next;
206
- t->next = 0;
207
- return ret;
202
+ while ( (c = flogetc(&f)) != EOF ) {
203
+ if ( c == '<' ) {
204
+ /* tag? */
205
+ c = flogetc(&f);
206
+ if ( c == '!' ) { /* comment? */
207
+ if ( flogetc(&f) == '-' && flogetc(&f) == '-' ) {
208
+ /* yes */
209
+ while ( (c = flogetc(&f)) != EOF ) {
210
+ if ( c == '-' && flogetc(&f) == '-'
211
+ && flogetc(&f) == '>')
212
+ /* consumed whole comment */
213
+ break;
214
+ }
215
+ }
216
+ }
217
+ else {
218
+ if ( closing = (c == '/') ) c = flogetc(&f);
219
+
220
+ for ( i=0; i < tag->size; c=flogetc(&f) ) {
221
+ if ( tag->id[i++] != toupper(c) )
222
+ break;
223
+ }
224
+
225
+ if ( (i == tag->size) && !isalnum(c) ) {
226
+ depth = depth + (closing ? -1 : 1);
227
+ if ( depth == 0 ) {
228
+ while ( c != EOF && c != '>' ) {
229
+ /* consume trailing gunk in close tag */
230
+ c = flogetc(&f);
231
+ }
232
+ ret = f.t->next;
233
+ f.t->next = 0;
234
+ return ret;
235
+ }
236
+ }
237
+ }
208
238
  }
209
239
  }
210
240
  return 0;
@@ -212,7 +242,7 @@ htmlblock(Paragraph *p, char *tag)
212
242
 
213
243
 
214
244
  static Line *
215
- comment(Paragraph *p, char *key)
245
+ comment(Paragraph *p)
216
246
  {
217
247
  Line *t, *ret;
218
248
 
@@ -587,7 +617,7 @@ quoteblock(Paragraph *p)
587
617
  /* and this would be an "%id:" prefix */
588
618
  prefix="id";
589
619
 
590
- if ( p->ident = malloc(4+i+S(q->text)) )
620
+ if ( p->ident = malloc(4+strlen(prefix)+S(q->text)) )
591
621
  sprintf(p->ident, "%s=\"%.*s\"", prefix, S(q->text)-(i+2),
592
622
  T(q->text)+(i+1) );
593
623
 
@@ -819,7 +849,7 @@ compile(Line *ptr, int toplevel, MMIOT *f)
819
849
  {
820
850
  ParagraphRoot d = { 0, 0 };
821
851
  Paragraph *p = 0;
822
- char *key;
852
+ struct kw *tag;
823
853
  Line *r;
824
854
  int para = toplevel;
825
855
  int hdr_type, list_type, indent;
@@ -827,12 +857,12 @@ compile(Line *ptr, int toplevel, MMIOT *f)
827
857
  ptr = consume(ptr, &para);
828
858
 
829
859
  while ( ptr ) {
830
- if ( toplevel && !(f->flags & DENY_HTML) && (key = isopentag(ptr)) ) {
831
- p = Pp(&d, ptr, strcmp(key, "STYLE") == 0 ? STYLE : HTML);
832
- if ( strcmp(key, "!--") == 0 )
833
- ptr = comment(p, key);
860
+ if ( toplevel && !(f->flags & DENY_HTML) && (tag = isopentag(ptr)) ) {
861
+ p = Pp(&d, ptr, strcmp(tag->id, "STYLE") == 0 ? STYLE : HTML);
862
+ if ( strcmp(tag->id, "!--") == 0 )
863
+ ptr = comment(p);
834
864
  else
835
- ptr = htmlblock(p, key);
865
+ ptr = htmlblock(p, tag);
836
866
  }
837
867
  else if ( iscode(ptr) ) {
838
868
  p = Pp(&d, ptr, CODE);
@@ -18,7 +18,7 @@
18
18
  #
19
19
  # == Version
20
20
  #
21
- # $Id: bluecloth.rb 107 2009-03-13 22:56:29Z deveiant $
21
+ # $Id: bluecloth.rb 115 2009-04-29 13:12:34Z deveiant $
22
22
  #
23
23
  # == License
24
24
  #
@@ -29,13 +29,13 @@
29
29
  class BlueCloth
30
30
 
31
31
  # Release Version
32
- VERSION = '2.0.0'
32
+ VERSION = '2.0.1'
33
33
 
34
34
  # SVN Revision
35
- SVNREV = %q$Rev: 107 $
35
+ SVNREV = %q$Rev: 115 $
36
36
 
37
37
  # SVN Id tag
38
- SVNID = %q$Id: bluecloth.rb 107 2009-03-13 22:56:29Z deveiant $
38
+ SVNID = %q$Id: bluecloth.rb 115 2009-04-29 13:12:34Z deveiant $
39
39
 
40
40
  # The defaults for all supported options.
41
41
  DEFAULT_OPTIONS = {
@@ -56,7 +56,7 @@ CONFIGURE_CMD = %W[
56
56
  ./configure
57
57
  --host=i386-mingw32
58
58
  --target=i386-mingw32
59
- --build=#{Gem::Platform.local}
59
+ --build=#{Config::CONFIG['build']}
60
60
  --prefix=#{XCOMPILER_DIR}
61
61
  ]
62
62
 
@@ -144,7 +144,7 @@ begin
144
144
  run *CONFIGURE_CMD
145
145
  run 'make', 'ruby'
146
146
  run 'make', 'rubyw.exe'
147
- run 'make', '-n', 'install'
147
+ run 'make', 'install'
148
148
  end
149
149
  end
150
150
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bluecloth
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Granger
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-04-07 00:00:00 -07:00
12
+ date: 2009-04-29 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -280,7 +280,7 @@ requirements: []
280
280
  rubyforge_project: bluecloth
281
281
  rubygems_version: 1.3.1
282
282
  signing_key:
283
- specification_version: 3
283
+ specification_version: 2
284
284
  summary: BlueCloth is a Ruby implementation of Markdown
285
285
  test_files:
286
286
  - spec/bluecloth/101_changes_spec.rb