inochi 1.1.1 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CREDITS +17 -1
- data/bin/inochi +19 -539
- data/lib/inochi.rb +1 -41
- data/lib/inochi/engine.rb +101 -0
- data/lib/inochi/generate.rb +52 -0
- data/lib/inochi/inochi.rb +109 -0
- data/lib/inochi/tasks/ann.rake +230 -0
- data/lib/inochi/tasks/api.rake +28 -0
- data/lib/inochi/tasks/gem.rake +46 -0
- data/lib/inochi/tasks/init.rake +38 -0
- data/lib/inochi/tasks/man.rake +78 -0
- data/lib/inochi/tasks/project.rake +25 -0
- data/lib/inochi/tasks/pub.rake +130 -0
- data/lib/inochi/templates/CREDITS.rbs +18 -0
- data/lib/inochi/templates/EXAMPLES.rbs +24 -0
- data/lib/inochi/templates/FURTHER.rbs +17 -0
- data/lib/inochi/templates/HACKING.rbs +92 -0
- data/lib/inochi/templates/HISTORY.rbs +55 -0
- data/lib/inochi/templates/LICENSE.rbs +15 -0
- data/lib/inochi/templates/MANUAL.rbs +27 -0
- data/lib/inochi/templates/README.rbs +60 -0
- data/lib/inochi/templates/USAGE.rbs +23 -0
- data/lib/inochi/templates/command.rbs +23 -0
- data/lib/inochi/templates/inochi.opts.rbs +43 -0
- data/lib/inochi/templates/inochi.rb.rbs +102 -0
- data/lib/inochi/templates/library.rbs +7 -0
- data/lib/inochi/templates/library_test.rb.rbs +3 -0
- data/lib/inochi/templates/test_helper.rb.rbs +3 -0
- data/lib/inochi/templates/test_runner.rbs +25 -0
- data/{doc → logo}/inochi.png +0 -0
- data/man.html +959 -0
- data/man/man1/inochi.1.gz +0 -0
- metadata +129 -198
- data/doc/README +0 -6
- data/doc/api/apple-touch-icon.png +0 -0
- data/doc/api/classes/Array.html +0 -370
- data/doc/api/classes/File.html +0 -110
- data/doc/api/classes/Inochi.html +0 -1477
- data/doc/api/classes/Inochi/Manual.html +0 -157
- data/doc/api/classes/Inochi/Phrases.html +0 -331
- data/doc/api/classes/Inochi/Version.html +0 -190
- data/doc/api/classes/TempDir.html +0 -164
- data/doc/api/created.rid +0 -1
- data/doc/api/css/main.css +0 -263
- data/doc/api/css/panel.css +0 -383
- data/doc/api/css/reset.css +0 -53
- data/doc/api/favicon.ico +0 -0
- data/doc/api/files/CREDITS.html +0 -61
- data/doc/api/files/LICENSE.html +0 -76
- data/doc/api/files/lib/inochi/book_rb.html +0 -106
- data/doc/api/files/lib/inochi/init_rb.html +0 -66
- data/doc/api/files/lib/inochi/main_rb.html +0 -52
- data/doc/api/files/lib/inochi/rake_rb.html +0 -52
- data/doc/api/files/lib/inochi/test/bacon_rb.html +0 -67
- data/doc/api/files/lib/inochi/test/context_rb.html +0 -69
- data/doc/api/files/lib/inochi/test/dfect_rb.html +0 -67
- data/doc/api/files/lib/inochi/test/matchy_rb.html +0 -69
- data/doc/api/files/lib/inochi/test/minitest_rb.html +0 -71
- data/doc/api/files/lib/inochi/test/mocha_rb.html +0 -67
- data/doc/api/files/lib/inochi/test/rspec_rb.html +0 -67
- data/doc/api/files/lib/inochi/test/shoulda_rb.html +0 -67
- data/doc/api/files/lib/inochi/test/test_spec_rb.html +0 -67
- data/doc/api/files/lib/inochi/test/test_unit_rb.html +0 -67
- data/doc/api/files/lib/inochi/util/combo_rb.html +0 -59
- data/doc/api/files/lib/inochi/util/tempdir_rb.html +0 -68
- data/doc/api/files/lib/inochi/util_rb.html +0 -59
- data/doc/api/files/lib/inochi_rb.html +0 -76
- 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 +0 -14
- data/doc/api/js/jquery-1.3.2.min.js +0 -19
- data/doc/api/js/jquery-effect.js +0 -593
- data/doc/api/js/main.js +0 -22
- data/doc/api/js/searchdoc.js +0 -628
- data/doc/api/panel/index.html +0 -71
- data/doc/api/panel/search_index.js +0 -1
- data/doc/api/panel/tree.js +0 -1
- data/doc/history.erb +0 -268
- data/doc/index.erb +0 -11
- data/doc/index.html +0 -3179
- data/doc/inochi.svg +0 -405
- data/doc/intro.erb +0 -87
- data/doc/setup.erb +0 -105
- data/doc/usage.erb +0 -641
- data/lib/inochi/book.rb +0 -91
- data/lib/inochi/init.rb +0 -256
- data/lib/inochi/main.rb +0 -85
- data/lib/inochi/rake.rb +0 -902
- data/lib/inochi/test/bacon.rb +0 -3
- data/lib/inochi/test/context.rb +0 -4
- data/lib/inochi/test/dfect.rb +0 -3
- data/lib/inochi/test/matchy.rb +0 -4
- data/lib/inochi/test/minitest.rb +0 -7
- data/lib/inochi/test/mocha.rb +0 -3
- data/lib/inochi/test/rspec.rb +0 -3
- data/lib/inochi/test/shoulda.rb +0 -3
- data/lib/inochi/test/test_spec.rb +0 -3
- data/lib/inochi/test/test_unit.rb +0 -3
- data/lib/inochi/util.rb +0 -99
- data/lib/inochi/util/combo.rb +0 -191
- data/lib/inochi/util/tempdir.rb +0 -29
- data/rakefile +0 -12
- data/test/inochi.rb +0 -111
data/doc/api/css/panel.css
DELETED
@@ -1,383 +0,0 @@
|
|
1
|
-
/* Panel (begin) */
|
2
|
-
.panel
|
3
|
-
{
|
4
|
-
position: absolute;
|
5
|
-
width: 100%;
|
6
|
-
height: 100%;
|
7
|
-
top: 0;
|
8
|
-
left: 0;
|
9
|
-
background: #FFF;
|
10
|
-
z-index: 2;
|
11
|
-
font-family: "Helvetica Neue", "Arial", sans-serif;
|
12
|
-
//zoom: 1;
|
13
|
-
}
|
14
|
-
|
15
|
-
.panel_tree .results,
|
16
|
-
.panel_results .tree
|
17
|
-
{
|
18
|
-
display: none;
|
19
|
-
}
|
20
|
-
|
21
|
-
/* Header with search box (begin) */
|
22
|
-
.panel .header
|
23
|
-
{
|
24
|
-
width: 100%;
|
25
|
-
height: 29px;
|
26
|
-
border-bottom: 1px solid #666;
|
27
|
-
position: relative;
|
28
|
-
left: 0; top: 0;
|
29
|
-
background: #e8e8e8;
|
30
|
-
}
|
31
|
-
|
32
|
-
.panel .header div
|
33
|
-
{
|
34
|
-
margin: 0 7px;
|
35
|
-
}
|
36
|
-
.panel .header table
|
37
|
-
{
|
38
|
-
height: 29px;
|
39
|
-
width: 100%;
|
40
|
-
}
|
41
|
-
|
42
|
-
.panel .header table td
|
43
|
-
{
|
44
|
-
vertical-align: middle;
|
45
|
-
text-align: middle;
|
46
|
-
}
|
47
|
-
|
48
|
-
.panel .header label
|
49
|
-
{
|
50
|
-
position: absolute;
|
51
|
-
font-size: 12px;
|
52
|
-
line-height: 29px;
|
53
|
-
margin-left: 3px;
|
54
|
-
color: #999;
|
55
|
-
cursor: text;
|
56
|
-
}
|
57
|
-
|
58
|
-
.panel .header table input
|
59
|
-
{
|
60
|
-
width: 100%;
|
61
|
-
box-sizing: border-box;
|
62
|
-
-moz-box-sizing: border-box;
|
63
|
-
-webkit-box-sizing: border-box;
|
64
|
-
display: inline-block;
|
65
|
-
-webkit-appearance: searchfield;
|
66
|
-
height: 22px;
|
67
|
-
//height: auto;
|
68
|
-
}
|
69
|
-
|
70
|
-
/* Header with search box (end) */
|
71
|
-
|
72
|
-
|
73
|
-
/* Results (begin) */
|
74
|
-
.panel .result
|
75
|
-
{
|
76
|
-
position: absolute;
|
77
|
-
top: 30px;
|
78
|
-
bottom: 0;
|
79
|
-
left: 0;
|
80
|
-
width: 100%;
|
81
|
-
//height: expression((this.parentNode.offsetHeight - 31));
|
82
|
-
overflow-y: scroll;
|
83
|
-
overflow-x: hidden;
|
84
|
-
-overflow-y: hidden;
|
85
|
-
background: #EDF3FE url(../i/results_bg.png);
|
86
|
-
z-index: 2;
|
87
|
-
//zoom:1;
|
88
|
-
}
|
89
|
-
|
90
|
-
.panel .result ul
|
91
|
-
{
|
92
|
-
font-size: 0.8em;
|
93
|
-
width: 100%;
|
94
|
-
background: #EDF3FE url(../i/results_bg.png);
|
95
|
-
//zoom:1;
|
96
|
-
}
|
97
|
-
|
98
|
-
.panel .result ul li
|
99
|
-
{
|
100
|
-
height: 46px;
|
101
|
-
-height: 50px;
|
102
|
-
//display: inline;
|
103
|
-
//width: 100%;
|
104
|
-
//zoom: 1;
|
105
|
-
overflow: hidden;
|
106
|
-
padding: 4px 10px 0 10px;
|
107
|
-
cursor: pointer;
|
108
|
-
}
|
109
|
-
|
110
|
-
.panel .result ul li h1
|
111
|
-
{
|
112
|
-
font-size: 13px;
|
113
|
-
font-weight: normal;
|
114
|
-
color: #333;
|
115
|
-
margin-bottom: 2px;
|
116
|
-
white-space: nowrap;
|
117
|
-
}
|
118
|
-
|
119
|
-
.panel .result ul li p
|
120
|
-
{
|
121
|
-
font-size: 11px;
|
122
|
-
color: #333;
|
123
|
-
margin-bottom: 2px;
|
124
|
-
white-space: nowrap;
|
125
|
-
}
|
126
|
-
|
127
|
-
.panel .result ul li h1 i,
|
128
|
-
.panel .result ul li p.snippet
|
129
|
-
{
|
130
|
-
color: #999;
|
131
|
-
}
|
132
|
-
|
133
|
-
.panel .result ul li b
|
134
|
-
{
|
135
|
-
color: #000;
|
136
|
-
}
|
137
|
-
|
138
|
-
.panel .result ul li.current
|
139
|
-
{
|
140
|
-
background: #3875D7;
|
141
|
-
}
|
142
|
-
|
143
|
-
.panel .result ul li.current h1,
|
144
|
-
.panel .result ul li.current p
|
145
|
-
{
|
146
|
-
color: #DDD;
|
147
|
-
}
|
148
|
-
|
149
|
-
.panel .result ul li.current h1 i,
|
150
|
-
.panel .result ul li.current p.snippet
|
151
|
-
{
|
152
|
-
color: #AAA;
|
153
|
-
}
|
154
|
-
|
155
|
-
.panel .result ul li.current b
|
156
|
-
{
|
157
|
-
color: #FFF;
|
158
|
-
}
|
159
|
-
|
160
|
-
|
161
|
-
.panel .result ul li:hover,
|
162
|
-
.panel .result ul li.selected
|
163
|
-
{
|
164
|
-
background: #d0d0d0;
|
165
|
-
}
|
166
|
-
|
167
|
-
.panel .result ul li.current:hover
|
168
|
-
{
|
169
|
-
background: #2965C0;
|
170
|
-
}
|
171
|
-
|
172
|
-
.panel .result ul li .badge
|
173
|
-
{
|
174
|
-
margin-right: 0.4em;
|
175
|
-
margin-left: -0.2em;
|
176
|
-
padding: 0 0.2em;
|
177
|
-
color: #000;
|
178
|
-
}
|
179
|
-
|
180
|
-
.panel .result ul li .badge_1
|
181
|
-
{
|
182
|
-
background: #ACDBF4;
|
183
|
-
}
|
184
|
-
|
185
|
-
.panel .result ul li.current .badge_1
|
186
|
-
{
|
187
|
-
background: #97BFD7;
|
188
|
-
}
|
189
|
-
|
190
|
-
.panel .result ul li .badge_2
|
191
|
-
{
|
192
|
-
background: #ACF3C3;
|
193
|
-
}
|
194
|
-
|
195
|
-
.panel .result ul li.current .badge_2
|
196
|
-
{
|
197
|
-
background: #98D7AC;
|
198
|
-
}
|
199
|
-
|
200
|
-
.panel .result ul li .badge_3
|
201
|
-
{
|
202
|
-
background: #E0F3AC;
|
203
|
-
}
|
204
|
-
|
205
|
-
.panel .result ul li.current .badge_3
|
206
|
-
{
|
207
|
-
background: #C4D798;
|
208
|
-
}
|
209
|
-
|
210
|
-
.panel .result ul li .badge_4
|
211
|
-
{
|
212
|
-
background: #D7CA98;
|
213
|
-
}
|
214
|
-
|
215
|
-
.panel .result ul li.current .badge_4
|
216
|
-
{
|
217
|
-
background: #A6B0AC;
|
218
|
-
}
|
219
|
-
|
220
|
-
.panel .result ul li .badge_5
|
221
|
-
{
|
222
|
-
background: #F3C8AC;
|
223
|
-
}
|
224
|
-
|
225
|
-
.panel .result ul li.current .badge_5
|
226
|
-
{
|
227
|
-
background: #D7B198;
|
228
|
-
}
|
229
|
-
|
230
|
-
.panel .result ul li .badge_6
|
231
|
-
{
|
232
|
-
background: #F3ACC3;
|
233
|
-
}
|
234
|
-
|
235
|
-
.panel .result ul li.current .badge_6
|
236
|
-
{
|
237
|
-
background: #D798AB;
|
238
|
-
}
|
239
|
-
|
240
|
-
/* Results (end) */
|
241
|
-
|
242
|
-
/* Tree (begin) */ /**/
|
243
|
-
.panel .tree
|
244
|
-
{
|
245
|
-
position: absolute;
|
246
|
-
top: 30px;
|
247
|
-
bottom: 0;
|
248
|
-
left: 0;
|
249
|
-
width: 100%;
|
250
|
-
//zoom: 1;
|
251
|
-
//height: expression((this.parentNode.offsetHeight - 31));
|
252
|
-
overflow-y: scroll;
|
253
|
-
overflow-x: hidden;
|
254
|
-
-overflow-y: hidden;
|
255
|
-
background: #EDF3FE url(../i/tree_bg.png);
|
256
|
-
z-index: 30;
|
257
|
-
}
|
258
|
-
|
259
|
-
.panel .tree ul
|
260
|
-
{
|
261
|
-
background: #EDF3FE url(../i/tree_bg.png);
|
262
|
-
}
|
263
|
-
|
264
|
-
.panel .tree li
|
265
|
-
{
|
266
|
-
cursor: pointer;
|
267
|
-
overflow: hidden;
|
268
|
-
//height: 23px;
|
269
|
-
//display: inline;
|
270
|
-
//zoom: 1;
|
271
|
-
//width: 100%;
|
272
|
-
}
|
273
|
-
|
274
|
-
|
275
|
-
.panel .tree li .content
|
276
|
-
{
|
277
|
-
padding-left: 18px;
|
278
|
-
padding-top: 5px;
|
279
|
-
height: 18px;
|
280
|
-
overflow: hidden;
|
281
|
-
position: relative;
|
282
|
-
}
|
283
|
-
|
284
|
-
.panel .tree li .icon
|
285
|
-
{
|
286
|
-
width: 10px;
|
287
|
-
height: 9px;
|
288
|
-
background: url(../i/arrows.png);
|
289
|
-
background-position: 0 -9px;
|
290
|
-
position: absolute;
|
291
|
-
left: 1px;
|
292
|
-
top: 8px;
|
293
|
-
cursor: default;
|
294
|
-
}
|
295
|
-
|
296
|
-
.panel .tree li.closed .icon
|
297
|
-
{
|
298
|
-
background-position: 0 0;
|
299
|
-
}
|
300
|
-
|
301
|
-
.panel .tree ul li h1
|
302
|
-
{
|
303
|
-
font-size: 13px;
|
304
|
-
font-weight: normal;
|
305
|
-
color: #000;
|
306
|
-
margin-bottom: 2px;
|
307
|
-
white-space: nowrap;
|
308
|
-
}
|
309
|
-
|
310
|
-
.panel .tree ul li p
|
311
|
-
{
|
312
|
-
font-size: 11px;
|
313
|
-
color: #666;
|
314
|
-
margin-bottom: 2px;
|
315
|
-
white-space: nowrap;
|
316
|
-
}
|
317
|
-
|
318
|
-
.panel .tree ul li h1 i
|
319
|
-
{
|
320
|
-
color: #999;
|
321
|
-
font-style: normal;
|
322
|
-
}
|
323
|
-
|
324
|
-
.panel .tree ul li.empty
|
325
|
-
{
|
326
|
-
cursor: text;
|
327
|
-
}
|
328
|
-
|
329
|
-
.panel .tree ul li.empty h1,
|
330
|
-
.panel .tree ul li.empty p
|
331
|
-
{
|
332
|
-
color: #666;
|
333
|
-
font-style: italic;
|
334
|
-
}
|
335
|
-
|
336
|
-
.panel .tree ul li.current
|
337
|
-
{
|
338
|
-
background: #3875D7;
|
339
|
-
}
|
340
|
-
|
341
|
-
.panel .tree ul li.current .icon
|
342
|
-
{
|
343
|
-
background-position: -10px -9px;
|
344
|
-
}
|
345
|
-
|
346
|
-
.panel .tree ul li.current.closed .icon
|
347
|
-
{
|
348
|
-
background-position: -10px 0;
|
349
|
-
}
|
350
|
-
|
351
|
-
.panel .tree ul li.current h1
|
352
|
-
{
|
353
|
-
color: #FFF;
|
354
|
-
}
|
355
|
-
|
356
|
-
.panel .tree ul li.current p
|
357
|
-
{
|
358
|
-
color: #CCC;
|
359
|
-
}
|
360
|
-
|
361
|
-
.panel .tree ul li.current.empty h1,
|
362
|
-
.panel .tree ul li.current.empty p
|
363
|
-
{
|
364
|
-
color: #999;
|
365
|
-
}
|
366
|
-
|
367
|
-
.panel .tree ul li:hover
|
368
|
-
{
|
369
|
-
background: #d0d0d0;
|
370
|
-
}
|
371
|
-
|
372
|
-
.panel .tree ul li.current:hover
|
373
|
-
{
|
374
|
-
background: #2965C0;
|
375
|
-
}
|
376
|
-
|
377
|
-
.panel .tree .stopper
|
378
|
-
{
|
379
|
-
display: none;
|
380
|
-
}
|
381
|
-
/* Tree (end) */ /**/
|
382
|
-
|
383
|
-
/* Panel (end) */
|
data/doc/api/css/reset.css
DELETED
@@ -1,53 +0,0 @@
|
|
1
|
-
/* http://meyerweb.com/eric/tools/css/reset/ */
|
2
|
-
/* v1.0 | 20080212 */
|
3
|
-
|
4
|
-
html, body, div, span, applet, object, iframe,
|
5
|
-
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
6
|
-
a, abbr, acronym, address, big, cite, code,
|
7
|
-
del, dfn, em, font, img, ins, kbd, q, s, samp,
|
8
|
-
small, strike, strong, sub, sup, tt, var,
|
9
|
-
b, u, i, center,
|
10
|
-
dl, dt, dd, ol, ul, li,
|
11
|
-
fieldset, form, label, legend,
|
12
|
-
table, caption, tbody, tfoot, thead, tr, th, td {
|
13
|
-
margin: 0;
|
14
|
-
padding: 0;
|
15
|
-
border: 0;
|
16
|
-
outline: 0;
|
17
|
-
font-size: 100%;
|
18
|
-
vertical-align: baseline;
|
19
|
-
background: transparent;
|
20
|
-
}
|
21
|
-
body {
|
22
|
-
line-height: 1;
|
23
|
-
}
|
24
|
-
ol, ul {
|
25
|
-
list-style: none;
|
26
|
-
}
|
27
|
-
blockquote, q {
|
28
|
-
quotes: none;
|
29
|
-
}
|
30
|
-
blockquote:before, blockquote:after,
|
31
|
-
q:before, q:after {
|
32
|
-
content: '';
|
33
|
-
content: none;
|
34
|
-
}
|
35
|
-
|
36
|
-
/* remember to define focus styles! */
|
37
|
-
:focus {
|
38
|
-
outline: 0;
|
39
|
-
}
|
40
|
-
|
41
|
-
/* remember to highlight inserts somehow! */
|
42
|
-
ins {
|
43
|
-
text-decoration: none;
|
44
|
-
}
|
45
|
-
del {
|
46
|
-
text-decoration: line-through;
|
47
|
-
}
|
48
|
-
|
49
|
-
/* tables still need 'cellspacing="0"' in the markup */
|
50
|
-
table {
|
51
|
-
border-collapse: collapse;
|
52
|
-
border-spacing: 0;
|
53
|
-
}
|
data/doc/api/favicon.ico
DELETED
Binary file
|
data/doc/api/files/CREDITS.html
DELETED
@@ -1,61 +0,0 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
2
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
3
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
4
|
-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
|
-
<head>
|
6
|
-
<title>CREDITS</title>
|
7
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
8
|
-
<link rel="stylesheet" href="../css/reset.css" type="text/css" media="screen" />
|
9
|
-
<link rel="stylesheet" href="../css/main.css" type="text/css" media="screen" />
|
10
|
-
<script src="../js/jquery-1.3.2.min.js" type="text/javascript" charset="utf-8"></script>
|
11
|
-
<script src="../js/jquery-effect.js" type="text/javascript" charset="utf-8"></script>
|
12
|
-
<script src="../js/main.js" type="text/javascript" charset="utf-8"></script>
|
13
|
-
</head>
|
14
|
-
|
15
|
-
<body>
|
16
|
-
<div class="banner">
|
17
|
-
<h1>
|
18
|
-
CREDITS
|
19
|
-
</h1>
|
20
|
-
<ul class="files">
|
21
|
-
<li>CREDITS</li>
|
22
|
-
<li>Last modified: 2009-09-06 20:52:42 -0700</li>
|
23
|
-
</ul>
|
24
|
-
</div>
|
25
|
-
|
26
|
-
<div id="bodyContent">
|
27
|
-
<div id="content">
|
28
|
-
|
29
|
-
<div class="description">
|
30
|
-
<ul>
|
31
|
-
<li>Florian Gilcher
|
32
|
-
|
33
|
-
</li>
|
34
|
-
</ul>
|
35
|
-
|
36
|
-
</div>
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
</div>
|
59
|
-
</div>
|
60
|
-
</body>
|
61
|
-
</html>
|