rumai 3.2.1 → 3.2.2

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.
Files changed (78) hide show
  1. data/CREDITS +1 -0
  2. data/HISTORY +24 -1
  3. data/INSTALL +2 -0
  4. data/{doc/index.erb → MANUAL} +9 -4
  5. data/bin/rumai +40 -7
  6. data/doc/ann.xml +61 -0
  7. data/doc/api/IO.html +1 -1
  8. data/doc/api/Integer.html +1 -1
  9. data/doc/api/Rumai.html +275 -5
  10. data/doc/api/Rumai/Area.html +1 -1
  11. data/doc/api/Rumai/Chain.html +1 -1
  12. data/doc/api/Rumai/Client.html +1 -1
  13. data/doc/api/Rumai/ClientContainer.html +1 -1
  14. data/doc/api/Rumai/ExportInstanceMethods.html +1 -1
  15. data/doc/api/Rumai/IXP.html +1 -1
  16. data/doc/api/Rumai/IXP/Agent.html +1 -1
  17. data/doc/api/Rumai/IXP/Agent/FidStream.html +1 -1
  18. data/doc/api/Rumai/IXP/Agent/RangedPool.html +1 -1
  19. data/doc/api/Rumai/IXP/Error.html +1 -1
  20. data/doc/api/Rumai/IXP/Fcall.html +1 -1
  21. data/doc/api/Rumai/IXP/Qid.html +1 -1
  22. data/doc/api/Rumai/IXP/Rattach.html +1 -1
  23. data/doc/api/Rumai/IXP/Rauth.html +1 -1
  24. data/doc/api/Rumai/IXP/Rclunk.html +1 -1
  25. data/doc/api/Rumai/IXP/Rcreate.html +1 -1
  26. data/doc/api/Rumai/IXP/Rerror.html +1 -1
  27. data/doc/api/Rumai/IXP/Rflush.html +1 -1
  28. data/doc/api/Rumai/IXP/Ropen.html +1 -1
  29. data/doc/api/Rumai/IXP/Rread.html +1 -1
  30. data/doc/api/Rumai/IXP/Rremove.html +1 -1
  31. data/doc/api/Rumai/IXP/Rstat.html +1 -1
  32. data/doc/api/Rumai/IXP/Rversion.html +1 -1
  33. data/doc/api/Rumai/IXP/Rwalk.html +1 -1
  34. data/doc/api/Rumai/IXP/Rwrite.html +1 -1
  35. data/doc/api/Rumai/IXP/Rwstat.html +1 -1
  36. data/doc/api/Rumai/IXP/Stat.html +1 -1
  37. data/doc/api/Rumai/IXP/Stream.html +1 -1
  38. data/doc/api/Rumai/IXP/Struct.html +1 -1
  39. data/doc/api/Rumai/IXP/Struct/ClassField.html +1 -1
  40. data/doc/api/Rumai/IXP/Struct/Field.html +1 -1
  41. data/doc/api/Rumai/IXP/Struct/Field/CounteeField.html +1 -1
  42. data/doc/api/Rumai/IXP/Struct/Field/CounterField.html +1 -1
  43. data/doc/api/Rumai/IXP/Struct/Integer8Field.html +1 -1
  44. data/doc/api/Rumai/IXP/Struct/StringField.html +1 -1
  45. data/doc/api/Rumai/IXP/Tattach.html +1 -1
  46. data/doc/api/Rumai/IXP/Tauth.html +1 -1
  47. data/doc/api/Rumai/IXP/Tclunk.html +1 -1
  48. data/doc/api/Rumai/IXP/Tcreate.html +1 -1
  49. data/doc/api/Rumai/IXP/Terror.html +1 -1
  50. data/doc/api/Rumai/IXP/Tflush.html +1 -1
  51. data/doc/api/Rumai/IXP/Topen.html +1 -1
  52. data/doc/api/Rumai/IXP/Tread.html +1 -1
  53. data/doc/api/Rumai/IXP/Tremove.html +1 -1
  54. data/doc/api/Rumai/IXP/Tstat.html +1 -1
  55. data/doc/api/Rumai/IXP/Tversion.html +1 -1
  56. data/doc/api/Rumai/IXP/Twalk.html +1 -1
  57. data/doc/api/Rumai/IXP/Twrite.html +1 -1
  58. data/doc/api/Rumai/IXP/Twstat.html +1 -1
  59. data/doc/api/Rumai/Node.html +1 -1
  60. data/doc/api/Rumai/View.html +1 -1
  61. data/doc/api/Rumai/WidgetImpl.html +1 -1
  62. data/doc/api/Rumai/WidgetNode.html +1 -1
  63. data/doc/api/String.html +1 -1
  64. data/doc/api/StringIO.html +1 -1
  65. data/doc/api/Time.html +1 -1
  66. data/doc/api/_index.html +3 -3
  67. data/doc/api/file.LICENSE.html +2 -2
  68. data/doc/api/frames.html +1 -1
  69. data/doc/api/index.html +2 -2
  70. data/doc/api/method_list.html +65 -57
  71. data/doc/api/top-level-namespace.html +1 -1
  72. data/doc/index.html +176 -129
  73. data/inochi.opts +31 -0
  74. data/lib/rumai/inochi.rb +84 -29
  75. data/test/test_helper.rb +1 -1
  76. metadata +20 -8
  77. data/lib/rumai/inochi.yaml +0 -94
  78. data/test/rumai/inochi_test.rb +0 -17
data/CREDITS CHANGED
@@ -1,4 +1,5 @@
1
1
  - Christoph Blank <http://textmode.at>
2
+ - ghedamat <http://github.com/ghedamat>
2
3
  - Gigamo <http://github.com/gigamo>
3
4
  - Michael Andrus <http://github.com/centyx>
4
5
  - Simon Hafner <http://github.com/Tass>
data/HISTORY CHANGED
@@ -3,6 +3,29 @@
3
3
  %# opening ./doc/index.html in your favorite Web browser. #%
4
4
  %# #%
5
5
 
6
+ %#----------------------------------------------------------------------------
7
+ %| section "Version 3.2.2 (2010-04-01)"
8
+ %#----------------------------------------------------------------------------
9
+
10
+ This release fixes some warnings that appeared during installation and
11
+ performs some minor housekeeping.
12
+
13
+ %#--------------------------------------------------------------------------
14
+ %| paragraph "Bug fixes"
15
+ %#--------------------------------------------------------------------------
16
+
17
+ * Warnings of the following form appeared during gem installation:
18
+
19
+ Unrecognized directive '...' in lib/rumai/inochi.yaml
20
+
21
+ Thanks to [ghedamat](http://github.com/ghedamat) for reporting this.
22
+
23
+ %#--------------------------------------------------------------------------
24
+ %| paragraph "Housekeeping"
25
+ %#--------------------------------------------------------------------------
26
+
27
+ * Upgrade to Inochi 2.0.0-rc2 for managing this project.
28
+
6
29
  %#----------------------------------------------------------------------------
7
30
  %| section "Version 3.2.1 (2010-03-22)"
8
31
  %#----------------------------------------------------------------------------
@@ -32,7 +55,7 @@
32
55
  %| paragraph "Housekeeping"
33
56
  %#--------------------------------------------------------------------------
34
57
 
35
- * Upgrade to Inochi 2.0.0 and Dfect 2.0.0.
58
+ * Upgrade to Inochi 2.0.0-rc1 and Dfect 2.0.0.
36
59
 
37
60
  %#----------------------------------------------------------------------------
38
61
  %| section "Version 3.2.0 (2009-11-17)"
data/INSTALL CHANGED
@@ -8,7 +8,9 @@
8
8
  %#----------------------------------------------------------------------------
9
9
 
10
10
  * [Ruby](http://ruby-lang.org) 1.8.6 or newer.
11
+
11
12
  * [RubyGems](http://rubygems.org) 1.3.6 or newer.
13
+
12
14
  * [wmii](http://wmii.suckless.org) 3.6 or newer.
13
15
 
14
16
  %#----------------------------------------------------------------------------
@@ -1,3 +1,8 @@
1
+ %# #%
2
+ %# You can read this document in its full glory by #%
3
+ %# opening ./doc/index.html in your favorite Web browser. #%
4
+ %# #%
5
+
1
6
  % api_reference_url = 'api/index.html'
2
7
  % source_code_tool = '[Git](http://git-scm.com)'
3
8
  % source_code_url = 'http://github.com/sunaku/rumai'
@@ -8,14 +13,14 @@
8
13
  % p9p_url = 'http://cm.bell-labs.com/magic/man2html/5/intro'
9
14
 
10
15
  %|part "Welcome"
11
- %+ "../README"
16
+ %+ "README"
12
17
 
13
18
  %|part "Setup"
14
- %+ "../INSTALL"
19
+ %+ "INSTALL"
15
20
 
16
21
  %|part "Usage"
17
- %+ "../USAGE"
22
+ %+ "USAGE"
18
23
 
19
24
  %|part "History"
20
25
  %|project_history
21
- %+ "../HISTORY"
26
+ %+ "HISTORY"
data/bin/rumai CHANGED
@@ -1,11 +1,48 @@
1
1
  #!/usr/bin/env ruby
2
2
  #
3
- # This program is an interactive shell for Rumai.
3
+ # This is an interactive Ruby shell (IRB) for Rumai.
4
4
  #
5
- # Command-line options and arguments given to this program are passed
6
- # directly to the underlying IRB (the interactive Ruby shell) session.
5
+ #
6
+ # Usage:
7
+ #
8
+ # rumai [Options] [STUFF_FOR_IRB]
9
+ #
10
+ # STUFF_FOR_IRB : Arguments and options for `irb`.
11
+ #
12
+ #
13
+ # Options:
14
+ #
15
+ # -h, --help : Show this message and exit.
16
+ #
17
+ # -v, --version : Show version number and exit.
7
18
  #
8
19
 
20
+ $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
21
+ require 'rumai'
22
+
23
+ # parse command line
24
+ if ARGV.delete('-h') or ARGV.delete('--help')
25
+ puts
26
+ puts Rumai.inspect
27
+ puts Rumai::TAGLINE
28
+ puts
29
+ puts
30
+ puts File.read(__FILE__)[/^#(\r?\n)(.*?)\1\1/m, 2].gsub(/^# ?/, '')
31
+ puts
32
+ puts
33
+ puts 'Read the user manual for more information:'
34
+ puts
35
+ puts " #{Rumai::INSTDIR}/doc/index.html"
36
+ puts
37
+ puts " #{Rumai::WEBSITE}"
38
+ puts
39
+ exit
40
+ elsif ARGV.delete('-v') or ARGV.delete('--version')
41
+ puts Rumai::VERSION
42
+ exit
43
+ end
44
+
45
+ # start IRB session
9
46
  require 'irb'
10
47
  require 'irb/completion' # enable TAB-completion
11
48
 
@@ -29,8 +66,4 @@ module IRB
29
66
  end
30
67
  end
31
68
 
32
- # start IRB session
33
- $LOAD_PATH << File.expand_path('../../lib', __FILE__)
34
- require 'rumai'
35
-
36
69
  IRB.start_session Rumai
data/doc/ann.xml ADDED
@@ -0,0 +1,61 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <rss version="2.0"
3
+ xmlns:content="http://purl.org/rss/1.0/modules/content/"
4
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
5
+ xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/"
6
+ xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">
7
+ <channel>
8
+ <title>[ANN] Rumai</title>
9
+ <link>http://snk.tuxfamily.org/lib/rumai/</link>
10
+ <description>Ruby interface to the wmii window manager</description>
11
+ <item>
12
+ <title>Version 3.2.2 (2010-04-01)</title>
13
+ <link>http://snk.tuxfamily.org/lib/rumai/</link>
14
+ <description>
15
+ &lt;center&gt;
16
+ &lt;h1&gt;Rumai 3.2.2 (2010-04-01)&lt;/h1&gt;
17
+ &lt;p&gt;Ruby interface to the wmii window manager&lt;/p&gt;
18
+ &lt;p&gt;http://snk.tuxfamily.org/lib/rumai/&lt;/p&gt;
19
+ &lt;/center&gt;
20
+ Rumai is a &lt;a href='http://ruby-lang.org'&gt;Ruby&lt;/a&gt; interface to the &lt;a href='http://wmii.suckless.org'&gt;wmii&lt;/a&gt; window manager.
21
+ &lt;div&gt;
22
+ &lt;div class=&quot;section&quot; id=&quot;Version-3-2-2-2010-04-01&quot;&gt;
23
+ &lt;a name=&quot;Version-3-2-2-2010-04-01&quot;/&gt;
24
+ &lt;h1 class=&quot;title&quot;&gt;
25
+ Version 3.2.2 (2010-04-01)
26
+ &lt;/h1&gt;
27
+ &lt;div class=&quot;content&quot;&gt;&lt;p&gt;This release fixes some warnings that appeared during installation and performs some minor housekeeping.&lt;/p&gt;
28
+
29
+
30
+ &lt;div class=&quot;paragraph&quot; id=&quot;Bug-fixes&quot;&gt;
31
+ &lt;a name=&quot;Bug-fixes&quot;/&gt;
32
+ &lt;p class=&quot;title&quot;&gt;Bug fixes&lt;/p&gt;
33
+ &lt;div class=&quot;content&quot;&gt;&lt;ul&gt;
34
+ &lt;li&gt;
35
+ &lt;p&gt;Warnings of the following form appeared during gem installation:&lt;/p&gt;
36
+
37
+ &lt;pre&gt;Unrecognized directive &amp;#39;...&amp;#39; in lib/rumai/inochi.yaml&lt;/pre&gt;
38
+
39
+ &lt;p&gt;Thanks to &lt;a href='http://github.com/ghedamat'&gt;ghedamat&lt;/a&gt; for reporting this.&lt;/p&gt;
40
+ &lt;/li&gt;
41
+ &lt;/ul&gt;&lt;/div&gt;
42
+ &lt;/div&gt;
43
+
44
+
45
+
46
+ &lt;div class=&quot;paragraph&quot; id=&quot;Housekeeping&quot;&gt;
47
+ &lt;a name=&quot;Housekeeping&quot;/&gt;
48
+ &lt;p class=&quot;title&quot;&gt;Housekeeping&lt;/p&gt;
49
+ &lt;div class=&quot;content&quot;&gt;&lt;ul&gt;
50
+ &lt;li&gt;Upgrade to Inochi 2.0.0-rc2 for managing this project.&lt;/li&gt;
51
+ &lt;/ul&gt;&lt;/div&gt;
52
+ &lt;/div&gt;
53
+ &lt;/div&gt;
54
+ &lt;/div&gt;
55
+
56
+ </description>
57
+ <pubDate>Thu, 01 Apr 2010 00:00:00 -0700</pubDate>
58
+ <dc:date>2010-04-01T00:00:00-07:00</dc:date>
59
+ </item>
60
+ </channel>
61
+ </rss>
data/doc/api/IO.html CHANGED
@@ -110,7 +110,7 @@
110
110
  </div>
111
111
 
112
112
  <div id="footer">
113
- Generated on Mon Mar 22 22:23:58 2010 by
113
+ Generated on Thu Apr 1 00:31:01 2010 by
114
114
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
115
115
  0.5.4 (ruby-1.9.1).
116
116
  </div>
data/doc/api/Integer.html CHANGED
@@ -162,7 +162,7 @@ Transforms this object into a string of 9P2000 bytes.
162
162
  </div>
163
163
 
164
164
  <div id="footer">
165
- Generated on Mon Mar 22 22:23:58 2010 by
165
+ Generated on Thu Apr 1 00:31:00 2010 by
166
166
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
167
167
  0.5.4 (ruby-1.9.1).
168
168
  </div>
data/doc/api/Rumai.html CHANGED
@@ -138,11 +138,175 @@ href="http://swtch.com/plan9port/man/man9">swtch.com/plan9port/man/man9</a>/
138
138
  </dt>
139
139
  <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>/./</span><span class='tstring_end'>'</span></span><span class='period'>.</span><span class='id freeze'>freeze</span></pre></dd>
140
140
 
141
+ <dt id="PROJECT-constant" class="">PROJECT =
142
+ <div class="docstring">
143
+ <div class="discussion">
144
+ <p>
145
+ Official name of this project.
146
+ </p>
147
+
148
+
149
+ </div>
150
+ </div>
151
+ <div class="tags">
152
+
153
+ </div>
154
+ </dt>
155
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Rumai</span><span class='tstring_end'>&quot;</span></span></pre></dd>
156
+
157
+ <dt id="TAGLINE-constant" class="">TAGLINE =
158
+ <div class="docstring">
159
+ <div class="discussion">
160
+ <p>
161
+ Short single-line description of this project.
162
+ </p>
163
+
164
+
165
+ </div>
166
+ </div>
167
+ <div class="tags">
168
+
169
+ </div>
170
+ </dt>
171
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>Ruby interface to the wmii window manager</span><span class='tstring_end'>&quot;</span></span></pre></dd>
172
+
173
+ <dt id="WEBSITE-constant" class="">WEBSITE =
174
+ <div class="docstring">
175
+ <div class="discussion">
176
+ <p>
177
+ Address of this project&#8217;s official home page.
178
+ </p>
179
+
180
+
181
+ </div>
182
+ </div>
183
+ <div class="tags">
184
+
185
+ </div>
186
+ </dt>
187
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>http://snk.tuxfamily.org/lib/rumai/</span><span class='tstring_end'>&quot;</span></span></pre></dd>
188
+
189
+ <dt id="VERSION-constant" class="">VERSION =
190
+ <div class="docstring">
191
+ <div class="discussion">
192
+ <p>
193
+ Number of this release of this project.
194
+ </p>
195
+
196
+
197
+ </div>
198
+ </div>
199
+ <div class="tags">
200
+
201
+ </div>
202
+ </dt>
203
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>3.2.2</span><span class='tstring_end'>&quot;</span></span></pre></dd>
204
+
205
+ <dt id="RELDATE-constant" class="">RELDATE =
206
+ <div class="docstring">
207
+ <div class="discussion">
208
+ <p>
209
+ Date of this release of this project.
210
+ </p>
211
+
212
+
213
+ </div>
214
+ </div>
215
+ <div class="tags">
216
+
217
+ </div>
218
+ </dt>
219
+ <dd><pre class="code"><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>2010-04-01</span><span class='tstring_end'>&quot;</span></span></pre></dd>
220
+
141
221
  <dt id="INSTDIR-constant" class="">INSTDIR =
142
-
222
+ <div class="docstring">
223
+ <div class="discussion">
224
+ <p>
225
+ Location of this release of this project.
226
+ </p>
227
+
228
+
229
+ </div>
230
+ </div>
231
+ <div class="tags">
232
+
233
+ </div>
143
234
  </dt>
144
235
  <dd><pre class="code"><span class='const'>File</span><span class='period'>.</span><span class='id expand_path'>expand_path</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>../../..</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='kw'>__FILE__</span><span class='rparen'>)</span></pre></dd>
145
236
 
237
+ <dt id="RUNTIME-constant" class="">RUNTIME =
238
+ <div class="docstring">
239
+ <div class="discussion">
240
+ <p>
241
+ RubyGems required by this project during runtime.
242
+ </p>
243
+
244
+
245
+ </div>
246
+ </div>
247
+ <div class="tags">
248
+
249
+ <div class="examples">
250
+ <h3>Examples:</h3>
251
+
252
+ <h4><div class='inline'></div></h4>
253
+ <pre class="example code">
254
+ <span class='const'>RUNTIME</span> <span class='op'>=</span> <span class='lbrace'>{</span>
255
+ <span class='comment'># this project needs exactly version 1.2.3 of the &quot;an_example&quot; gem
256
+ </span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>an_example</span><span class='tstring_end'>&quot;</span></span> <span class='op'>=&gt;</span> <span class='lbracket'>[</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>1.2.3</span><span class='tstring_end'>&quot;</span></span> <span class='rbracket'>]</span><span class='comma'>,</span>
257
+
258
+ <span class='comment'># this project needs at least version 1.2 (but not
259
+ </span> <span class='comment'># version 1.2.4 or newer) of the &quot;another_example&quot; gem
260
+ </span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>another_example</span><span class='tstring_end'>&quot;</span></span> <span class='op'>=&gt;</span> <span class='lbracket'>[</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>&gt;= 1.2</span><span class='tstring_end'>&quot;</span></span> <span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>&lt; 1.2.4</span><span class='tstring_end'>&quot;</span></span> <span class='rbracket'>]</span><span class='comma'>,</span>
261
+
262
+ <span class='comment'># this project needs any version of the &quot;yet_another_example&quot; gem
263
+ </span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>yet_another_example</span><span class='tstring_end'>&quot;</span></span> <span class='op'>=&gt;</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='comma'>,</span>
264
+ <span class='rbrace'>}</span></pre>
265
+
266
+ </div>
267
+
268
+ </div>
269
+ </dt>
270
+ <dd><pre class="code"><span class='lbrace'>{</span><span class='rbrace'>}</span></pre></dd>
271
+
272
+ <dt id="DEVTIME-constant" class="">DEVTIME =
273
+ <div class="docstring">
274
+ <div class="discussion">
275
+ <p>
276
+ RubyGems required by this project during development.
277
+ </p>
278
+
279
+
280
+ </div>
281
+ </div>
282
+ <div class="tags">
283
+
284
+ <div class="examples">
285
+ <h3>Examples:</h3>
286
+
287
+ <h4><div class='inline'></div></h4>
288
+ <pre class="example code">
289
+ <span class='const'>DEVTIME</span> <span class='op'>=</span> <span class='lbrace'>{</span>
290
+ <span class='comment'># this project needs exactly version 1.2.3 of the &quot;an_example&quot; gem
291
+ </span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>an_example</span><span class='tstring_end'>&quot;</span></span> <span class='op'>=&gt;</span> <span class='lbracket'>[</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>1.2.3</span><span class='tstring_end'>&quot;</span></span> <span class='rbracket'>]</span><span class='comma'>,</span>
292
+
293
+ <span class='comment'># this project needs at least version 1.2 (but not
294
+ </span> <span class='comment'># version 1.2.4 or newer) of the &quot;another_example&quot; gem
295
+ </span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>another_example</span><span class='tstring_end'>&quot;</span></span> <span class='op'>=&gt;</span> <span class='lbracket'>[</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>&gt;= 1.2</span><span class='tstring_end'>&quot;</span></span> <span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>&lt; 1.2.4</span><span class='tstring_end'>&quot;</span></span> <span class='rbracket'>]</span><span class='comma'>,</span>
296
+
297
+ <span class='comment'># this project needs any version of the &quot;yet_another_example&quot; gem
298
+ </span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>yet_another_example</span><span class='tstring_end'>&quot;</span></span> <span class='op'>=&gt;</span> <span class='lbracket'>[</span><span class='rbracket'>]</span><span class='comma'>,</span>
299
+ <span class='rbrace'>}</span></pre>
300
+
301
+ </div>
302
+
303
+ </div>
304
+ </dt>
305
+ <dd><pre class="code"><span class='lbrace'>{</span>
306
+ <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>inochi</span><span class='tstring_end'>&quot;</span></span> <span class='op'>=&gt;</span> <span class='lbracket'>[</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>~&gt; 2</span><span class='tstring_end'>&quot;</span></span> <span class='rbracket'>]</span><span class='comma'>,</span> <span class='comment'># for managing this project
307
+ </span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>dfect</span><span class='tstring_end'>&quot;</span></span> <span class='op'>=&gt;</span> <span class='lbracket'>[</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>~&gt; 2</span><span class='tstring_end'>&quot;</span></span> <span class='rbracket'>]</span><span class='comma'>,</span> <span class='comment'># for unit testing
308
+ </span><span class='rbrace'>}</span></pre></dd>
309
+
146
310
  </dl>
147
311
 
148
312
 
@@ -176,7 +340,35 @@ href="http://swtch.com/plan9port/man/man9">swtch.com/plan9port/man/man9</a>/
176
340
 
177
341
 
178
342
 
179
- <span class="summary_desc"><div class='inline'></div></span>
343
+ <span class="summary_desc"><div class='inline'><p>
344
+ Description of this release of this project.
345
+ </p>
346
+ </div></span>
347
+
348
+ </li>
349
+
350
+
351
+ <li class="public ">
352
+ <span class="summary_signature">
353
+
354
+ <a href="#require-class_method" title="require (class method)">+ (Object) <strong>require</strong>(gem_name_or_library) </a>
355
+
356
+
357
+
358
+ </span>
359
+
360
+
361
+
362
+
363
+
364
+
365
+
366
+ <span class="summary_desc"><div class='inline'><p>
367
+ Loads the correct version (as defined by the <tt><a href="#RUNTIME-constant" title="Rumai::RUNTIME (constant)">RUNTIME</a></tt> or <tt><a href="#DEVTIME-constant" title="Rumai::DEVTIME (constant)">DEVTIME</a></tt>
368
+ constant in this module) of the given gem or the gem that contains the
369
+ given library.
370
+ </p>
371
+ </div></span>
180
372
 
181
373
  </li>
182
374
 
@@ -637,7 +829,18 @@ Returns the current set of views.
637
829
 
638
830
 
639
831
 
640
- </p><table class="source_code">
832
+ </p><div class="docstring">
833
+ <div class="discussion">
834
+ <p>
835
+ Description of this release of this project.
836
+ </p>
837
+
838
+
839
+ </div>
840
+ </div>
841
+ <div class="tags">
842
+
843
+ </div><table class="source_code">
641
844
  <tr>
642
845
  <td>
643
846
  <pre class="lines">
@@ -651,7 +854,74 @@ Returns the current set of views.
651
854
  <pre class="code"><span class="info file"># File 'lib/rumai/inochi.rb', line 31</span>
652
855
 
653
856
  <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id inspect'>inspect</span>
654
- <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='const'>PROJECT</span><span class='rbrace'>}</span><span class='tstring_content'> </span><span class='embexpr_beg'>#{</span><span class='const'>VERSION</span><span class='rbrace'>}</span><span class='tstring_content'> (</span><span class='embexpr_beg'>#{</span><span class='const'>RELEASE</span><span class='rbrace'>}</span><span class='tstring_content'>)</span><span class='tstring_end'>&quot;</span></span>
857
+ <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='const'>PROJECT</span><span class='rbrace'>}</span><span class='tstring_content'> </span><span class='embexpr_beg'>#{</span><span class='const'>VERSION</span><span class='rbrace'>}</span><span class='tstring_content'> (</span><span class='embexpr_beg'>#{</span><span class='const'>RELDATE</span><span class='rbrace'>}</span><span class='tstring_content'>)</span><span class='tstring_end'>&quot;</span></span>
858
+ <span class='kw'>end</span></pre>
859
+ </td>
860
+ </tr>
861
+ </table>
862
+ </div>
863
+
864
+ <div class="method_details ">
865
+ <p class="signature " id="require-class_method">
866
+
867
+ + (<tt><a href="Object.html" title="Object (class)">Object</a></tt>) <strong>require</strong>(gem_name_or_library)
868
+
869
+
870
+
871
+ </p><div class="docstring">
872
+ <div class="discussion">
873
+ <p>
874
+ Loads the correct version (as defined by the <tt><a href="#RUNTIME-constant" title="Rumai::RUNTIME (constant)">RUNTIME</a></tt> or <tt><a href="#DEVTIME-constant" title="Rumai::DEVTIME (constant)">DEVTIME</a></tt>
875
+ constant in this module) of the given gem or the gem that contains the
876
+ given library.
877
+ </p>
878
+
879
+
880
+ </div>
881
+ </div>
882
+ <div class="tags">
883
+
884
+ </div><table class="source_code">
885
+ <tr>
886
+ <td>
887
+ <pre class="lines">
888
+
889
+
890
+ 86
891
+ 87
892
+ 88
893
+ 89
894
+ 90
895
+ 91
896
+ 92
897
+ 93
898
+ 94
899
+ 95
900
+ 96
901
+ 97
902
+ 98
903
+ 99
904
+ 100
905
+ 101</pre>
906
+ </td>
907
+ <td>
908
+ <pre class="code"><span class="info file"># File 'lib/rumai/inochi.rb', line 86</span>
909
+
910
+ <span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id require'>require</span> <span class='id gem_name_or_library'>gem_name_or_library</span>
911
+ <span class='comment'># prepare the correct version of the gem for loading
912
+ </span> <span class='kw'>if</span> <span class='id respond_to?'>respond_to?</span> <span class='symbol'>:gem</span>
913
+ <span class='id gem_name'>gem_name</span> <span class='op'>=</span> <span class='id gem_name_or_library'>gem_name_or_library</span><span class='period'>.</span><span class='id to_s'>to_s</span><span class='period'>.</span><span class='id sub'>sub</span><span class='lparen'>(</span><span class='tstring'><span class='regexp_beg'>%r{</span><span class='tstring_content'>/.*$</span><span class='regexp_end'>}</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
914
+ <span class='kw'>if</span> <span class='id gem_version'>gem_version</span> <span class='op'>=</span> <span class='const'>RUNTIME</span><span class='lbracket'>[</span><span class='id gem_name'>gem_name</span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='const'>DEVTIME</span><span class='lbracket'>[</span><span class='id gem_name'>gem_name</span><span class='rbracket'>]</span>
915
+ <span class='kw'>begin</span>
916
+ <span class='id gem'>gem</span> <span class='id gem_name'>gem_name</span><span class='comma'>,</span> <span class='op'>*</span><span class='id gem_version'>gem_version</span>
917
+ <span class='kw'>rescue</span> <span class='const'>LoadError</span> <span class='op'>=&gt;</span> <span class='id error'>error</span>
918
+ <span class='id warn'>warn</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='kw'>self</span><span class='period'>.</span><span class='id inspect'>inspect</span><span class='rbrace'>}</span><span class='tstring_content'>: </span><span class='embexpr_beg'>#{</span><span class='id error'>error</span><span class='rbrace'>}</span><span class='tstring_end'>&quot;</span></span>
919
+ <span class='kw'>end</span>
920
+ <span class='kw'>end</span>
921
+ <span class='kw'>end</span>
922
+
923
+ <span class='comment'># do the loading
924
+ </span> <span class='kw'>super</span>
655
925
  <span class='kw'>end</span></pre>
656
926
  </td>
657
927
  </tr>
@@ -1261,7 +1531,7 @@ Returns the current set of views.
1261
1531
  </div>
1262
1532
 
1263
1533
  <div id="footer">
1264
- Generated on Mon Mar 22 22:23:52 2010 by
1534
+ Generated on Thu Apr 1 00:30:54 2010 by
1265
1535
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
1266
1536
  0.5.4 (ruby-1.9.1).
1267
1537
  </div>