inochi 0.3.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CREDITS +1 -0
- data/bin/inochi +112 -104
- data/doc/api/classes/Array.html +370 -0
- data/doc/api/classes/File.html +110 -0
- data/doc/api/classes/Inochi.html +1493 -0
- data/doc/api/classes/Inochi/Manual.html +157 -0
- data/doc/api/classes/Inochi/Phrases.html +331 -0
- data/doc/api/classes/Inochi/Version.html +190 -0
- data/doc/api/classes/TempDir.html +164 -0
- data/doc/api/created.rid +1 -0
- data/doc/api/css/main.css +263 -0
- data/doc/api/css/panel.css +383 -0
- data/doc/api/css/reset.css +53 -0
- data/doc/api/files/CREDITS.html +61 -0
- data/doc/api/files/LICENSE.html +76 -0
- data/doc/api/files/lib/inochi/book_rb.html +96 -0
- data/doc/api/files/lib/inochi/init_rb.html +78 -0
- data/doc/api/files/lib/inochi/main_rb.html +52 -0
- data/doc/api/files/lib/inochi/rake_rb.html +52 -0
- data/doc/api/files/lib/inochi/test/bacon_rb.html +67 -0
- data/doc/api/files/lib/inochi/test/context_rb.html +69 -0
- data/doc/api/files/lib/inochi/test/dfect_rb.html +67 -0
- data/doc/api/files/lib/inochi/test/matchy_rb.html +69 -0
- data/doc/api/files/lib/inochi/test/minitest_rb.html +71 -0
- data/doc/api/files/lib/inochi/test/mocha_rb.html +67 -0
- data/doc/api/files/lib/inochi/test/rspec_rb.html +67 -0
- data/doc/api/files/lib/inochi/test/shoulda_rb.html +67 -0
- data/doc/api/files/lib/inochi/test/test_spec_rb.html +67 -0
- data/doc/api/files/lib/inochi/test/test_unit_rb.html +67 -0
- data/doc/api/files/lib/inochi/util/combo_rb.html +59 -0
- data/doc/api/files/lib/inochi/util/tempdir_rb.html +68 -0
- data/doc/api/files/lib/inochi/util_rb.html +59 -0
- data/doc/api/files/lib/inochi_rb.html +78 -0
- data/doc/api/i/arrows.png +0 -0
- data/doc/api/i/results_bg.png +0 -0
- data/doc/api/i/tree_bg.png +0 -0
- data/doc/api/index.html +14 -18
- data/doc/api/js/jquery-1.3.2.min.js +19 -0
- data/doc/api/js/jquery-effect.js +593 -0
- data/doc/api/js/main.js +22 -0
- data/doc/api/js/searchdoc.js +605 -0
- data/doc/api/panel/index.html +63 -0
- data/doc/api/panel/search_index.js +1 -0
- data/doc/api/panel/tree.js +1 -0
- data/doc/history.erb +75 -34
- data/doc/index.erb +10 -5
- data/doc/index.xhtml +806 -1145
- data/doc/intro.erb +33 -27
- data/doc/setup.erb +16 -15
- data/doc/usage.erb +86 -137
- data/lib/inochi.rb +25 -13
- data/lib/inochi/book.rb +13 -6
- data/lib/inochi/init.rb +41 -24
- data/lib/inochi/main.rb +17 -7
- data/lib/inochi/rake.rb +200 -59
- data/lib/inochi/test/bacon.rb +3 -0
- data/lib/inochi/test/context.rb +4 -0
- data/lib/inochi/test/dfect.rb +3 -0
- data/lib/inochi/test/matchy.rb +4 -0
- data/lib/inochi/test/minitest.rb +7 -0
- data/lib/inochi/test/mocha.rb +3 -0
- data/lib/inochi/test/rspec.rb +3 -0
- data/lib/inochi/test/shoulda.rb +3 -0
- data/lib/inochi/test/test_spec.rb +3 -0
- data/lib/inochi/test/test_unit.rb +3 -0
- data/lib/inochi/util.rb +23 -1
- data/lib/inochi/util/combo.rb +191 -0
- data/lib/inochi/util/tempdir.rb +29 -0
- data/rakefile +12 -0
- data/test/inochi.rb +5 -0
- metadata +119 -45
- data/Rakefile +0 -6
- data/doc/api/Inochi.html +0 -2574
- data/doc/api/Inochi/Manual.html +0 -230
- data/doc/api/Inochi/Phrases.html +0 -409
- data/doc/api/Inochi/Version.html +0 -222
- data/doc/api/all-methods.html +0 -180
- data/doc/api/all-namespaces.html +0 -28
- data/doc/api/app.js +0 -18
- data/doc/api/jquery.js +0 -11
- data/doc/api/readme.html +0 -38
- data/doc/api/style.css +0 -68
- data/doc/api/syntax_highlight.css +0 -21
- data/doc/theory.erb +0 -3
data/doc/api/Inochi/Version.html
DELETED
@@ -1,222 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
-
<html>
|
4
|
-
<head>
|
5
|
-
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
6
|
-
<link rel="stylesheet" href="../style.css" type="text/css" charset="utf-8" />
|
7
|
-
<link rel="stylesheet" href="../syntax_highlight.css" type="text/css" charset="utf-8" />
|
8
|
-
|
9
|
-
<script src="../jquery.js" type="text/javascript" charset="utf-8"></script>
|
10
|
-
<script src="../app.js" type="text/javascript" charset="utf-8"></script>
|
11
|
-
<title>Module: Inochi::Version</title>
|
12
|
-
</head>
|
13
|
-
<body>
|
14
|
-
<div id="content">
|
15
|
-
<div class="section module Inochi_Version">
|
16
|
-
<h1 class="title">Module: Inochi::Version</h1>
|
17
|
-
<div class="section constants">
|
18
|
-
|
19
|
-
</div> <div class="section visibilitygroup public">
|
20
|
-
<h1>Public Visibility</h1>
|
21
|
-
<div class="section methodsummary instance public">
|
22
|
-
<h1>Public Instance Method Summary</h1>
|
23
|
-
<table class="summary">
|
24
|
-
|
25
|
-
<tr>
|
26
|
-
<th class="signature">
|
27
|
-
<span class='name'><a title="#major" href="#major-instance_method">#major</a></span><span class='args'></span>
|
28
|
-
<span class='block'></span>
|
29
|
-
|
30
|
-
</th>
|
31
|
-
<td class="docstring">
|
32
|
-
<p>
|
33
|
-
Returns the major number in this version.
|
34
|
-
</p>
|
35
|
-
|
36
|
-
|
37
|
-
</td>
|
38
|
-
</tr>
|
39
|
-
|
40
|
-
<tr>
|
41
|
-
<th class="signature">
|
42
|
-
<span class='name'><a title="#requirement" href="#requirement-instance_method">#requirement</a></span><span class='args'></span>
|
43
|
-
<span class='block'></span>
|
44
|
-
|
45
|
-
</th>
|
46
|
-
<td class="docstring">
|
47
|
-
<p>
|
48
|
-
Returns a Gem::Requirement expression.
|
49
|
-
</p>
|
50
|
-
|
51
|
-
|
52
|
-
</td>
|
53
|
-
</tr>
|
54
|
-
|
55
|
-
<tr>
|
56
|
-
<th class="signature">
|
57
|
-
<span class='name'><a title="#series" href="#series-instance_method">#series</a></span><span class='args'></span>
|
58
|
-
<span class='block'></span>
|
59
|
-
|
60
|
-
</th>
|
61
|
-
<td class="docstring">
|
62
|
-
<p>
|
63
|
-
Returns a string describing any version with the current major number.
|
64
|
-
</p>
|
65
|
-
|
66
|
-
|
67
|
-
</td>
|
68
|
-
</tr>
|
69
|
-
|
70
|
-
</table>
|
71
|
-
</div>
|
72
|
-
<div class="section methoddetails instance public">
|
73
|
-
<h1>Public Instance Method Details</h1>
|
74
|
-
|
75
|
-
<div class="method">
|
76
|
-
<div class="method_header">
|
77
|
-
<h3>major</h3>
|
78
|
-
</div><div id="major-instance_method" class="section method">
|
79
|
-
<div class="details_title">
|
80
|
-
<div class='section methodsignature'>
|
81
|
-
<tt class='def'>
|
82
|
-
<span class='visibility'>public</span>
|
83
|
-
<span class='return_types'></span>
|
84
|
-
<span class='name'>major</span><span class='args'></span>
|
85
|
-
<span class='block'></span>
|
86
|
-
</tt>
|
87
|
-
</div>
|
88
|
-
|
89
|
-
</div><div class="section docstring">
|
90
|
-
<p>
|
91
|
-
Returns the major number in this version.
|
92
|
-
</p>
|
93
|
-
|
94
|
-
</div><div class="section source">
|
95
|
-
<span>[<a class="source_link" href="#">View source</a>]</span>
|
96
|
-
<div class="source_code">
|
97
|
-
<table>
|
98
|
-
<tr>
|
99
|
-
<td>
|
100
|
-
<pre class="lines">
|
101
|
-
|
102
|
-
|
103
|
-
139
|
104
|
-
140
|
105
|
-
141</pre>
|
106
|
-
</td>
|
107
|
-
<td>
|
108
|
-
<pre class="code"><span class="info file"># File 'lib/inochi/init.rb', line 139</span>
|
109
|
-
|
110
|
-
<span class='def def kw'>def</span> <span class='major identifier id'>major</span>
|
111
|
-
<span class='to_s identifier id'>to_s</span><span class='lbrack token'>[</span><span class='regexp val'>/^\d+/</span><span class='rbrack token'>]</span>
|
112
|
-
<span class='end end kw'>end</span>
|
113
|
-
</pre>
|
114
|
-
</td>
|
115
|
-
</tr>
|
116
|
-
</table>
|
117
|
-
</div>
|
118
|
-
</div>
|
119
|
-
</div>
|
120
|
-
</div>
|
121
|
-
|
122
|
-
<div class="method">
|
123
|
-
<div class="method_header">
|
124
|
-
<h3>requirement</h3>
|
125
|
-
</div><div id="requirement-instance_method" class="section method">
|
126
|
-
<div class="details_title">
|
127
|
-
<div class='section methodsignature'>
|
128
|
-
<tt class='def'>
|
129
|
-
<span class='visibility'>public</span>
|
130
|
-
<span class='return_types'></span>
|
131
|
-
<span class='name'>requirement</span><span class='args'></span>
|
132
|
-
<span class='block'></span>
|
133
|
-
</tt>
|
134
|
-
</div>
|
135
|
-
|
136
|
-
</div><div class="section docstring">
|
137
|
-
<p>
|
138
|
-
Returns a Gem::Requirement expression.
|
139
|
-
</p>
|
140
|
-
|
141
|
-
</div><div class="section source">
|
142
|
-
<span>[<a class="source_link" href="#">View source</a>]</span>
|
143
|
-
<div class="source_code">
|
144
|
-
<table>
|
145
|
-
<tr>
|
146
|
-
<td>
|
147
|
-
<pre class="lines">
|
148
|
-
|
149
|
-
|
150
|
-
149
|
151
|
-
150
|
152
|
-
151</pre>
|
153
|
-
</td>
|
154
|
-
<td>
|
155
|
-
<pre class="code"><span class="info file"># File 'lib/inochi/init.rb', line 149</span>
|
156
|
-
|
157
|
-
<span class='def def kw'>def</span> <span class='requirement identifier id'>requirement</span>
|
158
|
-
<span class='dstring node'>"~> #{major}"</span>
|
159
|
-
<span class='end end kw'>end</span>
|
160
|
-
</pre>
|
161
|
-
</td>
|
162
|
-
</tr>
|
163
|
-
</table>
|
164
|
-
</div>
|
165
|
-
</div>
|
166
|
-
</div>
|
167
|
-
</div>
|
168
|
-
|
169
|
-
<div class="method">
|
170
|
-
<div class="method_header">
|
171
|
-
<h3>series</h3>
|
172
|
-
</div><div id="series-instance_method" class="section method">
|
173
|
-
<div class="details_title">
|
174
|
-
<div class='section methodsignature'>
|
175
|
-
<tt class='def'>
|
176
|
-
<span class='visibility'>public</span>
|
177
|
-
<span class='return_types'></span>
|
178
|
-
<span class='name'>series</span><span class='args'></span>
|
179
|
-
<span class='block'></span>
|
180
|
-
</tt>
|
181
|
-
</div>
|
182
|
-
|
183
|
-
</div><div class="section docstring">
|
184
|
-
<p>
|
185
|
-
Returns a string describing any version with the current major number.
|
186
|
-
</p>
|
187
|
-
|
188
|
-
</div><div class="section source">
|
189
|
-
<span>[<a class="source_link" href="#">View source</a>]</span>
|
190
|
-
<div class="source_code">
|
191
|
-
<table>
|
192
|
-
<tr>
|
193
|
-
<td>
|
194
|
-
<pre class="lines">
|
195
|
-
|
196
|
-
|
197
|
-
144
|
198
|
-
145
|
199
|
-
146</pre>
|
200
|
-
</td>
|
201
|
-
<td>
|
202
|
-
<pre class="code"><span class="info file"># File 'lib/inochi/init.rb', line 144</span>
|
203
|
-
|
204
|
-
<span class='def def kw'>def</span> <span class='series identifier id'>series</span>
|
205
|
-
<span class='dstring node'>"#{major}.x.x"</span>
|
206
|
-
<span class='end end kw'>end</span>
|
207
|
-
</pre>
|
208
|
-
</td>
|
209
|
-
</tr>
|
210
|
-
</table>
|
211
|
-
</div>
|
212
|
-
</div>
|
213
|
-
</div>
|
214
|
-
</div>
|
215
|
-
|
216
|
-
</div>
|
217
|
-
</div>
|
218
|
-
|
219
|
-
</div>
|
220
|
-
</div>
|
221
|
-
</body>
|
222
|
-
</html>
|
data/doc/api/all-methods.html
DELETED
@@ -1,180 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
-
<html>
|
4
|
-
<head>
|
5
|
-
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
6
|
-
<link rel="stylesheet" href="style.css" type="text/css" charset="utf-8" />
|
7
|
-
<link rel="stylesheet" href="syntax_highlight.css" type="text/css" charset="utf-8" />
|
8
|
-
|
9
|
-
<title>All Modules / Classes</title>
|
10
|
-
<base target="main" />
|
11
|
-
</head>
|
12
|
-
<body>
|
13
|
-
<div id="nav" class="methods">
|
14
|
-
<h1>Method List</h1>
|
15
|
-
<ul>
|
16
|
-
|
17
|
-
|
18
|
-
<li nowrap>
|
19
|
-
<a title="#project_history" href="Inochi/Manual.html#project_history-instance_method">#project_history</a>
|
20
|
-
|
21
|
-
<em>(module Manual)</em>
|
22
|
-
|
23
|
-
</li>
|
24
|
-
|
25
|
-
|
26
|
-
<li nowrap>
|
27
|
-
<a title="#project_summary" href="Inochi/Manual.html#project_summary-instance_method">#project_summary</a>
|
28
|
-
|
29
|
-
<em>(module Manual)</em>
|
30
|
-
|
31
|
-
</li>
|
32
|
-
|
33
|
-
|
34
|
-
<li nowrap>
|
35
|
-
<a title="#[]" href="Inochi/Phrases.html#%5B%5D-instance_method">#[]</a>
|
36
|
-
|
37
|
-
<em>(class Phrases)</em>
|
38
|
-
|
39
|
-
</li>
|
40
|
-
|
41
|
-
|
42
|
-
<li nowrap>
|
43
|
-
<a title="#initialize" href="Inochi/Phrases.html#initialize-instance_method">#initialize</a>
|
44
|
-
|
45
|
-
<em>(class Phrases)</em>
|
46
|
-
|
47
|
-
</li>
|
48
|
-
|
49
|
-
|
50
|
-
<li nowrap>
|
51
|
-
<a title="#locale" href="Inochi/Phrases.html#locale-instance_method">#locale</a>
|
52
|
-
|
53
|
-
<em>(class Phrases)</em>
|
54
|
-
|
55
|
-
</li>
|
56
|
-
|
57
|
-
|
58
|
-
<li nowrap>
|
59
|
-
<a title="#method_missing" href="Inochi/Phrases.html#method_missing-instance_method">#method_missing</a>
|
60
|
-
|
61
|
-
<em>(class Phrases)</em>
|
62
|
-
|
63
|
-
</li>
|
64
|
-
|
65
|
-
|
66
|
-
<li nowrap>
|
67
|
-
<a title="#phrases" href="Inochi/Phrases.html#phrases-instance_method">#phrases</a>
|
68
|
-
|
69
|
-
<em>(class Phrases)</em>
|
70
|
-
|
71
|
-
</li>
|
72
|
-
|
73
|
-
|
74
|
-
<li nowrap>
|
75
|
-
<a title="#translate" href="Inochi/Phrases.html#translate-instance_method">#translate</a>
|
76
|
-
|
77
|
-
<em>(class Phrases)</em>
|
78
|
-
|
79
|
-
</li>
|
80
|
-
|
81
|
-
|
82
|
-
<li nowrap>
|
83
|
-
<a title="#major" href="Inochi/Version.html#major-instance_method">#major</a>
|
84
|
-
|
85
|
-
<em>(module Version)</em>
|
86
|
-
|
87
|
-
</li>
|
88
|
-
|
89
|
-
|
90
|
-
<li nowrap>
|
91
|
-
<a title="#requirement" href="Inochi/Version.html#requirement-instance_method">#requirement</a>
|
92
|
-
|
93
|
-
<em>(module Version)</em>
|
94
|
-
|
95
|
-
</li>
|
96
|
-
|
97
|
-
|
98
|
-
<li nowrap>
|
99
|
-
<a title="#series" href="Inochi/Version.html#series-instance_method">#series</a>
|
100
|
-
|
101
|
-
<em>(module Version)</em>
|
102
|
-
|
103
|
-
</li>
|
104
|
-
|
105
|
-
|
106
|
-
<li nowrap>
|
107
|
-
<a title="book" href="Inochi.html#book-class_method">book</a>
|
108
|
-
|
109
|
-
<em>(module Inochi)</em>
|
110
|
-
|
111
|
-
</li>
|
112
|
-
|
113
|
-
|
114
|
-
<li nowrap>
|
115
|
-
<a title="calc_program_name" href="Inochi.html#calc_program_name-class_method">calc_program_name</a>
|
116
|
-
|
117
|
-
<em>(module Inochi)</em>
|
118
|
-
|
119
|
-
</li>
|
120
|
-
|
121
|
-
|
122
|
-
<li nowrap>
|
123
|
-
<a title="calc_project_symbol" href="Inochi.html#calc_project_symbol-class_method">calc_project_symbol</a>
|
124
|
-
|
125
|
-
<em>(module Inochi)</em>
|
126
|
-
|
127
|
-
</li>
|
128
|
-
|
129
|
-
|
130
|
-
<li nowrap>
|
131
|
-
<a title="camel_to_snake_case" href="Inochi.html#camel_to_snake_case-class_method">camel_to_snake_case</a>
|
132
|
-
|
133
|
-
<em>(module Inochi)</em>
|
134
|
-
|
135
|
-
</li>
|
136
|
-
|
137
|
-
|
138
|
-
<li nowrap>
|
139
|
-
<a title="fetch_project_module" href="Inochi.html#fetch_project_module-class_method">fetch_project_module</a>
|
140
|
-
|
141
|
-
<em>(module Inochi)</em>
|
142
|
-
|
143
|
-
</li>
|
144
|
-
|
145
|
-
|
146
|
-
<li nowrap>
|
147
|
-
<a title="first_caller_file" href="Inochi.html#first_caller_file-class_method">first_caller_file</a>
|
148
|
-
|
149
|
-
<em>(module Inochi)</em>
|
150
|
-
|
151
|
-
</li>
|
152
|
-
|
153
|
-
|
154
|
-
<li nowrap>
|
155
|
-
<a title="init" href="Inochi.html#init-class_method">init</a>
|
156
|
-
|
157
|
-
<em>(module Inochi)</em>
|
158
|
-
|
159
|
-
</li>
|
160
|
-
|
161
|
-
|
162
|
-
<li nowrap>
|
163
|
-
<a title="main" href="Inochi.html#main-class_method">main</a>
|
164
|
-
|
165
|
-
<em>(module Inochi)</em>
|
166
|
-
|
167
|
-
</li>
|
168
|
-
|
169
|
-
|
170
|
-
<li nowrap>
|
171
|
-
<a title="rake" href="Inochi.html#rake-class_method">rake</a>
|
172
|
-
|
173
|
-
<em>(module Inochi)</em>
|
174
|
-
|
175
|
-
</li>
|
176
|
-
|
177
|
-
</ul>
|
178
|
-
</div>
|
179
|
-
</body>
|
180
|
-
</html>
|
data/doc/api/all-namespaces.html
DELETED
@@ -1,28 +0,0 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
-
<html>
|
4
|
-
<head>
|
5
|
-
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
|
6
|
-
<link rel="stylesheet" href="style.css" type="text/css" charset="utf-8" />
|
7
|
-
<link rel="stylesheet" href="syntax_highlight.css" type="text/css" charset="utf-8" />
|
8
|
-
|
9
|
-
<title>All Modules / Classes</title>
|
10
|
-
<base target="main" />
|
11
|
-
</head>
|
12
|
-
<body>
|
13
|
-
<div id="nav" class="namespaces">
|
14
|
-
<h1>All Modules / Classes</h1>
|
15
|
-
<ul>
|
16
|
-
|
17
|
-
<li><a title="Inochi" href="Inochi.html">Inochi</a> <em>(module)</em></li>
|
18
|
-
|
19
|
-
<li><a title="Inochi::Manual" href="Inochi/Manual.html">Inochi::Manual</a> <em>(module)</em></li>
|
20
|
-
|
21
|
-
<li><a title="Inochi::Phrases" href="Inochi/Phrases.html">Inochi::Phrases</a> <em>(class)</em></li>
|
22
|
-
|
23
|
-
<li><a title="Inochi::Version" href="Inochi/Version.html">Inochi::Version</a> <em>(module)</em></li>
|
24
|
-
|
25
|
-
</ul>
|
26
|
-
</div>
|
27
|
-
</body>
|
28
|
-
</html>
|
data/doc/api/app.js
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
$(document).ready(function() {
|
2
|
-
// Set the title of this page as the index title
|
3
|
-
if (parent && parent.document) {
|
4
|
-
$('html head title', parent.document).text($('html head title').text());
|
5
|
-
}
|
6
|
-
|
7
|
-
// Setup the view source links
|
8
|
-
$(".section.source a.source_link").toggle(
|
9
|
-
function() {
|
10
|
-
$(this).text('Hide source');
|
11
|
-
$(this).parent().next().show();
|
12
|
-
},
|
13
|
-
function() {
|
14
|
-
$(this).text('View source');
|
15
|
-
$(this).parent().next().hide();
|
16
|
-
}
|
17
|
-
);
|
18
|
-
});
|