facets 1.7.46 → 1.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (764) hide show
  1. data/PROJECT +41 -23
  2. data/Rakefile +164 -0
  3. data/VERSION +1 -1
  4. data/demo/cuts/benchmark.rb +71 -0
  5. data/demo/cuts/override.rb +33 -0
  6. data/doc/AUTHORS +1 -0
  7. data/doc/{CHANGELOG.1 → HISTORY.1} +0 -0
  8. data/doc/HISTORY.txt +798 -0
  9. data/doc/LATEST +240 -0
  10. data/lib/facet/ann.rb +1 -0
  11. data/lib/facet/ann_attr.rb +1 -0
  12. data/lib/facet/arguments.rb +1 -0
  13. data/lib/facet/array/index.rb +1 -0
  14. data/lib/facet/array/to_path.rb +1 -0
  15. data/lib/facet/autoscript.rb +1 -0
  16. data/lib/facet/autovivify.rb +1 -0
  17. data/lib/facet/behvior.rb +1 -0
  18. data/lib/facet/buildingblock.rb +1 -0
  19. data/lib/facet/class/class_load.rb +1 -0
  20. data/lib/facet/class/class_require.rb +1 -0
  21. data/lib/facet/config/inspect.rb +1 -0
  22. data/lib/facet/consoleutils.rb +1 -0
  23. data/lib/facet/dependency.rb +1 -0
  24. data/lib/facet/dir/self/multiglob.rb +1 -0
  25. data/lib/facet/dir/self/multiglob_recurse.rb +1 -0
  26. data/lib/facet/dir/self/multiglob_sum.rb +1 -0
  27. data/lib/facet/enumerable/injecting.rb +1 -0
  28. data/lib/facet/file/self/yaml.rb +1 -0
  29. data/lib/facet/fileutils/compress.rb +1 -0
  30. data/lib/facet/fileutils/stage.rb +1 -0
  31. data/lib/facet/fileutils/staged.rb +1 -0
  32. data/lib/facet/hash/insert.rb +1 -0
  33. data/lib/facet/hash/op_add.rb +1 -0
  34. data/lib/facet/hash/op_and.rb +1 -0
  35. data/lib/facet/hash/op_mul.rb +1 -0
  36. data/lib/facet/hash/op_or.rb +1 -0
  37. data/lib/facet/hash/op_sub.rb +1 -0
  38. data/lib/facet/hash/pairs_at.rb +1 -0
  39. data/lib/facet/hash/rekey.rb +1 -0
  40. data/lib/facet/htmlfilter.rb +1 -0
  41. data/lib/facet/integer/to_roman.rb +1 -0
  42. data/lib/facet/kernel/ask.rb +1 -0
  43. data/lib/facet/kernel/class_def.rb +1 -0
  44. data/lib/facet/kernel/daemonize.rb +1 -0
  45. data/lib/facet/kernel/enable_warnings.rb +1 -0
  46. data/lib/facet/kernel/instance_class.rb +1 -0
  47. data/lib/facet/kernel/instance_values.rb +1 -0
  48. data/lib/facet/kernel/meta_alias.rb +1 -0
  49. data/lib/facet/kernel/meta_class.rb +1 -0
  50. data/lib/facet/kernel/meta_def.rb +1 -0
  51. data/lib/facet/kernel/meta_eval.rb +1 -0
  52. data/lib/facet/kernel/object_send.rb +1 -0
  53. data/lib/facet/kernel/populate.rb +1 -0
  54. data/lib/facet/kernel/qua_class.rb +1 -0
  55. data/lib/facet/kernel/silence_stream.rb +1 -0
  56. data/lib/facet/kernel/super_at.rb +1 -0
  57. data/lib/facet/kernel/supress.rb +1 -0
  58. data/lib/facet/kernel/with.rb +1 -0
  59. data/lib/facet/kernel/yaml.rb +1 -0
  60. data/lib/facet/minitar.rb +1 -0
  61. data/lib/facet/module/alias_accessor.rb +1 -0
  62. data/lib/facet/module/include_and_extend.rb +1 -0
  63. data/lib/facet/module/include_function_module.rb +1 -0
  64. data/lib/facet/module/module_load.rb +1 -0
  65. data/lib/facet/module/module_method.rb +1 -0
  66. data/lib/facet/module/module_require.rb +1 -0
  67. data/lib/facet/module/new.rb +1 -0
  68. data/lib/facet/module/prepend.rb +1 -0
  69. data/lib/facet/openhash.rb +1 -0
  70. data/lib/facet/ostruct/instance_delegate.rb +1 -0
  71. data/lib/facet/populate.rb +1 -0
  72. data/lib/facet/proc/bind.rb +1 -0
  73. data/lib/facet/proc/to_h.rb +1 -0
  74. data/lib/facet/proc/update.rb +1 -0
  75. data/lib/facet/script.rb +1 -0
  76. data/lib/facet/string/rewrite.rb +1 -0
  77. data/lib/facet/symbol/chomp.rb +1 -0
  78. data/lib/facet/uploadutils.rb +1 -0
  79. data/lib/facet/version_number.rb +1 -0
  80. data/lib/facets.rb +3 -207
  81. data/lib/facets/automatic.rb +29 -0
  82. data/lib/facets/core/all.rb +1 -1
  83. data/lib/facets/core/array/index.rb +15 -0
  84. data/lib/facets/core/array/to_path.rb +11 -0
  85. data/lib/facets/core/class/class_load.rb +3 -0
  86. data/lib/facets/core/class/class_require.rb +3 -0
  87. data/lib/facets/core/config/inspect.rb +9 -0
  88. data/lib/facets/core/dir/self/multiglob.rb +32 -0
  89. data/lib/facets/core/dir/self/multiglob_recurse.rb +5 -0
  90. data/lib/facets/core/dir/self/multiglob_sum.rb +40 -0
  91. data/lib/facets/core/enumerable/each_slice.rb +1 -0
  92. data/lib/facets/core/enumerable/every.rb +2 -2
  93. data/lib/facets/core/enumerable/injecting.rb +22 -0
  94. data/lib/facets/core/enumerable/partition_by.rb +10 -8
  95. data/lib/facets/core/file/self/yaml.rb +16 -0
  96. data/lib/facets/core/fileutils/compress.rb +154 -0
  97. data/lib/facets/core/fileutils/stage.rb +230 -0
  98. data/lib/facets/core/fileutils/staged.rb +3 -0
  99. data/lib/facets/core/hash/insert.rb +20 -0
  100. data/lib/facets/core/hash/op_add.rb +29 -0
  101. data/lib/facets/core/hash/op_and.rb +37 -0
  102. data/lib/facets/core/hash/op_mul.rb +17 -0
  103. data/lib/facets/core/hash/op_or.rb +2 -0
  104. data/lib/facets/core/hash/op_sub.rb +2 -0
  105. data/lib/facets/core/hash/pairs_at.rb +17 -0
  106. data/lib/facets/core/hash/rekey.rb +89 -0
  107. data/lib/facets/core/hash/reverse_merge.rb +6 -3
  108. data/lib/facets/core/inflect.rb +5 -14
  109. data/lib/facets/core/integer/to_roman.rb +20 -0
  110. data/lib/facets/core/kernel/as.rb +46 -29
  111. data/lib/facets/core/kernel/ask.rb +14 -0
  112. data/lib/facets/core/kernel/class_def.rb +10 -0
  113. data/lib/facets/core/kernel/daemonize.rb +21 -0
  114. data/lib/facets/core/kernel/enable_warnings.rb +14 -0
  115. data/lib/facets/core/kernel/{quaclass.rb → instance_class.rb} +7 -6
  116. data/lib/facets/core/kernel/instance_exec.rb +12 -10
  117. data/lib/facets/core/kernel/instance_values.rb +12 -0
  118. data/lib/facets/core/kernel/meta_alias.rb +14 -0
  119. data/lib/facets/core/kernel/meta_class.rb +38 -0
  120. data/lib/facets/core/kernel/meta_def.rb +14 -0
  121. data/lib/facets/core/kernel/meta_eval.rb +16 -0
  122. data/lib/facets/core/kernel/metaclass.rb +8 -12
  123. data/lib/facets/core/kernel/object_send.rb +21 -0
  124. data/lib/facets/core/kernel/populate.rb +39 -0
  125. data/lib/facets/core/kernel/qua_class.rb +41 -0
  126. data/lib/facets/core/kernel/returning.rb +7 -47
  127. data/lib/facets/core/kernel/send_as.rb +10 -4
  128. data/lib/facets/core/kernel/set_with.rb +25 -7
  129. data/lib/facets/core/kernel/silence_stream.rb +22 -0
  130. data/lib/facets/core/kernel/singleton.rb +1 -2
  131. data/lib/facets/core/kernel/{superior.rb → super_at.rb} +4 -1
  132. data/lib/facets/core/kernel/supermethod.rb +1 -1
  133. data/lib/facets/core/kernel/supress.rb +15 -0
  134. data/lib/facets/core/kernel/with.rb +57 -0
  135. data/lib/facets/core/kernel/yaml.rb +7 -0
  136. data/lib/facets/core/module/alias_accessor.rb +19 -0
  137. data/lib/facets/core/module/alias_method_chain.rb +33 -0
  138. data/lib/facets/core/module/class_extension.rb +1 -1
  139. data/lib/facets/core/module/include_and_extend.rb +10 -0
  140. data/lib/facets/core/module/include_as.rb +17 -16
  141. data/lib/facets/core/module/include_function_module.rb +13 -0
  142. data/lib/facets/core/module/inject.rb +1 -0
  143. data/lib/facets/core/module/memoize.rb +4 -3
  144. data/lib/facets/core/module/module_load.rb +51 -0
  145. data/lib/facets/core/module/module_method.rb +13 -0
  146. data/lib/facets/core/module/module_require.rb +3 -0
  147. data/lib/facets/core/module/namespace.rb +96 -36
  148. data/lib/facets/core/module/new.rb +37 -0
  149. data/lib/facets/core/module/prepend.rb +63 -0
  150. data/lib/facets/core/module/self/op_add.rb +16 -0
  151. data/lib/facets/core/ostruct.rb +6 -4
  152. data/lib/facets/core/ostruct/__merge__.rb +3 -50
  153. data/lib/facets/core/ostruct/__table__.rb +3 -10
  154. data/lib/facets/core/ostruct/__update__.rb +29 -0
  155. data/lib/facets/core/ostruct/instance_delegate.rb +58 -0
  156. data/lib/facets/core/ostruct/op_fetch.rb +18 -0
  157. data/lib/facets/core/ostruct/op_store.rb +3 -40
  158. data/lib/facets/core/proc/bind.rb +35 -0
  159. data/lib/facets/core/proc/to_h.rb +27 -0
  160. data/lib/facets/core/proc/to_method.rb +15 -29
  161. data/lib/facets/core/proc/update.rb +11 -0
  162. data/lib/facets/core/string/dresner.rb +1 -1
  163. data/lib/facets/core/string/rewrite.rb +34 -0
  164. data/lib/facets/core/symbol/chomp.rb +9 -0
  165. data/lib/facets/core/time/stamp.rb +32 -16
  166. data/lib/facets/more/ann.rb +249 -0
  167. data/lib/facets/more/ann_attr.rb +164 -0
  168. data/lib/facets/more/arguments.rb +479 -0
  169. data/lib/facets/more/autoscript.rb +34 -0
  170. data/lib/facets/more/autovivify.rb +16 -0
  171. data/lib/facets/more/basicobject.rb +67 -54
  172. data/lib/facets/more/behvior.rb +59 -0
  173. data/lib/facets/more/buildingblock.rb +192 -0
  174. data/lib/facets/more/command.rb +332 -146
  175. data/lib/facets/more/consoleutils.rb +45 -0
  176. data/lib/facets/more/cookie.rb +5 -2
  177. data/lib/facets/more/dependency.rb +199 -0
  178. data/lib/facets/more/dictionary.rb +49 -11
  179. data/lib/facets/more/functor.rb +33 -27
  180. data/lib/facets/more/htmlbuilder.rb +8 -18
  181. data/lib/facets/more/htmlfilter.rb +566 -0
  182. data/lib/facets/more/htmlhelper.rb +3 -8
  183. data/lib/facets/more/http.rb +0 -1
  184. data/lib/facets/more/httpaccess.rb +1 -1
  185. data/lib/facets/more/instance_intercept.rb +1 -1
  186. data/lib/facets/more/main_as_module.rb +2 -0
  187. data/lib/facets/more/methodfilter.rb +4 -0
  188. data/lib/facets/more/minitar.rb +979 -0
  189. data/lib/facets/more/multiton.rb +43 -24
  190. data/lib/facets/more/opencascade.rb +3 -3
  191. data/lib/facets/more/openhash.rb +350 -0
  192. data/lib/facets/more/openobject.rb +9 -306
  193. data/lib/facets/more/populate.rb +37 -0
  194. data/lib/facets/more/script.rb +157 -0
  195. data/lib/facets/more/uploadutils.rb +207 -0
  196. data/lib/facets/more/version_number.rb +98 -0
  197. data/lib/facets/more/xmlbuilder.rb +26 -21
  198. data/lib/facets/more/xmlhelper.rb +1 -1
  199. data/lib/facets/sys.rb +212 -0
  200. data/lib/facets/{more → yore}/annattr.rb +1 -1
  201. data/lib/facets/{more → yore}/annotation.rb +38 -32
  202. data/lib/facets/yore/builderobject.rb +222 -0
  203. data/lib/facets/{core → yore}/kernel/own.rb +0 -0
  204. data/lib/facets/{core → yore}/kernel/require_facet.rb +0 -0
  205. data/lib/facets/yore/module/inject.rb +9 -0
  206. data/lib/facets/yore/module/namespace.rb +62 -0
  207. data/setup.rb +2 -2
  208. data/test/special/main_as_module.rb +14 -0
  209. data/work/README +42 -0
  210. data/work/TODO +73 -0
  211. data/work/bin/minitar +3 -0
  212. data/work/bin/minitar.rb +814 -0
  213. data/work/core/array/at_rand.rb +95 -0
  214. data/work/core/array/each_slice.rb +23 -0
  215. data/work/core/array/pick_values.rb +32 -0
  216. data/work/core/array/rand_indexes.rb +33 -0
  217. data/work/core/binding/class.rb +11 -0
  218. data/work/core/binding/delegate-binding.rb +19 -0
  219. data/work/core/binding/delegate.rb +15 -0
  220. data/work/core/binding/proc.rb +6 -0
  221. data/work/core/class/to_module.rb +3 -0
  222. data/work/core/enumerable/op_fetch.rb +30 -0
  223. data/work/core/fileutils/cptouch.rb +20 -0
  224. data/work/core/fileutils/nl_convert.rb +133 -0
  225. data/work/core/io/expect.rb +127 -0
  226. data/work/core/join_with.rb +13 -0
  227. data/work/core/kernel/call_line.rb +15 -0
  228. data/work/core/kernel/does.rb +7 -0
  229. data/work/core/kernel/message.rb +6 -0
  230. data/work/core/kernel/query.rb +15 -0
  231. data/work/core/kernel/taint.rb +10 -0
  232. data/work/core/logger/clean_logger.rb +10 -0
  233. data/work/core/module/attr-old.rb +308 -0
  234. data/work/core/module/attr.rb +98 -0
  235. data/work/core/module/attr_xxx.rb +22 -0
  236. data/work/core/module/by_regexp.rb +21 -0
  237. data/work/core/module/cast.rb +64 -0
  238. data/work/core/module/class_attribute_accessors.rb +57 -0
  239. data/work/core/module/inherit.rb +99 -0
  240. data/work/core/module/inherit0.rb +59 -0
  241. data/work/core/module/let.rb +51 -0
  242. data/work/core/module/meta_attr.rb +60 -0
  243. data/work/core/module/module_attribute_accessors.rb +57 -0
  244. data/work/core/module/permissions.rb +32 -0
  245. data/work/core/module/preserved.rb +108 -0
  246. data/work/core/module/sattr_accessor.rb +1 -0
  247. data/work/core/module/sattr_reader.rb +1 -0
  248. data/work/core/module/sattr_setter.rb +1 -0
  249. data/work/core/module/sattr_tester.rb +1 -0
  250. data/work/core/module/sattr_writer.rb +1 -0
  251. data/work/core/module/tc_attr.rb +107 -0
  252. data/work/core/module/to_module.rb +37 -0
  253. data/work/core/module/version.rb +23 -0
  254. data/work/core/string/frequency.rb +40 -0
  255. data/work/core/string/op_add.rb +24 -0
  256. data/work/core/string/op_div.rb +15 -0
  257. data/work/core/string/pred.rb +217 -0
  258. data/work/core/string/probability.rb +35 -0
  259. data/work/core/string/succ_distance.rb +112 -0
  260. data/work/core/string/to_arr.rb +57 -0
  261. data/work/core/string/to_ary.rb +12 -0
  262. data/work/core/string/word_wrap.rb +62 -0
  263. data/work/misc/calibre/ProjectInfo.annotation +46 -0
  264. data/work/misc/calibre/ProjectInfo.ansicode +33 -0
  265. data/work/misc/calibre/ProjectInfo.association +34 -0
  266. data/work/misc/calibre/ProjectInfo.basicobject +36 -0
  267. data/work/misc/calibre/ProjectInfo.bbcode +34 -0
  268. data/work/misc/calibre/ProjectInfo.binaryreader +35 -0
  269. data/work/misc/calibre/ProjectInfo.bitmask +33 -0
  270. data/work/misc/calibre/ProjectInfo.classinherit +36 -0
  271. data/work/misc/calibre/ProjectInfo.classmethods +36 -0
  272. data/work/misc/calibre/ProjectInfo.cloneable +33 -0
  273. data/work/misc/calibre/ProjectInfo.consoleapp +35 -0
  274. data/work/misc/calibre/ProjectInfo.coroutine +37 -0
  275. data/work/misc/calibre/ProjectInfo.crypt +33 -0
  276. data/work/misc/calibre/ProjectInfo.dictionary +40 -0
  277. data/work/misc/calibre/ProjectInfo.downloader +39 -0
  278. data/work/misc/calibre/ProjectInfo.enumerablepass +35 -0
  279. data/work/misc/calibre/ProjectInfo.expirable +37 -0
  280. data/work/misc/calibre/ProjectInfo.floatstring +35 -0
  281. data/work/misc/calibre/ProjectInfo.functor +40 -0
  282. data/work/misc/calibre/ProjectInfo.heap +33 -0
  283. data/work/misc/calibre/ProjectInfo.inheritor +36 -0
  284. data/work/misc/calibre/ProjectInfo.interval +36 -0
  285. data/work/misc/calibre/ProjectInfo.lisp +38 -0
  286. data/work/misc/calibre/ProjectInfo.lrucache +34 -0
  287. data/work/misc/calibre/ProjectInfo.mathconstants +41 -0
  288. data/work/misc/calibre/ProjectInfo.methodprobe +38 -0
  289. data/work/misc/calibre/ProjectInfo.mock +34 -0
  290. data/work/misc/calibre/ProjectInfo.multiton +36 -0
  291. data/work/misc/calibre/ProjectInfo.nackclass +33 -0
  292. data/work/misc/calibre/ProjectInfo.nilcomparable +35 -0
  293. data/work/misc/calibre/ProjectInfo.nullclass +35 -0
  294. data/work/misc/calibre/ProjectInfo.one +37 -0
  295. data/work/misc/calibre/ProjectInfo.openobject +39 -0
  296. data/work/misc/calibre/ProjectInfo.paramix +38 -0
  297. data/work/misc/calibre/ProjectInfo.pool +33 -0
  298. data/work/misc/calibre/ProjectInfo.progressbar +37 -0
  299. data/work/misc/calibre/ProjectInfo.reference +36 -0
  300. data/work/misc/calibre/ProjectInfo.semaphore +36 -0
  301. data/work/misc/calibre/ProjectInfo.stateparser +39 -0
  302. data/work/misc/calibre/ProjectInfo.statichash +33 -0
  303. data/work/misc/calibre/ProjectInfo.system +34 -0
  304. data/work/misc/calibre/ProjectInfo.tagiterator +36 -0
  305. data/work/misc/calibre/ProjectInfo.timer +35 -0
  306. data/work/misc/calibre/ProjectInfo.tracepoint +37 -0
  307. data/work/misc/calibre/ProjectInfo.tuple +36 -0
  308. data/work/misc/calibre/ProjectInfo.uniheritable +34 -0
  309. data/work/misc/calibre/ProjectInfo.units +34 -0
  310. data/work/misc/calibre/ProjectInfo.yamlstruct +34 -0
  311. data/work/more/annotation-rw.rb +217 -0
  312. data/work/more/aobject.rb +132 -0
  313. data/work/more/autohash.rb +67 -0
  314. data/work/more/cache.rb +189 -0
  315. data/work/more/class_inheritable_attributes.rb +120 -0
  316. data/work/more/commandrunner.rb +101 -0
  317. data/work/more/daemon.rb +70 -0
  318. data/work/more/debugger.rb +167 -0
  319. data/work/more/detach.rb +423 -0
  320. data/work/more/enumtype.rb +115 -0
  321. data/work/more/ioreactor.rb +671 -0
  322. data/work/more/logger_sing.rb +207 -0
  323. data/work/more/must.rb +37 -0
  324. data/work/more/old-tkxml.rb +189 -0
  325. data/work/more/pairhash.rb +55 -0
  326. data/work/more/password.rb +80 -0
  327. data/work/more/print_exception.rb +35 -0
  328. data/work/more/rand.rb +412 -0
  329. data/work/more/range.rb +383 -0
  330. data/work/more/sanitize.rb +48 -0
  331. data/work/more/superstruct.rb +735 -0
  332. data/work/more/tag.rb +31 -0
  333. data/work/more/timer.rb +164 -0
  334. data/work/op_rshift.rb +87 -0
  335. data/work/pore/autorequire.rb +83 -0
  336. data/work/pore/basefactory.rb +40 -0
  337. data/work/pore/hash/each.rb +76 -0
  338. data/work/pore/merge3.rb +765 -0
  339. data/work/pore/superann.rb +134 -0
  340. data/work/pore/sys.rb +186 -0
  341. data/work/pore/utils.rb +518 -0
  342. data/work/yore/HashAquisition.rb +36 -0
  343. data/work/yore/Rakefile.old +181 -0
  344. data/work/yore/Reapfile +63 -0
  345. data/work/yore/annotation.rb +489 -0
  346. data/{test/lib/facets/more/test_annotation.rb → work/yore/annotation2.rb} +166 -18
  347. data/work/yore/commandutils.rb +379 -0
  348. data/work/yore/openobject.rb +298 -0
  349. data/work/yore/reap.rb +184 -0
  350. data/work/yore/reap.yml +47 -0
  351. data/work/yore/taskable-old.rb +519 -0
  352. data/{lib/facets/more → work/yore}/taskable.rb +176 -17
  353. metadata +1164 -1427
  354. data/doc/CHANGELOG +0 -146
  355. data/lib/facet/annattr.rb +0 -1
  356. data/lib/facet/annotation.rb +0 -1
  357. data/lib/facet/builderobject.rb +0 -1
  358. data/lib/facet/kernel/own.rb +0 -1
  359. data/lib/facet/kernel/quaclass.rb +0 -1
  360. data/lib/facet/kernel/require_facet.rb +0 -1
  361. data/lib/facet/kernel/superior.rb +0 -1
  362. data/lib/facet/one.rb +0 -1
  363. data/lib/facet/ostruct/instance.rb +0 -1
  364. data/lib/facet/predicate.rb +0 -1
  365. data/lib/facet/taskable.rb +0 -1
  366. data/lib/facets/core/ostruct/instance.rb +0 -37
  367. data/lib/facets/more/builderobject.rb +0 -97
  368. data/lib/facets/more/one.rb +0 -153
  369. data/lib/facets/more/predicate.rb +0 -184
  370. data/test/lib/facets/core/array/test_at_rand.rb +0 -34
  371. data/test/lib/facets/core/array/test_delete_unless.rb +0 -28
  372. data/test/lib/facets/core/array/test_delete_values.rb +0 -28
  373. data/test/lib/facets/core/array/test_delete_values_at.rb +0 -31
  374. data/test/lib/facets/core/array/test_first.rb +0 -46
  375. data/test/lib/facets/core/array/test_head.rb +0 -42
  376. data/test/lib/facets/core/array/test_last_index.rb +0 -26
  377. data/test/lib/facets/core/array/test_merge.rb +0 -35
  378. data/test/lib/facets/core/array/test_mid.rb +0 -33
  379. data/test/lib/facets/core/array/test_middle.rb +0 -29
  380. data/test/lib/facets/core/array/test_op_fetch.rb +0 -35
  381. data/test/lib/facets/core/array/test_pick.rb +0 -40
  382. data/test/lib/facets/core/array/test_pos.rb +0 -28
  383. data/test/lib/facets/core/array/test_pot.rb +0 -28
  384. data/test/lib/facets/core/array/test_pull.rb +0 -28
  385. data/test/lib/facets/core/array/test_rand_index.rb +0 -29
  386. data/test/lib/facets/core/array/test_rand_subset.rb +0 -29
  387. data/test/lib/facets/core/array/test_range.rb +0 -32
  388. data/test/lib/facets/core/array/test_rotate.rb +0 -36
  389. data/test/lib/facets/core/array/test_select.rb +0 -28
  390. data/test/lib/facets/core/array/test_shuffle.rb +0 -35
  391. data/test/lib/facets/core/array/test_thru.rb +0 -27
  392. data/test/lib/facets/core/array/test_to_b.rb +0 -27
  393. data/test/lib/facets/core/array/test_to_h.rb +0 -33
  394. data/test/lib/facets/core/array/test_to_hash.rb +0 -27
  395. data/test/lib/facets/core/binding/self/test_of_caller.rb +0 -35
  396. data/test/lib/facets/core/binding/test___LINE__.rb +0 -43
  397. data/test/lib/facets/core/binding/test_call_stack.rb +0 -34
  398. data/test/lib/facets/core/binding/test_called.rb +0 -30
  399. data/test/lib/facets/core/binding/test_caller.rb +0 -35
  400. data/test/lib/facets/core/binding/test_defined.rb +0 -34
  401. data/test/lib/facets/core/binding/test_eval.rb +0 -34
  402. data/test/lib/facets/core/binding/test_local_variables.rb +0 -34
  403. data/test/lib/facets/core/binding/test_method_name.rb +0 -34
  404. data/test/lib/facets/core/binding/test_op_fetch.rb +0 -34
  405. data/test/lib/facets/core/binding/test_op_store.rb +0 -35
  406. data/test/lib/facets/core/binding/test_self.rb +0 -34
  407. data/test/lib/facets/core/class/test_cattr.rb +0 -63
  408. data/test/lib/facets/core/class/test_descendents.rb +0 -30
  409. data/test/lib/facets/core/class/test_method_name.rb +0 -26
  410. data/test/lib/facets/core/class/test_remove_descendents.rb +0 -32
  411. data/test/lib/facets/core/class/test_unix_path.rb +0 -26
  412. data/test/lib/facets/core/comparable/test_at_least.rb +0 -34
  413. data/test/lib/facets/core/comparable/test_clip.rb +0 -44
  414. data/test/lib/facets/core/comparable/test_cmp.rb +0 -28
  415. data/test/lib/facets/core/continuation/self/test_create.rb +0 -26
  416. data/test/lib/facets/core/date/test_days_in_month.rb +0 -30
  417. data/test/lib/facets/core/date/test_days_of_month.rb +0 -30
  418. data/test/lib/facets/core/date/test_stamp.rb +0 -38
  419. data/test/lib/facets/core/date/test_to_date.rb +0 -30
  420. data/test/lib/facets/core/date/test_to_s.rb +0 -30
  421. data/test/lib/facets/core/date/test_to_time.rb +0 -30
  422. data/test/lib/facets/core/dir/self/test_ancestor.rb +0 -26
  423. data/test/lib/facets/core/dir/self/test_ascend.rb +0 -41
  424. data/test/lib/facets/core/enumerable/self/test_combinations.rb +0 -46
  425. data/test/lib/facets/core/enumerable/self/test_cross.rb +0 -31
  426. data/test/lib/facets/core/enumerable/test_collect_with_index.rb +0 -27
  427. data/test/lib/facets/core/enumerable/test_commonality.rb +0 -31
  428. data/test/lib/facets/core/enumerable/test_compact_collect.rb +0 -27
  429. data/test/lib/facets/core/enumerable/test_count.rb +0 -38
  430. data/test/lib/facets/core/enumerable/test_cross.rb +0 -30
  431. data/test/lib/facets/core/enumerable/test_each_by.rb +0 -71
  432. data/test/lib/facets/core/enumerable/test_each_combination.rb +0 -29
  433. data/test/lib/facets/core/enumerable/test_each_pair.rb +0 -29
  434. data/test/lib/facets/core/enumerable/test_each_slice.rb +0 -57
  435. data/test/lib/facets/core/enumerable/test_each_unique_pair.rb +0 -29
  436. data/test/lib/facets/core/enumerable/test_eachn.rb +0 -34
  437. data/test/lib/facets/core/enumerable/test_entropy.rb +0 -26
  438. data/test/lib/facets/core/enumerable/test_every.rb +0 -35
  439. data/test/lib/facets/core/enumerable/test_ew.rb +0 -31
  440. data/test/lib/facets/core/enumerable/test_filter_collect.rb +0 -31
  441. data/test/lib/facets/core/enumerable/test_find_collisions.rb +0 -30
  442. data/test/lib/facets/core/enumerable/test_frequency.rb +0 -27
  443. data/test/lib/facets/core/enumerable/test_graph.rb +0 -30
  444. data/test/lib/facets/core/enumerable/test_ideal_entropy.rb +0 -27
  445. data/test/lib/facets/core/enumerable/test_none.rb +0 -33
  446. data/test/lib/facets/core/enumerable/test_occur.rb +0 -30
  447. data/test/lib/facets/core/enumerable/test_one.rb +0 -35
  448. data/test/lib/facets/core/enumerable/test_op_pow.rb +0 -27
  449. data/test/lib/facets/core/enumerable/test_partition_by.rb +0 -31
  450. data/test/lib/facets/core/enumerable/test_permutation.rb +0 -29
  451. data/test/lib/facets/core/enumerable/test_permute.rb +0 -29
  452. data/test/lib/facets/core/enumerable/test_probability.rb +0 -27
  453. data/test/lib/facets/core/enumerable/test_to_h.rb +0 -27
  454. data/test/lib/facets/core/enumerable/test_uniq_by.rb +0 -28
  455. data/test/lib/facets/core/file/self/test_create.rb +0 -44
  456. data/test/lib/facets/core/file/self/test_open_as_string.rb +0 -50
  457. data/test/lib/facets/core/file/self/test_read_list.rb +0 -40
  458. data/test/lib/facets/core/file/self/test_sanitize.rb +0 -46
  459. data/test/lib/facets/core/file/self/test_split_all.rb +0 -27
  460. data/test/lib/facets/core/float/test_round_at.rb +0 -46
  461. data/test/lib/facets/core/float/test_round_to.rb +0 -46
  462. data/test/lib/facets/core/hash/self/test_zipnew.rb +0 -28
  463. data/test/lib/facets/core/hash/test_alias.rb +0 -31
  464. data/test/lib/facets/core/hash/test_assert_has_keys.rb +0 -27
  465. data/test/lib/facets/core/hash/test_assert_has_only_keys.rb +0 -27
  466. data/test/lib/facets/core/hash/test_at.rb +0 -28
  467. data/test/lib/facets/core/hash/test_collate.rb +0 -35
  468. data/test/lib/facets/core/hash/test_each_with_index.rb +0 -29
  469. data/test/lib/facets/core/hash/test_each_with_key.rb +0 -29
  470. data/test/lib/facets/core/hash/test_graph.rb +0 -28
  471. data/test/lib/facets/core/hash/test_has_keys.rb +0 -27
  472. data/test/lib/facets/core/hash/test_has_only_keys.rb +0 -27
  473. data/test/lib/facets/core/hash/test_inverse.rb +0 -30
  474. data/test/lib/facets/core/hash/test_normalize_keys.rb +0 -34
  475. data/test/lib/facets/core/hash/test_op_fetch.rb +0 -111
  476. data/test/lib/facets/core/hash/test_op_lshift.rb +0 -29
  477. data/test/lib/facets/core/hash/test_rand_key.rb +0 -27
  478. data/test/lib/facets/core/hash/test_rand_pair.rb +0 -27
  479. data/test/lib/facets/core/hash/test_rand_value.rb +0 -27
  480. data/test/lib/facets/core/hash/test_replace_each.rb +0 -29
  481. data/test/lib/facets/core/hash/test_shuffle.rb +0 -32
  482. data/test/lib/facets/core/hash/test_slice.rb +0 -27
  483. data/test/lib/facets/core/hash/test_stringify_keys.rb +0 -34
  484. data/test/lib/facets/core/hash/test_swap.rb +0 -27
  485. data/test/lib/facets/core/hash/test_swapkey.rb +0 -29
  486. data/test/lib/facets/core/hash/test_symbolize_keys.rb +0 -34
  487. data/test/lib/facets/core/hash/test_to_h.rb +0 -27
  488. data/test/lib/facets/core/hash/test_to_ostruct.rb +0 -30
  489. data/test/lib/facets/core/hash/test_to_ostruct_recurse.rb +0 -44
  490. data/test/lib/facets/core/hash/test_traverse.rb +0 -37
  491. data/test/lib/facets/core/hash/test_update_each.rb +0 -29
  492. data/test/lib/facets/core/hash/test_update_keys.rb +0 -28
  493. data/test/lib/facets/core/hash/test_update_values.rb +0 -28
  494. data/test/lib/facets/core/hash/test_weave.rb +0 -29
  495. data/test/lib/facets/core/integer/test_factorial.rb +0 -30
  496. data/test/lib/facets/core/integer/test_multiple.rb +0 -43
  497. data/test/lib/facets/core/integer/test_of.rb +0 -28
  498. data/test/lib/facets/core/integer/test_ordinal.rb +0 -29
  499. data/test/lib/facets/core/integer/test_times_collect.rb +0 -28
  500. data/test/lib/facets/core/kernel/test___class__.rb +0 -26
  501. data/test/lib/facets/core/kernel/test_as.rb +0 -42
  502. data/test/lib/facets/core/kernel/test_assign_from.rb +0 -31
  503. data/test/lib/facets/core/kernel/test_assign_with.rb +0 -31
  504. data/test/lib/facets/core/kernel/test_bool.rb +0 -41
  505. data/test/lib/facets/core/kernel/test_bug.rb +0 -26
  506. data/test/lib/facets/core/kernel/test_call_stack.rb +0 -26
  507. data/test/lib/facets/core/kernel/test_called.rb +0 -26
  508. data/test/lib/facets/core/kernel/test_callee.rb +0 -26
  509. data/test/lib/facets/core/kernel/test_constant.rb +0 -33
  510. data/test/lib/facets/core/kernel/test_copy.rb +0 -40
  511. data/test/lib/facets/core/kernel/test_deep_copy.rb +0 -40
  512. data/test/lib/facets/core/kernel/test_demo.rb +0 -28
  513. data/test/lib/facets/core/kernel/test_fn.rb +0 -26
  514. data/test/lib/facets/core/kernel/test_get_by_id.rb +0 -28
  515. data/test/lib/facets/core/kernel/test_here.rb +0 -26
  516. data/test/lib/facets/core/kernel/test_in.rb +0 -27
  517. data/test/lib/facets/core/kernel/test_instance_exec.rb +0 -52
  518. data/test/lib/facets/core/kernel/test_maybe.rb +0 -26
  519. data/test/lib/facets/core/kernel/test_metaclass.rb +0 -34
  520. data/test/lib/facets/core/kernel/test_method.rb +0 -32
  521. data/test/lib/facets/core/kernel/test_methods.rb +0 -50
  522. data/test/lib/facets/core/kernel/test_new.rb +0 -30
  523. data/test/lib/facets/core/kernel/test_object_class.rb +0 -26
  524. data/test/lib/facets/core/kernel/test_object_hexid.rb +0 -27
  525. data/test/lib/facets/core/kernel/test_quaclass.rb +0 -27
  526. data/test/lib/facets/core/kernel/test_require_all.rb +0 -26
  527. data/test/lib/facets/core/kernel/test_require_esc.rb +0 -27
  528. data/test/lib/facets/core/kernel/test_require_facet.rb +0 -27
  529. data/test/lib/facets/core/kernel/test_resc.rb +0 -27
  530. data/test/lib/facets/core/kernel/test_returning.rb +0 -30
  531. data/test/lib/facets/core/kernel/test_send_as.rb +0 -26
  532. data/test/lib/facets/core/kernel/test_set_from.rb +0 -33
  533. data/test/lib/facets/core/kernel/test_set_with.rb +0 -33
  534. data/test/lib/facets/core/kernel/test_silently.rb +0 -28
  535. data/test/lib/facets/core/kernel/test_singleton.rb +0 -40
  536. data/test/lib/facets/core/kernel/test_singleton_class.rb +0 -27
  537. data/test/lib/facets/core/kernel/test_superior.rb +0 -30
  538. data/test/lib/facets/core/kernel/test_supermethod.rb +0 -33
  539. data/test/lib/facets/core/kernel/test_this.rb +0 -26
  540. data/test/lib/facets/core/kernel/test_to_b.rb +0 -28
  541. data/test/lib/facets/core/kernel/test_to_bool.rb +0 -28
  542. data/test/lib/facets/core/kernel/test_to_data.rb +0 -59
  543. data/test/lib/facets/core/kernel/test_uri.rb +0 -30
  544. data/test/lib/facets/core/kernel/test_val.rb +0 -43
  545. data/test/lib/facets/core/kernel/test_with_accessor.rb +0 -51
  546. data/test/lib/facets/core/matchdata/test_match.rb +0 -29
  547. data/test/lib/facets/core/matchdata/test_matchtree.rb +0 -37
  548. data/test/lib/facets/core/module/self/test_op_add.rb +0 -48
  549. data/test/lib/facets/core/module/test_abstract.rb +0 -36
  550. data/test/lib/facets/core/module/test_alias_module_function.rb +0 -34
  551. data/test/lib/facets/core/module/test_ancestor.rb +0 -26
  552. data/test/lib/facets/core/module/test_basename.rb +0 -26
  553. data/test/lib/facets/core/module/test_by_name.rb +0 -29
  554. data/test/lib/facets/core/module/test_class_extension.rb +0 -70
  555. data/test/lib/facets/core/module/test_clone_using.rb +0 -55
  556. data/test/lib/facets/core/module/test_dirname.rb +0 -26
  557. data/test/lib/facets/core/module/test_equate_on.rb +0 -37
  558. data/test/lib/facets/core/module/test_include_as.rb +0 -35
  559. data/test/lib/facets/core/module/test_initializer.rb +0 -32
  560. data/test/lib/facets/core/module/test_instance_methods.rb +0 -59
  561. data/test/lib/facets/core/module/test_integrate.rb +0 -35
  562. data/test/lib/facets/core/module/test_memoize.rb +0 -50
  563. data/test/lib/facets/core/module/test_modspace.rb +0 -27
  564. data/test/lib/facets/core/module/test_namespace.rb +0 -33
  565. data/test/lib/facets/core/module/test_nesting.rb +0 -36
  566. data/test/lib/facets/core/module/test_nodef.rb +0 -30
  567. data/test/lib/facets/core/module/test_on_included.rb +0 -36
  568. data/test/lib/facets/core/module/test_redef.rb +0 -30
  569. data/test/lib/facets/core/module/test_redefine_method.rb +0 -30
  570. data/test/lib/facets/core/module/test_redirect.rb +0 -30
  571. data/test/lib/facets/core/module/test_redirect_method.rb +0 -30
  572. data/test/lib/facets/core/module/test_remove.rb +0 -30
  573. data/test/lib/facets/core/module/test_rename.rb +0 -31
  574. data/test/lib/facets/core/module/test_rename_method.rb +0 -31
  575. data/test/lib/facets/core/module/test_revisal.rb +0 -35
  576. data/test/lib/facets/core/module/test_shadow_method.rb +0 -30
  577. data/test/lib/facets/core/module/test_sort_on.rb +0 -42
  578. data/test/lib/facets/core/module/test_this.rb +0 -31
  579. data/test/lib/facets/core/module/test_wrap.rb +0 -30
  580. data/test/lib/facets/core/module/test_wrap_method.rb +0 -30
  581. data/test/lib/facets/core/nilclass/test_blank.rb +0 -26
  582. data/test/lib/facets/core/nilclass/test_empty.rb +0 -26
  583. data/test/lib/facets/core/nilclass/test_include.rb +0 -26
  584. data/test/lib/facets/core/nilclass/test_op_fetch.rb +0 -28
  585. data/test/lib/facets/core/nilclass/test_size.rb +0 -30
  586. data/test/lib/facets/core/nilclass/test_to_h.rb +0 -26
  587. data/test/lib/facets/core/numeric/test_approx.rb +0 -29
  588. data/test/lib/facets/core/numeric/test_ceil_multiple.rb +0 -31
  589. data/test/lib/facets/core/numeric/test_distance.rb +0 -28
  590. data/test/lib/facets/core/numeric/test_succ.rb +0 -40
  591. data/test/lib/facets/core/numeric/test_to_b.rb +0 -27
  592. data/test/lib/facets/core/ostruct/test___merge__.rb +0 -38
  593. data/test/lib/facets/core/ostruct/test___update__.rb +0 -29
  594. data/test/lib/facets/core/ostruct/test_op_fetch.rb +0 -27
  595. data/test/lib/facets/core/ostruct/test_op_store.rb +0 -28
  596. data/test/lib/facets/core/proc/test_compose.rb +0 -29
  597. data/test/lib/facets/core/proc/test_op_mul.rb +0 -34
  598. data/test/lib/facets/core/proc/test_to_method.rb +0 -44
  599. data/test/lib/facets/core/range/test_to_r.rb +0 -27
  600. data/test/lib/facets/core/range/test_to_range.rb +0 -27
  601. data/test/lib/facets/core/range/test_umbrella.rb +0 -34
  602. data/test/lib/facets/core/range/test_within.rb +0 -29
  603. data/test/lib/facets/core/regexp/test_arity.rb +0 -33
  604. data/test/lib/facets/core/regexp/test_to_re.rb +0 -27
  605. data/test/lib/facets/core/regexp/test_to_regexp.rb +0 -27
  606. data/test/lib/facets/core/string/self/test_interpolate.rb +0 -27
  607. data/test/lib/facets/core/string/self/test_patterns.rb +0 -28
  608. data/test/lib/facets/core/string/self/test_rand_letter.rb +0 -26
  609. data/test/lib/facets/core/string/test_align_center.rb +0 -34
  610. data/test/lib/facets/core/string/test_at_rand.rb +0 -35
  611. data/test/lib/facets/core/string/test_basename.rb +0 -41
  612. data/test/lib/facets/core/string/test_blank.rb +0 -27
  613. data/test/lib/facets/core/string/test_bracket.rb +0 -49
  614. data/test/lib/facets/core/string/test_camelcase.rb +0 -39
  615. data/test/lib/facets/core/string/test_camelize.rb +0 -26
  616. data/test/lib/facets/core/string/test_capitalized.rb +0 -26
  617. data/test/lib/facets/core/string/test_chars.rb +0 -27
  618. data/test/lib/facets/core/string/test_cmp.rb +0 -30
  619. data/test/lib/facets/core/string/test_demodulize.rb +0 -38
  620. data/test/lib/facets/core/string/test_divide.rb +0 -29
  621. data/test/lib/facets/core/string/test_downcase.rb +0 -26
  622. data/test/lib/facets/core/string/test_dresner.rb +0 -32
  623. data/test/lib/facets/core/string/test_each_char.rb +0 -29
  624. data/test/lib/facets/core/string/test_each_word.rb +0 -29
  625. data/test/lib/facets/core/string/test_first.rb +0 -43
  626. data/test/lib/facets/core/string/test_fold.rb +0 -34
  627. data/test/lib/facets/core/string/test_humanize.rb +0 -26
  628. data/test/lib/facets/core/string/test_indent.rb +0 -40
  629. data/test/lib/facets/core/string/test_index_all.rb +0 -26
  630. data/test/lib/facets/core/string/test_last.rb +0 -46
  631. data/test/lib/facets/core/string/test_line_wrap.rb +0 -27
  632. data/test/lib/facets/core/string/test_lines.rb +0 -26
  633. data/test/lib/facets/core/string/test_lowercase.rb +0 -26
  634. data/test/lib/facets/core/string/test_margin.rb +0 -117
  635. data/test/lib/facets/core/string/test_methodize.rb +0 -27
  636. data/test/lib/facets/core/string/test_modulize.rb +0 -29
  637. data/test/lib/facets/core/string/test_mscan.rb +0 -30
  638. data/test/lib/facets/core/string/test_natcmp.rb +0 -30
  639. data/test/lib/facets/core/string/test_nchar.rb +0 -29
  640. data/test/lib/facets/core/string/test_pathize.rb +0 -29
  641. data/test/lib/facets/core/string/test_pop.rb +0 -47
  642. data/test/lib/facets/core/string/test_pot.rb +0 -39
  643. data/test/lib/facets/core/string/test_push.rb +0 -40
  644. data/test/lib/facets/core/string/test_quote.rb +0 -49
  645. data/test/lib/facets/core/string/test_rand_byte.rb +0 -35
  646. data/test/lib/facets/core/string/test_rand_index.rb +0 -26
  647. data/test/lib/facets/core/string/test_range.rb +0 -27
  648. data/test/lib/facets/core/string/test_range_all.rb +0 -27
  649. data/test/lib/facets/core/string/test_range_of_line.rb +0 -28
  650. data/test/lib/facets/core/string/test_regesc.rb +0 -28
  651. data/test/lib/facets/core/string/test_shatter.rb +0 -29
  652. data/test/lib/facets/core/string/test_shift.rb +0 -40
  653. data/test/lib/facets/core/string/test_shuffle.rb +0 -27
  654. data/test/lib/facets/core/string/test_similarity.rb +0 -26
  655. data/test/lib/facets/core/string/test_singular.rb +0 -86
  656. data/test/lib/facets/core/string/test_soundex.rb +0 -41
  657. data/test/lib/facets/core/string/test_succ.rb +0 -29
  658. data/test/lib/facets/core/string/test_to_a.rb +0 -27
  659. data/test/lib/facets/core/string/test_to_b.rb +0 -41
  660. data/test/lib/facets/core/string/test_to_const.rb +0 -28
  661. data/test/lib/facets/core/string/test_to_date.rb +0 -30
  662. data/test/lib/facets/core/string/test_to_proc.rb +0 -33
  663. data/test/lib/facets/core/string/test_to_re.rb +0 -28
  664. data/test/lib/facets/core/string/test_to_time.rb +0 -30
  665. data/test/lib/facets/core/string/test_unix_crypt.rb +0 -30
  666. data/test/lib/facets/core/string/test_unpack.rb +0 -34
  667. data/test/lib/facets/core/string/test_unshift.rb +0 -39
  668. data/test/lib/facets/core/string/test_upcase.rb +0 -30
  669. data/test/lib/facets/core/string/test_whitespace.rb +0 -27
  670. data/test/lib/facets/core/string/test_word_filter.rb +0 -34
  671. data/test/lib/facets/core/string/test_word_wrap.rb +0 -51
  672. data/test/lib/facets/core/string/test_words.rb +0 -37
  673. data/test/lib/facets/core/symbol/test_camelcase.rb +0 -26
  674. data/test/lib/facets/core/symbol/test_camelize.rb +0 -27
  675. data/test/lib/facets/core/symbol/test_capitalize.rb +0 -26
  676. data/test/lib/facets/core/symbol/test_capitalized.rb +0 -27
  677. data/test/lib/facets/core/symbol/test_downcase.rb +0 -27
  678. data/test/lib/facets/core/symbol/test_not.rb +0 -29
  679. data/test/lib/facets/core/symbol/test_pad.rb +0 -27
  680. data/test/lib/facets/core/symbol/test_succ.rb +0 -28
  681. data/test/lib/facets/core/symbol/test_to_const.rb +0 -28
  682. data/test/lib/facets/core/symbol/test_to_proc.rb +0 -33
  683. data/test/lib/facets/core/symbol/test_to_str.rb +0 -28
  684. data/test/lib/facets/core/symbol/test_underscore.rb +0 -26
  685. data/test/lib/facets/core/symbol/test_upcase.rb +0 -27
  686. data/test/lib/facets/core/time/test_change.rb +0 -33
  687. data/test/lib/facets/core/time/test_elapse.rb +0 -27
  688. data/test/lib/facets/core/time/test_stamp.rb +0 -31
  689. data/test/lib/facets/core/time/test_to_date.rb +0 -31
  690. data/test/lib/facets/core/time/test_to_s.rb +0 -31
  691. data/test/lib/facets/core/time/test_to_time.rb +0 -31
  692. data/test/lib/facets/more/test_annattr.rb +0 -39
  693. data/test/lib/facets/more/test_ansicode.rb +0 -36
  694. data/test/lib/facets/more/test_association.rb +0 -51
  695. data/test/lib/facets/more/test_autoarray.rb +0 -32
  696. data/test/lib/facets/more/test_basicobject.rb +0 -67
  697. data/test/lib/facets/more/test_bbcode.rb +0 -34
  698. data/test/lib/facets/more/test_binaryreader.rb +0 -64
  699. data/test/lib/facets/more/test_bitmask.rb +0 -47
  700. data/test/lib/facets/more/test_bytes.rb +0 -84
  701. data/test/lib/facets/more/test_classmethods.rb +0 -69
  702. data/test/lib/facets/more/test_command.rb +0 -38
  703. data/test/lib/facets/more/test_coroutine.rb +0 -60
  704. data/test/lib/facets/more/test_crypt.rb +0 -46
  705. data/test/lib/facets/more/test_cut.rb +0 -198
  706. data/test/lib/facets/more/test_dictionary.rb +0 -97
  707. data/test/lib/facets/more/test_elementor.rb +0 -52
  708. data/test/lib/facets/more/test_enumerablepass.rb +0 -86
  709. data/test/lib/facets/more/test_floatstring.rb +0 -36
  710. data/test/lib/facets/more/test_functor.rb +0 -39
  711. data/test/lib/facets/more/test_htmlbuilder.rb +0 -38
  712. data/test/lib/facets/more/test_infinity.rb +0 -50
  713. data/test/lib/facets/more/test_inheritor.rb +0 -155
  714. data/test/lib/facets/more/test_instance_intercept.rb +0 -50
  715. data/test/lib/facets/more/test_interval.rb +0 -119
  716. data/test/lib/facets/more/test_json.rb +0 -232
  717. data/test/lib/facets/more/test_linkedlist.rb +0 -53
  718. data/test/lib/facets/more/test_lisp.rb +0 -47
  719. data/test/lib/facets/more/test_lisp_format.rb +0 -37
  720. data/test/lib/facets/more/test_lrucache.rb +0 -25
  721. data/test/lib/facets/more/test_mathconstants.rb +0 -18
  722. data/test/lib/facets/more/test_methodfilter.rb +0 -45
  723. data/test/lib/facets/more/test_methodprobe.rb +0 -53
  724. data/test/lib/facets/more/test_multipliers.rb +0 -114
  725. data/test/lib/facets/more/test_multiton.rb +0 -199
  726. data/test/lib/facets/more/test_nackclass.rb +0 -45
  727. data/test/lib/facets/more/test_nilcomparable.rb +0 -47
  728. data/test/lib/facets/more/test_opencascade.rb +0 -75
  729. data/test/lib/facets/more/test_openobject.rb +0 -126
  730. data/test/lib/facets/more/test_overload.rb +0 -54
  731. data/test/lib/facets/more/test_paramix.rb +0 -100
  732. data/test/lib/facets/more/test_pqueue.rb +0 -39
  733. data/test/lib/facets/more/test_predicate.rb +0 -79
  734. data/test/lib/facets/more/test_preinitialize.rb +0 -49
  735. data/test/lib/facets/more/test_promoteself.rb +0 -45
  736. data/test/lib/facets/more/test_recorder.rb +0 -44
  737. data/test/lib/facets/more/test_snapshot.rb +0 -34
  738. data/test/lib/facets/more/test_statichash.rb +0 -31
  739. data/test/lib/facets/more/test_syncarray.rb +0 -28
  740. data/test/lib/facets/more/test_synchash.rb +0 -28
  741. data/test/lib/facets/more/test_tagiterator.rb +0 -93
  742. data/test/lib/facets/more/test_taskable.rb +0 -190
  743. data/test/lib/facets/more/test_timer.rb +0 -66
  744. data/test/lib/facets/more/test_times.rb +0 -73
  745. data/test/lib/facets/more/test_tuple.rb +0 -64
  746. data/test/lib/facets/more/test_typecast.rb +0 -68
  747. data/test/lib/facets/more/test_uninheritable.rb +0 -42
  748. data/test/lib/facets/more/test_units.rb +0 -111
  749. data/test/lib/facets/more/test_xmlbuilder.rb +0 -38
  750. data/test/lib/facets/more/test_xmlhelper.rb +0 -40
  751. data/test/lib/facets/more/test_xoxo.rb +0 -288
  752. data/test/lib/facets/more/test_yamlstruct.rb +0 -37
  753. data/util/announce +0 -20
  754. data/util/changelog +0 -8
  755. data/util/count +0 -8
  756. data/util/extest +0 -8
  757. data/util/list +0 -38
  758. data/util/package +0 -9
  759. data/util/prepare +0 -12
  760. data/util/redirect +0 -34
  761. data/util/release +0 -13
  762. data/util/setup +0 -7
  763. data/util/test +0 -7
  764. data/util/version +0 -8
@@ -1,40 +0,0 @@
1
- # _____ _
2
- # |_ _|__ ___| |_
3
- # | |/ _ \/ __| __|
4
- # | | __/\__ \ |_
5
- # |_|\___||___/\__|
6
- #
7
- # for lib/facets/more/xmlhelper.rb
8
- #
9
- # Extracted Fri Sep 08 20:20:32 EDT 2006
10
- # Unit Tools Reap Test Extractor
11
- #
12
-
13
- require 'facets/more/xmlhelper.rb'
14
-
15
-
16
- require 'test/unit'
17
-
18
- class TCXMLHelper < Test::Unit::TestCase
19
-
20
- def test_01
21
- x = XMLHelper
22
- d = x.element( :a )
23
- assert_equal( "<a />", d )
24
- end
25
-
26
- def test_02
27
- x = XMLHelper
28
- d = x.element( :a, x.element( :b, "X" ) )
29
- assert_equal( "<a><b>X</b></a>", d )
30
- end
31
-
32
- def test_03
33
- x = XMLHelper
34
- d = x.element( :a, x.element( :b, "X" ) + x.element( :c, "Y" ) )
35
- assert_equal( "<a><b>X</b><c>Y</c></a>", d )
36
- end
37
-
38
- end
39
-
40
-
@@ -1,288 +0,0 @@
1
- # _____ _
2
- # |_ _|__ ___| |_
3
- # | |/ _ \/ __| __|
4
- # | | __/\__ \ |_
5
- # |_|\___||___/\__|
6
- #
7
- # for lib/facets/more/xoxo.rb
8
- #
9
- # Extracted Fri Sep 08 20:20:32 EDT 2006
10
- # Unit Tools Reap Test Extractor
11
- #
12
-
13
- require 'facets/more/xoxo.rb'
14
-
15
-
16
- require 'test/unit'
17
-
18
- class TCXOXO < Test::Unit::TestCase
19
-
20
- def test_simple_list
21
- l = ['1', '2', '3']
22
- html = XOXO.dump(l)
23
- assert_equal '<ol class="xoxo"><li>1</li><li>2</li><li>3</li></ol>', html
24
- end
25
-
26
- def test_nested_list
27
- l = ['1', ['2', '3']]
28
- assert_equal '<ol class="xoxo"><li>1</li><li><ol><li>2</li><li>3</li></ol></li></ol>', XOXO.dump(l)
29
- end
30
-
31
- def test_hash
32
- h = {'test' => '1', 'name' => 'Kevin'}
33
- # Changed since Ruby sorts the hash differently.
34
- assert_equal '<ol class="xoxo"><li><dl><dt>name</dt><dd>Kevin</dd><dt>test</dt><dd>1</dd></dl></li></ol>', XOXO.dump(h)
35
- end
36
-
37
- def test_single_item
38
- l = 'test'
39
- assert_equal '<ol class="xoxo"><li>test</li></ol>', XOXO.dump(l)
40
- end
41
-
42
- def test_wrap_differs
43
- l = 'test'
44
- html = XOXO.dump(l)
45
- html_wrap = XOXO.dump(l, :html_wrap => true)
46
- assert_not_equal html, html_wrap
47
- end
48
-
49
- def test_wrap_single_item
50
- l = 'test'
51
- html = XOXO.dump(l, :html_wrap => true)
52
- assert_equal <<EOF.strip, html
53
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN
54
- http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
55
- <html xmlns="http://www.w3.org/1999/xhtml"><head profile=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></head><body><ol class="xoxo"><li>test</li></ol></body></html>
56
- EOF
57
- end
58
-
59
- def test_wrap_item_with_css
60
- l = 'test'
61
- html = XOXO.dump(l, :html_wrap => true, :css => 'reaptest.css')
62
- assert_equal <<EOF.strip, html
63
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN
64
- http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
65
- <html xmlns="http://www.w3.org/1999/xhtml"><head profile=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><style type="text/css" >@import "reaptest.css";</style></head><body><ol class="xoxo"><li>test</li></ol></body></html>
66
- EOF
67
- end
68
-
69
- def test_hash_roundtrip
70
- h = {'test' => '1', 'name' => 'Kevin'}
71
- assert_equal h, XOXO.load(XOXO.dump(h))
72
- end
73
-
74
- def test_hash_with_url_roundtrip
75
- h = {'url' => 'http://example.com', 'name' => 'Kevin'}
76
- assert_equal h, XOXO.load(XOXO.dump(h))
77
- end
78
-
79
- def test_nested_hash_roundtrip
80
- h = {'test' => '1', 'inner' => {'name' => 'Kevin'}}
81
- assert_equal h, XOXO.load(XOXO.dump(h))
82
- end
83
-
84
- def test_nested_hash_with_url_roundtrip
85
- h = {'url' => 'http://example.com', 'inner' => {
86
- 'url' => 'http://slashdot.org', 'name' => 'Kevin'}}
87
- assert_equal h, XOXO.load(XOXO.dump(h))
88
- end
89
-
90
- def test_list_round_trip
91
- l = ['3', '2', '1']
92
- assert_equal l, XOXO.load(XOXO.dump(l))
93
- end
94
-
95
- def test_list_of_hashes_round_trip
96
- l = ['3', {'a' => '2'}, {'b' => '1', 'c' => '4'}]
97
- assert_equal l, XOXO.load(XOXO.dump(l))
98
- end
99
-
100
- def test_list_of_lists_round_trip
101
- l = ['3', ['a', '2'], ['b', ['1', ['c', '4']]]]
102
- assert_equal l, XOXO.load(XOXO.dump(l))
103
- end
104
-
105
- def test_hashes_of_lists_roundtrip
106
- h = {
107
- 'test' => ['1', '2'],
108
- 'name' => 'Kevin',
109
- 'nestlist' => ['a', ['b', 'c']],
110
- 'nestdict' => {'e' => '6', 'f' => '7'}
111
- }
112
- assert_equal h, XOXO.load(XOXO.dump(h))
113
- end
114
-
115
- def test_xoxo_junk_in_containers
116
- h = XOXO.load '<ol>bad<li><dl>worse<dt>good</dt><dd>buy</dd> now</dl></li></ol>'
117
- assert_equal({'good' => 'buy'}, h)
118
- end
119
-
120
- def test_xoxo_junk_in_elements
121
- l = XOXO.load '<ol><li>bad<dl><dt>good</dt><dd>buy</dd></dl>worse</li><li>bag<ol><li>OK</li></ol>fish</li></ol>'
122
- assert_equal([{'good' => 'buy'}, ['OK']], l)
123
- end
124
-
125
- def test_xoxo_with_spaces_and_newlines
126
- xoxo_sample = <<EOF.strip
127
- <ol class='xoxo'>
128
- <li>
129
- <dl>
130
- <dt>text</dt>
131
- <dd>item 1</dd>
132
- <dt>description</dt>
133
- <dd> This item represents the main point we're trying to make.</dd>
134
- <dt>url</dt>
135
- <dd>http://example.com/more.xoxo</dd>
136
- <dt>title</dt>
137
- <dd>title of item 1</dd>
138
- <dt>type</dt>
139
- <dd>text/xml</dd>
140
- <dt>rel</dt>
141
- <dd>help</dd>
142
- </dl>
143
- </li>
144
- </ol>
145
- EOF
146
- h = XOXO.load xoxo_sample
147
- h2 = {
148
- 'text' => 'item 1',
149
- 'description' => " This item represents the main point we're trying to make.",
150
- 'url' => 'http://example.com/more.xoxo',
151
- 'title' => 'title of item 1',
152
- 'type' => 'text/xml',
153
- 'rel' => 'help'
154
- }
155
- assert_equal h2, XOXO.load(xoxo_sample)
156
- end
157
-
158
- def test_special_attribute_decoding
159
- xoxo_sample = <<EOF.strip
160
- <ol class='xoxo'>
161
- <li>
162
- <dl>
163
- <dt>text</dt>
164
- <dd>item 1</dd>
165
- <dt>url</dt>
166
- <dd>http://example.com/more.xoxo</dd>
167
- <dt>title</dt>
168
- <dd>title of item 1</dd>
169
- <dt>type</dt>
170
- <dd>text/xml</dd>
171
- <dt>rel</dt>
172
- <dd>help</dd>
173
- </dl>
174
- </li>
175
- </ol>
176
- EOF
177
- smart_xoxo_sample = <<EOF.strip
178
- <ol class='xoxo'>
179
- <li><a href="http://example.com/more.xoxo"
180
- title="title of item 1"
181
- type="text/xml"
182
- rel="help">item 1</a>
183
- <!-- note how the "text" property is simply the contents of the <a> element -->
184
- </li>
185
- </ol>
186
- EOF
187
- assert_equal XOXO.load(xoxo_sample), XOXO.load(smart_xoxo_sample)
188
- end
189
-
190
- def test_special_attribute_and_dl_decoding
191
- xoxo_sample = <<EOF.strip
192
- <ol class="xoxo">
193
- <li>
194
- <dl>
195
- <dt>text</dt>
196
- <dd>item 1</dd>
197
- <dt>description</dt>
198
- <dd> This item represents the main point we're trying to make.</dd>
199
- <dt>url</dt>
200
- <dd>http://example.com/more.xoxo</dd>
201
- <dt>title</dt>
202
- <dd>title of item 1</dd>
203
- <dt>type</dt>
204
- <dd>text/xml</dd>
205
- <dt>rel</dt>
206
- <dd>help</dd>
207
- </dl>
208
- </li>
209
- </ol>
210
- EOF
211
- smart_xoxo_sample = <<EOF.strip
212
- <ol class="xoxo">
213
- <li><a href="http://example.com/more.xoxo"
214
- title="title of item 1"
215
- type="text/xml"
216
- rel="help">item 1</a>
217
- <!-- note how the "text" property is simply the contents of the <a> element -->
218
- <dl>
219
- <dt>description</dt>
220
- <dd> This item represents the main point we're trying to make.</dd>
221
- </dl>
222
- </li>
223
- </ol>
224
- EOF
225
- assert_equal XOXO.load(xoxo_sample), XOXO.load(smart_xoxo_sample)
226
- end
227
-
228
- def test_special_attribute_encode
229
- h = {
230
- 'url' => 'http://example.com/more.xoxo',
231
- 'title' => 'sample url',
232
- 'type' => "text/xml",
233
- 'rel' => 'help',
234
- 'text' => 'an example'
235
- }
236
- assert_equal '<ol class="xoxo"><li><a href="http://example.com/more.xoxo" title="sample url" rel="help" type="text/xml" >an example</a></li></ol>', XOXO.dump(h)
237
- end
238
-
239
- def test_special_attribute_roundtrip_full
240
- h = {
241
- 'url' => 'http://example.com/more.xoxo',
242
- 'title' => 'sample url',
243
- 'type' => "text/xml",
244
- 'rel' => 'help',
245
- 'text' => 'an example'
246
- }
247
- assert_equal h, XOXO.load(XOXO.dump(h))
248
- end
249
-
250
- def test_special_attribute_roundtrip_no_text
251
- h = {
252
- 'url' => 'http://example.com/more.xoxo',
253
- 'title' => 'sample url',
254
- 'type' => "text/xml",
255
- 'rel' => 'help'
256
- }
257
- assert_equal h, XOXO.load(XOXO.dump(h))
258
- end
259
-
260
- def test_special_attribute_roundtrip_no_text_or_title
261
- h = {'url' => 'http://example.com/more.xoxo'}
262
- assert_equal h, XOXO.load(XOXO.dump(h))
263
- end
264
-
265
- def test_attention_roundtrip
266
- kmattn = <<EOF.strip
267
- <ol class="xoxo"><li><a href="http://www.boingboing.net/" title="Boing Boing Blog" >Boing Boing Blog</a><dl><dt>alturls</dt><dd><ol><li><a href="http://boingboing.net/rss.xml" >xmlurl</a></li></ol></dd><dt>description</dt><dd>Boing Boing Blog</dd></dl></li><li><a href="http://www.financialcryptography.com/" title="Financial Cryptography" >Financial Cryptography</a><dl><dt>alturls</dt><dd><ol><li><a href="http://www.financialcryptography.com/mt/index.rdf" >xmlurl</a></li></ol></dd><dt>description</dt><dd>Financial Cryptography</dd></dl></li><li><a href="http://hublog.hubmed.org/" title="HubLog" >HubLog</a><dl><dt>alturls</dt><dd><ol><li><a href="http://hublog.hubmed.org/index.xml" >xmlurl</a></li><li><a href="http://hublog.hubmed.org/foaf.rdf" >foafurl</a></li></ol></dd><dt>description</dt><dd>HubLog</dd></dl></li></ol>
268
- EOF
269
- assert_equal kmattn, XOXO.dump(XOXO.load(kmattn))
270
- assert_equal XOXO.load(kmattn), XOXO.load(XOXO.dump(XOXO.load(kmattn)))
271
- assert_equal XOXO.dump(XOXO.load(kmattn)),
272
- XOXO.dump(XOXO.load(XOXO.dump(XOXO.load(kmattn))))
273
- end
274
-
275
- def test_unicode_roundtrip
276
- unicode = "Tantek \xc3\x87elik and a snowman \xe2\x98\x83"
277
- assert_equal unicode, XOXO.load(XOXO.dump(unicode))
278
- end
279
-
280
- # TBD: Implement proper encodings.
281
- #
282
- # def test_utf8_roundtrip
283
- # end
284
- # def test_windows1252_roundtrip
285
- # end
286
- end
287
-
288
-
@@ -1,37 +0,0 @@
1
- # _____ _
2
- # |_ _|__ ___| |_
3
- # | |/ _ \/ __| __|
4
- # | | __/\__ \ |_
5
- # |_|\___||___/\__|
6
- #
7
- # for lib/facets/more/yamlstruct.rb
8
- #
9
- # Extracted Fri Sep 08 20:20:32 EDT 2006
10
- # Unit Tools Reap Test Extractor
11
- #
12
-
13
- require 'facets/more/yamlstruct.rb'
14
-
15
-
16
- require 'test/unit'
17
-
18
- class TC_YAMLStruct < Test::Unit::TestCase
19
-
20
- def setup
21
- y = %{
22
- a: 1
23
- b: 2
24
- c: 3
25
- }
26
- @y = YAMLStruct.new(y)
27
- end
28
-
29
- def test_001
30
- assert_equal( 1, @y.a )
31
- assert_equal( 2, @y.b )
32
- assert_equal( 3, @y.c )
33
- end
34
-
35
- end
36
-
37
-
data/util/announce DELETED
@@ -1,20 +0,0 @@
1
- #!/usr/bin/env rubytask
2
-
3
- # Announce release
4
-
5
- ---
6
- announce: !!announce
7
- to : transfire@gmail.com #ruby-talk@ruby-lang.org
8
- from : transfire@gmail.com
9
- domain : jupiterzeus.net
10
- server : smtp.gmail.com
11
- port : 25 #587
12
- account : transfire@gmail.com
13
- auth : login #cram_md5 #plain
14
- secure : tls # ~, tls, ssl
15
- file : doc/LATEST
16
- slogan : ALL YOUR BASE ARE BELONG TO RUBY!
17
- links:
18
- - http://facets.rubyforge.org
19
- - Reapfile
20
-
data/util/changelog DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env rubytask
2
-
3
- # Generate changelog
4
-
5
- ---
6
- changelog: !!changelog
7
- file: doc/CHANGELOG
8
-
data/util/count DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env rubytask
2
-
3
- # Count lines of code
4
-
5
- ---
6
- count: !!count
7
- include: 'lib/**/*'
8
-
data/util/extest DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env rubytask
2
-
3
- # Extract comment tests
4
-
5
- ---
6
- extest: !!extest
7
- files: 'lib/facets/**/*.rb'
8
-
data/util/list DELETED
@@ -1,38 +0,0 @@
1
- #!/usr/bin/env rubytask
2
-
3
- # List core methods
4
- #
5
- # Output a list of all methods.
6
-
7
- def list
8
- index_methods
9
- puts method_list_outline
10
- end
11
-
12
- # Read in the facets directory and sort-out per class
13
-
14
- METHODS = {}
15
- MTHPATH = "lib/facets/core"
16
-
17
- def index_methods
18
- Dir.chdir(MTHPATH) do
19
- dg = Dir.glob('*/**/*.rb')
20
- dg.each { |f|
21
- klass, *meth= f.split('/')
22
- METHODS[ klass ] ||= []
23
- METHODS[ klass ] << "#{meth.join('/').chomp('.rb')}"
24
- }
25
- METHODS.keys.each { |k| METHODS[k].sort! }
26
- end
27
- end
28
-
29
- def method_list_outline
30
- s = ''
31
- METHODS.keys.sort.each { |k|
32
- ms = METHODS[k].collect{|m| m.gsub(%r{^self\/},'::')}.sort
33
- s << "#{k}:\n"
34
- ms.each { |m| s << " #{m}\n" }
35
- }
36
- s
37
- end
38
-