dfect 1.1.0 → 2.0.0

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 (66) hide show
  1. data/CREDITS +2 -2
  2. data/HISTORY +306 -0
  3. data/INSTALL +35 -0
  4. data/README +95 -0
  5. data/USAGE +393 -0
  6. data/doc/api/Dfect.html +3179 -0
  7. data/doc/api/Object.html +107 -0
  8. data/doc/api/_index.html +107 -0
  9. data/doc/api/class_list.html +36 -0
  10. data/doc/api/css/common.css +1 -0
  11. data/doc/api/css/full_list.css +50 -0
  12. data/doc/api/css/style.css +268 -0
  13. data/doc/api/file.LICENSE.html +73 -0
  14. data/doc/api/file_list.html +38 -0
  15. data/doc/api/frames.html +13 -0
  16. data/doc/api/index.html +72 -13
  17. data/doc/api/js/app.js +99 -0
  18. data/doc/api/js/full_list.js +106 -0
  19. data/doc/api/js/{jquery-1.3.2.min.js → jquery.js} +0 -0
  20. data/doc/api/method_list.html +339 -0
  21. data/doc/api/top-level-namespace.html +87 -0
  22. data/doc/index.erb +16 -9
  23. data/doc/index.html +1057 -726
  24. data/lib/dfect.rb +431 -284
  25. data/lib/dfect/auto.rb +2 -6
  26. data/lib/dfect/inochi.rb +48 -0
  27. data/lib/dfect/inochi.yaml +75 -0
  28. data/lib/dfect/mini.rb +1 -5
  29. data/lib/dfect/spec.rb +6 -13
  30. data/lib/dfect/unit.rb +21 -33
  31. data/test/dfect/inochi_test.rb +17 -0
  32. data/test/{dfect.rb → dfect_test.rb} +167 -7
  33. data/test/runner +25 -0
  34. data/test/test_helper.rb +1 -0
  35. metadata +43 -55
  36. data/doc/api/apple-touch-icon.png +0 -0
  37. data/doc/api/classes/Class.html +0 -73
  38. data/doc/api/classes/Dfect.html +0 -1245
  39. data/doc/api/classes/Kernel.html +0 -322
  40. data/doc/api/classes/Object.html +0 -72
  41. data/doc/api/created.rid +0 -1
  42. data/doc/api/css/main.css +0 -263
  43. data/doc/api/css/panel.css +0 -383
  44. data/doc/api/css/reset.css +0 -53
  45. data/doc/api/favicon.ico +0 -0
  46. data/doc/api/files/CREDITS.html +0 -65
  47. data/doc/api/files/LICENSE.html +0 -76
  48. data/doc/api/files/lib/dfect/auto_rb.html +0 -80
  49. data/doc/api/files/lib/dfect/mini_rb.html +0 -77
  50. data/doc/api/files/lib/dfect/spec_rb.html +0 -73
  51. data/doc/api/files/lib/dfect/unit_rb.html +0 -73
  52. data/doc/api/files/lib/dfect_rb.html +0 -74
  53. data/doc/api/i/arrows.png +0 -0
  54. data/doc/api/i/results_bg.png +0 -0
  55. data/doc/api/i/tree_bg.png +0 -0
  56. data/doc/api/js/jquery-effect.js +0 -593
  57. data/doc/api/js/main.js +0 -22
  58. data/doc/api/js/searchdoc.js +0 -628
  59. data/doc/api/panel/index.html +0 -71
  60. data/doc/api/panel/search_index.js +0 -1
  61. data/doc/api/panel/tree.js +0 -1
  62. data/doc/history.erb +0 -161
  63. data/doc/intro.erb +0 -104
  64. data/doc/setup.erb +0 -107
  65. data/doc/usage.erb +0 -310
  66. data/rakefile +0 -21
@@ -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) */
@@ -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
@@ -1,65 +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-10-27 00:21:31 -0700</li>
23
- </ul>
24
- </div>
25
-
26
- <div id="bodyContent">
27
- <div id="content">
28
-
29
- <div class="description">
30
- <ul>
31
- <li>[François Beausoleil](<a
32
- href="http://github.com/francois">github.com/francois</a>)
33
-
34
- </li>
35
- <li>[Iñaki Baz Castillo](<a href="http://github.com/ibc">github.com/ibc</a>)
36
-
37
- </li>
38
- </ul>
39
-
40
- </div>
41
-
42
-
43
-
44
-
45
-
46
-
47
-
48
-
49
-
50
-
51
-
52
-
53
-
54
-
55
-
56
-
57
-
58
-
59
-
60
-
61
-
62
- </div>
63
- </div>
64
- </body>
65
- </html>