codnar 0.1.73 → 0.1.74

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog CHANGED
@@ -1,5 +1,6 @@
1
1
  2012-03-18 Oren Ben-Kiki <github-oren@ben-kiki.org>
2
2
 
3
+ * Upgrade for latest gems.
3
4
  * Fix JS comment.
4
5
  * Fix JS issue; remove unneeded files.
5
6
 
data/codnar.html CHANGED
@@ -376,42 +376,40 @@ span.Comment { color: Purple; }
376
376
  <body>
377
377
  <div id="contents"></div>
378
378
  <div class='rdoc doc markup'>
379
- <h1>Codnar</h1>
379
+ <h1 id="label-Codnar">Codnar</h1>
380
380
  <p>
381
381
  Code Narrator - an inverse literate programming tool.
382
382
  </p>
383
- <h2>TL;DR</h2>
383
+ <h2 id="label-TL%3BDR">TL;DR</h2>
384
384
 
385
- <h3>Description</h3>
385
+ <h3 id="label-Description">Description</h3>
386
386
  <p>
387
387
  Code Narrator (Codnar) is an inverse literate programming tool. It splits
388
388
  the source files into “chunks” (including structured comments) and
389
389
  weaves them back into a narrative that describes the overall system.
390
390
  </p>
391
- <h3>Installation</h3>
391
+ <h3 id="label-Installation">Installation</h3>
392
392
  <p>
393
- A simple <tt>gem install codnar</tt> should do the trick, assuming you have
394
- Ruby gems set up. If you want to use the VIM-based syntax highlighting, you
395
- also need to install <tt>gvim</tt>. Similarly, you need to install
396
- <tt>GraphViz</tt> to be able to embed SVG diagrams in your HTML.
393
+ A simple <code>gem install codnar</code> should do the trick, assuming you
394
+ have Ruby gems set up. If you want to use the VIM-based syntax
395
+ highlighting, you also need to install <code>gvim</code>. Similarly, you
396
+ need to install <code>GraphViz</code> to be able to embed SVG diagrams in
397
+ your HTML.
397
398
  </p>
398
- <h3>Usage</h3>
399
+ <h3 id="label-Usage">Usage</h3>
399
400
  <p>
400
401
  The basic usage is:
401
402
  </p>
402
- <pre>
403
- codnar-split [options] source-file &gt; chunks-file
404
- codnar-weave [options] chunks-files... &gt; codnar.html
405
- </pre>
403
+ <pre>codnar-split [options] source-file &gt; chunks-file
404
+ codnar-weave [options] chunks-files... &gt; codnar.html</pre>
406
405
  <p>
407
- Both programs accept a <tt>-h</tt> or <tt>--help</tt> flag to print more
408
- detailed usage messages. You can also invoke Codnar from a Rakefile:
406
+ Both programs accept a <code>-h</code> or <code>--help</code> flag to print
407
+ more detailed usage messages. You can also invoke Codnar from a Rakefile:
409
408
  </p>
410
- <pre>
411
- require &quot;codnar/rake&quot;
409
+ <pre class="ruby"><span class="ruby-identifier">require</span> <span class="ruby-string">&quot;codnar/rake&quot;</span>
412
410
 
413
- Codnar::Rake::SplitTask([ source-files... ], [ configurations... ])
414
- Codnar::Rake::WeaveTask(root-file, [ configurations... ], output)
411
+ <span class="ruby-constant">Codnar</span><span class="ruby-operator">::</span><span class="ruby-constant">Rake</span><span class="ruby-operator">::</span><span class="ruby-constant">SplitTask</span>([ <span class="ruby-identifier">source</span><span class="ruby-operator">-</span><span class="ruby-identifier">files</span><span class="ruby-operator">...</span> ], [ <span class="ruby-identifier">configurations</span><span class="ruby-operator">...</span> ])
412
+ <span class="ruby-constant">Codnar</span><span class="ruby-operator">::</span><span class="ruby-constant">Rake</span><span class="ruby-operator">::</span><span class="ruby-constant">WeaveTask</span>(<span class="ruby-identifier">root</span><span class="ruby-operator">-</span><span class="ruby-identifier">file</span>, [ <span class="ruby-identifier">configurations</span><span class="ruby-operator">...</span> ], <span class="ruby-identifier">output</span>)
415
413
  </pre>
416
414
  </div>
417
415
  <div class='markdown doc markup'>
@@ -685,7 +683,7 @@ number of Git commits by running <code>rake version</code>.
685
683
  </tr>
686
684
  </table>
687
685
  <pre class='ruby code syntax'>
688
- <span class="Type">VERSION</span> = <span class="Special">&quot;</span><span class="Constant">0.1.73</span><span class="Special">&quot;</span>
686
+ <span class="Type">VERSION</span> = <span class="Special">&quot;</span><span class="Constant">0.1.74</span><span class="Special">&quot;</span>
689
687
 
690
688
  end
691
689
  </pre>
@@ -970,8 +968,7 @@ Scan a file into classified lines.
970
968
  <p>
971
969
  Construct a scanner based on a syntax in the following structure:
972
970
  </p>
973
- <pre>
974
- patterns:
971
+ <pre>patterns:
975
972
  &lt;name&gt;:
976
973
  name: &lt;name&gt;
977
974
  kind: &lt;kind&gt;
@@ -985,8 +982,7 @@ states:
985
982
  - pattern: &lt;pattern&gt;
986
983
  kind: &lt;kind&gt;
987
984
  next_state: &lt;state&gt;
988
- start_state: &lt;state&gt;
989
- </pre>
985
+ start_state: &lt;state&gt;</pre>
990
986
  <p>
991
987
  To allow for cleaner YAML files to specify the syntax, the following
992
988
  shorthands are supported:
@@ -1012,13 +1008,13 @@ A pattern regexp can be presented by a plain string.
1012
1008
  </p>
1013
1009
  </li><li>
1014
1010
  <p>
1015
- The pattern groups field can be ommitted or contain <tt>nil</tt> if it is
1016
- equal to [ “indentation”, “payload” ].
1011
+ The pattern groups field can be ommitted or contain <code>nil</code> if it
1012
+ is equal to [ “indentation”, “payload” ].
1017
1013
  </p>
1018
1014
  </li><li>
1019
1015
  <p>
1020
1016
  The kind field of a transition can be ommitted; by default it is assumed to
1021
- be identical to the pattern kind. If it ends up <tt>nil</tt>, this
1017
+ be identical to the pattern kind. If it ends up <code>nil</code>, this
1022
1018
  indicates that there’s no kind assigned by the pattern, and the current
1023
1019
  line should be classified again by the next state.
1024
1020
  </p>
@@ -1030,7 +1026,7 @@ be identical to the containing state.
1030
1026
  </li><li>
1031
1027
  <p>
1032
1028
  The start state can be ommitted; by default it is assumed to be named
1033
- <tt>start</tt>.
1029
+ <code>start</code>.
1034
1030
  </p>
1035
1031
  </li></ul>
1036
1032
  <p>
@@ -1063,11 +1059,9 @@ detected during this process are pushed into the errors.
1063
1059
  Scan a disk file into classified lines in the following format (where the
1064
1060
  groups contain the text extracted by the matching pattern):
1065
1061
  </p>
1066
- <pre>
1067
- - kind: &lt;kind&gt;
1062
+ <pre>- kind: &lt;kind&gt;
1068
1063
  line: &lt;text&gt;
1069
- &lt;group&gt;: &lt;text&gt;
1070
- </pre>
1064
+ &lt;group&gt;: &lt;text&gt;</pre>
1071
1065
  <p>
1072
1066
  By convention, each classified line has a “payload” group that contains
1073
1067
  the “main” content of the line (chunk name for begin/end/nested chunk
@@ -1080,13 +1074,11 @@ If at some state, a file line does not match any pattern, the scanner will
1080
1074
  push a message into the errors. In addition it will classify the line as
1081
1075
  follows:
1082
1076
  </p>
1083
- <pre>
1084
- - kind: error
1077
+ <pre>- kind: error
1085
1078
  state: &lt;name&gt;
1086
1079
  line: &lt;text&gt;
1087
1080
  indentation: &lt;leading white space&gt;
1088
- payload: &lt;line text following the indentation&gt;
1089
- </pre>
1081
+ payload: &lt;line text following the indentation&gt;</pre>
1090
1082
  </div>
1091
1083
  </td>
1092
1084
  </tr>
@@ -1264,7 +1256,7 @@ Fill in the name field for state or pattern object.
1264
1256
  A pattern that matches any line and extracts no data; is meant to be used
1265
1257
  for catch-all transitions that transfer the scanning to a different state.
1266
1258
  It is used if no explicit pattern is specified in a transition (that is,
1267
- you can think of this as the <tt>nil</tt> pattern).
1259
+ you can think of this as the <code>nil</code> pattern).
1268
1260
  </p>
1269
1261
  </div>
1270
1262
  </td>
@@ -2537,23 +2529,23 @@ Format chunks into HTML.
2537
2529
  Construct a Formatter based on a mapping from a classified line kind, to a
2538
2530
  Ruby expression, that converts an array of classified lines of that kind,
2539
2531
  into an array of lines of another kind. This expression is simply
2540
- <tt>eval</tt>-ed, and is expected to make use of a variable called
2541
- <tt>lines</tt> that contains an array of classified lines, as produced by a
2542
- Scanner. The result of evaluating the expressions is expected to be an
2532
+ <code>eval</code>-ed, and is expected to make use of a variable called
2533
+ <code>lines</code> that contains an array of classified lines, as produced
2534
+ by a Scanner. The result of evaluating the expressions is expected to be an
2543
2535
  array of any number of classified lines of any kind.
2544
2536
  </p>
2545
2537
  <p>
2546
2538
  Formatting repeatedly applies these formatting expressions, until the
2547
2539
  result is an array containing a single classified line, which has the kind
2548
- <tt>html</tt> and whose payload field contains the unified final HTML
2540
+ <code>html</code> and whose payload field contains the unified final HTML
2549
2541
  presentation of the original classified lines. In each processing round,
2550
2542
  all consecutive lines of the same kind are formated together. This allows
2551
2543
  for properly formating line kinds that use a multi-line notation such as
2552
2544
  Markdown.
2553
2545
  </p>
2554
2546
  <p>
2555
- The default formatting expression for the kind <tt>html</tt> simply joins
2556
- all the payloads of all the classified lines into a single html, and
2547
+ The default formatting expression for the kind <code>html</code> simply
2548
+ joins all the payloads of all the classified lines into a single html, and
2557
2549
  returns a single “line” containing this joined HTML. All other line
2558
2550
  kinds need to have a formatting expression explicitly specified in the
2559
2551
  formatters mapping.
@@ -2561,10 +2553,10 @@ formatters mapping.
2561
2553
  <p>
2562
2554
  If no formatting expression is specified for some classified line kind, an
2563
2555
  error is reported and the classified lines are wrapped in a pre HTML
2564
- element with a <tt>missing_formatter</tt> CSS class. Similarly, if a
2556
+ element with a <code>missing_formatter</code> CSS class. Similarly, if a
2565
2557
  formatting expression fails (raises an exception), an error is reported and
2566
2558
  the lines are wrapped in a pre HTML element with a
2567
- <tt>failed_formatter</tt> CSS class.
2559
+ <code>failed_formatter</code> CSS class.
2568
2560
  </p>
2569
2561
  </div>
2570
2562
  </td>
@@ -3230,7 +3222,7 @@ above.
3230
3222
  <div class='rdoc comment markup'>
3231
3223
  <p>
3232
3224
  Expand “[[chunk|template]]” to HTML embed tags. Use identifiers instead
3233
- of names in the <tt>src</tt> field for safety, unless the template is a
3225
+ of names in the <code>src</code> field for safety, unless the template is a
3234
3226
  magical file template, in which case we must preserve the file path.
3235
3227
  </p>
3236
3228
  </div>
@@ -4009,7 +4001,7 @@ Syntax highlight using GVim.
4009
4001
  <p>
4010
4002
  Convert a sequence of classified code lines to HTML using GVim syntax
4011
4003
  highlighting. The commands array allows configuring the way that GVim will
4012
- format the output (see the <tt>cached_syntax_to_html</tt> method for
4004
+ format the output (see the <code>cached_syntax_to_html</code> method for
4013
4005
  details).
4014
4006
  </p>
4015
4007
  </div>
@@ -4081,16 +4073,16 @@ that GVim will format the output. For example:
4081
4073
  </p>
4082
4074
  <ul><li>
4083
4075
  <p>
4084
- The command <tt>&quot;+:colorscheme &lt;name&gt;&quot;</tt> will override
4085
- the default color scheme used.
4076
+ The command <code>&quot;+:colorscheme &lt;name&gt;&quot;</code> will
4077
+ override the default color scheme used.
4086
4078
  </p>
4087
4079
  </li><li>
4088
4080
  <p>
4089
- The command <tt>&quot;+:let html_use_css=1&quot;</tt> will just annotate
4090
- each HTML tag with a CSS class, instead of embedding some specific style
4091
- directly into the tag. In this case the colorscheme and background are
4092
- ignored; you will need to provide your own CSS stylesheet as part of the
4093
- final woven document to style the marked-up words.
4081
+ The command <code>&quot;+:let html_use_css=1&quot;</code> will just
4082
+ annotate each HTML tag with a CSS class, instead of embedding some specific
4083
+ style directly into the tag. In this case the colorscheme and background
4084
+ are ignored; you will need to provide your own CSS stylesheet as part of
4085
+ the final woven document to style the marked-up words.
4094
4086
  </p>
4095
4087
  </li></ul>
4096
4088
  <p>
@@ -4100,8 +4092,8 @@ environment so there is no theoretical limit to what can be done here.
4100
4092
  <p>
4101
4093
  Since GVim is as slow as molasses to start up, we cache the results of
4102
4094
  highlighting the syntax of each code fragment in a directory called
4103
- <tt>.gvim-cache</tt>, which can appear at the current working directory or
4104
- in any of its parents.
4095
+ <code>.gvim-cache</code>, which can appear at the current working directory
4096
+ or in any of its parents.
4105
4097
  </p>
4106
4098
  </div>
4107
4099
  </td>
@@ -4122,9 +4114,9 @@ in any of its parents.
4122
4114
  <td class='html'>
4123
4115
  <div class='rdoc comment markup'>
4124
4116
  <p>
4125
- Highlight syntax of text using GVim, without caching. This is <b>slow</b>
4126
- (measured in seconds), due to GVim’s start-up tim. See the
4127
- <tt>cached_syntax_to_html</tt> method for a faster variant and
4117
+ Highlight syntax of text using GVim, without caching. This is
4118
+ <strong>slow</strong> (measured in seconds), due to GVim’s start-up tim.
4119
+ See the <code>cached_syntax_to_html</code> method for a faster variant and
4128
4120
  functionality details.
4129
4121
  </p>
4130
4122
  </div>
@@ -4700,7 +4692,7 @@ Convert a sequence of classified code lines to HTML using CodeRay syntax
4700
4692
  highlighting. The options control the way CodeRay behaves (e.g.,
4701
4693
  &lt;tt&gt;:css
4702
4694
  </p>
4703
- <h1>&gt; :class&lt;/tt&gt;).</h1>
4695
+ <h1 id="label-%3E+%3Aclass%3C%2Ftt%3E%29.">&gt; :class&lt;/tt&gt;).</h1>
4704
4696
  </div>
4705
4697
  </td>
4706
4698
  </tr>
@@ -4829,11 +4821,11 @@ Syntax highlight using Sunlight.
4829
4821
  <div class='rdoc comment markup'>
4830
4822
  <p>
4831
4823
  Convert a sequence of classified code lines to HTML using Sunlight syntax
4832
- highlighting. All we need to do is wrap the lines in an HTML <tt>pre</tt>
4833
- element with the correct class
4834
- (<tt>sunlight-highlight-<em>syntax</em></tt>). The actual highlighting is
4835
- done in the HTML DOM using Javascript. Embedding this Javascript into the
4836
- final HTML should be done separately.
4824
+ highlighting. All we need to do is wrap the lines in an HTML
4825
+ <code>pre</code> element with the correct class
4826
+ (<code>sunlight-highlight-<em>syntax</em></code>). The actual highlighting
4827
+ is done in the HTML DOM using Javascript. Embedding this Javascript into
4828
+ the final HTML should be done separately.
4837
4829
  </p>
4838
4830
  </div>
4839
4831
  </td>
@@ -5049,11 +5041,9 @@ Split disk files into chunks.
5049
5041
  <p>
5050
5042
  Construct a splitter based on a configuration in the following structure:
5051
5043
  </p>
5052
- <pre>
5053
- syntax: &lt;syntax&gt;
5044
+ <pre>syntax: &lt;syntax&gt;
5054
5045
  formatters:
5055
- &lt;kind&gt;: &lt;expression&gt;
5056
- </pre>
5046
+ &lt;kind&gt;: &lt;expression&gt;</pre>
5057
5047
  <p>
5058
5048
  Where the syntax is passed as-is to (and expanded in-place by) a Scanner,
5059
5049
  and the formatters are passed as-is to a Formatter to convert the chunk’s
@@ -5712,7 +5702,7 @@ Configurations for “splitting” documentation files.
5712
5702
  <div class='rdoc comment markup'>
5713
5703
  <p>
5714
5704
  “Split” a documentation file. All lines are assumed to have the same
5715
- kind <tt>doc</tt> and no indentation is collected. Unless overriden by
5705
+ kind <code>doc</code> and no indentation is collected. Unless overriden by
5716
5706
  additional configuration(s), the lines are assumed to contain formatted
5717
5707
  HTML, and are passed as-is to the output.
5718
5708
  </p>
@@ -5923,9 +5913,9 @@ single chunk:
5923
5913
  Classify all lines as source code of some syntax (kind). This doesn’t
5924
5914
  distinguish between comment and code lines; to do that, you need to combine
5925
5915
  this with comment classification configuration(s). Also, it just formats
5926
- the lines in an HTML <tt>pre</tt> element, without any syntax highlighting;
5927
- to do that, you need to combine this with syntax highlighting formatting
5928
- configuration(s).
5916
+ the lines in an HTML <code>pre</code> element, without any syntax
5917
+ highlighting; to do that, you need to combine this with syntax highlighting
5918
+ formatting configuration(s).
5929
5919
  </p>
5930
5920
  </div>
5931
5921
  </td>
@@ -6265,7 +6255,7 @@ treated as a comment.
6265
6255
  <p>
6266
6256
  This configuration is typically complemented by an additional one
6267
6257
  specifying how to format the (stripped!) comments; by default they are just
6268
- displayed as-is using an HTML <tt>pre</tt> element, which isn’t very
6258
+ displayed as-is using an HTML <code>pre</code> element, which isn’t very
6269
6259
  useful.
6270
6260
  </p>
6271
6261
  </div>
@@ -6495,7 +6485,7 @@ continues in additional simple comment lines.
6495
6485
  <p>
6496
6486
  This configuration is typically complemented by an additional one
6497
6487
  specifying how to format the (stripped!) comments; by default they are just
6498
- displayed as-is using an HTML <tt>pre</tt> element, which isn’t very
6488
+ displayed as-is using an HTML <code>pre</code> element, which isn’t very
6499
6489
  useful.
6500
6490
  </p>
6501
6491
  </div>
@@ -6771,7 +6761,7 @@ classified as a comment.
6771
6761
  <p>
6772
6762
  This configuration is typically complemented by an additional one
6773
6763
  specifying how to format the (stripped!) comments; by default they are just
6774
- displayed as-is using an HTML <tt>pre</tt> element, which isn’t very
6764
+ displayed as-is using an HTML <code>pre</code> element, which isn’t very
6775
6765
  useful.
6776
6766
  </p>
6777
6767
  </div>
@@ -7068,7 +7058,7 @@ supported, as well as simply wrapping the comment in an HTML pre element:
7068
7058
  <div class='rdoc comment markup'>
7069
7059
  <p>
7070
7060
  Format comments as HTML pre elements. Is used to complement a configuration
7071
- that classifies some lines as <tt>comment</tt>.
7061
+ that classifies some lines as <code>comment</code>.
7072
7062
  </p>
7073
7063
  </div>
7074
7064
  </td>
@@ -7091,7 +7081,7 @@ that classifies some lines as <tt>comment</tt>.
7091
7081
  <div class='rdoc comment markup'>
7092
7082
  <p>
7093
7083
  Format comments that use the RDoc notation. Is used to complement a
7094
- configuration that classifies some lines as <tt>comment</tt>.
7084
+ configuration that classifies some lines as <code>comment</code>.
7095
7085
  </p>
7096
7086
  </div>
7097
7087
  </td>
@@ -7115,7 +7105,7 @@ configuration that classifies some lines as <tt>comment</tt>.
7115
7105
  <div class='rdoc comment markup'>
7116
7106
  <p>
7117
7107
  Format comments that use the Markdown notation. Is used to complement a
7118
- configuration that classifies some lines as <tt>comment</tt>.
7108
+ configuration that classifies some lines as <code>comment</code>.
7119
7109
  </p>
7120
7110
  </div>
7121
7111
  </td>
@@ -7139,7 +7129,7 @@ configuration that classifies some lines as <tt>comment</tt>.
7139
7129
  <div class='rdoc comment markup'>
7140
7130
  <p>
7141
7131
  Format comments that use the Haddock notation. Is used to complement a
7142
- configuration that classifies some lines as <tt>comment</tt>.
7132
+ configuration that classifies some lines as <code>comment</code>.
7143
7133
  </p>
7144
7134
  </div>
7145
7135
  </td>
@@ -9391,7 +9381,7 @@ the following regular expressions must be on a single line.
9391
9381
  <td class='html'>
9392
9382
  <div class='rdoc comment markup'>
9393
9383
  <p>
9394
- Detect embedded chunks (<tt>type</tt> before <tt>src</tt>).
9384
+ Detect embedded chunks (<code>type</code> before <code>src</code>).
9395
9385
  </p>
9396
9386
  </div>
9397
9387
  </td>
@@ -9409,7 +9399,7 @@ Detect embedded chunks (<tt>type</tt> before <tt>src</tt>).
9409
9399
  <td class='html'>
9410
9400
  <div class='rdoc comment markup'>
9411
9401
  <p>
9412
- Detect embedded chunks (<tt>src</tt> before <tt>type</tt>).
9402
+ Detect embedded chunks (<code>src</code> before <code>type</code>).
9413
9403
  </p>
9414
9404
  </div>
9415
9405
  </td>
@@ -9540,7 +9530,8 @@ And here are the pre-defined weaving template configurations:
9540
9530
  <td class='html'>
9541
9531
  <div class='rdoc comment markup'>
9542
9532
  <p>
9543
- Weave configuration providing a single simple <tt>include</tt> template.
9533
+ Weave configuration providing a single simple <code>include</code>
9534
+ template.
9544
9535
  </p>
9545
9536
  </div>
9546
9537
  </td>
@@ -9777,8 +9768,9 @@ Here is the implementation:
9777
9768
  <td class='html'>
9778
9769
  <div class='rdoc comment markup'>
9779
9770
  <p>
9780
- Create an <tt>img</tt> tag with an embedded data URL. Different browsers
9781
- have different constraints about the size of the resulting URL, so YMMV.
9771
+ Create an <code>img</code> tag with an embedded data URL. Different
9772
+ browsers have different constraints about the size of the resulting URL, so
9773
+ YMMV.
9782
9774
  </p>
9783
9775
  </div>
9784
9776
  </td>
@@ -11246,7 +11238,7 @@ Actually create common Rake split tasks.
11246
11238
  desc <span class="Special">&quot;</span><span class="Constant">Split all files into chunks</span><span class="Special">&quot;</span>
11247
11239
  ::<span class="Type">Rake</span>::<span class="Type">Task</span>.define_task(<span class="Special">&quot;</span><span class="Constant">codnar_split</span><span class="Special">&quot;</span>)
11248
11240
  desc <span class="Special">&quot;</span><span class="Constant">Clean all split chunks</span><span class="Special">&quot;</span>
11249
- ::<span class="Type">Rake</span>::<span class="Type">Task</span>.define_task(<span class="Special">&quot;</span><span class="Constant">clean_codnar</span><span class="Special">&quot;</span>) { rm_rf(<span class="Type">Rake</span>.chunks_dir) }
11241
+ ::<span class="Type">Rake</span>::<span class="Type">Task</span>.define_task(<span class="Special">&quot;</span><span class="Constant">clean_codnar</span><span class="Special">&quot;</span>) { <span class="Type">FileUtils</span>.rm_rf(<span class="Type">Rake</span>.chunks_dir) }
11250
11242
  ::<span class="Type">Rake</span>::<span class="Type">Task</span>.define_task(<span class="Constant">:clean</span> =&gt; <span class="Special">&quot;</span><span class="Constant">clean_codnar</span><span class="Special">&quot;</span>)
11251
11243
  <span class="PreProc">end</span>
11252
11244
 
@@ -11442,8 +11434,9 @@ Run the Weave application for a single source file.
11442
11434
  <td class='html'>
11443
11435
  <div class='rdoc comment markup'>
11444
11436
  <p>
11445
- Connect the task for cleaning up after weaving (<tt>clobber_codnar</tt>) to
11446
- the common task of cleaning up everything (<tt>clobber</tt>).
11437
+ Connect the task for cleaning up after weaving
11438
+ (<code>clobber_codnar</code>) to the common task of cleaning up everything
11439
+ (<code>clobber</code>).
11447
11440
  </p>
11448
11441
  </div>
11449
11442
  </td>
@@ -53,7 +53,7 @@ module Codnar
53
53
  desc "Split all files into chunks"
54
54
  ::Rake::Task.define_task("codnar_split")
55
55
  desc "Clean all split chunks"
56
- ::Rake::Task.define_task("clean_codnar") { rm_rf(Rake.chunks_dir) }
56
+ ::Rake::Task.define_task("clean_codnar") { FileUtils.rm_rf(Rake.chunks_dir) }
57
57
  ::Rake::Task.define_task(:clean => "clean_codnar")
58
58
  end
59
59
 
@@ -3,6 +3,6 @@ module Codnar
3
3
 
4
4
  # This version number. The third number is automatically updated to track the
5
5
  # number of Git commits by running <tt>rake version</tt>.
6
- VERSION = "0.1.73"
6
+ VERSION = "0.1.74"
7
7
 
8
8
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codnar
3
3
  version: !ruby/object:Gem::Version
4
- hash: 137
4
+ hash: 143
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 73
10
- version: 0.1.73
9
+ - 74
10
+ version: 0.1.74
11
11
  platform: ruby
12
12
  authors:
13
13
  - Oren Ben-Kiki
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-03-18 00:00:00 Z
18
+ date: 2012-03-25 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: andand
@@ -323,7 +323,7 @@ licenses: []
323
323
  post_install_message:
324
324
  rdoc_options:
325
325
  - --title
326
- - Code Narrator 0.1.73
326
+ - Code Narrator 0.1.74
327
327
  - --main
328
328
  - README.rdoc
329
329
  - --line-numbers