facets 2.1.1 → 2.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +5 -0
- data/{LICENSE → COPYING} +4 -0
- data/{WHATSNEW → NOTES} +6 -1
- data/README +5 -0
- data/lib/core/facets.rb +1 -1
- data/lib/core/facets/dir/multiglob.rb +3 -67
- data/lib/core/facets/exception.rb +1 -0
- data/lib/core/facets/exception/detail.rb +20 -0
- data/lib/core/facets/kernel/tap.rb +13 -0
- data/lib/core/facets/{facets.rb → main.rb} +2 -0
- data/lib/methods/facets/facets/require_core.rb +1 -1
- data/lib/more/facets/logger.rb +11 -7
- data/lib/more/facets/registerable.rb +36 -0
- data/log/{history.txt → history.rd} +7 -1
- data/log/{todo.txt → todo.rd} +0 -0
- data/meta/{manifest.txt → MANIFEST} +23 -17
- data/meta/icli.yaml +3 -3
- data/meta/{facets-2.1.1.roll → project.yaml} +4 -11
- data/meta/rollrc +5 -0
- data/task/changes +29 -0
- data/task/install +7 -3
- data/task/{crosstest → test/cross} +0 -0
- data/task/{testeach → test/each} +0 -0
- data/task/{test → test/general} +0 -0
- data/task/{isotest → test/isotest} +0 -0
- data/task/{loadtest → test/loadtest} +0 -0
- data/task/{testpairs → test/pairs} +0 -0
- data/task/{syntax → test/syntax} +0 -0
- metadata +736 -737
- data/lib/more/facets/rbconfig.rb +0 -55
- data/log/release.txt +0 -10
- data/task/config/general.yaml +0 -66
- data/task/config/rdoc.yaml +0 -478
- data/task/rdoc +0 -163
- data/task/svn/tag +0 -22
data/lib/more/facets/rbconfig.rb
DELETED
@@ -1,55 +0,0 @@
|
|
1
|
-
# TITLE:
|
2
|
-
#
|
3
|
-
# Ruby Configuration
|
4
|
-
#
|
5
|
-
# SUMMARY:
|
6
|
-
#
|
7
|
-
# An extended rendition of the Ruby's standard Config module.
|
8
|
-
#
|
9
|
-
# COPYRIGHT:
|
10
|
-
#
|
11
|
-
# Copyright (c) 2006 Thomas Sawyer
|
12
|
-
#
|
13
|
-
# LICENSE:
|
14
|
-
#
|
15
|
-
# Ruby License
|
16
|
-
#
|
17
|
-
# This module is free software. You may use, modify, and/or redistribute this
|
18
|
-
# software under the same terms as Ruby.
|
19
|
-
#
|
20
|
-
# This program is distributed in the hope that it will be useful, but WITHOUT
|
21
|
-
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
22
|
-
# FOR A PARTICULAR PURPOSE.
|
23
|
-
#
|
24
|
-
# AUTHORS:
|
25
|
-
#
|
26
|
-
# - Thomas Sawyer
|
27
|
-
|
28
|
-
|
29
|
-
require 'rbconfig'
|
30
|
-
|
31
|
-
|
32
|
-
# = Config
|
33
|
-
#
|
34
|
-
module Config
|
35
|
-
|
36
|
-
def self.inspect
|
37
|
-
CONFIG.inspect
|
38
|
-
end
|
39
|
-
|
40
|
-
# In case rubygems has already defined it.
|
41
|
-
unless self.respond_to?(:datadir)
|
42
|
-
# Return the path to the data directory associated with the
|
43
|
-
# given library/package name. Normally this is just
|
44
|
-
#
|
45
|
-
# "#{Config::CONFIG['datadir']}/#{name}"
|
46
|
-
#
|
47
|
-
# but may be modified by tools like RubyGems to handle
|
48
|
-
# versioned data directories.
|
49
|
-
|
50
|
-
def self.datadir(package_name)
|
51
|
-
File.join(CONFIG['datadir'], package_name)
|
52
|
-
end
|
53
|
-
end
|
54
|
-
|
55
|
-
end
|
data/log/release.txt
DELETED
@@ -1,10 +0,0 @@
|
|
1
|
-
== 2.1.0 / 2007-11-10
|
2
|
-
|
3
|
-
* Major Changes
|
4
|
-
* command.rb has been completely rewritten. The API has changed completely!
|
5
|
-
* There is no longer a Commmand::Optoins class. Use Console::Arguments instead.
|
6
|
-
* Added BiCrypt class to crypt.rb for simple two-way encyrption.
|
7
|
-
* Minor Changes
|
8
|
-
* module/attr.rb now has attr_reader!, attr_writer! and attr_accessor!
|
9
|
-
* All attr_xxx methods have coresponding alias_xxx methods.
|
10
|
-
* Fixed bug in Enumerable#cluster_by which returned nil instead of [].
|
data/task/config/general.yaml
DELETED
@@ -1,66 +0,0 @@
|
|
1
|
-
---
|
2
|
-
|
3
|
-
methods:
|
4
|
-
source : lib/core/facets
|
5
|
-
output : lib/methods/facets
|
6
|
-
ignore : [As, Functor, Indexable, Stackable]
|
7
|
-
|
8
|
-
publish:
|
9
|
-
project : facets
|
10
|
-
source : doc
|
11
|
-
username : transami
|
12
|
-
|
13
|
-
test:
|
14
|
-
libpath:
|
15
|
-
- lib/methods
|
16
|
-
- lib/core
|
17
|
-
- lib/more
|
18
|
-
|
19
|
-
rdoc:
|
20
|
-
- title : Facets
|
21
|
-
main : README
|
22
|
-
chdir : lib/core
|
23
|
-
output : doc/rdoc/core
|
24
|
-
- title : Facets
|
25
|
-
chdir : lib/more
|
26
|
-
output : doc/rdoc
|
27
|
-
groups :
|
28
|
-
- [ facets/annotations.rb, facets/settings.rb ]
|
29
|
-
- [ facets/aop.rb, facets/cut.rb ]
|
30
|
-
- [ facets/buildable.rb, facets/buildingblock.rb, facets/hashbuilder.rb ]
|
31
|
-
- [ facets/command.rb, facets/arguments.rb, facets/ansicode.rb ] # facets/bbcode.rb
|
32
|
-
- [ facets/dictionary.rb, facets/orderedhash.rb ]
|
33
|
-
- [ facets/fileable.rb, facets/filelist.rb, facets/pathlist.rb, facets/fileshell.rb ]
|
34
|
-
- [ facets/heap.rb, facets/pqueue.rb ]
|
35
|
-
- [ facets/openobject.rb, facets/opencascade.rb, facets/opencollection.rb, facets/ostruct.rb ]
|
36
|
-
- [ facets/syncarray.rb, facets/synchash.rb ]
|
37
|
-
|
38
|
-
ad_file: meta/google_ad.html
|
39
|
-
|
40
|
-
# announce:
|
41
|
-
# template : README
|
42
|
-
# to : transfire@gmail.com #ruby-talk@ruby-lang.org
|
43
|
-
# from : transfire@gmail.com
|
44
|
-
# domain : facets.rubyforge.org
|
45
|
-
# server : smtp.gmail.com
|
46
|
-
# port : 25 #587
|
47
|
-
# account : transfire@gmail.com
|
48
|
-
# login_type : login #cram_md5 #plain
|
49
|
-
# secure : true
|
50
|
-
|
51
|
-
#rubyforge:
|
52
|
-
# project : facets
|
53
|
-
# username : transami
|
54
|
-
# groupid : 804
|
55
|
-
# package : timefacets
|
56
|
-
|
57
|
-
#mail:
|
58
|
-
# mail_to : transfire@gmail.com #ruby-talk@ruby-lang.org
|
59
|
-
# mail_from : transfire@gmail.com
|
60
|
-
# domain : facets.rubyforge.org
|
61
|
-
# server : smtp.gmail.com
|
62
|
-
# port : 25 #587
|
63
|
-
# account : transfire@gmail.com
|
64
|
-
# login_type : login #cram_md5 #plain
|
65
|
-
# secure : true
|
66
|
-
|
data/task/config/rdoc.yaml
DELETED
@@ -1,478 +0,0 @@
|
|
1
|
-
# This is the list of rdoc targets. Facets needs to RDoc in designated
|
2
|
-
# sections due to it's large size.
|
3
|
-
|
4
|
-
Core:
|
5
|
-
chdir: lib/core
|
6
|
-
files:
|
7
|
-
../../README
|
8
|
-
facets/1stclassmethod.rb facets/array facets/binding facets/boolean.rb facets/class
|
9
|
-
facets/comparable facets/continuation facets/conversion.rb facets/dir facets/enumerable
|
10
|
-
facets/file facets/filetest facets/float facets/functor.rb facets/hash
|
11
|
-
facets/indexable.rb facets/integer facets/kernel facets/matchdata facets/module
|
12
|
-
facets/nilclass facets/numeric facets/proc facets/range facets/regexp
|
13
|
-
facets/stackable.rb facets/string facets/symbol facets/time facets/unboundmethod
|
14
|
-
|
15
|
-
Annotations:
|
16
|
-
chdir: lib/more
|
17
|
-
files:
|
18
|
-
facets/annotations.rb
|
19
|
-
facets/settings.rb
|
20
|
-
|
21
|
-
Advice:
|
22
|
-
chdir: lib/more
|
23
|
-
files:
|
24
|
-
facets/advice.rb
|
25
|
-
|
26
|
-
Ansicode:
|
27
|
-
chdir: lib/more
|
28
|
-
files:
|
29
|
-
facets/ansicode.rb
|
30
|
-
|
31
|
-
AOP:
|
32
|
-
chdir: lib/more
|
33
|
-
files:
|
34
|
-
facets/aop.rb
|
35
|
-
facets/cut.rb
|
36
|
-
|
37
|
-
Association:
|
38
|
-
chdir: lib/more
|
39
|
-
files:
|
40
|
-
facets/association.rb
|
41
|
-
|
42
|
-
AutoArray:
|
43
|
-
chdir: lib/more
|
44
|
-
files:
|
45
|
-
facets/autoarray.rb
|
46
|
-
|
47
|
-
AutoReload:
|
48
|
-
chdir: lib/more
|
49
|
-
files:
|
50
|
-
facets/autoreload.rb
|
51
|
-
|
52
|
-
BasicObject:
|
53
|
-
chdir: lib/more
|
54
|
-
files:
|
55
|
-
facets/basicobject.rb
|
56
|
-
|
57
|
-
Benhavior:
|
58
|
-
chdir: lib/more
|
59
|
-
files:
|
60
|
-
facets/behavior.rb
|
61
|
-
|
62
|
-
BinReadable:
|
63
|
-
chdir: lib/more
|
64
|
-
files:
|
65
|
-
facets/binreadable.rb
|
66
|
-
|
67
|
-
Buildable:
|
68
|
-
chdir: lib/more
|
69
|
-
files:
|
70
|
-
facets/buildable.rb
|
71
|
-
facets/buildingblock.rb
|
72
|
-
facets/hashbuilder.rb
|
73
|
-
|
74
|
-
Bytes:
|
75
|
-
chdir: lib/more
|
76
|
-
files:
|
77
|
-
facets/bytes.rb
|
78
|
-
|
79
|
-
CacheDelegator:
|
80
|
-
chdir: lib/more
|
81
|
-
files:
|
82
|
-
facets/cachedelegator.rb
|
83
|
-
|
84
|
-
Capsule:
|
85
|
-
chdir: lib/more
|
86
|
-
files:
|
87
|
-
facets/capsule.rb
|
88
|
-
|
89
|
-
ClassExtension:
|
90
|
-
chdir: lib/more
|
91
|
-
files:
|
92
|
-
facets/class_extension.rb
|
93
|
-
|
94
|
-
ClassMethods:
|
95
|
-
chdir: lib/more
|
96
|
-
files:
|
97
|
-
facets/classmethods.rb
|
98
|
-
|
99
|
-
Clonable:
|
100
|
-
chdir: lib/more
|
101
|
-
files:
|
102
|
-
facets/cloneable.rb
|
103
|
-
|
104
|
-
Command:
|
105
|
-
chdir: lib/more
|
106
|
-
files:
|
107
|
-
facets/command.rb
|
108
|
-
facets/arguments.rb
|
109
|
-
# facets/bbcode.rb
|
110
|
-
|
111
|
-
CompareOn:
|
112
|
-
chdir: lib/more
|
113
|
-
files:
|
114
|
-
facets/compare_on.rb
|
115
|
-
|
116
|
-
ConsoleUtils:
|
117
|
-
chdir: lib/more
|
118
|
-
files:
|
119
|
-
facets/console.rb
|
120
|
-
|
121
|
-
Coroutine:
|
122
|
-
chdir: lib/more
|
123
|
-
files:
|
124
|
-
facets/coroutine.rb
|
125
|
-
|
126
|
-
Crypt:
|
127
|
-
chdir: lib/more
|
128
|
-
files:
|
129
|
-
facets/crypt.rb
|
130
|
-
|
131
|
-
Curry:
|
132
|
-
chdir: lib/more
|
133
|
-
files:
|
134
|
-
facets/curry.rb
|
135
|
-
|
136
|
-
Daemonize:
|
137
|
-
chdir: lib/more
|
138
|
-
files:
|
139
|
-
facets/daemonize.rb
|
140
|
-
|
141
|
-
Date:
|
142
|
-
chdir: lib/more
|
143
|
-
files:
|
144
|
-
facets/date.rb
|
145
|
-
|
146
|
-
Dependency:
|
147
|
-
chdir: lib/more
|
148
|
-
files:
|
149
|
-
facets/dependency.rb
|
150
|
-
|
151
|
-
Dictionary:
|
152
|
-
chdir: lib/more
|
153
|
-
files:
|
154
|
-
facets/dictionary.rb
|
155
|
-
facets/orderedhash.rb
|
156
|
-
|
157
|
-
Downloader:
|
158
|
-
chdir: lib/more
|
159
|
-
files:
|
160
|
-
facets/downloader.rb
|
161
|
-
|
162
|
-
Elementor:
|
163
|
-
chdir: lib/more
|
164
|
-
files:
|
165
|
-
facets/elementor.rb
|
166
|
-
|
167
|
-
EnumerablePass:
|
168
|
-
chdir: lib/more
|
169
|
-
files:
|
170
|
-
facets/enumerablepass.rb
|
171
|
-
|
172
|
-
EventHook:
|
173
|
-
chdir: lib/more
|
174
|
-
files:
|
175
|
-
facets/eventhook.rb
|
176
|
-
|
177
|
-
Expirable:
|
178
|
-
chdir: lib/more
|
179
|
-
files:
|
180
|
-
facets/expirable.rb
|
181
|
-
|
182
|
-
File:
|
183
|
-
chdir: lib/more
|
184
|
-
files:
|
185
|
-
facets/fileable.rb
|
186
|
-
facets/filelist.rb
|
187
|
-
facets/pathlist.rb
|
188
|
-
facets/fileshell.rb
|
189
|
-
|
190
|
-
FileUtils:
|
191
|
-
chdir: lib/more
|
192
|
-
files:
|
193
|
-
facets/fileutils.rb
|
194
|
-
|
195
|
-
Functor:
|
196
|
-
chdir: lib/more
|
197
|
-
files:
|
198
|
-
facets/functor.rb
|
199
|
-
|
200
|
-
GetoptLong:
|
201
|
-
chdir: lib/more
|
202
|
-
files:
|
203
|
-
facets/getoptlong.rb
|
204
|
-
|
205
|
-
Infinity:
|
206
|
-
chdir: lib/more
|
207
|
-
files:
|
208
|
-
facets/infinity.rb
|
209
|
-
|
210
|
-
Inheritor:
|
211
|
-
chdir: lib/more
|
212
|
-
files:
|
213
|
-
facets/inheritor.rb
|
214
|
-
|
215
|
-
Instantiable:
|
216
|
-
chdir: lib/more
|
217
|
-
files:
|
218
|
-
facets/instantiable.rb
|
219
|
-
|
220
|
-
Instantise:
|
221
|
-
chdir: lib/more
|
222
|
-
files:
|
223
|
-
facets/instantise.rb
|
224
|
-
|
225
|
-
Interface:
|
226
|
-
chdir: lib/more
|
227
|
-
files:
|
228
|
-
facets/interface.rb
|
229
|
-
|
230
|
-
Interval:
|
231
|
-
chdir: lib/more
|
232
|
-
files:
|
233
|
-
facets/interval.rb
|
234
|
-
|
235
|
-
IORredirect:
|
236
|
-
chdir: lib/more
|
237
|
-
files:
|
238
|
-
facets/ioredirect.rb
|
239
|
-
|
240
|
-
Heap:
|
241
|
-
chdir: lib/more
|
242
|
-
files:
|
243
|
-
facets/heap.rb
|
244
|
-
facets/pqueue.rb
|
245
|
-
|
246
|
-
Lazy:
|
247
|
-
chdir: lib/more
|
248
|
-
files:
|
249
|
-
facets/lazy.rb
|
250
|
-
|
251
|
-
Let:
|
252
|
-
chdir: lib/more
|
253
|
-
files:
|
254
|
-
facets/let.rb
|
255
|
-
|
256
|
-
LinkList:
|
257
|
-
chdir: lib/more
|
258
|
-
files:
|
259
|
-
facets/linkedlist.rb
|
260
|
-
|
261
|
-
Logger:
|
262
|
-
chdir: lib/more
|
263
|
-
files:
|
264
|
-
facets/logger.rb
|
265
|
-
|
266
|
-
LRUCache:
|
267
|
-
chdir: lib/more
|
268
|
-
files:
|
269
|
-
facets/lrucache.rb
|
270
|
-
|
271
|
-
Memoize:
|
272
|
-
chdir: lib/more
|
273
|
-
files:
|
274
|
-
facets/memoize.rb
|
275
|
-
|
276
|
-
MapSend:
|
277
|
-
chdir: lib/more
|
278
|
-
files:
|
279
|
-
facets/mapsend.rb
|
280
|
-
|
281
|
-
Minitar:
|
282
|
-
chdir: lib/more
|
283
|
-
files:
|
284
|
-
facets/minitar.rb
|
285
|
-
|
286
|
-
Multipliers:
|
287
|
-
chdir: lib/more
|
288
|
-
files:
|
289
|
-
facets/multipliers.rb
|
290
|
-
|
291
|
-
Multition:
|
292
|
-
chdir: lib/more
|
293
|
-
files:
|
294
|
-
facets/multiton.rb
|
295
|
-
|
296
|
-
NackClass:
|
297
|
-
chdir: lib/more
|
298
|
-
files:
|
299
|
-
facets/nackclass.rb
|
300
|
-
|
301
|
-
Namespace:
|
302
|
-
chdir: lib/more
|
303
|
-
files:
|
304
|
-
facets/namespace.rb
|
305
|
-
|
306
|
-
NullClass:
|
307
|
-
chdir: lib/more
|
308
|
-
files:
|
309
|
-
facets/nullclass.rb
|
310
|
-
|
311
|
-
OpenObjects:
|
312
|
-
chdir: lib/more
|
313
|
-
files:
|
314
|
-
facets/openobject.rb
|
315
|
-
facets/opencascade.rb
|
316
|
-
facets/opencollection.rb
|
317
|
-
facets/ostruct.rb
|
318
|
-
|
319
|
-
Overload:
|
320
|
-
chdir: lib/more
|
321
|
-
files:
|
322
|
-
facets/overload.rb
|
323
|
-
|
324
|
-
Paramix:
|
325
|
-
chdir: lib/more
|
326
|
-
files:
|
327
|
-
facets/paramix.rb
|
328
|
-
|
329
|
-
Pathname:
|
330
|
-
chdir: lib/more
|
331
|
-
files:
|
332
|
-
facets/pathname.rb
|
333
|
-
|
334
|
-
Pool:
|
335
|
-
chdir: lib/more
|
336
|
-
files:
|
337
|
-
facets/pool.rb
|
338
|
-
|
339
|
-
Prepend:
|
340
|
-
chdir: lib/more
|
341
|
-
files:
|
342
|
-
facets/prepend.rb
|
343
|
-
|
344
|
-
ProgressBar:
|
345
|
-
chdir: lib/more
|
346
|
-
files:
|
347
|
-
facets/progressbar.rb
|
348
|
-
|
349
|
-
Prototye:
|
350
|
-
chdir: lib/more
|
351
|
-
files:
|
352
|
-
facets/prototype.rb
|
353
|
-
|
354
|
-
Random:
|
355
|
-
chdir: lib/more
|
356
|
-
files:
|
357
|
-
facets/random.rb
|
358
|
-
|
359
|
-
RBConfig:
|
360
|
-
chdir: lib/more
|
361
|
-
files:
|
362
|
-
facets/rbconfig.rb
|
363
|
-
|
364
|
-
RBSystem:
|
365
|
-
chdir: lib/more
|
366
|
-
files:
|
367
|
-
facets/rbsystem.rb
|
368
|
-
|
369
|
-
Recorder:
|
370
|
-
chdir: lib/more
|
371
|
-
files:
|
372
|
-
facets/recorder.rb
|
373
|
-
|
374
|
-
Recursive:
|
375
|
-
chdir: lib/more
|
376
|
-
files:
|
377
|
-
facets/recursive.rb
|
378
|
-
|
379
|
-
Reference:
|
380
|
-
chdir: lib/more
|
381
|
-
files:
|
382
|
-
facets/reference.rb
|
383
|
-
|
384
|
-
Reflection:
|
385
|
-
chdir: lib/more
|
386
|
-
files:
|
387
|
-
facets/reflection.rb
|
388
|
-
|
389
|
-
Main:
|
390
|
-
chdir: lib/more
|
391
|
-
files:
|
392
|
-
facets/main.rb
|
393
|
-
|
394
|
-
RWDelegator:
|
395
|
-
chdir: lib/more
|
396
|
-
files:
|
397
|
-
facets/rwdelegator.rb
|
398
|
-
|
399
|
-
Semaphore:
|
400
|
-
chdir: lib/more
|
401
|
-
files:
|
402
|
-
facets/semaphore.rb
|
403
|
-
|
404
|
-
Shellwords:
|
405
|
-
chdir: lib/more
|
406
|
-
files:
|
407
|
-
facets/shellwords.rb
|
408
|
-
|
409
|
-
SMTP-TLS:
|
410
|
-
chdir: lib/more
|
411
|
-
files:
|
412
|
-
facets/smtp_tls.rb
|
413
|
-
|
414
|
-
SnapShot:
|
415
|
-
chdir: lib/more
|
416
|
-
files:
|
417
|
-
facets/snapshot.rb
|
418
|
-
|
419
|
-
Stylize:
|
420
|
-
chdir: lib/more
|
421
|
-
files:
|
422
|
-
facets/stylize.rb
|
423
|
-
|
424
|
-
Sync:
|
425
|
-
chdir: lib/more
|
426
|
-
files:
|
427
|
-
facets/syncarray.rb
|
428
|
-
facets/synchash.rb
|
429
|
-
|
430
|
-
Timer:
|
431
|
-
chdir: lib/more
|
432
|
-
files:
|
433
|
-
facets/timer.rb
|
434
|
-
|
435
|
-
Times:
|
436
|
-
chdir: lib/more
|
437
|
-
files:
|
438
|
-
facets/times.rb
|
439
|
-
|
440
|
-
TracePoint:
|
441
|
-
chdir: lib/more
|
442
|
-
files:
|
443
|
-
facets/tracepoint.rb
|
444
|
-
|
445
|
-
Tuple:
|
446
|
-
chdir: lib/more
|
447
|
-
files:
|
448
|
-
facets/tuple.rb
|
449
|
-
|
450
|
-
Typecast:
|
451
|
-
chdir: lib/more
|
452
|
-
files:
|
453
|
-
facets/typecast.rb
|
454
|
-
|
455
|
-
Uninheritable:
|
456
|
-
chdir: lib/more
|
457
|
-
files:
|
458
|
-
facets/uninheritable.rb
|
459
|
-
|
460
|
-
UploadUtils:
|
461
|
-
chdir: lib/more
|
462
|
-
files:
|
463
|
-
facets/uploadutils.rb
|
464
|
-
|
465
|
-
Version:
|
466
|
-
chdir: lib/more
|
467
|
-
files:
|
468
|
-
facets/version.rb
|
469
|
-
|
470
|
-
YAML:
|
471
|
-
chdir: lib/more
|
472
|
-
files:
|
473
|
-
facets/yaml.rb
|
474
|
-
|
475
|
-
ZipUtils:
|
476
|
-
chdir: lib/more
|
477
|
-
files:
|
478
|
-
facets/ziputils.rb
|