facets 1.7.46 → 1.8.0
Sign up to get free protection for your applications and to get access to all the features.
- data/PROJECT +41 -23
- data/Rakefile +164 -0
- data/VERSION +1 -1
- data/demo/cuts/benchmark.rb +71 -0
- data/demo/cuts/override.rb +33 -0
- data/doc/AUTHORS +1 -0
- data/doc/{CHANGELOG.1 → HISTORY.1} +0 -0
- data/doc/HISTORY.txt +798 -0
- data/doc/LATEST +240 -0
- data/lib/facet/ann.rb +1 -0
- data/lib/facet/ann_attr.rb +1 -0
- data/lib/facet/arguments.rb +1 -0
- data/lib/facet/array/index.rb +1 -0
- data/lib/facet/array/to_path.rb +1 -0
- data/lib/facet/autoscript.rb +1 -0
- data/lib/facet/autovivify.rb +1 -0
- data/lib/facet/behvior.rb +1 -0
- data/lib/facet/buildingblock.rb +1 -0
- data/lib/facet/class/class_load.rb +1 -0
- data/lib/facet/class/class_require.rb +1 -0
- data/lib/facet/config/inspect.rb +1 -0
- data/lib/facet/consoleutils.rb +1 -0
- data/lib/facet/dependency.rb +1 -0
- data/lib/facet/dir/self/multiglob.rb +1 -0
- data/lib/facet/dir/self/multiglob_recurse.rb +1 -0
- data/lib/facet/dir/self/multiglob_sum.rb +1 -0
- data/lib/facet/enumerable/injecting.rb +1 -0
- data/lib/facet/file/self/yaml.rb +1 -0
- data/lib/facet/fileutils/compress.rb +1 -0
- data/lib/facet/fileutils/stage.rb +1 -0
- data/lib/facet/fileutils/staged.rb +1 -0
- data/lib/facet/hash/insert.rb +1 -0
- data/lib/facet/hash/op_add.rb +1 -0
- data/lib/facet/hash/op_and.rb +1 -0
- data/lib/facet/hash/op_mul.rb +1 -0
- data/lib/facet/hash/op_or.rb +1 -0
- data/lib/facet/hash/op_sub.rb +1 -0
- data/lib/facet/hash/pairs_at.rb +1 -0
- data/lib/facet/hash/rekey.rb +1 -0
- data/lib/facet/htmlfilter.rb +1 -0
- data/lib/facet/integer/to_roman.rb +1 -0
- data/lib/facet/kernel/ask.rb +1 -0
- data/lib/facet/kernel/class_def.rb +1 -0
- data/lib/facet/kernel/daemonize.rb +1 -0
- data/lib/facet/kernel/enable_warnings.rb +1 -0
- data/lib/facet/kernel/instance_class.rb +1 -0
- data/lib/facet/kernel/instance_values.rb +1 -0
- data/lib/facet/kernel/meta_alias.rb +1 -0
- data/lib/facet/kernel/meta_class.rb +1 -0
- data/lib/facet/kernel/meta_def.rb +1 -0
- data/lib/facet/kernel/meta_eval.rb +1 -0
- data/lib/facet/kernel/object_send.rb +1 -0
- data/lib/facet/kernel/populate.rb +1 -0
- data/lib/facet/kernel/qua_class.rb +1 -0
- data/lib/facet/kernel/silence_stream.rb +1 -0
- data/lib/facet/kernel/super_at.rb +1 -0
- data/lib/facet/kernel/supress.rb +1 -0
- data/lib/facet/kernel/with.rb +1 -0
- data/lib/facet/kernel/yaml.rb +1 -0
- data/lib/facet/minitar.rb +1 -0
- data/lib/facet/module/alias_accessor.rb +1 -0
- data/lib/facet/module/include_and_extend.rb +1 -0
- data/lib/facet/module/include_function_module.rb +1 -0
- data/lib/facet/module/module_load.rb +1 -0
- data/lib/facet/module/module_method.rb +1 -0
- data/lib/facet/module/module_require.rb +1 -0
- data/lib/facet/module/new.rb +1 -0
- data/lib/facet/module/prepend.rb +1 -0
- data/lib/facet/openhash.rb +1 -0
- data/lib/facet/ostruct/instance_delegate.rb +1 -0
- data/lib/facet/populate.rb +1 -0
- data/lib/facet/proc/bind.rb +1 -0
- data/lib/facet/proc/to_h.rb +1 -0
- data/lib/facet/proc/update.rb +1 -0
- data/lib/facet/script.rb +1 -0
- data/lib/facet/string/rewrite.rb +1 -0
- data/lib/facet/symbol/chomp.rb +1 -0
- data/lib/facet/uploadutils.rb +1 -0
- data/lib/facet/version_number.rb +1 -0
- data/lib/facets.rb +3 -207
- data/lib/facets/automatic.rb +29 -0
- data/lib/facets/core/all.rb +1 -1
- data/lib/facets/core/array/index.rb +15 -0
- data/lib/facets/core/array/to_path.rb +11 -0
- data/lib/facets/core/class/class_load.rb +3 -0
- data/lib/facets/core/class/class_require.rb +3 -0
- data/lib/facets/core/config/inspect.rb +9 -0
- data/lib/facets/core/dir/self/multiglob.rb +32 -0
- data/lib/facets/core/dir/self/multiglob_recurse.rb +5 -0
- data/lib/facets/core/dir/self/multiglob_sum.rb +40 -0
- data/lib/facets/core/enumerable/each_slice.rb +1 -0
- data/lib/facets/core/enumerable/every.rb +2 -2
- data/lib/facets/core/enumerable/injecting.rb +22 -0
- data/lib/facets/core/enumerable/partition_by.rb +10 -8
- data/lib/facets/core/file/self/yaml.rb +16 -0
- data/lib/facets/core/fileutils/compress.rb +154 -0
- data/lib/facets/core/fileutils/stage.rb +230 -0
- data/lib/facets/core/fileutils/staged.rb +3 -0
- data/lib/facets/core/hash/insert.rb +20 -0
- data/lib/facets/core/hash/op_add.rb +29 -0
- data/lib/facets/core/hash/op_and.rb +37 -0
- data/lib/facets/core/hash/op_mul.rb +17 -0
- data/lib/facets/core/hash/op_or.rb +2 -0
- data/lib/facets/core/hash/op_sub.rb +2 -0
- data/lib/facets/core/hash/pairs_at.rb +17 -0
- data/lib/facets/core/hash/rekey.rb +89 -0
- data/lib/facets/core/hash/reverse_merge.rb +6 -3
- data/lib/facets/core/inflect.rb +5 -14
- data/lib/facets/core/integer/to_roman.rb +20 -0
- data/lib/facets/core/kernel/as.rb +46 -29
- data/lib/facets/core/kernel/ask.rb +14 -0
- data/lib/facets/core/kernel/class_def.rb +10 -0
- data/lib/facets/core/kernel/daemonize.rb +21 -0
- data/lib/facets/core/kernel/enable_warnings.rb +14 -0
- data/lib/facets/core/kernel/{quaclass.rb → instance_class.rb} +7 -6
- data/lib/facets/core/kernel/instance_exec.rb +12 -10
- data/lib/facets/core/kernel/instance_values.rb +12 -0
- data/lib/facets/core/kernel/meta_alias.rb +14 -0
- data/lib/facets/core/kernel/meta_class.rb +38 -0
- data/lib/facets/core/kernel/meta_def.rb +14 -0
- data/lib/facets/core/kernel/meta_eval.rb +16 -0
- data/lib/facets/core/kernel/metaclass.rb +8 -12
- data/lib/facets/core/kernel/object_send.rb +21 -0
- data/lib/facets/core/kernel/populate.rb +39 -0
- data/lib/facets/core/kernel/qua_class.rb +41 -0
- data/lib/facets/core/kernel/returning.rb +7 -47
- data/lib/facets/core/kernel/send_as.rb +10 -4
- data/lib/facets/core/kernel/set_with.rb +25 -7
- data/lib/facets/core/kernel/silence_stream.rb +22 -0
- data/lib/facets/core/kernel/singleton.rb +1 -2
- data/lib/facets/core/kernel/{superior.rb → super_at.rb} +4 -1
- data/lib/facets/core/kernel/supermethod.rb +1 -1
- data/lib/facets/core/kernel/supress.rb +15 -0
- data/lib/facets/core/kernel/with.rb +57 -0
- data/lib/facets/core/kernel/yaml.rb +7 -0
- data/lib/facets/core/module/alias_accessor.rb +19 -0
- data/lib/facets/core/module/alias_method_chain.rb +33 -0
- data/lib/facets/core/module/class_extension.rb +1 -1
- data/lib/facets/core/module/include_and_extend.rb +10 -0
- data/lib/facets/core/module/include_as.rb +17 -16
- data/lib/facets/core/module/include_function_module.rb +13 -0
- data/lib/facets/core/module/inject.rb +1 -0
- data/lib/facets/core/module/memoize.rb +4 -3
- data/lib/facets/core/module/module_load.rb +51 -0
- data/lib/facets/core/module/module_method.rb +13 -0
- data/lib/facets/core/module/module_require.rb +3 -0
- data/lib/facets/core/module/namespace.rb +96 -36
- data/lib/facets/core/module/new.rb +37 -0
- data/lib/facets/core/module/prepend.rb +63 -0
- data/lib/facets/core/module/self/op_add.rb +16 -0
- data/lib/facets/core/ostruct.rb +6 -4
- data/lib/facets/core/ostruct/__merge__.rb +3 -50
- data/lib/facets/core/ostruct/__table__.rb +3 -10
- data/lib/facets/core/ostruct/__update__.rb +29 -0
- data/lib/facets/core/ostruct/instance_delegate.rb +58 -0
- data/lib/facets/core/ostruct/op_fetch.rb +18 -0
- data/lib/facets/core/ostruct/op_store.rb +3 -40
- data/lib/facets/core/proc/bind.rb +35 -0
- data/lib/facets/core/proc/to_h.rb +27 -0
- data/lib/facets/core/proc/to_method.rb +15 -29
- data/lib/facets/core/proc/update.rb +11 -0
- data/lib/facets/core/string/dresner.rb +1 -1
- data/lib/facets/core/string/rewrite.rb +34 -0
- data/lib/facets/core/symbol/chomp.rb +9 -0
- data/lib/facets/core/time/stamp.rb +32 -16
- data/lib/facets/more/ann.rb +249 -0
- data/lib/facets/more/ann_attr.rb +164 -0
- data/lib/facets/more/arguments.rb +479 -0
- data/lib/facets/more/autoscript.rb +34 -0
- data/lib/facets/more/autovivify.rb +16 -0
- data/lib/facets/more/basicobject.rb +67 -54
- data/lib/facets/more/behvior.rb +59 -0
- data/lib/facets/more/buildingblock.rb +192 -0
- data/lib/facets/more/command.rb +332 -146
- data/lib/facets/more/consoleutils.rb +45 -0
- data/lib/facets/more/cookie.rb +5 -2
- data/lib/facets/more/dependency.rb +199 -0
- data/lib/facets/more/dictionary.rb +49 -11
- data/lib/facets/more/functor.rb +33 -27
- data/lib/facets/more/htmlbuilder.rb +8 -18
- data/lib/facets/more/htmlfilter.rb +566 -0
- data/lib/facets/more/htmlhelper.rb +3 -8
- data/lib/facets/more/http.rb +0 -1
- data/lib/facets/more/httpaccess.rb +1 -1
- data/lib/facets/more/instance_intercept.rb +1 -1
- data/lib/facets/more/main_as_module.rb +2 -0
- data/lib/facets/more/methodfilter.rb +4 -0
- data/lib/facets/more/minitar.rb +979 -0
- data/lib/facets/more/multiton.rb +43 -24
- data/lib/facets/more/opencascade.rb +3 -3
- data/lib/facets/more/openhash.rb +350 -0
- data/lib/facets/more/openobject.rb +9 -306
- data/lib/facets/more/populate.rb +37 -0
- data/lib/facets/more/script.rb +157 -0
- data/lib/facets/more/uploadutils.rb +207 -0
- data/lib/facets/more/version_number.rb +98 -0
- data/lib/facets/more/xmlbuilder.rb +26 -21
- data/lib/facets/more/xmlhelper.rb +1 -1
- data/lib/facets/sys.rb +212 -0
- data/lib/facets/{more → yore}/annattr.rb +1 -1
- data/lib/facets/{more → yore}/annotation.rb +38 -32
- data/lib/facets/yore/builderobject.rb +222 -0
- data/lib/facets/{core → yore}/kernel/own.rb +0 -0
- data/lib/facets/{core → yore}/kernel/require_facet.rb +0 -0
- data/lib/facets/yore/module/inject.rb +9 -0
- data/lib/facets/yore/module/namespace.rb +62 -0
- data/setup.rb +2 -2
- data/test/special/main_as_module.rb +14 -0
- data/work/README +42 -0
- data/work/TODO +73 -0
- data/work/bin/minitar +3 -0
- data/work/bin/minitar.rb +814 -0
- data/work/core/array/at_rand.rb +95 -0
- data/work/core/array/each_slice.rb +23 -0
- data/work/core/array/pick_values.rb +32 -0
- data/work/core/array/rand_indexes.rb +33 -0
- data/work/core/binding/class.rb +11 -0
- data/work/core/binding/delegate-binding.rb +19 -0
- data/work/core/binding/delegate.rb +15 -0
- data/work/core/binding/proc.rb +6 -0
- data/work/core/class/to_module.rb +3 -0
- data/work/core/enumerable/op_fetch.rb +30 -0
- data/work/core/fileutils/cptouch.rb +20 -0
- data/work/core/fileutils/nl_convert.rb +133 -0
- data/work/core/io/expect.rb +127 -0
- data/work/core/join_with.rb +13 -0
- data/work/core/kernel/call_line.rb +15 -0
- data/work/core/kernel/does.rb +7 -0
- data/work/core/kernel/message.rb +6 -0
- data/work/core/kernel/query.rb +15 -0
- data/work/core/kernel/taint.rb +10 -0
- data/work/core/logger/clean_logger.rb +10 -0
- data/work/core/module/attr-old.rb +308 -0
- data/work/core/module/attr.rb +98 -0
- data/work/core/module/attr_xxx.rb +22 -0
- data/work/core/module/by_regexp.rb +21 -0
- data/work/core/module/cast.rb +64 -0
- data/work/core/module/class_attribute_accessors.rb +57 -0
- data/work/core/module/inherit.rb +99 -0
- data/work/core/module/inherit0.rb +59 -0
- data/work/core/module/let.rb +51 -0
- data/work/core/module/meta_attr.rb +60 -0
- data/work/core/module/module_attribute_accessors.rb +57 -0
- data/work/core/module/permissions.rb +32 -0
- data/work/core/module/preserved.rb +108 -0
- data/work/core/module/sattr_accessor.rb +1 -0
- data/work/core/module/sattr_reader.rb +1 -0
- data/work/core/module/sattr_setter.rb +1 -0
- data/work/core/module/sattr_tester.rb +1 -0
- data/work/core/module/sattr_writer.rb +1 -0
- data/work/core/module/tc_attr.rb +107 -0
- data/work/core/module/to_module.rb +37 -0
- data/work/core/module/version.rb +23 -0
- data/work/core/string/frequency.rb +40 -0
- data/work/core/string/op_add.rb +24 -0
- data/work/core/string/op_div.rb +15 -0
- data/work/core/string/pred.rb +217 -0
- data/work/core/string/probability.rb +35 -0
- data/work/core/string/succ_distance.rb +112 -0
- data/work/core/string/to_arr.rb +57 -0
- data/work/core/string/to_ary.rb +12 -0
- data/work/core/string/word_wrap.rb +62 -0
- data/work/misc/calibre/ProjectInfo.annotation +46 -0
- data/work/misc/calibre/ProjectInfo.ansicode +33 -0
- data/work/misc/calibre/ProjectInfo.association +34 -0
- data/work/misc/calibre/ProjectInfo.basicobject +36 -0
- data/work/misc/calibre/ProjectInfo.bbcode +34 -0
- data/work/misc/calibre/ProjectInfo.binaryreader +35 -0
- data/work/misc/calibre/ProjectInfo.bitmask +33 -0
- data/work/misc/calibre/ProjectInfo.classinherit +36 -0
- data/work/misc/calibre/ProjectInfo.classmethods +36 -0
- data/work/misc/calibre/ProjectInfo.cloneable +33 -0
- data/work/misc/calibre/ProjectInfo.consoleapp +35 -0
- data/work/misc/calibre/ProjectInfo.coroutine +37 -0
- data/work/misc/calibre/ProjectInfo.crypt +33 -0
- data/work/misc/calibre/ProjectInfo.dictionary +40 -0
- data/work/misc/calibre/ProjectInfo.downloader +39 -0
- data/work/misc/calibre/ProjectInfo.enumerablepass +35 -0
- data/work/misc/calibre/ProjectInfo.expirable +37 -0
- data/work/misc/calibre/ProjectInfo.floatstring +35 -0
- data/work/misc/calibre/ProjectInfo.functor +40 -0
- data/work/misc/calibre/ProjectInfo.heap +33 -0
- data/work/misc/calibre/ProjectInfo.inheritor +36 -0
- data/work/misc/calibre/ProjectInfo.interval +36 -0
- data/work/misc/calibre/ProjectInfo.lisp +38 -0
- data/work/misc/calibre/ProjectInfo.lrucache +34 -0
- data/work/misc/calibre/ProjectInfo.mathconstants +41 -0
- data/work/misc/calibre/ProjectInfo.methodprobe +38 -0
- data/work/misc/calibre/ProjectInfo.mock +34 -0
- data/work/misc/calibre/ProjectInfo.multiton +36 -0
- data/work/misc/calibre/ProjectInfo.nackclass +33 -0
- data/work/misc/calibre/ProjectInfo.nilcomparable +35 -0
- data/work/misc/calibre/ProjectInfo.nullclass +35 -0
- data/work/misc/calibre/ProjectInfo.one +37 -0
- data/work/misc/calibre/ProjectInfo.openobject +39 -0
- data/work/misc/calibre/ProjectInfo.paramix +38 -0
- data/work/misc/calibre/ProjectInfo.pool +33 -0
- data/work/misc/calibre/ProjectInfo.progressbar +37 -0
- data/work/misc/calibre/ProjectInfo.reference +36 -0
- data/work/misc/calibre/ProjectInfo.semaphore +36 -0
- data/work/misc/calibre/ProjectInfo.stateparser +39 -0
- data/work/misc/calibre/ProjectInfo.statichash +33 -0
- data/work/misc/calibre/ProjectInfo.system +34 -0
- data/work/misc/calibre/ProjectInfo.tagiterator +36 -0
- data/work/misc/calibre/ProjectInfo.timer +35 -0
- data/work/misc/calibre/ProjectInfo.tracepoint +37 -0
- data/work/misc/calibre/ProjectInfo.tuple +36 -0
- data/work/misc/calibre/ProjectInfo.uniheritable +34 -0
- data/work/misc/calibre/ProjectInfo.units +34 -0
- data/work/misc/calibre/ProjectInfo.yamlstruct +34 -0
- data/work/more/annotation-rw.rb +217 -0
- data/work/more/aobject.rb +132 -0
- data/work/more/autohash.rb +67 -0
- data/work/more/cache.rb +189 -0
- data/work/more/class_inheritable_attributes.rb +120 -0
- data/work/more/commandrunner.rb +101 -0
- data/work/more/daemon.rb +70 -0
- data/work/more/debugger.rb +167 -0
- data/work/more/detach.rb +423 -0
- data/work/more/enumtype.rb +115 -0
- data/work/more/ioreactor.rb +671 -0
- data/work/more/logger_sing.rb +207 -0
- data/work/more/must.rb +37 -0
- data/work/more/old-tkxml.rb +189 -0
- data/work/more/pairhash.rb +55 -0
- data/work/more/password.rb +80 -0
- data/work/more/print_exception.rb +35 -0
- data/work/more/rand.rb +412 -0
- data/work/more/range.rb +383 -0
- data/work/more/sanitize.rb +48 -0
- data/work/more/superstruct.rb +735 -0
- data/work/more/tag.rb +31 -0
- data/work/more/timer.rb +164 -0
- data/work/op_rshift.rb +87 -0
- data/work/pore/autorequire.rb +83 -0
- data/work/pore/basefactory.rb +40 -0
- data/work/pore/hash/each.rb +76 -0
- data/work/pore/merge3.rb +765 -0
- data/work/pore/superann.rb +134 -0
- data/work/pore/sys.rb +186 -0
- data/work/pore/utils.rb +518 -0
- data/work/yore/HashAquisition.rb +36 -0
- data/work/yore/Rakefile.old +181 -0
- data/work/yore/Reapfile +63 -0
- data/work/yore/annotation.rb +489 -0
- data/{test/lib/facets/more/test_annotation.rb → work/yore/annotation2.rb} +166 -18
- data/work/yore/commandutils.rb +379 -0
- data/work/yore/openobject.rb +298 -0
- data/work/yore/reap.rb +184 -0
- data/work/yore/reap.yml +47 -0
- data/work/yore/taskable-old.rb +519 -0
- data/{lib/facets/more → work/yore}/taskable.rb +176 -17
- metadata +1164 -1427
- data/doc/CHANGELOG +0 -146
- data/lib/facet/annattr.rb +0 -1
- data/lib/facet/annotation.rb +0 -1
- data/lib/facet/builderobject.rb +0 -1
- data/lib/facet/kernel/own.rb +0 -1
- data/lib/facet/kernel/quaclass.rb +0 -1
- data/lib/facet/kernel/require_facet.rb +0 -1
- data/lib/facet/kernel/superior.rb +0 -1
- data/lib/facet/one.rb +0 -1
- data/lib/facet/ostruct/instance.rb +0 -1
- data/lib/facet/predicate.rb +0 -1
- data/lib/facet/taskable.rb +0 -1
- data/lib/facets/core/ostruct/instance.rb +0 -37
- data/lib/facets/more/builderobject.rb +0 -97
- data/lib/facets/more/one.rb +0 -153
- data/lib/facets/more/predicate.rb +0 -184
- data/test/lib/facets/core/array/test_at_rand.rb +0 -34
- data/test/lib/facets/core/array/test_delete_unless.rb +0 -28
- data/test/lib/facets/core/array/test_delete_values.rb +0 -28
- data/test/lib/facets/core/array/test_delete_values_at.rb +0 -31
- data/test/lib/facets/core/array/test_first.rb +0 -46
- data/test/lib/facets/core/array/test_head.rb +0 -42
- data/test/lib/facets/core/array/test_last_index.rb +0 -26
- data/test/lib/facets/core/array/test_merge.rb +0 -35
- data/test/lib/facets/core/array/test_mid.rb +0 -33
- data/test/lib/facets/core/array/test_middle.rb +0 -29
- data/test/lib/facets/core/array/test_op_fetch.rb +0 -35
- data/test/lib/facets/core/array/test_pick.rb +0 -40
- data/test/lib/facets/core/array/test_pos.rb +0 -28
- data/test/lib/facets/core/array/test_pot.rb +0 -28
- data/test/lib/facets/core/array/test_pull.rb +0 -28
- data/test/lib/facets/core/array/test_rand_index.rb +0 -29
- data/test/lib/facets/core/array/test_rand_subset.rb +0 -29
- data/test/lib/facets/core/array/test_range.rb +0 -32
- data/test/lib/facets/core/array/test_rotate.rb +0 -36
- data/test/lib/facets/core/array/test_select.rb +0 -28
- data/test/lib/facets/core/array/test_shuffle.rb +0 -35
- data/test/lib/facets/core/array/test_thru.rb +0 -27
- data/test/lib/facets/core/array/test_to_b.rb +0 -27
- data/test/lib/facets/core/array/test_to_h.rb +0 -33
- data/test/lib/facets/core/array/test_to_hash.rb +0 -27
- data/test/lib/facets/core/binding/self/test_of_caller.rb +0 -35
- data/test/lib/facets/core/binding/test___LINE__.rb +0 -43
- data/test/lib/facets/core/binding/test_call_stack.rb +0 -34
- data/test/lib/facets/core/binding/test_called.rb +0 -30
- data/test/lib/facets/core/binding/test_caller.rb +0 -35
- data/test/lib/facets/core/binding/test_defined.rb +0 -34
- data/test/lib/facets/core/binding/test_eval.rb +0 -34
- data/test/lib/facets/core/binding/test_local_variables.rb +0 -34
- data/test/lib/facets/core/binding/test_method_name.rb +0 -34
- data/test/lib/facets/core/binding/test_op_fetch.rb +0 -34
- data/test/lib/facets/core/binding/test_op_store.rb +0 -35
- data/test/lib/facets/core/binding/test_self.rb +0 -34
- data/test/lib/facets/core/class/test_cattr.rb +0 -63
- data/test/lib/facets/core/class/test_descendents.rb +0 -30
- data/test/lib/facets/core/class/test_method_name.rb +0 -26
- data/test/lib/facets/core/class/test_remove_descendents.rb +0 -32
- data/test/lib/facets/core/class/test_unix_path.rb +0 -26
- data/test/lib/facets/core/comparable/test_at_least.rb +0 -34
- data/test/lib/facets/core/comparable/test_clip.rb +0 -44
- data/test/lib/facets/core/comparable/test_cmp.rb +0 -28
- data/test/lib/facets/core/continuation/self/test_create.rb +0 -26
- data/test/lib/facets/core/date/test_days_in_month.rb +0 -30
- data/test/lib/facets/core/date/test_days_of_month.rb +0 -30
- data/test/lib/facets/core/date/test_stamp.rb +0 -38
- data/test/lib/facets/core/date/test_to_date.rb +0 -30
- data/test/lib/facets/core/date/test_to_s.rb +0 -30
- data/test/lib/facets/core/date/test_to_time.rb +0 -30
- data/test/lib/facets/core/dir/self/test_ancestor.rb +0 -26
- data/test/lib/facets/core/dir/self/test_ascend.rb +0 -41
- data/test/lib/facets/core/enumerable/self/test_combinations.rb +0 -46
- data/test/lib/facets/core/enumerable/self/test_cross.rb +0 -31
- data/test/lib/facets/core/enumerable/test_collect_with_index.rb +0 -27
- data/test/lib/facets/core/enumerable/test_commonality.rb +0 -31
- data/test/lib/facets/core/enumerable/test_compact_collect.rb +0 -27
- data/test/lib/facets/core/enumerable/test_count.rb +0 -38
- data/test/lib/facets/core/enumerable/test_cross.rb +0 -30
- data/test/lib/facets/core/enumerable/test_each_by.rb +0 -71
- data/test/lib/facets/core/enumerable/test_each_combination.rb +0 -29
- data/test/lib/facets/core/enumerable/test_each_pair.rb +0 -29
- data/test/lib/facets/core/enumerable/test_each_slice.rb +0 -57
- data/test/lib/facets/core/enumerable/test_each_unique_pair.rb +0 -29
- data/test/lib/facets/core/enumerable/test_eachn.rb +0 -34
- data/test/lib/facets/core/enumerable/test_entropy.rb +0 -26
- data/test/lib/facets/core/enumerable/test_every.rb +0 -35
- data/test/lib/facets/core/enumerable/test_ew.rb +0 -31
- data/test/lib/facets/core/enumerable/test_filter_collect.rb +0 -31
- data/test/lib/facets/core/enumerable/test_find_collisions.rb +0 -30
- data/test/lib/facets/core/enumerable/test_frequency.rb +0 -27
- data/test/lib/facets/core/enumerable/test_graph.rb +0 -30
- data/test/lib/facets/core/enumerable/test_ideal_entropy.rb +0 -27
- data/test/lib/facets/core/enumerable/test_none.rb +0 -33
- data/test/lib/facets/core/enumerable/test_occur.rb +0 -30
- data/test/lib/facets/core/enumerable/test_one.rb +0 -35
- data/test/lib/facets/core/enumerable/test_op_pow.rb +0 -27
- data/test/lib/facets/core/enumerable/test_partition_by.rb +0 -31
- data/test/lib/facets/core/enumerable/test_permutation.rb +0 -29
- data/test/lib/facets/core/enumerable/test_permute.rb +0 -29
- data/test/lib/facets/core/enumerable/test_probability.rb +0 -27
- data/test/lib/facets/core/enumerable/test_to_h.rb +0 -27
- data/test/lib/facets/core/enumerable/test_uniq_by.rb +0 -28
- data/test/lib/facets/core/file/self/test_create.rb +0 -44
- data/test/lib/facets/core/file/self/test_open_as_string.rb +0 -50
- data/test/lib/facets/core/file/self/test_read_list.rb +0 -40
- data/test/lib/facets/core/file/self/test_sanitize.rb +0 -46
- data/test/lib/facets/core/file/self/test_split_all.rb +0 -27
- data/test/lib/facets/core/float/test_round_at.rb +0 -46
- data/test/lib/facets/core/float/test_round_to.rb +0 -46
- data/test/lib/facets/core/hash/self/test_zipnew.rb +0 -28
- data/test/lib/facets/core/hash/test_alias.rb +0 -31
- data/test/lib/facets/core/hash/test_assert_has_keys.rb +0 -27
- data/test/lib/facets/core/hash/test_assert_has_only_keys.rb +0 -27
- data/test/lib/facets/core/hash/test_at.rb +0 -28
- data/test/lib/facets/core/hash/test_collate.rb +0 -35
- data/test/lib/facets/core/hash/test_each_with_index.rb +0 -29
- data/test/lib/facets/core/hash/test_each_with_key.rb +0 -29
- data/test/lib/facets/core/hash/test_graph.rb +0 -28
- data/test/lib/facets/core/hash/test_has_keys.rb +0 -27
- data/test/lib/facets/core/hash/test_has_only_keys.rb +0 -27
- data/test/lib/facets/core/hash/test_inverse.rb +0 -30
- data/test/lib/facets/core/hash/test_normalize_keys.rb +0 -34
- data/test/lib/facets/core/hash/test_op_fetch.rb +0 -111
- data/test/lib/facets/core/hash/test_op_lshift.rb +0 -29
- data/test/lib/facets/core/hash/test_rand_key.rb +0 -27
- data/test/lib/facets/core/hash/test_rand_pair.rb +0 -27
- data/test/lib/facets/core/hash/test_rand_value.rb +0 -27
- data/test/lib/facets/core/hash/test_replace_each.rb +0 -29
- data/test/lib/facets/core/hash/test_shuffle.rb +0 -32
- data/test/lib/facets/core/hash/test_slice.rb +0 -27
- data/test/lib/facets/core/hash/test_stringify_keys.rb +0 -34
- data/test/lib/facets/core/hash/test_swap.rb +0 -27
- data/test/lib/facets/core/hash/test_swapkey.rb +0 -29
- data/test/lib/facets/core/hash/test_symbolize_keys.rb +0 -34
- data/test/lib/facets/core/hash/test_to_h.rb +0 -27
- data/test/lib/facets/core/hash/test_to_ostruct.rb +0 -30
- data/test/lib/facets/core/hash/test_to_ostruct_recurse.rb +0 -44
- data/test/lib/facets/core/hash/test_traverse.rb +0 -37
- data/test/lib/facets/core/hash/test_update_each.rb +0 -29
- data/test/lib/facets/core/hash/test_update_keys.rb +0 -28
- data/test/lib/facets/core/hash/test_update_values.rb +0 -28
- data/test/lib/facets/core/hash/test_weave.rb +0 -29
- data/test/lib/facets/core/integer/test_factorial.rb +0 -30
- data/test/lib/facets/core/integer/test_multiple.rb +0 -43
- data/test/lib/facets/core/integer/test_of.rb +0 -28
- data/test/lib/facets/core/integer/test_ordinal.rb +0 -29
- data/test/lib/facets/core/integer/test_times_collect.rb +0 -28
- data/test/lib/facets/core/kernel/test___class__.rb +0 -26
- data/test/lib/facets/core/kernel/test_as.rb +0 -42
- data/test/lib/facets/core/kernel/test_assign_from.rb +0 -31
- data/test/lib/facets/core/kernel/test_assign_with.rb +0 -31
- data/test/lib/facets/core/kernel/test_bool.rb +0 -41
- data/test/lib/facets/core/kernel/test_bug.rb +0 -26
- data/test/lib/facets/core/kernel/test_call_stack.rb +0 -26
- data/test/lib/facets/core/kernel/test_called.rb +0 -26
- data/test/lib/facets/core/kernel/test_callee.rb +0 -26
- data/test/lib/facets/core/kernel/test_constant.rb +0 -33
- data/test/lib/facets/core/kernel/test_copy.rb +0 -40
- data/test/lib/facets/core/kernel/test_deep_copy.rb +0 -40
- data/test/lib/facets/core/kernel/test_demo.rb +0 -28
- data/test/lib/facets/core/kernel/test_fn.rb +0 -26
- data/test/lib/facets/core/kernel/test_get_by_id.rb +0 -28
- data/test/lib/facets/core/kernel/test_here.rb +0 -26
- data/test/lib/facets/core/kernel/test_in.rb +0 -27
- data/test/lib/facets/core/kernel/test_instance_exec.rb +0 -52
- data/test/lib/facets/core/kernel/test_maybe.rb +0 -26
- data/test/lib/facets/core/kernel/test_metaclass.rb +0 -34
- data/test/lib/facets/core/kernel/test_method.rb +0 -32
- data/test/lib/facets/core/kernel/test_methods.rb +0 -50
- data/test/lib/facets/core/kernel/test_new.rb +0 -30
- data/test/lib/facets/core/kernel/test_object_class.rb +0 -26
- data/test/lib/facets/core/kernel/test_object_hexid.rb +0 -27
- data/test/lib/facets/core/kernel/test_quaclass.rb +0 -27
- data/test/lib/facets/core/kernel/test_require_all.rb +0 -26
- data/test/lib/facets/core/kernel/test_require_esc.rb +0 -27
- data/test/lib/facets/core/kernel/test_require_facet.rb +0 -27
- data/test/lib/facets/core/kernel/test_resc.rb +0 -27
- data/test/lib/facets/core/kernel/test_returning.rb +0 -30
- data/test/lib/facets/core/kernel/test_send_as.rb +0 -26
- data/test/lib/facets/core/kernel/test_set_from.rb +0 -33
- data/test/lib/facets/core/kernel/test_set_with.rb +0 -33
- data/test/lib/facets/core/kernel/test_silently.rb +0 -28
- data/test/lib/facets/core/kernel/test_singleton.rb +0 -40
- data/test/lib/facets/core/kernel/test_singleton_class.rb +0 -27
- data/test/lib/facets/core/kernel/test_superior.rb +0 -30
- data/test/lib/facets/core/kernel/test_supermethod.rb +0 -33
- data/test/lib/facets/core/kernel/test_this.rb +0 -26
- data/test/lib/facets/core/kernel/test_to_b.rb +0 -28
- data/test/lib/facets/core/kernel/test_to_bool.rb +0 -28
- data/test/lib/facets/core/kernel/test_to_data.rb +0 -59
- data/test/lib/facets/core/kernel/test_uri.rb +0 -30
- data/test/lib/facets/core/kernel/test_val.rb +0 -43
- data/test/lib/facets/core/kernel/test_with_accessor.rb +0 -51
- data/test/lib/facets/core/matchdata/test_match.rb +0 -29
- data/test/lib/facets/core/matchdata/test_matchtree.rb +0 -37
- data/test/lib/facets/core/module/self/test_op_add.rb +0 -48
- data/test/lib/facets/core/module/test_abstract.rb +0 -36
- data/test/lib/facets/core/module/test_alias_module_function.rb +0 -34
- data/test/lib/facets/core/module/test_ancestor.rb +0 -26
- data/test/lib/facets/core/module/test_basename.rb +0 -26
- data/test/lib/facets/core/module/test_by_name.rb +0 -29
- data/test/lib/facets/core/module/test_class_extension.rb +0 -70
- data/test/lib/facets/core/module/test_clone_using.rb +0 -55
- data/test/lib/facets/core/module/test_dirname.rb +0 -26
- data/test/lib/facets/core/module/test_equate_on.rb +0 -37
- data/test/lib/facets/core/module/test_include_as.rb +0 -35
- data/test/lib/facets/core/module/test_initializer.rb +0 -32
- data/test/lib/facets/core/module/test_instance_methods.rb +0 -59
- data/test/lib/facets/core/module/test_integrate.rb +0 -35
- data/test/lib/facets/core/module/test_memoize.rb +0 -50
- data/test/lib/facets/core/module/test_modspace.rb +0 -27
- data/test/lib/facets/core/module/test_namespace.rb +0 -33
- data/test/lib/facets/core/module/test_nesting.rb +0 -36
- data/test/lib/facets/core/module/test_nodef.rb +0 -30
- data/test/lib/facets/core/module/test_on_included.rb +0 -36
- data/test/lib/facets/core/module/test_redef.rb +0 -30
- data/test/lib/facets/core/module/test_redefine_method.rb +0 -30
- data/test/lib/facets/core/module/test_redirect.rb +0 -30
- data/test/lib/facets/core/module/test_redirect_method.rb +0 -30
- data/test/lib/facets/core/module/test_remove.rb +0 -30
- data/test/lib/facets/core/module/test_rename.rb +0 -31
- data/test/lib/facets/core/module/test_rename_method.rb +0 -31
- data/test/lib/facets/core/module/test_revisal.rb +0 -35
- data/test/lib/facets/core/module/test_shadow_method.rb +0 -30
- data/test/lib/facets/core/module/test_sort_on.rb +0 -42
- data/test/lib/facets/core/module/test_this.rb +0 -31
- data/test/lib/facets/core/module/test_wrap.rb +0 -30
- data/test/lib/facets/core/module/test_wrap_method.rb +0 -30
- data/test/lib/facets/core/nilclass/test_blank.rb +0 -26
- data/test/lib/facets/core/nilclass/test_empty.rb +0 -26
- data/test/lib/facets/core/nilclass/test_include.rb +0 -26
- data/test/lib/facets/core/nilclass/test_op_fetch.rb +0 -28
- data/test/lib/facets/core/nilclass/test_size.rb +0 -30
- data/test/lib/facets/core/nilclass/test_to_h.rb +0 -26
- data/test/lib/facets/core/numeric/test_approx.rb +0 -29
- data/test/lib/facets/core/numeric/test_ceil_multiple.rb +0 -31
- data/test/lib/facets/core/numeric/test_distance.rb +0 -28
- data/test/lib/facets/core/numeric/test_succ.rb +0 -40
- data/test/lib/facets/core/numeric/test_to_b.rb +0 -27
- data/test/lib/facets/core/ostruct/test___merge__.rb +0 -38
- data/test/lib/facets/core/ostruct/test___update__.rb +0 -29
- data/test/lib/facets/core/ostruct/test_op_fetch.rb +0 -27
- data/test/lib/facets/core/ostruct/test_op_store.rb +0 -28
- data/test/lib/facets/core/proc/test_compose.rb +0 -29
- data/test/lib/facets/core/proc/test_op_mul.rb +0 -34
- data/test/lib/facets/core/proc/test_to_method.rb +0 -44
- data/test/lib/facets/core/range/test_to_r.rb +0 -27
- data/test/lib/facets/core/range/test_to_range.rb +0 -27
- data/test/lib/facets/core/range/test_umbrella.rb +0 -34
- data/test/lib/facets/core/range/test_within.rb +0 -29
- data/test/lib/facets/core/regexp/test_arity.rb +0 -33
- data/test/lib/facets/core/regexp/test_to_re.rb +0 -27
- data/test/lib/facets/core/regexp/test_to_regexp.rb +0 -27
- data/test/lib/facets/core/string/self/test_interpolate.rb +0 -27
- data/test/lib/facets/core/string/self/test_patterns.rb +0 -28
- data/test/lib/facets/core/string/self/test_rand_letter.rb +0 -26
- data/test/lib/facets/core/string/test_align_center.rb +0 -34
- data/test/lib/facets/core/string/test_at_rand.rb +0 -35
- data/test/lib/facets/core/string/test_basename.rb +0 -41
- data/test/lib/facets/core/string/test_blank.rb +0 -27
- data/test/lib/facets/core/string/test_bracket.rb +0 -49
- data/test/lib/facets/core/string/test_camelcase.rb +0 -39
- data/test/lib/facets/core/string/test_camelize.rb +0 -26
- data/test/lib/facets/core/string/test_capitalized.rb +0 -26
- data/test/lib/facets/core/string/test_chars.rb +0 -27
- data/test/lib/facets/core/string/test_cmp.rb +0 -30
- data/test/lib/facets/core/string/test_demodulize.rb +0 -38
- data/test/lib/facets/core/string/test_divide.rb +0 -29
- data/test/lib/facets/core/string/test_downcase.rb +0 -26
- data/test/lib/facets/core/string/test_dresner.rb +0 -32
- data/test/lib/facets/core/string/test_each_char.rb +0 -29
- data/test/lib/facets/core/string/test_each_word.rb +0 -29
- data/test/lib/facets/core/string/test_first.rb +0 -43
- data/test/lib/facets/core/string/test_fold.rb +0 -34
- data/test/lib/facets/core/string/test_humanize.rb +0 -26
- data/test/lib/facets/core/string/test_indent.rb +0 -40
- data/test/lib/facets/core/string/test_index_all.rb +0 -26
- data/test/lib/facets/core/string/test_last.rb +0 -46
- data/test/lib/facets/core/string/test_line_wrap.rb +0 -27
- data/test/lib/facets/core/string/test_lines.rb +0 -26
- data/test/lib/facets/core/string/test_lowercase.rb +0 -26
- data/test/lib/facets/core/string/test_margin.rb +0 -117
- data/test/lib/facets/core/string/test_methodize.rb +0 -27
- data/test/lib/facets/core/string/test_modulize.rb +0 -29
- data/test/lib/facets/core/string/test_mscan.rb +0 -30
- data/test/lib/facets/core/string/test_natcmp.rb +0 -30
- data/test/lib/facets/core/string/test_nchar.rb +0 -29
- data/test/lib/facets/core/string/test_pathize.rb +0 -29
- data/test/lib/facets/core/string/test_pop.rb +0 -47
- data/test/lib/facets/core/string/test_pot.rb +0 -39
- data/test/lib/facets/core/string/test_push.rb +0 -40
- data/test/lib/facets/core/string/test_quote.rb +0 -49
- data/test/lib/facets/core/string/test_rand_byte.rb +0 -35
- data/test/lib/facets/core/string/test_rand_index.rb +0 -26
- data/test/lib/facets/core/string/test_range.rb +0 -27
- data/test/lib/facets/core/string/test_range_all.rb +0 -27
- data/test/lib/facets/core/string/test_range_of_line.rb +0 -28
- data/test/lib/facets/core/string/test_regesc.rb +0 -28
- data/test/lib/facets/core/string/test_shatter.rb +0 -29
- data/test/lib/facets/core/string/test_shift.rb +0 -40
- data/test/lib/facets/core/string/test_shuffle.rb +0 -27
- data/test/lib/facets/core/string/test_similarity.rb +0 -26
- data/test/lib/facets/core/string/test_singular.rb +0 -86
- data/test/lib/facets/core/string/test_soundex.rb +0 -41
- data/test/lib/facets/core/string/test_succ.rb +0 -29
- data/test/lib/facets/core/string/test_to_a.rb +0 -27
- data/test/lib/facets/core/string/test_to_b.rb +0 -41
- data/test/lib/facets/core/string/test_to_const.rb +0 -28
- data/test/lib/facets/core/string/test_to_date.rb +0 -30
- data/test/lib/facets/core/string/test_to_proc.rb +0 -33
- data/test/lib/facets/core/string/test_to_re.rb +0 -28
- data/test/lib/facets/core/string/test_to_time.rb +0 -30
- data/test/lib/facets/core/string/test_unix_crypt.rb +0 -30
- data/test/lib/facets/core/string/test_unpack.rb +0 -34
- data/test/lib/facets/core/string/test_unshift.rb +0 -39
- data/test/lib/facets/core/string/test_upcase.rb +0 -30
- data/test/lib/facets/core/string/test_whitespace.rb +0 -27
- data/test/lib/facets/core/string/test_word_filter.rb +0 -34
- data/test/lib/facets/core/string/test_word_wrap.rb +0 -51
- data/test/lib/facets/core/string/test_words.rb +0 -37
- data/test/lib/facets/core/symbol/test_camelcase.rb +0 -26
- data/test/lib/facets/core/symbol/test_camelize.rb +0 -27
- data/test/lib/facets/core/symbol/test_capitalize.rb +0 -26
- data/test/lib/facets/core/symbol/test_capitalized.rb +0 -27
- data/test/lib/facets/core/symbol/test_downcase.rb +0 -27
- data/test/lib/facets/core/symbol/test_not.rb +0 -29
- data/test/lib/facets/core/symbol/test_pad.rb +0 -27
- data/test/lib/facets/core/symbol/test_succ.rb +0 -28
- data/test/lib/facets/core/symbol/test_to_const.rb +0 -28
- data/test/lib/facets/core/symbol/test_to_proc.rb +0 -33
- data/test/lib/facets/core/symbol/test_to_str.rb +0 -28
- data/test/lib/facets/core/symbol/test_underscore.rb +0 -26
- data/test/lib/facets/core/symbol/test_upcase.rb +0 -27
- data/test/lib/facets/core/time/test_change.rb +0 -33
- data/test/lib/facets/core/time/test_elapse.rb +0 -27
- data/test/lib/facets/core/time/test_stamp.rb +0 -31
- data/test/lib/facets/core/time/test_to_date.rb +0 -31
- data/test/lib/facets/core/time/test_to_s.rb +0 -31
- data/test/lib/facets/core/time/test_to_time.rb +0 -31
- data/test/lib/facets/more/test_annattr.rb +0 -39
- data/test/lib/facets/more/test_ansicode.rb +0 -36
- data/test/lib/facets/more/test_association.rb +0 -51
- data/test/lib/facets/more/test_autoarray.rb +0 -32
- data/test/lib/facets/more/test_basicobject.rb +0 -67
- data/test/lib/facets/more/test_bbcode.rb +0 -34
- data/test/lib/facets/more/test_binaryreader.rb +0 -64
- data/test/lib/facets/more/test_bitmask.rb +0 -47
- data/test/lib/facets/more/test_bytes.rb +0 -84
- data/test/lib/facets/more/test_classmethods.rb +0 -69
- data/test/lib/facets/more/test_command.rb +0 -38
- data/test/lib/facets/more/test_coroutine.rb +0 -60
- data/test/lib/facets/more/test_crypt.rb +0 -46
- data/test/lib/facets/more/test_cut.rb +0 -198
- data/test/lib/facets/more/test_dictionary.rb +0 -97
- data/test/lib/facets/more/test_elementor.rb +0 -52
- data/test/lib/facets/more/test_enumerablepass.rb +0 -86
- data/test/lib/facets/more/test_floatstring.rb +0 -36
- data/test/lib/facets/more/test_functor.rb +0 -39
- data/test/lib/facets/more/test_htmlbuilder.rb +0 -38
- data/test/lib/facets/more/test_infinity.rb +0 -50
- data/test/lib/facets/more/test_inheritor.rb +0 -155
- data/test/lib/facets/more/test_instance_intercept.rb +0 -50
- data/test/lib/facets/more/test_interval.rb +0 -119
- data/test/lib/facets/more/test_json.rb +0 -232
- data/test/lib/facets/more/test_linkedlist.rb +0 -53
- data/test/lib/facets/more/test_lisp.rb +0 -47
- data/test/lib/facets/more/test_lisp_format.rb +0 -37
- data/test/lib/facets/more/test_lrucache.rb +0 -25
- data/test/lib/facets/more/test_mathconstants.rb +0 -18
- data/test/lib/facets/more/test_methodfilter.rb +0 -45
- data/test/lib/facets/more/test_methodprobe.rb +0 -53
- data/test/lib/facets/more/test_multipliers.rb +0 -114
- data/test/lib/facets/more/test_multiton.rb +0 -199
- data/test/lib/facets/more/test_nackclass.rb +0 -45
- data/test/lib/facets/more/test_nilcomparable.rb +0 -47
- data/test/lib/facets/more/test_opencascade.rb +0 -75
- data/test/lib/facets/more/test_openobject.rb +0 -126
- data/test/lib/facets/more/test_overload.rb +0 -54
- data/test/lib/facets/more/test_paramix.rb +0 -100
- data/test/lib/facets/more/test_pqueue.rb +0 -39
- data/test/lib/facets/more/test_predicate.rb +0 -79
- data/test/lib/facets/more/test_preinitialize.rb +0 -49
- data/test/lib/facets/more/test_promoteself.rb +0 -45
- data/test/lib/facets/more/test_recorder.rb +0 -44
- data/test/lib/facets/more/test_snapshot.rb +0 -34
- data/test/lib/facets/more/test_statichash.rb +0 -31
- data/test/lib/facets/more/test_syncarray.rb +0 -28
- data/test/lib/facets/more/test_synchash.rb +0 -28
- data/test/lib/facets/more/test_tagiterator.rb +0 -93
- data/test/lib/facets/more/test_taskable.rb +0 -190
- data/test/lib/facets/more/test_timer.rb +0 -66
- data/test/lib/facets/more/test_times.rb +0 -73
- data/test/lib/facets/more/test_tuple.rb +0 -64
- data/test/lib/facets/more/test_typecast.rb +0 -68
- data/test/lib/facets/more/test_uninheritable.rb +0 -42
- data/test/lib/facets/more/test_units.rb +0 -111
- data/test/lib/facets/more/test_xmlbuilder.rb +0 -38
- data/test/lib/facets/more/test_xmlhelper.rb +0 -40
- data/test/lib/facets/more/test_xoxo.rb +0 -288
- data/test/lib/facets/more/test_yamlstruct.rb +0 -37
- data/util/announce +0 -20
- data/util/changelog +0 -8
- data/util/count +0 -8
- data/util/extest +0 -8
- data/util/list +0 -38
- data/util/package +0 -9
- data/util/prepare +0 -12
- data/util/redirect +0 -34
- data/util/release +0 -13
- data/util/setup +0 -7
- data/util/test +0 -7
- data/util/version +0 -8
@@ -0,0 +1,115 @@
|
|
1
|
+
#--
|
2
|
+
# EnumeratedType
|
3
|
+
# Copyright (c) 2005 Jamis Buck
|
4
|
+
#
|
5
|
+
# Ruby License
|
6
|
+
#
|
7
|
+
# This module is free software. You may use, modify, and/or redistribute this
|
8
|
+
# software under the same terms as Ruby.
|
9
|
+
#
|
10
|
+
# This program is distributed in the hope that it will be useful, but WITHOUT
|
11
|
+
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
12
|
+
# FOR A PARTICULAR PURPOSE.
|
13
|
+
#
|
14
|
+
# ==========================================================================
|
15
|
+
# :: Revision History ::
|
16
|
+
# --------------------------------------------------------------------------
|
17
|
+
# 05.09.13 trans * Added or-able option which will enum by powers of 2.
|
18
|
+
# 05.08.07 trans * Ported to Calibre.
|
19
|
+
# ==========================================================================
|
20
|
+
#++
|
21
|
+
|
22
|
+
# = EnumeratedType
|
23
|
+
#
|
24
|
+
# By subclassing EnumeratedType and then simply listing the constants
|
25
|
+
# required in order, each will be automatically assigned a numeration.
|
26
|
+
#
|
27
|
+
# EnumeratedType lets you create enumerated types like this:
|
28
|
+
#
|
29
|
+
# class OutputType < EnumeratedType
|
30
|
+
# AUTODETECT
|
31
|
+
# UNKNOWN
|
32
|
+
# NOSOUND
|
33
|
+
# WAVWRITER
|
34
|
+
# DSOUND
|
35
|
+
# WINMM
|
36
|
+
# ASIO
|
37
|
+
# OSS
|
38
|
+
# ALSA
|
39
|
+
# ESD
|
40
|
+
# SOUNDMANAGER
|
41
|
+
# COREAUDIO
|
42
|
+
# XBOX
|
43
|
+
# PS2
|
44
|
+
# GC
|
45
|
+
# XBOX360
|
46
|
+
# PSP
|
47
|
+
# end
|
48
|
+
#
|
49
|
+
# If you want to start with a different integer than 0, you can just do:
|
50
|
+
#
|
51
|
+
# class OutputType < EnumeratedType
|
52
|
+
# start 15
|
53
|
+
# AUTODETECT
|
54
|
+
# ...
|
55
|
+
# end
|
56
|
+
#
|
57
|
+
# You can also use start anywhere in the list, to have subsequent constants
|
58
|
+
# enumerated starting with the given value.
|
59
|
+
#
|
60
|
+
# == Author(s)
|
61
|
+
#
|
62
|
+
# * James Buck
|
63
|
+
#
|
64
|
+
|
65
|
+
class EnumeratedType
|
66
|
+
|
67
|
+
def self.start( value, orable=false, &yld )
|
68
|
+
@next_value = value
|
69
|
+
@orable = orable
|
70
|
+
end
|
71
|
+
|
72
|
+
def self.const_missing(sym)
|
73
|
+
@next_value ||= 0
|
74
|
+
const_set(sym, @next_value)
|
75
|
+
if @orable
|
76
|
+
@next_value *= 2
|
77
|
+
else
|
78
|
+
@next_value += 1
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
end
|
83
|
+
|
84
|
+
|
85
|
+
|
86
|
+
# _____ _
|
87
|
+
# |_ _|__ ___| |_
|
88
|
+
# | |/ _ \/ __| __|
|
89
|
+
# | | __/\__ \ |_
|
90
|
+
# |_|\___||___/\__|
|
91
|
+
#
|
92
|
+
|
93
|
+
# TODO
|
94
|
+
|
95
|
+
=begin #test
|
96
|
+
|
97
|
+
require 'test/unit'
|
98
|
+
|
99
|
+
class TC_EnumeratedType < Test::Unit::TestCase
|
100
|
+
|
101
|
+
class MyEnumType < EnumeratedType
|
102
|
+
THIS
|
103
|
+
THAT
|
104
|
+
OTHER
|
105
|
+
end
|
106
|
+
|
107
|
+
def test_01
|
108
|
+
assert_equal( 1, MyEnumType::THIS )
|
109
|
+
assert_equal( 2, MyEnumType::THAT )
|
110
|
+
assert_equal( 3, MyEnumType::OTHER )
|
111
|
+
end
|
112
|
+
|
113
|
+
end
|
114
|
+
|
115
|
+
=end
|
@@ -0,0 +1,671 @@
|
|
1
|
+
#--
|
2
|
+
# IOReactor
|
3
|
+
#
|
4
|
+
# Copyright (c) 2002, 2003 The FaerieMUD Consortium. All rights reserved.
|
5
|
+
#
|
6
|
+
# Ruby License
|
7
|
+
#
|
8
|
+
# This module is free software. You may use, modify, and/or redistribute this
|
9
|
+
# software under the same terms as Ruby.
|
10
|
+
#
|
11
|
+
# This program is distributed in the hope that it will be useful, but WITHOUT
|
12
|
+
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
13
|
+
# FOR A PARTICULAR PURPOSE.
|
14
|
+
#
|
15
|
+
#
|
16
|
+
# ==========================================================================
|
17
|
+
# Revision History ::
|
18
|
+
# --------------------------------------------------------------------------
|
19
|
+
# 2004-12 Trans * Minor modifications to documentation.
|
20
|
+
# ==========================================================================
|
21
|
+
#++
|
22
|
+
|
23
|
+
#:title: IOReactor
|
24
|
+
#
|
25
|
+
# An object-oriented multiplexing asynchronous IO mechanism for Ruby.
|
26
|
+
# It is an implementation of the Reactor design pattern for multiplexed
|
27
|
+
# asynchronous single-thread IO.
|
28
|
+
#
|
29
|
+
# == Details
|
30
|
+
#
|
31
|
+
# This module is a pure-Ruby implementation of an asynchronous multiplexed IO
|
32
|
+
# Reactor which is based on the Reactor design pattern found in _Pattern-Oriented
|
33
|
+
# Software Architecture, Volume 2: Patterns for Concurrent and Networked
|
34
|
+
# Objects_. It allows a single thread to demultiplex and dispatch events from one
|
35
|
+
# or more IO objects to the appropriate handler.
|
36
|
+
#
|
37
|
+
# This module used to be called Ruby-Poll, and used to use the poll(2) system
|
38
|
+
# call, but this strategy was not portable, and didn't work with Ruby's
|
39
|
+
# threads. It now uses IO::select, which should work everywhere Ruby does.
|
40
|
+
#
|
41
|
+
# I would greatly appreciate feedback on any aspect of this software. Suggestions,
|
42
|
+
# feature requests, questions, design critiques, and bug reports are most
|
43
|
+
# welcome. Relevant patches and minimal test cases are particularly helpful. I may
|
44
|
+
# be reached by email at <ged@FaerieMUD.org>.
|
45
|
+
#
|
46
|
+
# == Synopsis
|
47
|
+
#
|
48
|
+
# require 'mega/ioreactor'
|
49
|
+
# require 'socket'
|
50
|
+
#
|
51
|
+
# reactorobj = IOReactor.new
|
52
|
+
#
|
53
|
+
# # Open a listening socket on port 1138 and register it with the
|
54
|
+
# # reactor. When a :read event occurs on it, it means an incoming
|
55
|
+
# # connection has been established
|
56
|
+
# sock = TCPServer::new('localhost', 1138)
|
57
|
+
# reactorobj.register( sock, :read ) {|sock,event|
|
58
|
+
# case event
|
59
|
+
# # Accept the incoming connection, registering it also with
|
60
|
+
# # the reactor; events on client sockets are handled by the
|
61
|
+
# # #clientHandler method.
|
62
|
+
# when :read
|
63
|
+
# clsock = sock.accept
|
64
|
+
# reactorobj.register( clsock, :read, :write, &method(:clientHandler) )
|
65
|
+
# # Errors on the main listening socket cause the whole
|
66
|
+
# # reactor to be shut down
|
67
|
+
# when :error
|
68
|
+
# reactorobj.clear
|
69
|
+
# $stderr.puts "Server error: Shutting down"
|
70
|
+
# else
|
71
|
+
# $stderr.puts "Unhandled event: #{event}"
|
72
|
+
# end
|
73
|
+
# }
|
74
|
+
# # Drive the reactor until it's empty with a single thread
|
75
|
+
# Thread::new { reactorobj.poll until reactorobj.empty? }
|
76
|
+
#
|
77
|
+
# == More Information
|
78
|
+
#
|
79
|
+
# You can find more information about IO-Reactor, including the latest version, at
|
80
|
+
# its project page:
|
81
|
+
#
|
82
|
+
# http://www.devEiate.org/code/IO-Reactor.shtml
|
83
|
+
#
|
84
|
+
# == Author(s)
|
85
|
+
#
|
86
|
+
# * Michael Granger <ged#FaerieMUD.org>
|
87
|
+
#
|
88
|
+
|
89
|
+
require 'delegate'
|
90
|
+
require 'rbconfig'
|
91
|
+
|
92
|
+
### An object-oriented multiplexing asynchronous IO reactor class.
|
93
|
+
class IOReactor
|
94
|
+
|
95
|
+
### Class constants
|
96
|
+
Version = /([\d\.]+)/.match( %q{$Revision: 1.13 $} )[1]
|
97
|
+
Rcsid = %q$Id: reactor.rb,v 1.13 2003/08/04 23:56:14 deveiant Exp $
|
98
|
+
|
99
|
+
ValidEvents = [:read, :write, :error]
|
100
|
+
|
101
|
+
### Create and return a new IO reactor object.
|
102
|
+
def initialize
|
103
|
+
@handles = Hash::new {|hsh,key|
|
104
|
+
hsh[ key ] = {
|
105
|
+
:events => [],
|
106
|
+
:handler => nil,
|
107
|
+
:args => [],
|
108
|
+
}
|
109
|
+
}
|
110
|
+
@pendingEvents = Hash::new {|hsh,key| hsh[ key ] = []}
|
111
|
+
end
|
112
|
+
|
113
|
+
|
114
|
+
######
|
115
|
+
public
|
116
|
+
######
|
117
|
+
|
118
|
+
# The Hash of handles (instances of IO or its subclasses) associated with
|
119
|
+
# the reactor. The keys are the IO objects, and the values are a Hash of
|
120
|
+
# event/s => handler.
|
121
|
+
attr_reader :handles
|
122
|
+
|
123
|
+
# The Hash of unhandled events which occurred in the last call to #poll,
|
124
|
+
# keyed by handle.
|
125
|
+
attr_reader :pendingEvents
|
126
|
+
|
127
|
+
|
128
|
+
### Register the specified IO object with the reactor for events given as
|
129
|
+
### <tt>args</tt>. The reactor will test the given <tt>io</tt> for the
|
130
|
+
### events specified whenever #poll is called. See the #poll method for a
|
131
|
+
### list of valid events. If no events are specified, only <tt>:error</tt>
|
132
|
+
### events will be polled for.
|
133
|
+
###
|
134
|
+
### If a <tt>handler</tt> is specified, it will be called whenever the
|
135
|
+
### <tt>io</tt> has any of the specified <tt>events</tt> occur to it. It
|
136
|
+
### should take at least two parameters: the <tt>io</tt> and the event.
|
137
|
+
###
|
138
|
+
### If +args+ contains any objects except the Symbols '<tt>:read</tt>',
|
139
|
+
### '<tt>:write</tt>', or '<tt>:error</tt>', and a +handler+ is specified,
|
140
|
+
### they will be saved and passed to handler for each event.
|
141
|
+
###
|
142
|
+
### Registering a handle will unregister any previously registered
|
143
|
+
### event/handler+arguments pairs associated with the handle.
|
144
|
+
def register( io, *args, &handler )
|
145
|
+
events = [:read, :write, :error] & args
|
146
|
+
args -= events
|
147
|
+
|
148
|
+
self.unregister( io )
|
149
|
+
self.enableEvents( io, *events )
|
150
|
+
if handler
|
151
|
+
self.setHandler( io, *args, &handler )
|
152
|
+
else
|
153
|
+
self.setArgs( io, *args )
|
154
|
+
end
|
155
|
+
|
156
|
+
return self
|
157
|
+
end
|
158
|
+
alias_method :add, :register
|
159
|
+
|
160
|
+
|
161
|
+
### Add the specified +events+ to the list that will be polled for on the
|
162
|
+
### given +io+ handle.
|
163
|
+
def enableEvents( io, *events )
|
164
|
+
@handles[ io ][:events] |= events
|
165
|
+
end
|
166
|
+
|
167
|
+
|
168
|
+
### Remove the specified +events+ from the list that will be polled for on
|
169
|
+
### the given +io+ handle.
|
170
|
+
def disableEvents( io, *events )
|
171
|
+
raise RuntimeError, "Cannot disable the :error event" if
|
172
|
+
events.include?( :error )
|
173
|
+
@handles[ io ][:events] -= events
|
174
|
+
end
|
175
|
+
|
176
|
+
|
177
|
+
### Set the handler for events on the given +io+ handle to the specified
|
178
|
+
### +handler+. If any +args+ are present, they will be passed as an exploded
|
179
|
+
### array to the handler for each event. Returns the previously-registered
|
180
|
+
### handler, if any.
|
181
|
+
def setHandler( io, *args, &handler )
|
182
|
+
rval = @handles[ io ][:handler]
|
183
|
+
@handles[ io ][:handler] = handler
|
184
|
+
self.setArgs( io, *args )
|
185
|
+
return rval
|
186
|
+
end
|
187
|
+
|
188
|
+
|
189
|
+
### Remove and return the handler for events on the given +io+ handle.
|
190
|
+
def removeHandler( io )
|
191
|
+
rval = @handles[ io ][:handler]
|
192
|
+
@handles[ io ][:handler] = nil
|
193
|
+
self.removeArgs( io )
|
194
|
+
return rval
|
195
|
+
end
|
196
|
+
|
197
|
+
|
198
|
+
### Set the additional arguments to pass to the handler for the given +io+
|
199
|
+
### handle on each event to the given +args+.
|
200
|
+
def setArgs( io, *args )
|
201
|
+
rval = @handles[ io ][:args]
|
202
|
+
@handles[ io ][:args] = args
|
203
|
+
return rval
|
204
|
+
end
|
205
|
+
|
206
|
+
|
207
|
+
### Remove the arguments for the given handle to the given +args+.
|
208
|
+
def removeArgs( io )
|
209
|
+
return @handles[ io ][:args].clear
|
210
|
+
end
|
211
|
+
|
212
|
+
|
213
|
+
### Remove the specified <tt>io</tt> from the receiver's list of registered
|
214
|
+
### handles, if present. Returns the handle if it was registered, or
|
215
|
+
### <tt>nil</tt> if it was not.
|
216
|
+
def unregister( io )
|
217
|
+
@pendingEvents.delete( io )
|
218
|
+
@handles.delete( io )
|
219
|
+
end
|
220
|
+
alias_method :remove, :unregister
|
221
|
+
|
222
|
+
|
223
|
+
### Returns true if the specified <tt>io</tt> is registered with the poll
|
224
|
+
### object.
|
225
|
+
def registered?( io )
|
226
|
+
return @handles.has_key?( io )
|
227
|
+
end
|
228
|
+
|
229
|
+
|
230
|
+
### Clear all registered handles from the poll object. Returns the handles
|
231
|
+
### that were cleared.
|
232
|
+
def clear
|
233
|
+
rv = @handles.keys
|
234
|
+
|
235
|
+
@pendingEvents.clear
|
236
|
+
@handles.clear
|
237
|
+
|
238
|
+
return rv
|
239
|
+
end
|
240
|
+
|
241
|
+
|
242
|
+
|
243
|
+
### Poll the handles registered to the reactor for pending events. The
|
244
|
+
### following event types are defined:
|
245
|
+
###
|
246
|
+
### [<tt>:read</tt>]
|
247
|
+
### Data may be read from the handle without blocking.
|
248
|
+
### [<tt>:write</tt>]
|
249
|
+
### Data may be written to the handle without blocking.
|
250
|
+
### [<tt>:error</tt>]
|
251
|
+
### An error has occurred on the handle. This event type is always
|
252
|
+
### enabled, regardless of whether or not it is passed as one of the
|
253
|
+
### <tt>events</tt>.
|
254
|
+
###
|
255
|
+
### Any handlers specified when the handles were registered are run for
|
256
|
+
### those handles with events. If a block is given, it will be invoked once
|
257
|
+
### for each handle which doesn't have an explicit handler. If no block is
|
258
|
+
### given, events without explicit handlers are inserted into the reactor's
|
259
|
+
### <tt>pendingEvents</tt> attribute.
|
260
|
+
###
|
261
|
+
### The <tt>timeout</tt> argument is the number of floating-point seconds to
|
262
|
+
### wait for an event before returning (ie., fourth argument to the
|
263
|
+
### underlying <tt>select()</tt> call); negative timeout values will cause
|
264
|
+
### #poll to block until there is at least one event to report.
|
265
|
+
###
|
266
|
+
### This method returns the number of handles on which one or more events
|
267
|
+
### occurred.
|
268
|
+
def poll( timeout=-1 ) # :yields: io, eventMask
|
269
|
+
timeout = timeout.to_f
|
270
|
+
@pendingEvents.clear
|
271
|
+
count = 0
|
272
|
+
|
273
|
+
unless @handles.empty?
|
274
|
+
timeout = nil if timeout < 0
|
275
|
+
eventedHandles = self.getPendingEvents( timeout )
|
276
|
+
|
277
|
+
# For each event of each io that had an event happen, call any
|
278
|
+
# associated callback, or any provided block, or failing both of
|
279
|
+
# those, add the event to the hash of unhandled pending events.
|
280
|
+
eventedHandles.each {|io,events|
|
281
|
+
count += 1
|
282
|
+
events.each {|ev|
|
283
|
+
args = @handles[ io ][:args]
|
284
|
+
|
285
|
+
if @handles[ io ][:handler]
|
286
|
+
@handles[ io ][:handler].call( io, ev, *args )
|
287
|
+
elsif block_given?
|
288
|
+
yield( io, ev, *args )
|
289
|
+
else
|
290
|
+
@pendingEvents[io].push( ev )
|
291
|
+
end
|
292
|
+
}
|
293
|
+
}
|
294
|
+
end
|
295
|
+
|
296
|
+
return count
|
297
|
+
end
|
298
|
+
|
299
|
+
|
300
|
+
### Returns <tt>true</tt> if no handles are associated with the receiver.
|
301
|
+
def empty?
|
302
|
+
@handles.empty?
|
303
|
+
end
|
304
|
+
|
305
|
+
|
306
|
+
#########
|
307
|
+
protected
|
308
|
+
#########
|
309
|
+
|
310
|
+
### Select on the registered handles, returning a Hash of handles => events
|
311
|
+
### for handles which had events occur.
|
312
|
+
def getPendingEvents( timeout )
|
313
|
+
eventHandles = IO::select( self.getReadHandles, self.getWriteHandles,
|
314
|
+
@handles.keys, timeout ) or return {}
|
315
|
+
eventHash = Hash::new {|hsh,io| hsh[io] = []}
|
316
|
+
|
317
|
+
# Fill in the hash with pending events of each type
|
318
|
+
[:read, :write, :error].each_with_index {|event,i|
|
319
|
+
eventHandles[i].each {|io| eventHash[io].push( event )}
|
320
|
+
}
|
321
|
+
return eventHash
|
322
|
+
end
|
323
|
+
|
324
|
+
|
325
|
+
### Return an Array of handles which have handlers for the <tt>:read</tt>
|
326
|
+
### event.
|
327
|
+
def getReadHandles
|
328
|
+
@handles.
|
329
|
+
find_all {|io,hsh| hsh[:events].include?( :read )}.
|
330
|
+
collect {|io,hsh| io}
|
331
|
+
end
|
332
|
+
|
333
|
+
|
334
|
+
### Return an Array of handles which have handlers for the <tt>:write</tt>
|
335
|
+
### event.
|
336
|
+
def getWriteHandles
|
337
|
+
@handles.
|
338
|
+
find_all {|io,hsh| hsh[:events].include?( :write )}.
|
339
|
+
collect {|io,hsh| io}
|
340
|
+
end
|
341
|
+
|
342
|
+
|
343
|
+
end # class IO::Reactor
|
344
|
+
|
345
|
+
|
346
|
+
|
347
|
+
=begin
|
348
|
+
|
349
|
+
== ChangeLog
|
350
|
+
|
351
|
+
* 2003-07-21 09:04 Michael Granger <ged@FaerieMUD.org>
|
352
|
+
|
353
|
+
* README (1.5, RELEASE_0_04):
|
354
|
+
|
355
|
+
- Changed to IO::Reactor.
|
356
|
+
|
357
|
+
* 2003-07-21 08:21 Michael Granger <ged@FaerieMUD.org>
|
358
|
+
|
359
|
+
* install.rb (1.1, RELEASE_0_04):
|
360
|
+
|
361
|
+
Initial checkin.
|
362
|
+
|
363
|
+
* 2003-07-21 00:55 Michael Granger <ged@FaerieMUD.org>
|
364
|
+
|
365
|
+
* test.rb (1.7), utils.rb (1.4), examples/chatserver.rb (1.3),
|
366
|
+
lib/io/reactor.rb (1.11), CATALOG (1.2) (utags: RELEASE_0_04):
|
367
|
+
|
368
|
+
- Refactored into IO::Reactor from Ruby-Poll.
|
369
|
+
|
370
|
+
* 2003-07-21 00:54 Michael Granger <ged@FaerieMUD.org>
|
371
|
+
|
372
|
+
* extconf.rb (1.6), poll.c (1.6), lib/poll.rb (1.11):
|
373
|
+
|
374
|
+
- Removed for IO::Reactor, which no longer needs a C backend.
|
375
|
+
|
376
|
+
* 2003-05-08 16:49 Michael Granger <ged@FaerieMUD.org>
|
377
|
+
|
378
|
+
* makesitedocs.rb (1.3, RELEASE_0_04):
|
379
|
+
|
380
|
+
makesitedocs.rb
|
381
|
+
|
382
|
+
* 2003-04-20 22:37 Michael Granger <ged@FaerieMUD.org>
|
383
|
+
|
384
|
+
* test.rb (1.6):
|
385
|
+
|
386
|
+
Added workaround for recent versions of Test::Unit's API changes.
|
387
|
+
|
388
|
+
* 2003-04-20 22:34 Michael Granger <ged@FaerieMUD.org>
|
389
|
+
|
390
|
+
* poll.c (1.5):
|
391
|
+
|
392
|
+
Added code for simulating poll(2) with rb_thread_select() for machines without a native poll(). Based on code for Freehaven by
|
393
|
+
Nick Mathewson <nickm@freehaven.net>.
|
394
|
+
|
395
|
+
* 2003-04-20 22:32 Michael Granger <ged@FaerieMUD.org>
|
396
|
+
|
397
|
+
* extconf.rb (1.5):
|
398
|
+
|
399
|
+
Added fake poll code to allow machines without a poll(2) to use the library. This also might become the primary method of polling, sadly, as Ruby doesn't tolerate other async IO methods very well due to its use of select() for its threading.
|
400
|
+
|
401
|
+
* 2002-10-20 21:47 Michael Granger <ged@FaerieMUD.org>
|
402
|
+
|
403
|
+
* lib/: poll.rb (1.10), io/reactor.rb (1.10) (utags: RELEASE_0_03):
|
404
|
+
|
405
|
+
- Got rid of a type-checking statement, as it didn't account for using an IO
|
406
|
+
inside a wrappered or delegated object.
|
407
|
+
|
408
|
+
- Fixed use of deprecated 'type' method.
|
409
|
+
|
410
|
+
* 2002-09-18 06:33 Michael Granger <ged@FaerieMUD.org>
|
411
|
+
|
412
|
+
* makedocs.rb (1.3, RELEASE_0_04, RELEASE_0_03, RELEASE_0_02):
|
413
|
+
|
414
|
+
- Removed dependence on as-yet-undistributed xhtml RDoc template.
|
415
|
+
|
416
|
+
* 2002-09-06 10:52 Michael Granger <ged@FaerieMUD.org>
|
417
|
+
|
418
|
+
* poll.c (1.4, RELEASE_0_03, RELEASE_0_02):
|
419
|
+
|
420
|
+
- Added interrupt-handling to the _poll call.
|
421
|
+
|
422
|
+
- Added more-informative debugging.
|
423
|
+
|
424
|
+
* 2002-07-20 10:07 Michael Granger <ged@FaerieMUD.org>
|
425
|
+
|
426
|
+
* lib/: poll.rb (1.9), io/reactor.rb (1.9) (utags: RELEASE_0_02):
|
427
|
+
|
428
|
+
- New method: #setMask().
|
429
|
+
|
430
|
+
- New method: #callback().
|
431
|
+
|
432
|
+
- New method: #args().
|
433
|
+
|
434
|
+
- Implemented the #register() method in terms of the other setter methods to
|
435
|
+
consolidate the maintenance of internal data structures.
|
436
|
+
|
437
|
+
- Added missing callback *args to #setCallback().
|
438
|
+
|
439
|
+
- Cleared up documentation for #register.
|
440
|
+
|
441
|
+
* 2002-07-20 10:03 Michael Granger <ged@FaerieMUD.org>
|
442
|
+
|
443
|
+
* examples/chatserver.rb (1.2, RELEASE_0_03, RELEASE_0_02):
|
444
|
+
|
445
|
+
- Changed name of user class to 'User' to avoid confusion about its role in the
|
446
|
+
server.
|
447
|
+
|
448
|
+
* 2002-07-20 10:01 Michael Granger <ged@FaerieMUD.org>
|
449
|
+
|
450
|
+
* test.rb (1.5, RELEASE_0_03, RELEASE_0_02):
|
451
|
+
|
452
|
+
- Added test for the #callback method.
|
453
|
+
|
454
|
+
* 2002-07-20 10:01 Michael Granger <ged@FaerieMUD.org>
|
455
|
+
|
456
|
+
* makedocs.rb (1.2):
|
457
|
+
|
458
|
+
- Added template argument to make it use the xhtml template.
|
459
|
+
|
460
|
+
* 2002-07-19 10:29 Michael Granger <ged@FaerieMUD.org>
|
461
|
+
|
462
|
+
* lib/: poll.rb (1.8), io/reactor.rb (1.8):
|
463
|
+
|
464
|
+
- Fixed a funny typo.
|
465
|
+
|
466
|
+
* 2002-07-18 21:58 Michael Granger <ged@FaerieMUD.org>
|
467
|
+
|
468
|
+
* CATALOG (1.1, RELEASE_0_03, RELEASE_0_02):
|
469
|
+
|
470
|
+
Initial commit.
|
471
|
+
|
472
|
+
* 2002-07-18 21:58 Michael Granger <ged@FaerieMUD.org>
|
473
|
+
|
474
|
+
* utils.rb (1.3, RELEASE_0_03, RELEASE_0_02):
|
475
|
+
|
476
|
+
- Fixed typo in vetManifest()
|
477
|
+
|
478
|
+
- Added case to read the documentation CATALOG in the base directory if it's not
|
479
|
+
in the docs/ directory.
|
480
|
+
|
481
|
+
* 2002-07-18 21:55 Michael Granger <ged@FaerieMUD.org>
|
482
|
+
|
483
|
+
* makesitedocs.rb (1.2, RELEASE_0_03, RELEASE_0_02):
|
484
|
+
|
485
|
+
- Merged some of the features from the MUES doc-gen script.
|
486
|
+
|
487
|
+
* 2002-07-18 21:52 Michael Granger <ged@FaerieMUD.org>
|
488
|
+
|
489
|
+
* lib/: poll.rb (1.7), io/reactor.rb (1.7):
|
490
|
+
|
491
|
+
- Added callback arguments to the register() method.
|
492
|
+
|
493
|
+
* 2002-07-18 21:52 Michael Granger <ged@FaerieMUD.org>
|
494
|
+
|
495
|
+
* test.rb (1.4):
|
496
|
+
|
497
|
+
- Added test for new "with-args" register() method call.
|
498
|
+
|
499
|
+
* 2002-07-18 09:42 Michael Granger <ged@FaerieMUD.org>
|
500
|
+
|
501
|
+
* utils.rb (1.2):
|
502
|
+
|
503
|
+
- Added a debugMsg function.
|
504
|
+
|
505
|
+
- Qualified all functions as module_functions.
|
506
|
+
|
507
|
+
* 2002-07-18 09:40 Michael Granger <ged@FaerieMUD.org>
|
508
|
+
|
509
|
+
* lib/: poll.rb (1.6), io/reactor.rb (1.6):
|
510
|
+
|
511
|
+
- Fixed some typos
|
512
|
+
|
513
|
+
- Added clarification and additional documentation for some methods.
|
514
|
+
|
515
|
+
* 2002-07-18 09:35 Michael Granger <ged@FaerieMUD.org>
|
516
|
+
|
517
|
+
* README (1.4, RELEASE_0_03, RELEASE_0_02):
|
518
|
+
|
519
|
+
- Fixed a typo.
|
520
|
+
|
521
|
+
* 2002-04-18 16:53 Michael Granger <ged@FaerieMUD.org>
|
522
|
+
|
523
|
+
* extconf.rb (1.4, RELEASE_0_03, RELEASE_0_02):
|
524
|
+
|
525
|
+
- Corrected a bug in the header =:)
|
526
|
+
|
527
|
+
* 2002-04-18 12:01 Michael Granger <ged@FaerieMUD.org>
|
528
|
+
|
529
|
+
* makedist.rb (1.1, RELEASE_0_04, RELEASE_0_03, RELEASE_0_02),
|
530
|
+
makesitedocs.rb (1.1), utils.rb (1.1) (utags: RELEASE_0_01):
|
531
|
+
|
532
|
+
Initial commit
|
533
|
+
|
534
|
+
* 2002-04-18 11:24 Michael Granger <ged@FaerieMUD.org>
|
535
|
+
|
536
|
+
* extconf.rb (1.3, RELEASE_0_01):
|
537
|
+
|
538
|
+
- Corrected path to the docs-generation script.
|
539
|
+
|
540
|
+
* 2002-04-18 10:23 Michael Granger <ged@FaerieMUD.org>
|
541
|
+
|
542
|
+
* makedocs.rb (1.1, RELEASE_0_01):
|
543
|
+
|
544
|
+
Initial commit
|
545
|
+
|
546
|
+
* 2002-04-18 10:23 Michael Granger <ged@FaerieMUD.org>
|
547
|
+
|
548
|
+
* poll.c (1.3, RELEASE_0_01):
|
549
|
+
|
550
|
+
- Added some comments for RDoc, should it ever parse protected methods.
|
551
|
+
|
552
|
+
- Changed the name of the second arg to _poll() to handleArray, as it wasn't
|
553
|
+
really an array of file descriptors.
|
554
|
+
|
555
|
+
* 2002-04-18 08:44 Michael Granger <ged@FaerieMUD.org>
|
556
|
+
|
557
|
+
* test.rb (1.3, RELEASE_0_01):
|
558
|
+
|
559
|
+
- Removed the "ext" dir from the ones being added to the LOAD_PATH, as it's gone
|
560
|
+
away.
|
561
|
+
|
562
|
+
- Removed a require left over from the failed tempfile experiment.
|
563
|
+
|
564
|
+
* 2002-04-18 08:43 Michael Granger <ged@FaerieMUD.org>
|
565
|
+
|
566
|
+
* extconf.rb (1.2):
|
567
|
+
|
568
|
+
- Moved the ext/extconf.rb stuff into this one because the ext directory is
|
569
|
+
going away.
|
570
|
+
|
571
|
+
* 2002-04-18 08:42 Michael Granger <ged@FaerieMUD.org>
|
572
|
+
|
573
|
+
* README (1.3, RELEASE_0_01):
|
574
|
+
|
575
|
+
- Changed from alpha to beta
|
576
|
+
|
577
|
+
- Added requirements section
|
578
|
+
|
579
|
+
- Modified installation section to use 'site-install' instead of 'install', and
|
580
|
+
took stuff out that would have been redundant with the requires section.
|
581
|
+
|
582
|
+
* 2002-04-17 15:34 Michael Granger <ged@FaerieMUD.org>
|
583
|
+
|
584
|
+
* lib/: poll.rb (1.5), io/reactor.rb (1.5) (utags: RELEASE_0_01):
|
585
|
+
|
586
|
+
- Added :yeilds: RDoc construct to #poll.
|
587
|
+
|
588
|
+
* 2002-04-17 15:20 Michael Granger <ged@FaerieMUD.org>
|
589
|
+
|
590
|
+
* README (1.2):
|
591
|
+
|
592
|
+
- Separated abstract from header.
|
593
|
+
|
594
|
+
* 2002-04-17 15:18 Michael Granger <ged@FaerieMUD.org>
|
595
|
+
|
596
|
+
* lib/: poll.rb (1.4), io/reactor.rb (1.4):
|
597
|
+
|
598
|
+
- Clarified abstract.
|
599
|
+
|
600
|
+
* 2002-04-17 15:14 Michael Granger <ged@FaerieMUD.org>
|
601
|
+
|
602
|
+
* README (1.1):
|
603
|
+
|
604
|
+
Initial commit
|
605
|
+
|
606
|
+
* 2002-04-17 07:03 Michael Granger <ged@FaerieMUD.org>
|
607
|
+
|
608
|
+
* lib/: poll.rb (1.3), io/reactor.rb (1.3):
|
609
|
+
|
610
|
+
- Fixed documentation for the EventMask bitwise operators.
|
611
|
+
|
612
|
+
* 2002-04-17 06:48 Michael Granger <ged@FaerieMUD.org>
|
613
|
+
|
614
|
+
* lib/: poll.rb (1.2), io/reactor.rb (1.2):
|
615
|
+
|
616
|
+
- Re-implemented after the first one was wiped out by extconf.
|
617
|
+
|
618
|
+
* 2002-04-17 06:47 Michael Granger <ged@FaerieMUD.org>
|
619
|
+
|
620
|
+
* poll.c (1.2):
|
621
|
+
|
622
|
+
- Added shortcut constants
|
623
|
+
|
624
|
+
- Added _GNU_SOURCE define to catch the additional poll.h constants under Linux
|
625
|
+
|
626
|
+
- Changed _poll to a protected method.
|
627
|
+
|
628
|
+
* 2002-04-17 06:46 Michael Granger <ged@FaerieMUD.org>
|
629
|
+
|
630
|
+
* test.rb (1.2):
|
631
|
+
|
632
|
+
- Added lots of stuff, redesigned to match the new API
|
633
|
+
|
634
|
+
* 2002-04-17 06:45 Michael Granger <ged@FaerieMUD.org>
|
635
|
+
|
636
|
+
* examples/chatserver.rb (1.1, RELEASE_0_01):
|
637
|
+
|
638
|
+
Initial commit
|
639
|
+
|
640
|
+
* 2002-04-16 04:47 Michael Granger <ged@FaerieMUD.org>
|
641
|
+
|
642
|
+
* extconf.rb (1.1), poll.c (1.1), test.rb (1.1), lib/poll.rb (1.1),
|
643
|
+
lib/io/reactor.rb (1.1):
|
644
|
+
|
645
|
+
Initial revision
|
646
|
+
|
647
|
+
* 2002-04-16 04:47 Michael Granger <ged@FaerieMUD.org>
|
648
|
+
|
649
|
+
* extconf.rb (1.1.1.1), poll.c (1.1.1.1), test.rb (1.1.1.1),
|
650
|
+
lib/poll.rb (1.1.1.1), lib/io/reactor.rb (1.1.1.1) (utags: IMPORT):
|
651
|
+
|
652
|
+
Initial import
|
653
|
+
|
654
|
+
=end
|
655
|
+
|
656
|
+
|
657
|
+
|
658
|
+
# _____ _
|
659
|
+
# |_ _|__ ___| |_
|
660
|
+
# | |/ _ \/ __| __|
|
661
|
+
# | | __/\__ \ |_
|
662
|
+
# |_|\___||___/\__|
|
663
|
+
#
|
664
|
+
|
665
|
+
# TODO
|
666
|
+
|
667
|
+
=begin #testing
|
668
|
+
|
669
|
+
require 'test/unit'
|
670
|
+
|
671
|
+
=end
|