olag 0.1.12 → 0.1.13

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
  2011-08-25 Oren Ben-Kiki <github-oren@ben-kiki.org>
2
2
 
3
+ * Utilities for verifing number of arguments.
3
4
  * Additional utilities.
4
5
 
5
6
  2011-07-24 Oren Ben-Kiki <github-oren@ben-kiki.org>
@@ -1087,7 +1087,7 @@ Define all the Rake tasks.
1087
1087
  <span class="PreProc">def</span> <span class="Identifier">initialize</span>(spec)
1088
1088
  <span class="Identifier">@spec</span> = spec
1089
1089
  <span class="Identifier">@ruby_sources</span> = <span class="Identifier">@spec</span>.files.find_all { |<span class="Identifier">file</span>| file =~ <span class="Special">/</span><span class="Special">^</span><span class="Constant">Rakefile</span><span class="Special">$</span><span class="Special">|</span><span class="Special">\.</span><span class="Constant">rb</span><span class="Special">$</span><span class="Special">/</span> }
1090
- <span class="Identifier">@weave_configurations</span> = [ <span class="Constant">:weave_include</span>, <span class="Constant">:weave_named_chunk_with_containers</span> ]
1090
+ <span class="Identifier">@weave_configurations</span> = [ <span class="Constant">:weave_include</span>, <span class="Constant">:weave_named_chunk_with_containers</span>, <span class="Constant">:weave_plain_chunk</span> ]
1091
1091
  task(<span class="Constant">:default</span> =&gt; <span class="Constant">:all</span>)
1092
1092
  define_all_task
1093
1093
  <span class="Type">CLOBBER</span> &lt;&lt; <span class="Special">&quot;</span><span class="Constant">saikuro</span><span class="Special">&quot;</span>
@@ -1680,6 +1680,25 @@ splitting but slow viewing. Using GVim is the reverse.
1680
1680
  <td class='html'>
1681
1681
  <div class='rdoc comment markup'>
1682
1682
  <p>
1683
+ Configurations for GraphViz diagram files.
1684
+ </p>
1685
+ </div>
1686
+ </td>
1687
+ </tr>
1688
+ </table>
1689
+ <pre class='ruby code syntax'>
1690
+ <span class="Special">&quot;</span><span class="Constant">.*\.dot</span><span class="Special">&quot;</span>,
1691
+ <span class="Special">&quot;</span><span class="Constant">split_graphviz_documentation</span><span class="Special">&quot;</span>,
1692
+ ], [
1693
+ </pre>
1694
+ <table class='layout'>
1695
+ <tr>
1696
+ <td class='indentation'>
1697
+ <pre> </pre>
1698
+ </td>
1699
+ <td class='html'>
1700
+ <div class='rdoc comment markup'>
1701
+ <p>
1683
1702
  Configurations for HTML documentation files.
1684
1703
  </p>
1685
1704
  </div>
@@ -1751,7 +1770,7 @@ Define a task to build the Codnar documentation.
1751
1770
  configurations = <span class="Type">Rake</span>.split_configurations(file)
1752
1771
  <span class="Type">Codnar</span>::<span class="Type">Rake</span>::<span class="Type">SplitTask</span>.new([ file ], configurations) <span class="Statement">unless</span> configurations == []
1753
1772
  <span class="Statement">end</span>
1754
- <span class="Type">Codnar</span>::<span class="Type">Rake</span>::<span class="Type">WeaveTask</span>.new(<span class="Special">&quot;</span><span class="Constant">doc/root.html</span><span class="Special">&quot;</span>, [ <span class="Constant">:weave_include</span>, <span class="Constant">:weave_named_chunk_with_containers</span> ])
1773
+ <span class="Type">Codnar</span>::<span class="Type">Rake</span>::<span class="Type">WeaveTask</span>.new(<span class="Special">&quot;</span><span class="Constant">doc/root.html</span><span class="Special">&quot;</span>, <span class="Identifier">@weave_configurations</span>)
1755
1774
  <span class="PreProc">end</span>
1756
1775
 
1757
1776
  </pre>
@@ -1994,7 +2013,7 @@ number of Git commits by running <tt>rake version</tt>.
1994
2013
  </tr>
1995
2014
  </table>
1996
2015
  <pre class='ruby code syntax'>
1997
- <span class="Type">VERSION</span> = <span class="Special">&quot;</span><span class="Constant">0.1.12</span><span class="Special">&quot;</span>
2016
+ <span class="Type">VERSION</span> = <span class="Special">&quot;</span><span class="Constant">0.1.13</span><span class="Special">&quot;</span>
1998
2017
 
1999
2018
  end
2000
2019
  </pre>
@@ -20,7 +20,7 @@ module Olag
20
20
  def initialize(spec)
21
21
  @spec = spec
22
22
  @ruby_sources = @spec.files.find_all { |file| file =~ /^Rakefile$|\.rb$/ }
23
- @weave_configurations = [ :weave_include, :weave_named_chunk_with_containers ]
23
+ @weave_configurations = [ :weave_include, :weave_named_chunk_with_containers, :weave_plain_chunk ]
24
24
  task(:default => :all)
25
25
  define_all_task
26
26
  CLOBBER << "saikuro"
@@ -160,6 +160,10 @@ module Olag
160
160
  "classify_shell_comments",
161
161
  "format_rdoc_comments",
162
162
  "chunk_by_vim_regions",
163
+ ], [
164
+ # Configurations for GraphViz diagram files.
165
+ ".*\.dot",
166
+ "split_graphviz_documentation",
163
167
  ], [
164
168
  # Configurations for HTML documentation files.
165
169
  ".*\.html",
@@ -181,7 +185,7 @@ module Olag
181
185
  configurations = Rake.split_configurations(file)
182
186
  Codnar::Rake::SplitTask.new([ file ], configurations) unless configurations == []
183
187
  end
184
- Codnar::Rake::WeaveTask.new("doc/root.html", [ :weave_include, :weave_named_chunk_with_containers ])
188
+ Codnar::Rake::WeaveTask.new("doc/root.html", @weave_configurations)
185
189
  end
186
190
 
187
191
  # Find the Codnar split configurations for a file.
@@ -3,6 +3,6 @@ module Olag
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.12"
6
+ VERSION = "0.1.13"
7
7
 
8
8
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: olag
3
3
  version: !ruby/object:Gem::Version
4
- hash: 3
4
+ hash: 1
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 12
10
- version: 0.1.12
9
+ - 13
10
+ version: 0.1.13
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: 2011-08-25 00:00:00 Z
18
+ date: 2011-09-13 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: Saikuro
@@ -202,7 +202,7 @@ licenses: []
202
202
  post_install_message:
203
203
  rdoc_options:
204
204
  - --title
205
- - Olag 0.1.12
205
+ - Olag 0.1.13
206
206
  - --main
207
207
  - README.rdoc
208
208
  - --line-numbers