facets 2.9.1 → 2.9.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1317) hide show
  1. data/.gitignore +11 -0
  2. data/.locat +24 -0
  3. data/.reap/ignore +1 -0
  4. data/.reap/yard.reap +42 -0
  5. data/.ruby +57 -0
  6. data/.test +31 -0
  7. data/.yard/core.yardopts +7 -0
  8. data/.yard/standard.yardopts +7 -0
  9. data/.yard/supplemental.yardopts +7 -0
  10. data/.yard/uncommon.yardopts +7 -0
  11. data/{AUTHORS → AUTHORS.rdoc} +2 -0
  12. data/Assembly +38 -0
  13. data/GPL3.txt +282 -0
  14. data/HISTORY.rdoc +28 -3
  15. data/MANIFEST +1107 -0
  16. data/NOTICE.rdoc +167 -0
  17. data/{PROFILE → Profile} +10 -7
  18. data/README.rdoc +3 -3
  19. data/{COPYING → RUBY.txt} +0 -0
  20. data/Rakefile +58 -15
  21. data/VERSION +1 -1
  22. data/facets.gemspec +152 -0
  23. data/lib/core-uncommon/facets/class/singleton.rb +8 -0
  24. data/lib/core-uncommon/facets/module/let.rb +27 -0
  25. data/lib/{core → core-uncommon}/facets/module/method_clash.rb +2 -1
  26. data/lib/core-uncommon/facets/string/acronym.rb +8 -0
  27. data/lib/core/facets.rb +81 -7
  28. data/lib/core/facets.yml +51 -1138
  29. data/lib/core/facets/array.rb +93 -5
  30. data/lib/core/facets/binding.rb +36 -4
  31. data/lib/core/facets/class.rb +14 -4
  32. data/lib/core/facets/comparable.rb +18 -4
  33. data/lib/core/facets/comparable/cap.rb +1 -1
  34. data/lib/core/facets/comparable/clip.rb +1 -1
  35. data/lib/core/facets/dir.rb +16 -4
  36. data/lib/core/facets/enumerable.rb +74 -4
  37. data/lib/core/facets/enumerable/map_with.rb +18 -0
  38. data/lib/core/facets/enumerable/zip_map.rb +1 -0
  39. data/lib/core/facets/exception.rb +11 -4
  40. data/lib/core/facets/exception/detail.rb +5 -1
  41. data/lib/core/facets/file.rb +30 -4
  42. data/lib/core/facets/filetest.rb +16 -4
  43. data/lib/core/facets/float.rb +6 -4
  44. data/lib/core/facets/hash.rb +108 -4
  45. data/lib/core/facets/hash/delete_values.rb +10 -1
  46. data/lib/core/facets/hash/slice.rb +5 -0
  47. data/lib/core/facets/integer.rb +20 -4
  48. data/lib/core/facets/kernel.rb +140 -4
  49. data/lib/core/facets/kernel/object_hexid.rb +4 -4
  50. data/lib/core/facets/matchdata.rb +8 -4
  51. data/lib/core/facets/method.rb +6 -4
  52. data/lib/core/facets/module.rb +86 -4
  53. data/lib/core/facets/module/redefine_method.rb +4 -2
  54. data/lib/core/facets/module/redirect_method.rb +1 -0
  55. data/lib/core/facets/nilclass.rb +8 -4
  56. data/lib/core/facets/numeric.rb +18 -4
  57. data/lib/core/facets/object.rb +14 -4
  58. data/lib/core/facets/objectspace.rb +10 -4
  59. data/lib/core/facets/proc.rb +18 -4
  60. data/lib/core/facets/process.rb +6 -4
  61. data/lib/core/facets/range.rb +14 -4
  62. data/lib/core/facets/regexp.rb +14 -4
  63. data/lib/core/facets/string.rb +134 -4
  64. data/lib/core/facets/struct.rb +6 -4
  65. data/lib/core/facets/symbol.rb +30 -4
  66. data/lib/core/facets/time.rb +34 -4
  67. data/lib/core/facets/unboundmethod.rb +8 -4
  68. data/lib/standard/facets/fileutils/ln_r.rb +83 -76
  69. data/lib/standard/facets/shellwords.rb +30 -0
  70. data/lib/supplemental/facets/enumargs.rb +195 -0
  71. data/lib/supplemental/facets/platform.rb +1 -1
  72. data/rdoc.assembly +50 -0
  73. data/site/.brite +2 -0
  74. data/site/assets/hover.js +14 -0
  75. data/site/assets/rdocs.js +28 -0
  76. data/site/assets/site.css +324 -0
  77. data/site/assets/syntax.css +60 -0
  78. data/site/atom.page +25 -0
  79. data/site/atom.xml +20 -0
  80. data/site/brite.yml +3 -0
  81. data/site/default.layout +114 -0
  82. data/site/index.html +110 -0
  83. data/site/index.page +94 -0
  84. data/site/learn.html +110 -0
  85. data/site/learn.page +78 -0
  86. data/site/media/APIdocs.png +0 -0
  87. data/site/media/RubyFacets.png +0 -0
  88. data/site/media/RubyFacetsShadow.png +0 -0
  89. data/site/media/RubyFacetsShadow2.png +0 -0
  90. data/site/media/RubyFacetsShadowFade.png +0 -0
  91. data/site/media/SPYlights.png +0 -0
  92. data/site/media/WeHeartFacets.png +0 -0
  93. data/site/media/abc.png +0 -0
  94. data/site/media/abc1.png +0 -0
  95. data/site/media/adverts/21-5G3Eta1L._AA_SL160_.jpg +0 -0
  96. data/site/media/adverts/21B53PF6W5L._AA_SL160_.jpg +0 -0
  97. data/site/media/adverts/21OsAAT9MaL._AA_SL160_.jpg +0 -0
  98. data/site/media/adverts/21PYg8IoswL._AA_SL160_.jpg +0 -0
  99. data/site/media/adverts/21WvvRAsbhL._AA_SL160_.jpg +0 -0
  100. data/site/media/adverts/amazon.html +30 -0
  101. data/site/media/adverts/rdoc.html +15 -0
  102. data/site/media/appleslice.jpg +0 -0
  103. data/site/media/clear.gif +0 -0
  104. data/site/media/core.jpg +0 -0
  105. data/site/media/fade_black_down.png +0 -0
  106. data/site/media/fade_blue_down.gif +0 -0
  107. data/site/media/fade_blue_up.gif +0 -0
  108. data/site/media/fade_red_down.png +0 -0
  109. data/site/media/fade_red_up (copy).png +0 -0
  110. data/site/media/fade_red_up.png +0 -0
  111. data/site/media/fade_yellow_down.jpg +0 -0
  112. data/site/media/fade_yellow_right.jpg +0 -0
  113. data/site/media/fade_yellow_up.jpg +0 -0
  114. data/site/media/favicon.ico +0 -0
  115. data/site/media/forkme.png +0 -0
  116. data/site/media/gray.jpg +0 -0
  117. data/site/media/heart.gif +0 -0
  118. data/site/media/itcamefrom.png +0 -0
  119. data/site/media/license.jpg +0 -0
  120. data/site/media/lightbulb.jpg +0 -0
  121. data/site/media/menu_bkg.png +0 -0
  122. data/site/media/mini.png +0 -0
  123. data/site/media/nitro.png +0 -0
  124. data/site/media/patch125.jpg +0 -0
  125. data/site/media/people.jpg +0 -0
  126. data/site/media/reap.png +0 -0
  127. data/site/media/ruby-lg.png +0 -0
  128. data/site/media/ruby.gif +0 -0
  129. data/site/media/temp.png +0 -0
  130. data/site/media/treetop.jpg +0 -0
  131. data/site/news.html +110 -0
  132. data/site/news.page +22 -0
  133. data/site/post.layout +23 -0
  134. data/site/posts/2008-01-01-how-facets-was-born.html +110 -0
  135. data/site/posts/2008-01-01-how-facets-was-born.post +26 -0
  136. data/site/posts/2008-03-24-release-2-4.html +110 -0
  137. data/site/posts/2008-03-24-release-2-4.post +61 -0
  138. data/site/posts/2009-07-21-new-website.html +110 -0
  139. data/site/posts/2009-07-21-new-website.post +17 -0
  140. data/site/posts/2009-08-22-release-2-7.html +110 -0
  141. data/site/posts/2009-08-22-release-2-7.post +130 -0
  142. data/site/posts/2009-11-09-release-2-8.html +110 -0
  143. data/site/posts/2009-11-09-release-2-8.post +61 -0
  144. data/site/posts/2010-09-01-release-2-9.html +110 -0
  145. data/site/posts/2010-09-01-release-2-9.post +39 -0
  146. data/site/source.html +110 -0
  147. data/site/source.page +46 -0
  148. data/src/core-uncommon/facets/array/median.rb +17 -0
  149. data/src/core-uncommon/facets/array/op_pow.rb +9 -0
  150. data/src/core-uncommon/facets/array/percentile.rb +32 -0
  151. data/src/core-uncommon/facets/class/preallocate.rb +52 -0
  152. data/src/core-uncommon/facets/class/singleton.rb +8 -0
  153. data/src/core-uncommon/facets/enumerable/has.rb +22 -0
  154. data/src/core-uncommon/facets/enumerable/have.rb +1 -0
  155. data/src/core-uncommon/facets/integer/roman.rb +77 -0
  156. data/src/core-uncommon/facets/kernel/demo.rb +27 -0
  157. data/src/core-uncommon/facets/kernel/eigenclass.rb +21 -0
  158. data/src/core-uncommon/facets/kernel/instance_exec.rb +44 -0
  159. data/src/core-uncommon/facets/kernel/memo.rb +41 -0
  160. data/src/core-uncommon/facets/kernel/trap_chain.rb +23 -0
  161. data/src/core-uncommon/facets/kernel/y.rb +20 -0
  162. data/src/core-uncommon/facets/method/memoize.rb +13 -0
  163. data/src/core-uncommon/facets/module/attr_class_accessor.rb +39 -0
  164. data/src/core-uncommon/facets/module/attr_inheritor.rb +15 -0
  165. data/src/core-uncommon/facets/module/attr_tester.rb +49 -0
  166. data/src/core-uncommon/facets/module/attr_validator.rb +40 -0
  167. data/src/core-uncommon/facets/module/cattr.rb +264 -0
  168. data/src/core-uncommon/facets/module/class_accessor.rb +33 -0
  169. data/src/core-uncommon/facets/module/class_extend.rb +85 -0
  170. data/src/core-uncommon/facets/module/class_inheritor.rb +77 -0
  171. data/src/core-uncommon/facets/module/copy_inheritor.rb +42 -0
  172. data/src/core-uncommon/facets/module/enclosure.rb +82 -0
  173. data/src/core-uncommon/facets/module/enclosures.rb +1 -0
  174. data/src/core-uncommon/facets/module/include_as.rb +1 -0
  175. data/src/core-uncommon/facets/module/instance_function.rb +90 -0
  176. data/src/core-uncommon/facets/module/let.rb +27 -0
  177. data/src/core-uncommon/facets/module/memoize.rb +12 -0
  178. data/src/core-uncommon/facets/module/method_clash.rb +59 -0
  179. data/src/core-uncommon/facets/module/method_space.rb +99 -0
  180. data/src/core-uncommon/facets/module/module_load.rb +78 -0
  181. data/src/core-uncommon/facets/module/preextend.rb +29 -0
  182. data/src/core-uncommon/facets/module/prepend.rb +61 -0
  183. data/src/core-uncommon/facets/regexp/op_or.rb +13 -0
  184. data/src/core-uncommon/facets/string/acronym.rb +8 -0
  185. data/src/core-uncommon/facets/string/crypt.rb +19 -0
  186. data/src/core-uncommon/facets/string/roman.rb +1 -0
  187. data/src/core/facets.rb +70 -0
  188. data/src/core/facets.yml +57 -0
  189. data/src/core/facets/applique/file_helpers.rb +33 -0
  190. data/src/core/facets/array.rb +28 -0
  191. data/src/core/facets/array/after.rb +1 -0
  192. data/src/core/facets/array/before.rb +39 -0
  193. data/src/core/facets/array/collapse.rb +12 -0
  194. data/src/core/facets/array/collisions.rb +1 -0
  195. data/src/core/facets/array/combination.rb +43 -0
  196. data/src/core/facets/array/commonality.rb +37 -0
  197. data/src/core/facets/array/conjoin.rb +89 -0
  198. data/src/core/facets/array/contains.rb +7 -0
  199. data/src/core/facets/array/delete.rb +4 -0
  200. data/src/core/facets/array/delete_unless.rb +15 -0
  201. data/src/core/facets/array/delete_values.rb +50 -0
  202. data/src/core/facets/array/divide.rb +20 -0
  203. data/src/core/facets/array/duplicates.rb +1 -0
  204. data/src/core/facets/array/entropy.rb +39 -0
  205. data/src/core/facets/array/extract_options.rb +31 -0
  206. data/src/core/facets/array/from.rb +33 -0
  207. data/src/core/facets/array/index.rb +23 -0
  208. data/src/core/facets/array/indexable.rb +31 -0
  209. data/src/core/facets/array/merge.rb +22 -0
  210. data/src/core/facets/array/mode.rb +22 -0
  211. data/src/core/facets/array/nonuniq.rb +37 -0
  212. data/src/core/facets/array/not_empty.rb +13 -0
  213. data/src/core/facets/array/only.rb +26 -0
  214. data/src/core/facets/array/pad.rb +41 -0
  215. data/src/core/facets/array/peek.rb +1 -0
  216. data/src/core/facets/array/permutation.rb +32 -0
  217. data/src/core/facets/array/poke.rb +1 -0
  218. data/src/core/facets/array/probability.rb +39 -0
  219. data/src/core/facets/array/product.rb +30 -0
  220. data/src/core/facets/array/pull.rb +30 -0
  221. data/src/core/facets/array/recurse.rb +29 -0
  222. data/src/core/facets/array/recursively.rb +47 -0
  223. data/src/core/facets/array/rotate.rb +48 -0
  224. data/src/core/facets/array/select.rb +20 -0
  225. data/src/core/facets/array/splice.rb +27 -0
  226. data/src/core/facets/array/split.rb +27 -0
  227. data/src/core/facets/array/store.rb +12 -0
  228. data/src/core/facets/array/thru.rb +1 -0
  229. data/src/core/facets/array/traverse.rb +44 -0
  230. data/src/core/facets/array/uniq_by.rb +16 -0
  231. data/src/core/facets/binding.rb +32 -0
  232. data/src/core/facets/binding/__callee__.rb +1 -0
  233. data/src/core/facets/binding/__method__.rb +1 -0
  234. data/src/core/facets/binding/call_stack.rb +1 -0
  235. data/src/core/facets/binding/caller.rb +44 -0
  236. data/src/core/facets/binding/callstack.rb +1 -0
  237. data/src/core/facets/binding/defined.rb +12 -0
  238. data/src/core/facets/binding/eval.rb +14 -0
  239. data/src/core/facets/binding/local_variables.rb +17 -0
  240. data/src/core/facets/binding/op.rb +24 -0
  241. data/src/core/facets/binding/self.rb +12 -0
  242. data/src/core/facets/boolean.rb +121 -0
  243. data/src/core/facets/class.rb +20 -0
  244. data/src/core/facets/class/descendants.rb +35 -0
  245. data/src/core/facets/class/methodize.rb +19 -0
  246. data/src/core/facets/class/pathize.rb +19 -0
  247. data/src/core/facets/class/subclasses.rb +28 -0
  248. data/src/core/facets/class/to_proc.rb +25 -0
  249. data/src/core/facets/comparable.rb +20 -0
  250. data/src/core/facets/comparable/at_least.rb +1 -0
  251. data/src/core/facets/comparable/at_most.rb +1 -0
  252. data/src/core/facets/comparable/bound.rb +1 -0
  253. data/src/core/facets/comparable/cap.rb +34 -0
  254. data/src/core/facets/comparable/clip.rb +38 -0
  255. data/src/core/facets/comparable/cmp.rb +41 -0
  256. data/src/core/facets/comparable/op_get.rb +45 -0
  257. data/src/core/facets/denumerable.rb +76 -0
  258. data/src/core/facets/dir.rb +20 -0
  259. data/src/core/facets/dir/ascend.rb +56 -0
  260. data/src/core/facets/dir/descend.rb +1 -0
  261. data/src/core/facets/dir/each_child.rb +16 -0
  262. data/src/core/facets/dir/multiglob.rb +78 -0
  263. data/src/core/facets/dir/parent.rb +16 -0
  264. data/src/core/facets/dir/recurse.rb +35 -0
  265. data/src/core/facets/enumerable.rb +20 -0
  266. data/src/core/facets/enumerable/accumulate.rb +61 -0
  267. data/src/core/facets/enumerable/cluster_by.rb +18 -0
  268. data/src/core/facets/enumerable/collect_with_index.rb +2 -0
  269. data/src/core/facets/enumerable/compact_map.rb +36 -0
  270. data/src/core/facets/enumerable/count.rb +53 -0
  271. data/src/core/facets/enumerable/defer.rb +73 -0
  272. data/src/core/facets/enumerable/each_by.rb +33 -0
  273. data/src/core/facets/enumerable/each_with_object.rb +38 -0
  274. data/src/core/facets/enumerable/every.rb +40 -0
  275. data/src/core/facets/enumerable/ewise.rb +59 -0
  276. data/src/core/facets/enumerable/exclude.rb +16 -0
  277. data/src/core/facets/enumerable/expand.rb +15 -0
  278. data/src/core/facets/enumerable/filter.rb +33 -0
  279. data/src/core/facets/enumerable/find_yield.rb +42 -0
  280. data/src/core/facets/enumerable/frequency.rb +24 -0
  281. data/src/core/facets/enumerable/graph.rb +37 -0
  282. data/src/core/facets/enumerable/group_by.rb +33 -0
  283. data/src/core/facets/enumerable/map_by.rb +35 -0
  284. data/src/core/facets/enumerable/map_detect.rb +1 -0
  285. data/src/core/facets/enumerable/map_send.rb +26 -0
  286. data/src/core/facets/enumerable/map_with.rb +18 -0
  287. data/src/core/facets/enumerable/map_with_index.rb +23 -0
  288. data/src/core/facets/enumerable/mash.rb +1 -0
  289. data/src/core/facets/enumerable/modulate.rb +22 -0
  290. data/src/core/facets/enumerable/none.rb +32 -0
  291. data/src/core/facets/enumerable/occur.rb +38 -0
  292. data/src/core/facets/enumerable/one.rb +39 -0
  293. data/src/core/facets/enumerable/per.rb +85 -0
  294. data/src/core/facets/enumerable/purge.rb +43 -0
  295. data/src/core/facets/enumerable/recursively.rb +66 -0
  296. data/src/core/facets/enumerable/sum.rb +16 -0
  297. data/src/core/facets/enumerable/take.rb +16 -0
  298. data/src/core/facets/enumerable/uniq_by.rb +13 -0
  299. data/src/core/facets/enumerable/visit.rb +30 -0
  300. data/src/core/facets/enumerable/zip_map.rb +1 -0
  301. data/src/core/facets/enumerator.rb +75 -0
  302. data/src/core/facets/enumerator/fx.rb +36 -0
  303. data/src/core/facets/exception.rb +21 -0
  304. data/src/core/facets/exception/detail.rb +23 -0
  305. data/src/core/facets/exception/raised.rb +14 -0
  306. data/src/core/facets/exception/suppress.rb +22 -0
  307. data/src/core/facets/file.rb +20 -0
  308. data/src/core/facets/file/append.rb +14 -0
  309. data/src/core/facets/file/create.rb +21 -0
  310. data/src/core/facets/file/ext.rb +36 -0
  311. data/src/core/facets/file/null.rb +21 -0
  312. data/src/core/facets/file/read_binary.rb +18 -0
  313. data/src/core/facets/file/read_list.rb +34 -0
  314. data/src/core/facets/file/rewrite.rb +90 -0
  315. data/src/core/facets/file/rootname.rb +23 -0
  316. data/src/core/facets/file/sanitize.rb +18 -0
  317. data/src/core/facets/file/split_all.rb +19 -0
  318. data/src/core/facets/file/split_root.rb +13 -0
  319. data/src/core/facets/file/write.rb +24 -0
  320. data/src/core/facets/file/writelines.rb +27 -0
  321. data/src/core/facets/filetest.rb +20 -0
  322. data/src/core/facets/filetest/absolute.rb +1 -0
  323. data/src/core/facets/filetest/contains.rb +12 -0
  324. data/src/core/facets/filetest/relative.rb +38 -0
  325. data/src/core/facets/filetest/root.rb +17 -0
  326. data/src/core/facets/filetest/safe.rb +20 -0
  327. data/src/core/facets/filetest/separator_pattern.rb +19 -0
  328. data/src/core/facets/float.rb +20 -0
  329. data/src/core/facets/float/round.rb +2 -0
  330. data/src/core/facets/functor.rb +78 -0
  331. data/src/core/facets/hash.rb +20 -0
  332. data/src/core/facets/hash/alias.rb +31 -0
  333. data/src/core/facets/hash/argumentize.rb +28 -0
  334. data/src/core/facets/hash/at.rb +8 -0
  335. data/src/core/facets/hash/autonew.rb +24 -0
  336. data/src/core/facets/hash/collate.rb +62 -0
  337. data/src/core/facets/hash/count.rb +12 -0
  338. data/src/core/facets/hash/data.rb +41 -0
  339. data/src/core/facets/hash/dearray_values.rb +46 -0
  340. data/src/core/facets/hash/deep_merge.rb +33 -0
  341. data/src/core/facets/hash/delete.rb +4 -0
  342. data/src/core/facets/hash/delete_at.rb +7 -0
  343. data/src/core/facets/hash/delete_unless.rb +17 -0
  344. data/src/core/facets/hash/delete_values.rb +41 -0
  345. data/src/core/facets/hash/diff.rb +17 -0
  346. data/src/core/facets/hash/except.rb +25 -0
  347. data/src/core/facets/hash/graph.rb +18 -0
  348. data/src/core/facets/hash/insert.rb +19 -0
  349. data/src/core/facets/hash/inverse.rb +30 -0
  350. data/src/core/facets/hash/join.rb +17 -0
  351. data/src/core/facets/hash/keys.rb +45 -0
  352. data/src/core/facets/hash/mash.rb +1 -0
  353. data/src/core/facets/hash/new_with.rb +15 -0
  354. data/src/core/facets/hash/op.rb +7 -0
  355. data/src/core/facets/hash/op_add.rb +12 -0
  356. data/src/core/facets/hash/op_and.rb +33 -0
  357. data/src/core/facets/hash/op_mul.rb +18 -0
  358. data/src/core/facets/hash/op_or.rb +12 -0
  359. data/src/core/facets/hash/op_push.rb +17 -0
  360. data/src/core/facets/hash/op_sub.rb +26 -0
  361. data/src/core/facets/hash/recurse.rb +29 -0
  362. data/src/core/facets/hash/recursively.rb +61 -0
  363. data/src/core/facets/hash/rekey.rb +79 -0
  364. data/src/core/facets/hash/replace_each.rb +16 -0
  365. data/src/core/facets/hash/reverse_merge.rb +30 -0
  366. data/src/core/facets/hash/select.rb +17 -0
  367. data/src/core/facets/hash/slice.rb +37 -0
  368. data/src/core/facets/hash/stringify_keys.rb +1 -0
  369. data/src/core/facets/hash/subset.rb +24 -0
  370. data/src/core/facets/hash/swap.rb +17 -0
  371. data/src/core/facets/hash/symbolize_keys.rb +92 -0
  372. data/src/core/facets/hash/to_h.rb +1 -0
  373. data/src/core/facets/hash/to_mod.rb +33 -0
  374. data/src/core/facets/hash/to_options.rb +1 -0
  375. data/src/core/facets/hash/to_proc.rb +39 -0
  376. data/src/core/facets/hash/to_struct.rb +17 -0
  377. data/src/core/facets/hash/traverse.rb +47 -0
  378. data/src/core/facets/hash/update.rb +6 -0
  379. data/src/core/facets/hash/update_each.rb +18 -0
  380. data/src/core/facets/hash/update_keys.rb +20 -0
  381. data/src/core/facets/hash/update_values.rb +20 -0
  382. data/src/core/facets/hash/weave.rb +76 -0
  383. data/src/core/facets/hash/zip.rb +18 -0
  384. data/src/core/facets/indexable.rb +270 -0
  385. data/src/core/facets/instance.rb +157 -0
  386. data/src/core/facets/integer.rb +20 -0
  387. data/src/core/facets/integer/bit.rb +1 -0
  388. data/src/core/facets/integer/bitmask.rb +99 -0
  389. data/src/core/facets/integer/even.rb +1 -0
  390. data/src/core/facets/integer/factorial.rb +21 -0
  391. data/src/core/facets/integer/multiple.rb +19 -0
  392. data/src/core/facets/integer/odd.rb +37 -0
  393. data/src/core/facets/integer/of.rb +18 -0
  394. data/src/core/facets/integer/ordinal.rb +24 -0
  395. data/src/core/facets/kernel.rb +20 -0
  396. data/src/core/facets/kernel/__callee__.rb +1 -0
  397. data/src/core/facets/kernel/__class__.rb +9 -0
  398. data/src/core/facets/kernel/__dir__.rb +26 -0
  399. data/src/core/facets/kernel/__get__.rb +15 -0
  400. data/src/core/facets/kernel/__method__.rb +48 -0
  401. data/src/core/facets/kernel/__set__.rb +1 -0
  402. data/src/core/facets/kernel/as.rb +115 -0
  403. data/src/core/facets/kernel/ask.rb +28 -0
  404. data/src/core/facets/kernel/assign.rb +76 -0
  405. data/src/core/facets/kernel/assign_from.rb +1 -0
  406. data/src/core/facets/kernel/attr_singleton.rb +59 -0
  407. data/src/core/facets/kernel/blank.rb +84 -0
  408. data/src/core/facets/kernel/call_stack.rb +56 -0
  409. data/src/core/facets/kernel/callstack.rb +1 -0
  410. data/src/core/facets/kernel/case.rb +8 -0
  411. data/src/core/facets/kernel/complete.rb +26 -0
  412. data/src/core/facets/kernel/constant.rb +20 -0
  413. data/src/core/facets/kernel/d.rb +27 -0
  414. data/src/core/facets/kernel/deep_clone.rb +1 -0
  415. data/src/core/facets/kernel/deep_copy.rb +38 -0
  416. data/src/core/facets/kernel/disable_warnings.rb +26 -0
  417. data/src/core/facets/kernel/enable_warnings.rb +1 -0
  418. data/src/core/facets/kernel/equate.rb +16 -0
  419. data/src/core/facets/kernel/ergo.rb +43 -0
  420. data/src/core/facets/kernel/extend.rb +27 -0
  421. data/src/core/facets/kernel/extension.rb +12 -0
  422. data/src/core/facets/kernel/false.rb +2 -0
  423. data/src/core/facets/kernel/here.rb +11 -0
  424. data/src/core/facets/kernel/identical.rb +4 -0
  425. data/src/core/facets/kernel/in.rb +13 -0
  426. data/src/core/facets/kernel/instance_assign.rb +20 -0
  427. data/src/core/facets/kernel/instance_class.rb +26 -0
  428. data/src/core/facets/kernel/instance_send.rb +7 -0
  429. data/src/core/facets/kernel/load_all.rb +1 -0
  430. data/src/core/facets/kernel/load_relative.rb +1 -0
  431. data/src/core/facets/kernel/maybe.rb +19 -0
  432. data/src/core/facets/kernel/meta_alias.rb +23 -0
  433. data/src/core/facets/kernel/meta_class.rb +17 -0
  434. data/src/core/facets/kernel/meta_def.rb +20 -0
  435. data/src/core/facets/kernel/meta_eval.rb +20 -0
  436. data/src/core/facets/kernel/method.rb +50 -0
  437. data/src/core/facets/kernel/no.rb +1 -0
  438. data/src/core/facets/kernel/not.rb +37 -0
  439. data/src/core/facets/kernel/not_nil.rb +18 -0
  440. data/src/core/facets/kernel/object_class.rb +10 -0
  441. data/src/core/facets/kernel/object_hexid.rb +31 -0
  442. data/src/core/facets/kernel/object_send.rb +33 -0
  443. data/src/core/facets/kernel/p.rb +24 -0
  444. data/src/core/facets/kernel/presence.rb +1 -0
  445. data/src/core/facets/kernel/present.rb +1 -0
  446. data/src/core/facets/kernel/qua_class.rb +31 -0
  447. data/src/core/facets/kernel/require_all.rb +42 -0
  448. data/src/core/facets/kernel/require_relative.rb +52 -0
  449. data/src/core/facets/kernel/respond.rb +42 -0
  450. data/src/core/facets/kernel/returning.rb +27 -0
  451. data/src/core/facets/kernel/silence.rb +73 -0
  452. data/src/core/facets/kernel/silence_warnings.rb +1 -0
  453. data/src/core/facets/kernel/singleton_class.rb +9 -0
  454. data/src/core/facets/kernel/source_location.rb +13 -0
  455. data/src/core/facets/kernel/super_method.rb +11 -0
  456. data/src/core/facets/kernel/tap.rb +48 -0
  457. data/src/core/facets/kernel/temporarily.rb +23 -0
  458. data/src/core/facets/kernel/true.rb +26 -0
  459. data/src/core/facets/kernel/try.rb +58 -0
  460. data/src/core/facets/kernel/val.rb +19 -0
  461. data/src/core/facets/kernel/with.rb +20 -0
  462. data/src/core/facets/kernel/writers.rb +91 -0
  463. data/src/core/facets/kernel/yes.rb +25 -0
  464. data/src/core/facets/lazy.rb +238 -0
  465. data/src/core/facets/matchdata.rb +20 -0
  466. data/src/core/facets/matchdata/match.rb +15 -0
  467. data/src/core/facets/matchdata/matchset.rb +44 -0
  468. data/src/core/facets/method.rb +20 -0
  469. data/src/core/facets/module.rb +20 -0
  470. data/src/core/facets/module/abstract.rb +24 -0
  471. data/src/core/facets/module/alias_accessor.rb +45 -0
  472. data/src/core/facets/module/alias_method_chain.rb +67 -0
  473. data/src/core/facets/module/alias_module_function.rb +30 -0
  474. data/src/core/facets/module/all_instance_methods.rb +19 -0
  475. data/src/core/facets/module/ancestor.rb +16 -0
  476. data/src/core/facets/module/anonymous.rb +25 -0
  477. data/src/core/facets/module/attr_setter.rb +52 -0
  478. data/src/core/facets/module/basename.rb +31 -0
  479. data/src/core/facets/module/can.rb +20 -0
  480. data/src/core/facets/module/class.rb +12 -0
  481. data/src/core/facets/module/class_def.rb +2 -0
  482. data/src/core/facets/module/class_method_defined.rb +1 -0
  483. data/src/core/facets/module/extend.rb +1 -0
  484. data/src/core/facets/module/home.rb +90 -0
  485. data/src/core/facets/module/homename.rb +1 -0
  486. data/src/core/facets/module/housing.rb +1 -0
  487. data/src/core/facets/module/include_function_module.rb +25 -0
  488. data/src/core/facets/module/instance_method.rb +25 -0
  489. data/src/core/facets/module/instance_method_defined.rb +23 -0
  490. data/src/core/facets/module/integrate.rb +49 -0
  491. data/src/core/facets/module/is.rb +57 -0
  492. data/src/core/facets/module/methodize.rb +20 -0
  493. data/src/core/facets/module/modname.rb +1 -0
  494. data/src/core/facets/module/module_def.rb +31 -0
  495. data/src/core/facets/module/nodef.rb +13 -0
  496. data/src/core/facets/module/op.rb +107 -0
  497. data/src/core/facets/module/op_add.rb +1 -0
  498. data/src/core/facets/module/op_mul.rb +1 -0
  499. data/src/core/facets/module/op_sub.rb +1 -0
  500. data/src/core/facets/module/pathize.rb +20 -0
  501. data/src/core/facets/module/redefine_method.rb +37 -0
  502. data/src/core/facets/module/redirect_method.rb +46 -0
  503. data/src/core/facets/module/remove.rb +1 -0
  504. data/src/core/facets/module/rename_method.rb +30 -0
  505. data/src/core/facets/module/revise.rb +41 -0
  506. data/src/core/facets/module/set.rb +36 -0
  507. data/src/core/facets/module/singleton_method_defined.rb +1 -0
  508. data/src/core/facets/module/spacename.rb +25 -0
  509. data/src/core/facets/module/to_obj.rb +20 -0
  510. data/src/core/facets/module/wrap_method.rb +35 -0
  511. data/src/core/facets/na.rb +21 -0
  512. data/src/core/facets/nilclass.rb +20 -0
  513. data/src/core/facets/nilclass/ergo.rb +1 -0
  514. data/src/core/facets/nilclass/to_f.rb +17 -0
  515. data/src/core/facets/numeric.rb +20 -0
  516. data/src/core/facets/numeric/approx.rb +15 -0
  517. data/src/core/facets/numeric/distance.rb +14 -0
  518. data/src/core/facets/numeric/length.rb +10 -0
  519. data/src/core/facets/numeric/round.rb +69 -0
  520. data/src/core/facets/numeric/round_at.rb +1 -0
  521. data/src/core/facets/numeric/round_to.rb +1 -0
  522. data/src/core/facets/numeric/spacing.rb +20 -0
  523. data/src/core/facets/object.rb +20 -0
  524. data/src/core/facets/object/clone.rb +1 -0
  525. data/src/core/facets/object/dup.rb +79 -0
  526. data/src/core/facets/object/object_state.rb +77 -0
  527. data/src/core/facets/object/replace.rb +43 -0
  528. data/src/core/facets/object/try_dup.rb +1 -0
  529. data/src/core/facets/objectspace.rb +20 -0
  530. data/src/core/facets/objectspace/classes.rb +11 -0
  531. data/src/core/facets/objectspace/op_fetch.rb +3 -0
  532. data/src/core/facets/objectspace/reflect.rb +62 -0
  533. data/src/core/facets/proc.rb +20 -0
  534. data/src/core/facets/proc/bind.rb +24 -0
  535. data/src/core/facets/proc/bind_to.rb +17 -0
  536. data/src/core/facets/proc/compose.rb +42 -0
  537. data/src/core/facets/proc/curry.rb +32 -0
  538. data/src/core/facets/proc/partial.rb +33 -0
  539. data/src/core/facets/proc/to_method.rb +38 -0
  540. data/src/core/facets/proc/update.rb +9 -0
  541. data/src/core/facets/process.rb +20 -0
  542. data/src/core/facets/process/daemon.rb +32 -0
  543. data/src/core/facets/range.rb +20 -0
  544. data/src/core/facets/range/combine.rb +47 -0
  545. data/src/core/facets/range/overlap.rb +12 -0
  546. data/src/core/facets/range/to_r.rb +26 -0
  547. data/src/core/facets/range/umbrella.rb +1 -0
  548. data/src/core/facets/range/within.rb +64 -0
  549. data/src/core/facets/regexp.rb +20 -0
  550. data/src/core/facets/regexp/arity.rb +17 -0
  551. data/src/core/facets/regexp/multiline.rb +13 -0
  552. data/src/core/facets/regexp/op_add.rb +18 -0
  553. data/src/core/facets/regexp/op_or.rb +18 -0
  554. data/src/core/facets/regexp/to_re.rb +28 -0
  555. data/src/core/facets/string.rb +20 -0
  556. data/src/core/facets/string/align.rb +125 -0
  557. data/src/core/facets/string/bracket.rb +64 -0
  558. data/src/core/facets/string/bytes.rb +21 -0
  559. data/src/core/facets/string/camelcase.rb +62 -0
  560. data/src/core/facets/string/capitalized.rb +49 -0
  561. data/src/core/facets/string/characters.rb +13 -0
  562. data/src/core/facets/string/cleanlines.rb +27 -0
  563. data/src/core/facets/string/cleave.rb +36 -0
  564. data/src/core/facets/string/cmp.rb +1 -0
  565. data/src/core/facets/string/compress_lines.rb +17 -0
  566. data/src/core/facets/string/divide.rb +18 -0
  567. data/src/core/facets/string/each_char.rb +31 -0
  568. data/src/core/facets/string/each_word.rb +17 -0
  569. data/src/core/facets/string/edit_distance.rb +124 -0
  570. data/src/core/facets/string/end_with.rb +1 -0
  571. data/src/core/facets/string/exclude.rb +10 -0
  572. data/src/core/facets/string/expand_tab.rb +35 -0
  573. data/src/core/facets/string/file.rb +35 -0
  574. data/src/core/facets/string/fold.rb +39 -0
  575. data/src/core/facets/string/indent.rb +67 -0
  576. data/src/core/facets/string/index_all.rb +24 -0
  577. data/src/core/facets/string/interpolate.rb +19 -0
  578. data/src/core/facets/string/lchomp.rb +33 -0
  579. data/src/core/facets/string/line_wrap.rb +18 -0
  580. data/src/core/facets/string/lines.rb +19 -0
  581. data/src/core/facets/string/lowercase.rb +1 -0
  582. data/src/core/facets/string/margin.rb +31 -0
  583. data/src/core/facets/string/methodize.rb +27 -0
  584. data/src/core/facets/string/modulize.rb +31 -0
  585. data/src/core/facets/string/mscan.rb +19 -0
  586. data/src/core/facets/string/natcmp.rb +86 -0
  587. data/src/core/facets/string/nchar.rb +32 -0
  588. data/src/core/facets/string/newlines.rb +32 -0
  589. data/src/core/facets/string/op_div.rb +14 -0
  590. data/src/core/facets/string/op_sub.rb +14 -0
  591. data/src/core/facets/string/outdent.rb +1 -0
  592. data/src/core/facets/string/pathize.rb +28 -0
  593. data/src/core/facets/string/quote.rb +93 -0
  594. data/src/core/facets/string/random_binary.rb +10 -0
  595. data/src/core/facets/string/range.rb +60 -0
  596. data/src/core/facets/string/range_all.rb +1 -0
  597. data/src/core/facets/string/range_of_line.rb +1 -0
  598. data/src/core/facets/string/rewrite.rb +24 -0
  599. data/src/core/facets/string/shatter.rb +22 -0
  600. data/src/core/facets/string/similarity.rb +89 -0
  601. data/src/core/facets/string/snakecase.rb +21 -0
  602. data/src/core/facets/string/splice.rb +33 -0
  603. data/src/core/facets/string/squish.rb +22 -0
  604. data/src/core/facets/string/start_with.rb +60 -0
  605. data/src/core/facets/string/store.rb +7 -0
  606. data/src/core/facets/string/subtract.rb +4 -0
  607. data/src/core/facets/string/tab.rb +17 -0
  608. data/src/core/facets/string/tabto.rb +19 -0
  609. data/src/core/facets/string/titlecase.rb +15 -0
  610. data/src/core/facets/string/to_re.rb +26 -0
  611. data/src/core/facets/string/unbracket.rb +1 -0
  612. data/src/core/facets/string/underscore.rb +22 -0
  613. data/src/core/facets/string/unfold.rb +27 -0
  614. data/src/core/facets/string/unindent.rb +1 -0
  615. data/src/core/facets/string/unquote.rb +1 -0
  616. data/src/core/facets/string/uppercase.rb +23 -0
  617. data/src/core/facets/string/variablize.rb +13 -0
  618. data/src/core/facets/string/word_wrap.rb +32 -0
  619. data/src/core/facets/string/words.rb +12 -0
  620. data/src/core/facets/string/xor.rb +26 -0
  621. data/src/core/facets/struct.rb +20 -0
  622. data/src/core/facets/struct/attributes.rb +15 -0
  623. data/src/core/facets/symbol.rb +20 -0
  624. data/src/core/facets/symbol/as_s.rb +17 -0
  625. data/src/core/facets/symbol/bang.rb +1 -0
  626. data/src/core/facets/symbol/chomp.rb +24 -0
  627. data/src/core/facets/symbol/generate.rb +24 -0
  628. data/src/core/facets/symbol/not.rb +29 -0
  629. data/src/core/facets/symbol/op_div.rb +21 -0
  630. data/src/core/facets/symbol/plain.rb +43 -0
  631. data/src/core/facets/symbol/query.rb +1 -0
  632. data/src/core/facets/symbol/setter.rb +1 -0
  633. data/src/core/facets/symbol/succ.rb +23 -0
  634. data/src/core/facets/symbol/thrown.rb +18 -0
  635. data/src/core/facets/symbol/to_proc.rb +33 -0
  636. data/src/core/facets/symbol/variablize.rb +14 -0
  637. data/src/core/facets/time.rb +20 -0
  638. data/src/core/facets/time/ago.rb +1 -0
  639. data/src/core/facets/time/change.rb +46 -0
  640. data/src/core/facets/time/dst_adjustment.rb +24 -0
  641. data/src/core/facets/time/elapse.rb +18 -0
  642. data/src/core/facets/time/future.rb +14 -0
  643. data/src/core/facets/time/hence.rb +1 -0
  644. data/src/core/facets/time/in.rb +1 -0
  645. data/src/core/facets/time/less.rb +1 -0
  646. data/src/core/facets/time/past.rb +1 -0
  647. data/src/core/facets/time/round_to.rb +21 -0
  648. data/src/core/facets/time/set.rb +27 -0
  649. data/src/core/facets/time/shift.rb +95 -0
  650. data/src/core/facets/time/stamp.rb +45 -0
  651. data/src/core/facets/time/to_time.rb +21 -0
  652. data/src/core/facets/time/trunc.rb +15 -0
  653. data/src/core/facets/to_hash.rb +336 -0
  654. data/src/core/facets/unboundmethod.rb +20 -0
  655. data/src/core/facets/unboundmethod/arguments.rb +44 -0
  656. data/src/core/facets/unboundmethod/name.rb +28 -0
  657. data/src/standard/facets/basicobject.rb +75 -0
  658. data/src/standard/facets/cgi.rb +44 -0
  659. data/src/standard/facets/continuation.rb +56 -0
  660. data/src/standard/facets/date.rb +433 -0
  661. data/src/standard/facets/digest.rb +2 -0
  662. data/src/standard/facets/digest/base64digest.rb +45 -0
  663. data/src/standard/facets/digest/salted_digest.rb +44 -0
  664. data/src/standard/facets/erb.rb +66 -0
  665. data/src/standard/facets/fileutils.rb +13 -0
  666. data/src/standard/facets/fileutils/amass.rb +33 -0
  667. data/src/standard/facets/fileutils/cp_rx.rb +44 -0
  668. data/src/standard/facets/fileutils/head.rb +1 -0
  669. data/src/standard/facets/fileutils/ln_r.rb +99 -0
  670. data/src/standard/facets/fileutils/outofdate.rb +38 -0
  671. data/src/standard/facets/fileutils/safe_ln.rb +27 -0
  672. data/src/standard/facets/fileutils/slice.rb +55 -0
  673. data/src/standard/facets/fileutils/stage.rb +66 -0
  674. data/src/standard/facets/fileutils/tail.rb +1 -0
  675. data/src/standard/facets/fileutils/wc.rb +63 -0
  676. data/src/standard/facets/fileutils/whereis.rb +66 -0
  677. data/src/standard/facets/fileutils/which.rb +60 -0
  678. data/src/standard/facets/find.rb +16 -0
  679. data/src/standard/facets/getoptlong.rb +59 -0
  680. data/src/standard/facets/math.rb +6 -0
  681. data/src/standard/facets/math/abs.rb +8 -0
  682. data/src/standard/facets/math/acot.rb +8 -0
  683. data/src/standard/facets/math/acoth.rb +8 -0
  684. data/src/standard/facets/math/acsc.rb +8 -0
  685. data/src/standard/facets/math/acsch.rb +8 -0
  686. data/src/standard/facets/math/amd.rb +17 -0
  687. data/src/standard/facets/math/approx_equal.rb +15 -0
  688. data/src/standard/facets/math/asec.rb +8 -0
  689. data/src/standard/facets/math/asech.rb +8 -0
  690. data/src/standard/facets/math/atkinson_index.rb +16 -0
  691. data/src/standard/facets/math/beta.rb +9 -0
  692. data/src/standard/facets/math/cdf.rb +10 -0
  693. data/src/standard/facets/math/ceil.rb +8 -0
  694. data/src/standard/facets/math/cot.rb +8 -0
  695. data/src/standard/facets/math/coth.rb +8 -0
  696. data/src/standard/facets/math/csc.rb +8 -0
  697. data/src/standard/facets/math/csch.rb +8 -0
  698. data/src/standard/facets/math/delta.rb +9 -0
  699. data/src/standard/facets/math/epsilon.rb +21 -0
  700. data/src/standard/facets/math/exp10.rb +8 -0
  701. data/src/standard/facets/math/exp2.rb +8 -0
  702. data/src/standard/facets/math/factorial.rb +37 -0
  703. data/src/standard/facets/math/floor.rb +8 -0
  704. data/src/standard/facets/math/gamma.rb +12 -0
  705. data/src/standard/facets/math/gcd.rb +23 -0
  706. data/src/standard/facets/math/gini_coefficient.rb +33 -0
  707. data/src/standard/facets/math/kldivergence.rb +19 -0
  708. data/src/standard/facets/math/lcm.rb +15 -0
  709. data/src/standard/facets/math/lgamma.rb +21 -0
  710. data/src/standard/facets/math/linsolve.rb +10 -0
  711. data/src/standard/facets/math/log2.rb +14 -0
  712. data/src/standard/facets/math/max.rb +1 -0
  713. data/src/standard/facets/math/mean.rb +16 -0
  714. data/src/standard/facets/math/median.rb +15 -0
  715. data/src/standard/facets/math/min.rb +35 -0
  716. data/src/standard/facets/math/pow.rb +8 -0
  717. data/src/standard/facets/math/pstd.rb +1 -0
  718. data/src/standard/facets/math/pvariance.rb +1 -0
  719. data/src/standard/facets/math/rmd.rb +16 -0
  720. data/src/standard/facets/math/root.rb +8 -0
  721. data/src/standard/facets/math/sec.rb +8 -0
  722. data/src/standard/facets/math/sech.rb +8 -0
  723. data/src/standard/facets/math/sign.rb +9 -0
  724. data/src/standard/facets/math/sinc.rb +8 -0
  725. data/src/standard/facets/math/sqr.rb +8 -0
  726. data/src/standard/facets/math/sqsolve.rb +53 -0
  727. data/src/standard/facets/math/std.rb +27 -0
  728. data/src/standard/facets/math/stderr.rb +1 -0
  729. data/src/standard/facets/math/sum.rb +16 -0
  730. data/src/standard/facets/math/summed_sqdevs.rb +14 -0
  731. data/src/standard/facets/math/theil_index.rb +24 -0
  732. data/src/standard/facets/math/variance.rb +31 -0
  733. data/src/standard/facets/net/http.rb +32 -0
  734. data/src/standard/facets/ostruct.rb +210 -0
  735. data/src/standard/facets/pathname.rb +240 -0
  736. data/src/standard/facets/random.rb +446 -0
  737. data/src/standard/facets/rbconfig.rb +78 -0
  738. data/src/standard/facets/set.rb +32 -0
  739. data/src/standard/facets/shellwords.rb +112 -0
  740. data/src/standard/facets/strscan.rb +16 -0
  741. data/src/standard/facets/thread.rb +98 -0
  742. data/src/standard/facets/uri.rb +211 -0
  743. data/src/standard/facets/yaml.rb +59 -0
  744. data/src/standard/facets/zlib.rb +38 -0
  745. data/src/supplemental/facets/argvector.rb +343 -0
  746. data/src/supplemental/facets/atomicfile.rb +51 -0
  747. data/src/supplemental/facets/enumargs.rb +195 -0
  748. data/src/supplemental/facets/interval.rb +284 -0
  749. data/src/supplemental/facets/main.rb +62 -0
  750. data/src/supplemental/facets/memoizable.rb +141 -0
  751. data/src/supplemental/facets/metaid.rb +7 -0
  752. data/src/supplemental/facets/multipliers.rb +65 -0
  753. data/src/supplemental/facets/multiton.rb +387 -0
  754. data/src/supplemental/facets/nullclass.rb +38 -0
  755. data/src/supplemental/facets/opesc.rb +79 -0
  756. data/src/supplemental/facets/platform.rb +377 -0
  757. data/src/supplemental/facets/reference.rb +83 -0
  758. data/src/supplemental/facets/timer.rb +207 -0
  759. data/src/supplemental/facets/tuple.rb +282 -0
  760. data/test/core-uncommon/array/test_median.rb +6 -4
  761. data/test/core-uncommon/array/test_percentile.rb +6 -4
  762. data/test/core-uncommon/class/test_preallocate.rb +22 -17
  763. data/test/core-uncommon/module/test_cattr.rb +35 -27
  764. data/test/core-uncommon/module/test_class_extend.rb +54 -47
  765. data/test/core-uncommon/module/test_class_inheritor.rb +108 -121
  766. data/test/core-uncommon/module/test_copy_inheritor.rb +25 -22
  767. data/test/core-uncommon/module/test_enclosure.rb +13 -9
  768. data/test/core-uncommon/module/test_instance_function.rb +20 -16
  769. data/test/core-uncommon/module/test_memoize.rb +23 -20
  770. data/test/core-uncommon/module/test_method_clash.rb +59 -0
  771. data/test/core-uncommon/module/test_method_space.rb +52 -44
  772. data/test/core-uncommon/module/test_module_load.rb +13 -9
  773. data/test/core-uncommon/module/test_preextend.rb +16 -12
  774. data/test/core-uncommon/module/test_prepend.rb +16 -12
  775. data/test/core/array/test_after.rb +18 -8
  776. data/test/core/array/test_before.rb +19 -9
  777. data/test/core/array/test_collapse.rb +7 -3
  778. data/test/core/array/test_combination.rb +17 -13
  779. data/test/core/array/test_commonality.rb +25 -17
  780. data/test/core/array/test_conjoin.rb +35 -31
  781. data/test/core/array/test_contains.rb +8 -4
  782. data/test/core/array/test_delete.rb +31 -16
  783. data/test/core/array/test_divide.rb +8 -4
  784. data/test/core/array/test_duplicates.rb +8 -4
  785. data/test/core/array/test_entropy.rb +14 -6
  786. data/test/core/array/test_extract_options.rb +17 -9
  787. data/test/core/array/test_first.rb +10 -6
  788. data/test/core/array/test_index.rb +12 -8
  789. data/test/core/array/test_last.rb +10 -6
  790. data/test/core/array/test_merge.rb +18 -10
  791. data/test/core/array/test_mode.rb +10 -6
  792. data/test/core/array/test_nonuniq.rb +16 -8
  793. data/test/core/array/test_not_empty.rb +10 -6
  794. data/test/core/array/test_only.rb +10 -6
  795. data/test/core/array/test_pad.rb +29 -21
  796. data/test/core/array/test_peek.rb +19 -15
  797. data/test/core/array/test_permutation.rb +11 -7
  798. data/test/core/array/test_poke.rb +14 -10
  799. data/test/core/array/test_probability.rb +11 -4
  800. data/test/core/array/test_product.rb +24 -20
  801. data/test/core/array/test_pull.rb +9 -5
  802. data/test/core/array/test_recurse.rb +29 -21
  803. data/test/core/array/test_recursively.rb +24 -20
  804. data/test/core/array/test_rotate.rb +27 -19
  805. data/test/core/array/test_select.rb +9 -5
  806. data/test/core/array/test_splice.rb +14 -10
  807. data/test/core/array/test_split.rb +13 -9
  808. data/test/core/array/test_store.rb +13 -11
  809. data/test/core/array/test_traverse.rb +17 -9
  810. data/test/core/array/test_uniq_by.rb +10 -6
  811. data/test/core/binding/test_caller.rb +35 -18
  812. data/test/core/binding/test_defined.rb +5 -3
  813. data/test/core/binding/test_eval.rb +5 -3
  814. data/test/core/binding/test_local_variables.rb +15 -11
  815. data/test/core/binding/test_op.rb +10 -6
  816. data/test/core/binding/test_self.rb +7 -4
  817. data/test/core/class/test_descendents.rb +11 -7
  818. data/test/core/class/test_subclasses.rb +11 -8
  819. data/test/core/class/test_to_proc.rb +9 -5
  820. data/test/core/comparable/test_bound.rb +23 -19
  821. data/test/core/comparable/test_cap.rb +25 -13
  822. data/test/core/comparable/test_clip.rb +23 -19
  823. data/test/core/comparable/test_cmp.rb +9 -5
  824. data/test/core/comparable/test_op_get.rb +42 -37
  825. data/test/core/denumerable_tc.rb +132 -91
  826. data/test/core/dir/test_ascend.rb +27 -19
  827. data/test/core/dir/test_descend.rb +14 -10
  828. data/test/core/dir/test_each_child.rb +15 -11
  829. data/test/core/dir/test_multiglob.rb +16 -8
  830. data/test/core/dir/test_parent.rb +7 -3
  831. data/test/core/dir/test_recurse.rb +21 -13
  832. data/test/core/enumerable/test_accumulate.rb +31 -23
  833. data/test/core/enumerable/test_cluster_by.rb +20 -16
  834. data/test/core/enumerable/test_compact_map.rb +14 -18
  835. data/test/core/enumerable/test_count.rb +22 -18
  836. data/test/core/enumerable/test_defer.rb +18 -15
  837. data/test/core/enumerable/test_each_by.rb +40 -36
  838. data/test/core/enumerable/test_each_with_object.rb +10 -6
  839. data/test/core/enumerable/test_every.rb +23 -15
  840. data/test/core/enumerable/test_ewise.rb +22 -14
  841. data/test/core/enumerable/test_exclude.rb +9 -5
  842. data/test/core/enumerable/test_expand.rb +9 -5
  843. data/test/core/enumerable/test_filter.rb +11 -7
  844. data/test/core/enumerable/test_find_yield.rb +71 -64
  845. data/test/core/enumerable/test_frequency.rb +8 -4
  846. data/test/core/enumerable/test_graph.rb +32 -28
  847. data/test/core/enumerable/test_group_by.rb +26 -22
  848. data/test/core/enumerable/test_map_by.rb +19 -15
  849. data/test/core/enumerable/test_map_send.rb +19 -3
  850. data/test/core/enumerable/test_map_with_index.rb +15 -7
  851. data/test/core/enumerable/test_mash.rb +10 -6
  852. data/test/core/enumerable/test_modulate.rb +10 -6
  853. data/test/core/enumerable/test_none.rb +20 -10
  854. data/test/core/enumerable/test_occur.rb +20 -7
  855. data/test/core/enumerable/test_one.rb +24 -12
  856. data/test/core/enumerable/test_per.rb +10 -6
  857. data/test/core/enumerable/test_purge.rb +14 -10
  858. data/test/core/enumerable/test_recursively.rb +22 -18
  859. data/test/core/enumerable/test_sum.rb +7 -3
  860. data/test/core/enumerable/test_take.rb +8 -4
  861. data/test/core/enumerable/test_uniq_by.rb +16 -10
  862. data/test/core/enumerable/test_visit.rb +9 -5
  863. data/test/core/enumerator/test_fx.rb +9 -5
  864. data/test/core/enumerator/test_new.rb +14 -10
  865. data/test/core/enumerator_tc.rb +29 -17
  866. data/test/core/exception/test_detail.rb +7 -8
  867. data/test/core/exception/test_raised.rb +6 -4
  868. data/test/core/exception/test_suppress.rb +6 -4
  869. data/test/core/file/test_append.rb +15 -12
  870. data/test/core/file/test_create.rb +10 -6
  871. data/test/core/file/test_ext.rb +23 -19
  872. data/test/core/file/test_null.rb +7 -3
  873. data/test/core/file/test_read_binary.rb +11 -7
  874. data/test/core/file/test_read_list.rb +9 -5
  875. data/test/core/file/test_rewrite.rb +24 -12
  876. data/test/core/file/test_rootname.rb +7 -3
  877. data/test/core/file/test_sanitize.rb +20 -16
  878. data/test/core/file/test_split_all.rb +8 -4
  879. data/test/core/file/test_write.rb +12 -8
  880. data/test/core/file/test_writelines.rb +11 -7
  881. data/test/core/filetest/test_root.rb +7 -3
  882. data/test/core/functor_tc.rb +27 -15
  883. data/test/core/hash/test_alias.rb +16 -8
  884. data/test/core/hash/test_argumentize.rb +14 -10
  885. data/test/core/hash/test_at.rb +9 -5
  886. data/test/core/hash/test_autonew.rb +15 -11
  887. data/test/core/hash/test_collate.rb +43 -33
  888. data/test/core/hash/test_count.rb +7 -3
  889. data/test/core/hash/test_data.rb +23 -19
  890. data/test/core/hash/test_dearray_values.rb +17 -9
  891. data/test/core/hash/test_deep_merge.rb +19 -11
  892. data/test/core/hash/test_delete_at.rb +12 -8
  893. data/test/core/hash/test_delete_unless.rb +12 -8
  894. data/test/core/hash/test_delete_values.rb +22 -14
  895. data/test/core/hash/test_diff.rb +10 -6
  896. data/test/core/hash/test_expect.rb +16 -8
  897. data/test/core/hash/test_graph.rb +29 -21
  898. data/test/core/hash/test_insert.rb +11 -7
  899. data/test/core/hash/test_inverse.rb +11 -7
  900. data/test/core/hash/test_join.rb +23 -19
  901. data/test/core/hash/test_keys.rb +38 -19
  902. data/test/core/hash/test_new_with.rb +10 -6
  903. data/test/core/hash/test_op_add.rb +11 -7
  904. data/test/core/hash/test_op_and.rb +22 -18
  905. data/test/core/hash/test_op_mul.rb +10 -6
  906. data/test/core/hash/test_op_or.rb +10 -6
  907. data/test/core/hash/test_op_push.rb +26 -22
  908. data/test/core/hash/test_op_sub.rb +19 -11
  909. data/test/core/hash/test_recurse.rb +27 -19
  910. data/test/core/hash/test_recursively.rb +57 -53
  911. data/test/core/hash/test_rekey.rb +64 -56
  912. data/test/core/hash/test_replace_each.rb +10 -6
  913. data/test/core/hash/test_reverse_merge.rb +28 -16
  914. data/test/core/hash/test_select.rb +37 -33
  915. data/test/core/hash/test_slice.rb +16 -8
  916. data/test/core/hash/test_stringify_keys.rb +17 -9
  917. data/test/core/hash/test_swap.rb +8 -4
  918. data/test/core/hash/test_symbolize_keys.rb +17 -9
  919. data/test/core/hash/test_to_mod.rb +16 -12
  920. data/test/core/hash/test_to_proc.rb +13 -9
  921. data/test/core/hash/test_to_struct.rb +13 -9
  922. data/test/core/hash/test_traverse.rb +21 -13
  923. data/test/core/hash/test_update_each.rb +10 -6
  924. data/test/core/hash/test_update_keys.rb +14 -10
  925. data/test/core/hash/test_update_values.rb +9 -6
  926. data/test/core/hash/test_weave.rb +10 -6
  927. data/test/core/hash/test_zip.rb +9 -5
  928. data/test/core/indexable_tc.rb +156 -107
  929. data/test/core/integer/test_bitmask.rb +52 -39
  930. data/test/core/integer/test_even.rb +14 -7
  931. data/test/core/integer/test_factorial.rb +22 -14
  932. data/test/core/integer/test_multiple.rb +10 -7
  933. data/test/core/integer/test_odd.rb +14 -7
  934. data/test/core/integer/test_of.rb +25 -13
  935. data/test/core/integer/test_ordinal.rb +19 -12
  936. data/test/core/kernel/test_as.rb +46 -31
  937. data/test/core/kernel/test_ask.rb +3 -2
  938. data/test/core/kernel/test_assign.rb +44 -39
  939. data/test/core/kernel/test_assign_from.rb +32 -24
  940. data/test/core/kernel/test_attr_singleton.rb +26 -14
  941. data/test/core/kernel/test_blank.rb +51 -31
  942. data/test/core/kernel/test_callstack.rb +13 -5
  943. data/test/core/kernel/test_class.rb +8 -4
  944. data/test/core/kernel/test_complete.rb +13 -9
  945. data/test/core/kernel/test_constant.rb +10 -6
  946. data/test/core/kernel/test_d.rb +3 -3
  947. data/test/core/kernel/test_deep_copy.rb +29 -21
  948. data/test/core/kernel/test_dir.rb +14 -6
  949. data/test/core/kernel/test_disable_warnings.rb +22 -10
  950. data/test/core/kernel/test_ergo.rb +21 -12
  951. data/test/core/kernel/test_extension.rb +10 -6
  952. data/test/core/kernel/test_get.rb +40 -20
  953. data/test/core/kernel/test_here.rb +7 -3
  954. data/test/core/kernel/test_in.rb +8 -4
  955. data/test/core/kernel/test_instance_assign.rb +13 -9
  956. data/test/core/kernel/test_instance_class.rb +8 -4
  957. data/test/core/kernel/test_instance_send.rb +16 -12
  958. data/test/core/kernel/test_maybe.rb +7 -3
  959. data/test/core/kernel/test_meta_alias.rb +10 -6
  960. data/test/core/kernel/test_meta_class.rb +23 -15
  961. data/test/core/kernel/test_meta_def.rb +9 -5
  962. data/test/core/kernel/test_meta_eval.rb +11 -7
  963. data/test/core/kernel/test_method.rb +11 -7
  964. data/test/core/kernel/test_not.rb +38 -31
  965. data/test/core/kernel/test_not_nil.rb +16 -12
  966. data/test/core/kernel/test_object_class.rb +13 -5
  967. data/test/core/kernel/test_object_hexid.rb +9 -5
  968. data/test/core/kernel/test_object_send.rb +15 -11
  969. data/test/core/kernel/test_presence.rb +27 -19
  970. data/test/core/kernel/test_qua_class.rb +16 -10
  971. data/test/core/kernel/test_require_all.rb +3 -3
  972. data/test/core/kernel/test_require_relative.rb +3 -3
  973. data/test/core/kernel/test_respond.rb +25 -19
  974. data/test/core/kernel/test_returning.rb +10 -6
  975. data/test/core/kernel/test_silence.rb +7 -7
  976. data/test/core/kernel/test_singleton_class.rb +9 -5
  977. data/test/core/kernel/test_source_location.rb +17 -10
  978. data/test/core/kernel/test_super_method.rb +16 -13
  979. data/test/core/kernel/test_tap.rb +27 -23
  980. data/test/core/kernel/test_temporarily.rb +16 -12
  981. data/test/core/kernel/test_true.rb +21 -13
  982. data/test/core/kernel/test_try.rb +22 -14
  983. data/test/core/kernel/test_val.rb +22 -18
  984. data/test/core/kernel/test_with.rb +10 -6
  985. data/test/core/kernel/test_writers.rb +40 -36
  986. data/test/core/matchdata/test_match.rb +8 -4
  987. data/test/core/matchdata/test_matchset.rb +19 -9
  988. data/test/core/module/test_abstract.rb +16 -12
  989. data/test/core/module/test_alias_accessor.rb +17 -13
  990. data/test/core/module/test_alias_method_chain.rb +23 -20
  991. data/test/core/module/test_alias_module_function.rb +14 -11
  992. data/test/core/module/test_all_instance_methods.rb +19 -15
  993. data/test/core/module/test_ancestor.rb +9 -5
  994. data/test/core/module/test_anonymous.rb +11 -7
  995. data/test/core/module/test_attr_setter.rb +19 -15
  996. data/test/core/module/test_basename.rb +7 -3
  997. data/test/core/module/test_can.rb +12 -8
  998. data/test/core/module/test_class.rb +13 -9
  999. data/test/core/module/test_class_def.rb +15 -11
  1000. data/test/core/module/test_instance_method.rb +12 -8
  1001. data/test/core/module/test_instance_method_defined.rb +25 -13
  1002. data/test/core/module/test_integrate.rb +16 -12
  1003. data/test/core/module/test_is.rb +33 -26
  1004. data/test/core/module/test_methodize.rb +14 -6
  1005. data/test/core/module/test_modname.rb +7 -3
  1006. data/test/core/module/test_module_def.rb +15 -11
  1007. data/test/core/module/test_nodef.rb +10 -6
  1008. data/test/core/module/test_op.rb +40 -26
  1009. data/test/core/module/test_pathize.rb +14 -6
  1010. data/test/core/module/test_redefine_method.rb +19 -11
  1011. data/test/core/module/test_redirect_method.rb +19 -11
  1012. data/test/core/module/test_remove.rb +10 -7
  1013. data/test/core/module/test_rename_method.rb +21 -13
  1014. data/test/core/module/test_revise.rb +41 -30
  1015. data/test/core/module/test_set.rb +19 -15
  1016. data/test/core/module/test_spacename.rb +8 -4
  1017. data/test/core/module/test_to_obj.rb +12 -8
  1018. data/test/core/module/test_wrap_method.rb +19 -11
  1019. data/test/core/nilclass/test_to_f.rb +7 -4
  1020. data/test/core/numeric/test_approx.rb +10 -6
  1021. data/test/core/numeric/test_distance.rb +9 -5
  1022. data/test/core/numeric/test_length.rb +8 -4
  1023. data/test/core/numeric/test_round.rb +51 -33
  1024. data/test/core/numeric/test_spacing.rb +10 -6
  1025. data/test/core/object/test_dup.rb +55 -56
  1026. data/test/core/object/test_object_state.rb +57 -54
  1027. data/test/core/object/test_replace.rb +47 -42
  1028. data/test/core/object/test_try_dup.rb +38 -25
  1029. data/test/core/proc/test_bind.rb +20 -17
  1030. data/test/core/proc/test_bind_to.rb +10 -6
  1031. data/test/core/proc/test_compose.rb +19 -11
  1032. data/test/core/proc/test_curry.rb +31 -27
  1033. data/test/core/proc/test_partial.rb +19 -15
  1034. data/test/core/proc/test_to_method.rb +28 -24
  1035. data/test/core/proc/test_update.rb +8 -4
  1036. data/test/core/range/test_combine.rb +23 -15
  1037. data/test/core/range/test_overlap.rb +8 -4
  1038. data/test/core/range/test_to_r.rb +11 -7
  1039. data/test/core/range/test_umbrella.rb +23 -19
  1040. data/test/core/range/test_within.rb +19 -6
  1041. data/test/core/regexp/test_arity.rb +20 -10
  1042. data/test/core/regexp/test_multiline.rb +12 -8
  1043. data/test/core/regexp/test_op_add.rb +8 -4
  1044. data/test/core/regexp/test_op_or.rb +9 -5
  1045. data/test/core/regexp/test_to_re.rb +15 -7
  1046. data/test/core/string/test_align.rb +19 -11
  1047. data/test/core/string/test_bracket.rb +28 -24
  1048. data/test/core/string/test_bytes.rb +6 -4
  1049. data/test/core/string/test_camelcase.rb +58 -49
  1050. data/test/core/string/test_capitalized.rb +21 -11
  1051. data/test/core/string/test_characters.rb +6 -4
  1052. data/test/core/string/test_cleanlines.rb +5 -3
  1053. data/test/core/string/test_cleave.rb +19 -15
  1054. data/test/core/string/test_cmp.rb +12 -8
  1055. data/test/core/string/test_compress_lines.rb +11 -7
  1056. data/test/core/string/test_divide.rb +10 -6
  1057. data/test/core/string/test_each_char.rb +10 -6
  1058. data/test/core/string/test_each_word.rb +10 -6
  1059. data/test/core/string/test_edit_distance.rb +12 -8
  1060. data/test/core/string/test_end_with.rb +15 -7
  1061. data/test/core/string/test_exclude.rb +15 -11
  1062. data/test/core/string/test_expand_tabs.rb +39 -36
  1063. data/test/core/string/test_file.rb +8 -4
  1064. data/test/core/string/test_fold.rb +14 -10
  1065. data/test/core/string/test_indent.rb +66 -57
  1066. data/test/core/string/test_index_all.rb +7 -3
  1067. data/test/core/string/test_interpolate.rb +8 -4
  1068. data/test/core/string/test_lchomp.rb +17 -9
  1069. data/test/core/string/test_line_wrap.rb +8 -4
  1070. data/test/core/string/test_lines.rb +8 -4
  1071. data/test/core/string/test_lowercase.rb +10 -6
  1072. data/test/core/string/test_margin.rb +107 -90
  1073. data/test/core/string/test_methodize.rb +19 -15
  1074. data/test/core/string/test_modulize.rb +19 -15
  1075. data/test/core/string/test_mscan.rb +12 -8
  1076. data/test/core/string/test_natcmp.rb +12 -8
  1077. data/test/core/string/test_nchar.rb +10 -6
  1078. data/test/core/string/test_newlines.rb +5 -3
  1079. data/test/core/string/test_op_div.rb +8 -4
  1080. data/test/core/string/test_op_sub.rb +8 -4
  1081. data/test/core/string/test_pathize.rb +19 -16
  1082. data/test/core/string/test_quote.rb +35 -32
  1083. data/test/core/string/test_range.rb +24 -12
  1084. data/test/core/string/test_rewrite.rb +10 -6
  1085. data/test/core/string/test_shatter.rb +10 -6
  1086. data/test/core/string/test_similarity.rb +7 -3
  1087. data/test/core/string/test_snakecase.rb +10 -6
  1088. data/test/core/string/test_splice.rb +27 -21
  1089. data/test/core/string/test_squish.rb +21 -13
  1090. data/test/core/string/test_start_with.rb +15 -7
  1091. data/test/core/string/test_store.rb +9 -5
  1092. data/test/core/string/test_subtract.rb +9 -5
  1093. data/test/core/string/test_tab.rb +8 -4
  1094. data/test/core/string/test_tabto.rb +8 -4
  1095. data/test/core/string/test_titlecase.rb +9 -5
  1096. data/test/core/string/test_to_re.rb +25 -17
  1097. data/test/core/string/test_unbracket.rb +27 -15
  1098. data/test/core/string/test_underscore.rb +13 -9
  1099. data/test/core/string/test_unfold.rb +10 -6
  1100. data/test/core/string/test_unindent.rb +65 -60
  1101. data/test/core/string/test_unquote.rb +7 -3
  1102. data/test/core/string/test_uppercase.rb +13 -9
  1103. data/test/core/string/test_variablize.rb +8 -4
  1104. data/test/core/string/test_word_wrap.rb +64 -42
  1105. data/test/core/string/test_words.rb +16 -10
  1106. data/test/core/string/test_xor.rb +9 -5
  1107. data/test/core/symbol/test_as_s.rb +8 -4
  1108. data/test/core/symbol/test_bang.rb +9 -5
  1109. data/test/core/symbol/test_chomp.rb +12 -4
  1110. data/test/core/symbol/test_generate.rb +11 -7
  1111. data/test/core/symbol/test_not.rb +11 -7
  1112. data/test/core/symbol/test_op_div.rb +8 -4
  1113. data/test/core/symbol/test_plain.rb +11 -5
  1114. data/test/core/symbol/test_query.rb +11 -5
  1115. data/test/core/symbol/test_setter.rb +9 -5
  1116. data/test/core/symbol/test_succ.rb +9 -5
  1117. data/test/core/symbol/test_to_proc.rb +24 -21
  1118. data/test/core/symbol/test_variablize.rb +7 -3
  1119. data/test/core/time/test_ago.rb +8 -5
  1120. data/test/core/time/test_change.rb +10 -6
  1121. data/test/core/time/test_dst_adjustment.rb +4 -3
  1122. data/test/core/time/test_elapse.rb +8 -4
  1123. data/test/core/time/test_future.rb +22 -11
  1124. data/test/core/time/test_hence.rb +8 -5
  1125. data/test/core/time/test_in.rb +8 -5
  1126. data/test/core/time/test_less.rb +30 -28
  1127. data/test/core/time/test_past.rb +22 -11
  1128. data/test/core/time/test_round_to.rb +22 -16
  1129. data/test/core/time/test_set.rb +31 -27
  1130. data/test/core/time/test_shift.rb +128 -119
  1131. data/test/core/time/test_stamp.rb +26 -18
  1132. data/test/core/time/test_to_time.rb +8 -4
  1133. data/test/core/time/test_trunc.rb +23 -17
  1134. data/test/core/to_hash_tc.rb +138 -91
  1135. data/test/core/unboundmethod/test_arguments.rb +16 -12
  1136. data/test/core/unboundmethod/test_name.rb +11 -7
  1137. data/test/standard/test_date.rb +49 -29
  1138. data/test/standard/test_ostruct.rb +144 -127
  1139. data/test/standard/test_random.rb +162 -119
  1140. data/test/standard/test_shellwords.rb +51 -45
  1141. data/test/standard/test_thread.rb +15 -12
  1142. data/test/standard/test_timer.rb +38 -28
  1143. data/test/standard/test_uri.rb +24 -16
  1144. data/test/supplemental/test_argvector.rb +51 -39
  1145. data/test/supplemental/test_enumargs.rb +89 -0
  1146. data/test/supplemental/test_memoizable.rb +29 -25
  1147. data/test/supplemental/test_multipliers.rb +90 -47
  1148. data/test/supplemental/test_tuple.rb +48 -36
  1149. data/work/CHANGES +2529 -0
  1150. data/work/NOTES.rdoc +143 -0
  1151. data/work/bench/bench_load.rb +56 -0
  1152. data/work/bench/enumerable/bench_collect.rb +84 -0
  1153. data/work/bench/enumerable/bench_count.rb +58 -0
  1154. data/work/bench/general/bench_calls.rb +74 -0
  1155. data/work/bench/general/bench_includes.rb +25 -0
  1156. data/work/bench/general/bench_methods.rb +17 -0
  1157. data/work/bench/general/bench_pathname.rb +24 -0
  1158. data/work/bench/general/bench_range.rb +64 -0
  1159. data/work/bench/general/bench_return.rb +56 -0
  1160. data/work/bench/general/bench_yeild.rb +75 -0
  1161. data/work/bench/general/comment_loading/bench.rb +46 -0
  1162. data/work/bench/general/comment_loading/comments_begin.rb +109 -0
  1163. data/work/bench/general/comment_loading/comments_end.rb +127 -0
  1164. data/work/bench/general/comment_loading/comments_none.rb +1 -0
  1165. data/work/bench/general/comment_loading/comments_sharp.rb +125 -0
  1166. data/work/bench/hash/bench_slice.rb +62 -0
  1167. data/work/bench/integer/bench_factorial.rb +31 -0
  1168. data/work/consider/aspects.rb +254 -0
  1169. data/work/consider/attr.rb +82 -0
  1170. data/work/consider/bin.rb +26 -0
  1171. data/work/consider/blackmagic.rb +103 -0
  1172. data/work/consider/bool_attr_accessor.rb +414 -0
  1173. data/work/consider/duration.rb +286 -0
  1174. data/work/consider/forwardable_chain.patch +448 -0
  1175. data/work/consider/knowself.rb +42 -0
  1176. data/work/consider/lib/core/facets.rb +37 -0
  1177. data/work/consider/lib/core/facets/array/fetch.rb +37 -0
  1178. data/work/consider/lib/core/facets/array/op_div.rb +23 -0
  1179. data/work/consider/lib/core/facets/hash/having.rb +75 -0
  1180. data/work/consider/lib/core/facets/string/trim.rb +70 -0
  1181. data/work/consider/lib/more/facets/argv.rb +47 -0
  1182. data/work/consider/lib/more/facets/extension.rb +30 -0
  1183. data/work/consider/lib/more/facets/fixnum.rb +55 -0
  1184. data/work/consider/lib/more/facets/forwardable_chain.patch +448 -0
  1185. data/work/consider/lib/more/facets/gem.rb +23 -0
  1186. data/work/consider/lib/more/facets/interface.rb +230 -0
  1187. data/work/consider/lib/more/facets/plugin.rb +153 -0
  1188. data/work/consider/lib/more/facets/recorder.rb +54 -0
  1189. data/work/consider/lib/more/facets/tasksystem.rb +350 -0
  1190. data/work/consider/mapcar.rb +74 -0
  1191. data/work/consider/require_directory.rb +4 -0
  1192. data/work/consider/set.rb +47 -0
  1193. data/work/consider/succ.rb +44 -0
  1194. data/work/consider/succ_case.rb +39 -0
  1195. data/work/defunct/core/facets/array/combinations.rb +33 -0
  1196. data/work/defunct/core/facets/array/combos.rb +47 -0
  1197. data/work/defunct/core/facets/array/each_uniq_pair.rb +43 -0
  1198. data/work/defunct/core/facets/array/permutation.rb +75 -0
  1199. data/work/defunct/core/facets/array/to_path.rb +14 -0
  1200. data/work/defunct/core/facets/class/initializer.rb +60 -0
  1201. data/work/defunct/core/facets/class/prepend.rb +52 -0
  1202. data/work/defunct/core/facets/class/remove_descendents.rb +42 -0
  1203. data/work/defunct/core/facets/enumerable/cascade.rb +28 -0
  1204. data/work/defunct/core/facets/enumerable/each.rb +89 -0
  1205. data/work/defunct/core/facets/enumerable/to_hash.rb +30 -0
  1206. data/work/defunct/core/facets/hash/access.rb +146 -0
  1207. data/work/defunct/core/facets/hash/group_by_value.rb +66 -0
  1208. data/work/defunct/core/facets/hash/normalize_keys.rb +134 -0
  1209. data/work/defunct/core/facets/hash/op_div.rb +11 -0
  1210. data/work/defunct/core/facets/hash/variablize_keys.rb +48 -0
  1211. data/work/defunct/core/facets/kernel/__assign__.rb +28 -0
  1212. data/work/defunct/core/facets/kernel/__real__.rb +48 -0
  1213. data/work/defunct/core/facets/kernel/deep_clone.rb +48 -0
  1214. data/work/defunct/core/facets/kernel/instance_assume.rb +66 -0
  1215. data/work/defunct/core/facets/kernel/once.rb +54 -0
  1216. data/work/defunct/core/facets/kernel/warn_with_line.rb +29 -0
  1217. data/work/defunct/core/facets/method/curry.rb +10 -0
  1218. data/work/defunct/core/facets/method/partial.rb +10 -0
  1219. data/work/defunct/core/facets/module/attr_toggler.rb +59 -0
  1220. data/work/defunct/core/facets/module/by_name.rb +56 -0
  1221. data/work/defunct/core/facets/module/compare_on.rb +35 -0
  1222. data/work/defunct/core/facets/module/equate_on.rb +36 -0
  1223. data/work/defunct/core/facets/module/methodize.rb +19 -0
  1224. data/work/defunct/core/facets/module/module_method.rb +14 -0
  1225. data/work/defunct/core/facets/module/on_included.rb +80 -0
  1226. data/work/defunct/core/facets/proc/bind.rb +38 -0
  1227. data/work/defunct/core/facets/proc/to_h.rb +22 -0
  1228. data/work/defunct/core/facets/string/camelcase.rb +25 -0
  1229. data/work/defunct/core/facets/string/indexable.rb +144 -0
  1230. data/work/defunct/core/facets/string/stackable.rb +181 -0
  1231. data/work/defunct/core/facets/string/to_const.rb +31 -0
  1232. data/work/defunct/core/facets/string/to_proc.rb +52 -0
  1233. data/work/defunct/core/facets/symbol/pad.rb +1 -0
  1234. data/work/defunct/core/facets/symbol/shadow.rb +37 -0
  1235. data/work/defunct/core/facets/symbol/to_const.rb +31 -0
  1236. data/work/defunct/more/facets/annotations.rb +302 -0
  1237. data/work/defunct/more/facets/duration.rb +540 -0
  1238. data/work/defunct/more/facets/logger.rb +158 -0
  1239. data/work/defunct/more/facets/multiton.rb +390 -0
  1240. data/work/defunct/more/facets/multiton2.rb +237 -0
  1241. data/work/defunct/more/facets/uploadutils.rb +466 -0
  1242. data/work/defunct/script/conflicts +63 -0
  1243. data/work/defunct/script/methods +49 -0
  1244. data/work/defunct/test/string/test_crypt.rb +17 -0
  1245. data/work/defunct/test/string/test_indexable.rb +68 -0
  1246. data/work/defunct/test/string/test_stackable.rb +94 -0
  1247. data/work/defunct/test/string/test_stylize.rb +52 -0
  1248. data/work/defunct/test/test_continuation.rb +15 -0
  1249. data/work/defunct/test/test_instance_exec.rb +44 -0
  1250. data/work/defunct/test/test_ioredirect.rb +23 -0
  1251. data/work/defunct/test/test_prepend.rb +19 -0
  1252. data/work/defunct/test/test_succ.rb +35 -0
  1253. data/work/defunct/yard.assembly +44 -0
  1254. data/work/sandbox/component.rb +120 -0
  1255. data/work/sandbox/enumerator.rb +12 -0
  1256. data/work/sandbox/enumx.rb +116 -0
  1257. data/work/sandbox/express.rb +48 -0
  1258. data/work/sandbox/multidispatch.rb +236 -0
  1259. data/work/sandbox/multidispatch0.rb +224 -0
  1260. data/work/sandbox/multiton2.rb +590 -0
  1261. data/work/sandbox/namespace.rb +169 -0
  1262. data/work/sandbox/safe-study/safe_extension.rb +17 -0
  1263. data/work/sandbox/safe-study/safe_study.rb +16 -0
  1264. data/work/sandbox/to_data.rb +141 -0
  1265. data/work/sandbox/visit.rb +62 -0
  1266. data/work/site/endorse.page +65 -0
  1267. data/work/site/posts/2010-01-25-test_rails_with_facets.post +151 -0
  1268. data/work/site/posts/enumargs.md +30 -0
  1269. data/work/site/posts/tomslib.rb +47 -0
  1270. data/work/site/posts/weblog.xml +78 -0
  1271. data/work/site/sidebar.txt +19 -0
  1272. data/work/todo/more/test_basicobject.rb +34 -0
  1273. data/work/todo/more/test_fileutils_slice.rb +88 -0
  1274. data/work/todo/more/test_fileutils_wc.rb +53 -0
  1275. data/work/todo/more/test_fileutils_which.rb +45 -0
  1276. data/work/todo/more/test_getoptlong.rb +26 -0
  1277. data/work/todo/more/test_multiton.rb +184 -0
  1278. data/work/trash/hook.rdoc +49 -0
  1279. data/work/trash/menu.html +71 -0
  1280. data/work/trash/site-jekyll/.htaccess +1 -0
  1281. data/work/trash/site-jekyll/.rsync-filter +7 -0
  1282. data/work/trash/site-jekyll/.till +1 -0
  1283. data/work/trash/site-jekyll/_config.yml +6 -0
  1284. data/work/trash/site-jekyll/_layouts/default.html +101 -0
  1285. data/work/trash/site-jekyll/_layouts/post.html +23 -0
  1286. data/work/trash/site-jekyll/_posts/2008-01-01-how-facets-was-born.markdown +25 -0
  1287. data/work/trash/site-jekyll/_posts/2008-04-04-times-collect.markdown +33 -0
  1288. data/work/trash/site-jekyll/_posts/2008-10-10-string-margin.markdown +52 -0
  1289. data/work/trash/site-jekyll/_posts/2009-07-21-new-website.markdown +16 -0
  1290. data/work/trash/site-jekyll/_posts/2009-08-22-release-2-7.markdown +127 -0
  1291. data/work/trash/site-jekyll/_posts/2009-11-09-release-2-8.markdown +58 -0
  1292. data/work/trash/site-jekyll/about.html +79 -0
  1293. data/work/trash/site-jekyll/assets/scripts/hover.js +14 -0
  1294. data/work/trash/site-jekyll/assets/scripts/rdocs.js +28 -0
  1295. data/work/trash/site-jekyll/assets/styles/site.css +317 -0
  1296. data/work/trash/site-jekyll/assets/styles/syntax.css +60 -0
  1297. data/work/trash/site-jekyll/atom.xml +23 -0
  1298. data/work/trash/site-jekyll/community.html +72 -0
  1299. data/work/trash/site-jekyll/download.html +84 -0
  1300. data/work/trash/site-jekyll/endorse.html +64 -0
  1301. data/work/trash/site-jekyll/index.html +17 -0
  1302. data/work/trash/site-jekyll/learn.html +221 -0
  1303. data/work/trash/site-jekyll/source.html +74 -0
  1304. data/work/trash/site/.htaccess +1 -0
  1305. data/work/trash/site/.rsync-filter +10 -0
  1306. data/work/trash/site/js/hover.js +14 -0
  1307. data/work/trash/site/js/rdocs.js +28 -0
  1308. data/work/trash/site/quick.html +250 -0
  1309. data/work/trash/site/splash.html +44 -0
  1310. data/work/trash/task/count +48 -0
  1311. data/work/trash/task/load +40 -0
  1312. data/work/trash/task/publish +83 -0
  1313. data/work/trash/task/tag +26 -0
  1314. data/work/trash/test_inject.rb +17 -0
  1315. metadata +1017 -523
  1316. data/NOTICE +0 -27
  1317. data/test/core/module/test_method_clash.rb +0 -50
@@ -1,37 +1,41 @@
1
1
  covers 'facets/memoizable'
2
2
 
3
- tests Memoizable do
3
+ test_case Memoizable do
4
4
 
5
- unit :memoize => "returns expected values" do
6
- c = Class.new do
7
- include Memoizable
8
- def initialize(a)
9
- @a = a
5
+ method :memoize do
6
+
7
+ test "returns expected values" do
8
+ c = Class.new do
9
+ include Memoizable
10
+ def initialize(a)
11
+ @a = a
12
+ end
13
+ attr_accessor :a
14
+ memoize :a
10
15
  end
11
- attr_accessor :a
12
- memoize :a
13
- end
14
16
 
15
- o = c.new("A")
16
- o.a.assert == "A"
17
- o.a = "B"
18
- o.a.assert == "A"
19
- end
17
+ o = c.new("A")
18
+ o.a.assert == "A"
19
+ o.a = "B"
20
+ o.a.assert == "A"
21
+ end
20
22
 
21
- unit :memoize => "returns identical objects" do
22
- c = Class.new do
23
- include Memoizable
24
- def initialize(a)
25
- @a = a
23
+ test "returns identical objects" do
24
+ c = Class.new do
25
+ include Memoizable
26
+ def initialize(a)
27
+ @a = a
28
+ end
29
+ attr_accessor :a
30
+ memoize :a
26
31
  end
27
- attr_accessor :a
28
- memoize :a
32
+
33
+ o = c.new("A")
34
+ o.a.__id__.assert == o.a.__id__
35
+ o.a = "B"
36
+ o.a.__id__.assert == o.a.__id__
29
37
  end
30
38
 
31
- o = c.new("A")
32
- o.a.__id__.assert == o.a.__id__
33
- o.a = "B"
34
- o.a.__id__.assert == o.a.__id__
35
39
  end
36
40
 
37
41
  end
@@ -1,98 +1,141 @@
1
- require 'facets/multipliers.rb'
1
+ covers 'facets/multipliers'
2
2
 
3
- TestCase Fixnum do
3
+ test_case Fixnum do
4
4
 
5
- unit :deka do
6
- 1.deka.assert == 10
5
+ method :deka do
6
+ test do
7
+ 1.deka.assert == 10
8
+ end
7
9
  end
8
10
 
9
- unit :hecto do
10
- 1.hecto.assert == 100
11
+ method :hecto do
12
+ test do
13
+ 1.hecto.assert == 100
14
+ end
11
15
  end
12
16
 
13
- unit :kilo do
14
- 1.kilo.assert == 1000
17
+ method :kilo do
18
+ test do
19
+ 1.kilo.assert == 1000
20
+ end
15
21
  end
16
22
 
17
- unit :mega do
18
- 1.mega.assert == 1000000
23
+ method :mega do
24
+ test do
25
+ 1.mega.assert == 1000000
26
+ end
19
27
  end
20
28
 
21
- unit :giga do
22
- 1.giga.assert == 1000000000
29
+ method :giga do
30
+ test do
31
+ 1.giga.assert == 1000000000
32
+ end
23
33
  end
24
34
 
25
- unit :tera do
26
- 1.tera.assert == 1000000000000
35
+ method :tera do
36
+ test do
37
+ 1.tera.assert == 1000000000000
38
+ end
27
39
  end
28
40
 
29
- unit :peta do
30
- 1.peta.assert == 1000000000000000
41
+ method :peta do
42
+ test do
43
+ 1.peta.assert == 1000000000000000
44
+ end
31
45
  end
32
46
 
33
- unit :exa do
34
- 1.exa.assert == 1000000000000000000
47
+ method :exa do
48
+ test do
49
+ 1.exa.assert == 1000000000000000000
50
+ end
35
51
  end
36
52
 
37
53
  # Fractional
38
54
 
39
- unit :deci do
40
- 1.deci.assert == 0.1
55
+ method :deci do
56
+ test do
57
+ 1.deci.assert == 0.1
58
+ end
41
59
  end
42
60
 
43
- unit :centi do
44
- 1.centi.assert == 0.01
61
+ method :centi do
62
+ test do
63
+ 1.centi.assert == 0.01
64
+ end
45
65
  end
46
66
 
47
- unit :milli do
48
- 1.milli.assert == 0.001
67
+ method :milli do
68
+ test do
69
+ 1.milli.assert == 0.001
70
+ end
49
71
  end
50
72
 
51
- unit :micro do
52
- 1.micro.assert == 0.000001
73
+ method :micro do
74
+ test do
75
+ 1.micro.assert == 0.000001
76
+ end
53
77
  end
54
78
 
55
- unit :nano do
56
- 1.nano.assert == 0.000000001
79
+ method :nano do
80
+ test do
81
+ 1.nano.assert == 0.000000001
82
+ end
57
83
  end
58
84
 
59
- unit :pico do
60
- 1.pico.assert == 0.000000000001
85
+ method :pico do
86
+ test do
87
+ 1.pico.assert == 0.000000000001
88
+ end
61
89
  end
62
90
 
63
- unit :femto do
64
- 1.femto.assert == 0.000000000000001
91
+ method :femto do
92
+ test do
93
+ 1.femto.assert == 0.000000000000001
94
+ end
65
95
  end
66
96
 
67
- unit :atto do
68
- 1.atto.assert == 0.000000000000000001
97
+ method :atto do
98
+ test do
99
+ 1.atto.assert == 0.000000000000000001
100
+ end
69
101
  end
70
102
 
71
103
  # SI Binary
72
104
 
73
- unit :kibi do
74
- 1.kibi.assert == 1024
105
+ method :kibi do
106
+ test do
107
+ 1.kibi.assert == 1024
108
+ end
75
109
  end
76
110
 
77
- unit :mebi do
78
- 1.mebi.assert == 1024**2
111
+ method :mebi do
112
+ test do
113
+ 1.mebi.assert == 1024**2
114
+ end
79
115
  end
80
116
 
81
- unit :gibi do
82
- 1.gibi.assert == 1024**3
117
+ method :gibi do
118
+ test do
119
+ 1.gibi.assert == 1024**3
120
+ end
83
121
  end
84
122
 
85
- unit :tebi do
86
- 1.tebi.assert == 1024**4
123
+ method :tebi do
124
+ test do
125
+ 1.tebi.assert == 1024**4
126
+ end
87
127
  end
88
128
 
89
- unit :pebi do
90
- 1.pebi.assert == 1024**5
129
+ method :pebi do
130
+ test do
131
+ 1.pebi.assert == 1024**5
132
+ end
91
133
  end
92
134
 
93
- unit :exbi do
94
- 1.exbi.assert == 1024**6
135
+ method :exbi do
136
+ test do
137
+ 1.exbi.assert == 1024**6
138
+ end
95
139
  end
96
140
 
97
141
  end
98
-
@@ -1,56 +1,68 @@
1
1
  covers 'facets/tuple'
2
2
 
3
- tests Tuple do
3
+ test_case Tuple do
4
4
 
5
- meta :[] => "tuples with same content are the same object" do
6
- t1 = Tuple[1,2,3]
7
- t2 = Tuple[1,2,3]
8
- t1.object_id.assert == t2.object_id
5
+ class_method :[] do
6
+ test "tuples with same content are the same object" do
7
+ t1 = Tuple[1,2,3]
8
+ t2 = Tuple[1,2,3]
9
+ t1.object_id.assert == t2.object_id
10
+ end
9
11
  end
10
12
 
11
- unit :< do
12
- t1 = Tuple[1,2,3]
13
- t2 = Tuple[2,4,5]
14
- t1.assert < t2
13
+ method :< do
14
+ test do
15
+ t1 = Tuple[1,2,3]
16
+ t2 = Tuple[2,4,5]
17
+ t1.assert < t2
18
+ end
15
19
  end
16
20
 
17
- unit :> do
18
- t1 = Tuple[1,2,3]
19
- t2 = Tuple[2,4,5]
20
- t2.assert > t1
21
+ method :> do
22
+ test do
23
+ t1 = Tuple[1,2,3]
24
+ t2 = Tuple[2,4,5]
25
+ t2.assert > t1
26
+ end
21
27
  end
22
28
 
23
- unit :to_a do
24
- t1 = Tuple[1,2,3]
25
- a1 = t1.to_a
26
- assert( Array === a1 )
29
+ method :to_a do
30
+ test do
31
+ t1 = Tuple[1,2,3]
32
+ a1 = t1.to_a
33
+ assert( Array === a1 )
34
+ end
27
35
  end
28
36
 
29
- unit :<< do
30
- t1 = Tuple[1,2,3]
31
- t1 = t1 << 4
32
- t1.assert.is_a? Tuple
33
- t2 = Tuple[1,2,3,4]
34
- t1.object_id.assert == t2.object_id
37
+ method :<< do
38
+ test do
39
+ t1 = Tuple[1,2,3]
40
+ t1 = t1 << 4
41
+ t1.assert.is_a? Tuple
42
+ t2 = Tuple[1,2,3,4]
43
+ t1.object_id.assert == t2.object_id
44
+ end
35
45
  end
36
46
 
37
47
  end
38
48
 
39
- tests String do
49
+ test_case String do
40
50
 
41
- unit :to_t do
42
- t1 = "1.2.3".to_t
43
- t1.assert.is_a? Tuple
44
- t2 = Tuple[1,2,3]
45
- t1.object_id.assert == t2.object_id
46
- end
51
+ method :to_t do
52
+ test do
53
+ t1 = "1.2.3".to_t
54
+ t1.assert.is_a? Tuple
55
+ t2 = Tuple[1,2,3]
56
+ t1.object_id.assert == t2.object_id
57
+ end
47
58
 
48
- unit :to_t do
49
- t1 = "1.2.3a".to_t
50
- t1.assert.is_a? Tuple
51
- t2 = Tuple[1,2,'3a']
52
- t1.assert == t2
53
- t1.object_id.assert == t2.object_id
59
+ test do
60
+ t1 = "1.2.3a".to_t
61
+ t1.assert.is_a? Tuple
62
+ t2 = Tuple[1,2,'3a']
63
+ t1.assert == t2
64
+ t1.object_id.assert == t2.object_id
65
+ end
54
66
  end
55
67
 
56
68
  end
@@ -0,0 +1,2529 @@
1
+ = Facets History
2
+
3
+ == 2.5.3 / 2009-07-03
4
+
5
+ Facets 2.5.3 fixes an arity bug with Module#extend --one of the
6
+ very few actual core overrides in Facets. It also removes htmlfilter.rb
7
+ and cssfilter.rb due to a licensing incompatability. These scripts
8
+ are now available as a separate pacakge called 'htmlfilter'.
9
+
10
+ * 2 Major Enhancements
11
+
12
+ * Removed htmlfilter.rb due to licensing issues.
13
+ * Also removed cssfilter.rb ('gem install htmlfilter' now)
14
+
15
+ * 1 Minor Enhancements
16
+
17
+ * Removed Kernel#__HERE__ as it simply cannot work.
18
+ (Ruby 1.9.2 will offer #source_location for the same,, btw.)
19
+
20
+ * 1 Bug Fixes
21
+
22
+ * Fixed arity issue with Module#extend.
23
+
24
+
25
+ == 2.5.2 / 2009-04-07
26
+
27
+ Facets 2.5.2 is a simple maintentance release.
28
+
29
+ * 1 Major Enhancement
30
+
31
+ * added string/uppercase and lowercase
32
+
33
+ * 1 Minor Enhancement
34
+
35
+ * adjustemnts to to_hash.rb
36
+
37
+
38
+ == 2.5.1 / 2009-03-05
39
+
40
+ Facets 2.5.1 fixes a few bugs, makes some small but nice additions
41
+ and improves 1.9 compatibility.
42
+
43
+ The most important addition to make note of is Object#extend, which has
44
+ been overridden to allow a block parameter. This is one of only two or three
45
+ actual "monkey patches" in all of Facets. The block, when provided,
46
+ is used to create an annonymous module which then extends the reciever.
47
+ This is a "good practice" way to extend objects, rather than using class_eval
48
+ on the singleton class.
49
+
50
+ Special thanks to Erik Veenstra, Pit Capitan and especially Sandor Szücs
51
+ for their contributions to this release.
52
+
53
+ * 7 Major Enhancements
54
+
55
+ * added Hash#group_by_value (thanks to Erik Veenstra)
56
+ * added String#file
57
+ * added Hash#new_with (Pit Capitan)
58
+ * added module/extend.rb, now can take a block.
59
+ * added hook.rb
60
+ * added to_h_auto
61
+ * overhauled to_hash.rb, now has multiple methods
62
+
63
+ * 10 Bug Fixes
64
+
65
+ * corrected ostruct.rb to test for frozen state on updates
66
+ * fixed String#left_align
67
+ * fixed conflict between test_name.rb and test_arguments.rb
68
+ * fixed Enumreable#split when reciever is empty array
69
+ * fixed coruption of reciever by Hash#collate (thanks to Tilo Sloboda)
70
+ * fixed Array#to_h, h={} was not initialized
71
+ * fixed test of Module#conflict according ruby19
72
+ * fixed Hash#dearray_singluar_values
73
+ * association.rb stores reference when using #new
74
+ * changed Array#product to make it compatible to ruby 19, deleted block parameter
75
+
76
+ * 5 Minor Enhancements
77
+
78
+ * split enumerable/collect into map_with_index and compact_map
79
+ * improved Array#to_h for 1.9 using flatten(1)
80
+ * Dictionary#replace can take regular Hash too
81
+ * move test_to_hash.rb from more to core
82
+ * Doc'd that UnboundMethod#name returns Symbol in 1.9, but String in 1.8
83
+
84
+
85
+ == 2.5.0 / 2008-11-23
86
+
87
+ Facets 2.5.0 is an important milestone in the development of Facets.
88
+
89
+ This release has been tested against Rails' ActiveSupport library.
90
+ As long as Facets is loaded after ActiveSupport, everything
91
+ should work fine. Of course, there's no counting for real world
92
+ trials, but all ActiveSupport testcases pass under this scenario.
93
+
94
+ Secondly, this release is the first of two (or three) down-scaling
95
+ releases intended to remove all the remaining "excess" from the
96
+ library. This is being done for a variety of reasons. Some scripts
97
+ are substantial enough to be one their own and have been spun-off
98
+ into separate largely compatible projects. In this release:
99
+
100
+ If you were using... Use this project instead...
101
+
102
+ annotations.rb Anise
103
+
104
+ bytes.rb RichUnits
105
+ times.rb
106
+
107
+ command.rb Clio
108
+ consoleutils.rb
109
+
110
+ A few others scripts have been deprecated, without an alternative
111
+ recourse, simply because they were too weak, such as uploadutils.rb,
112
+ or highly experimental, such as chain.rb and eventhook.rb.
113
+
114
+ Although this release constitutes an over all slimming down of Facets,
115
+ two excellent new libraries have been added.
116
+
117
+ 1) *ini.rb* by Jeena Paradies. While YAML is frequently used by
118
+ Rubyists for configuration files, a full-on serializer like YAML
119
+ is often overkill. INI files provide a lightweight solution
120
+ specifically geared for configuration.
121
+
122
+ 2) *filter.rb* by Brian Candler offers lazy evaluation chains of
123
+ Enumerable methods. This is an elegant way to optimize contiguous
124
+ maps, selections, etc. --effective even on infinite enumerators.
125
+ (Note, the name of this library may be changed in the next release.)
126
+
127
+ While work remains to be done, I am happy to say, Facets is
128
+ finally beginning to approach the level of solidity I set out to
129
+ achieve just over a year ago. Thank the Maker!
130
+
131
+ Special thanks to Brian Candler, Jeena Paradies and Tyler Rick.
132
+
133
+ * 9 Major Changes
134
+
135
+ * added Brian Candler's Enumerator::Filter
136
+ * added sparse_array.rb (was old harray.rb)
137
+ * added Jeena Paradies' ini.rb
138
+ * renamed CacheDelegator to Memoizer
139
+ * renamed DictionaryMatcher to just Matcher
140
+ * deprecated bytes.rb and times.rb (use RichUnits instead)
141
+ * deprecated uploadutils.rb; ziputils.rb will be (use Folio)
142
+ * deprecated annotations.rb (use Anise instead)
143
+ * deprecated command.rb and consoleutils.rb (use Clio instead)
144
+
145
+ * 5 Minor Changes
146
+
147
+ * deprecated chain.rb (very expiremental)
148
+ * deprecated eventhook.rb (moved to ToadCode project)
149
+ * deprecated tagiter.rb (moved to ToadCode project)
150
+ * moved Hash#symolize_keys and #stringify_keys to core lib
151
+ (still recommend #rekey instead though)
152
+ * switched to git as of 2.4.5
153
+
154
+ * 4 Bug Fixes
155
+
156
+ * memoize.rb, cache was at class-level, now at instance-level
157
+ * binding/caller.rb, fixed require for callstack.rb
158
+ * fixed missing require in string/tabto.rb
159
+ * Fixed some bugs with Time#ago/Time#hence not changing years
160
+ correctly when you changed months.
161
+ (For example, Time.utc(2008, 1, 1).ago(12, :months) incorrectly
162
+ returned 2009-01-01 instead of 2007-01-01.)
163
+ Changed Time#ago/Time#hence to still work if passed negative number.
164
+
165
+
166
+ == 2.4.5 / 2008-10-02
167
+
168
+ Facets 2.4.5 is a maintaince release. This release is notable however in that
169
+ it will likely be the last that to use SVN. Facets will be switching to Git.
170
+ Also, some libraries that have been flagged "to be deprecated" for some time will
171
+ finally be so.
172
+
173
+ * 8 Major Enhancements
174
+
175
+ * Re-added date.rb to lore library, and removed from core. (#r1014)
176
+ * Much improved date.rb extension now in Lore library. (#r1027)
177
+ * Deprecated kernel/suppress. Use Exception.suppress from now on. (#r1040)
178
+ * Deprecated string/style.rb. Use English project instead. (#r1074)
179
+ * Console namespace is no longer supported (for Ansicode). (#r1077)
180
+ * enumerable/mode.rb, Enumerable#mode returns array since there can be more than one. (#r1079)
181
+ * OpenCascade automatically creates nodes, use foo? to query. (#r1056)
182
+ * Change #index_of to #index which now takes a block.
183
+
184
+ * 14 Minor Enhancements
185
+
186
+ * OpenStruct.new can now take a default block, like Hash.new.
187
+ * Moved variablize methods out of metaid.rb and into separate files (string/ and symbol/). (#r1042)
188
+ * Added Time#advance. (#r1046)
189
+ * Speed up of Integer odd/even methods. (#r1057)
190
+ * Array#index now takes a block (this is a core override). (#r1059)
191
+ * Spilt file/write.rb into separate method files (append, create, writelines). (#r1073)
192
+ * Modified Enumerable#split to behave like String#split. (#r1076)
193
+ * hash/op.rb, split into separate method files. (#r1081)
194
+ * Added string/modulize. string/methodize handles path names now too. (#r1085)
195
+ * Class#cattr is now part of core. (#r1089)
196
+ * Modified Enumerable#split to behave like String#split. [minor]
197
+ * Removed Rope class. If anything this will have a separate project.
198
+ * Added doc/news.html and doc/authors.html to website (temporarily?).
199
+ * Added zlib.rb to Lore library.
200
+
201
+ * 7 Bug Fixes
202
+
203
+ * OpenStruct#to_h dups internal table. (#r1015)
204
+ * Fixed require of string/xor in bicrypt.rb. (#r1039)
205
+ * integer/odd.rb, fixed Ruby 1.9 condition. (#r1080)
206
+ * class/cattr_*.rb fix require bug
207
+ * opencascade.rb, fixed bug when accessing sub-hash.
208
+ * typecast.rb, fixed require for string/methodize.
209
+ * Fixed Pathname#glob to ensure use of ::File.
210
+
211
+
212
+ == 2.4.4 / 2008-09-01
213
+
214
+ Facets 2.4.4 includes a major bug fix that caused Facets not to load properly,
215
+ having to do with a Time extension. The problem has been fixed. In addition,
216
+ this release put Facets only a few pending adjustments away from full
217
+ Rails/ActiveSupport compatibility.
218
+
219
+ * 10 Major Enhancements
220
+
221
+ * Added string/mask providing powerful string manipulation. (#997)
222
+ * BasicObject is now just a synonm for BlankSlate unless Ruby 1.9. (#1000)
223
+ * Added Symbol#plain?, Symbol#query? and Symbol#setter? (#1011)
224
+ * Removed Time#to_date.
225
+ * Due to clobberd RI Docs (!) this should have been in Lore lib date.rb
226
+ * Moved to Lore date.rb. (#1012)
227
+ * Re-added date.rb to lore library, and removed from core. (#1014)
228
+ * Much improved date.rb extension now in Lore library. (#1027)
229
+ * Deprecated kernel/suppress. Use Exception.suppress from now on. (#1040)
230
+ * Improved date.rb and moved to LORE library, and removed from CORE. [major]
231
+ * Deprecated kernel/suppress. Use Exception.suppress from now on. [major]
232
+ * Deprecated String#to_time.
233
+ * This method reqiures the loading of a number of other standard libs.
234
+ * We can reconsider adding it again if we decide these other libs should be core.
235
+ * Or if we find a more suitable way to define the method.
236
+
237
+ * 17 Minor Enhancements
238
+
239
+ * Moved style.rb to string/stylize.rb (#998)
240
+ * Renamed string/subtract to string/op_sub.
241
+ Old name will remain for time being for compatability. (#1002)
242
+ * Module#instance_method_define? now only applies to public methods. (#1003)
243
+ * Array#index accepts a block (one of the few core overrides). (#1004)
244
+ * Moved Hash#<< from hash/update.rb to hash/op_push.rb (#1005)
245
+ * Add facets class files (eg. facets/string) have been made dynamic. (#1013)
246
+ * Moved variablize methods out of metaid.rb and into separate files (string/ and symbol/). (#1042)
247
+ * Added Time#advance. (#1046)
248
+ * Added qua_class.rb. Yea. It really is my favorite.
249
+ * Added simple functional test that loads all of Facets.
250
+ * Added a benchmark for measuring how fast Facets loads. (Core < 1sec!)
251
+ * Made Module#alias_method_chain a public method (for better Rails support).
252
+ * Wrapped Nilclass#to_f in 1.9 condition.
253
+ * float/round.rb redirects to numeric/round.rb.
254
+ * numeric/float.rb holds rounding methods for all classed Numeric, Integer and Float.
255
+ * Replaced Kernel#instance_exec with Mauricio's version.
256
+ * Improved String#each_char to work like Ruby 1.9.
257
+ * This loads strscan.rb.
258
+ * It is wrapped in a 1.9 condition.
259
+
260
+ * 8 Bug Fixes
261
+
262
+ * Hash#<< now returns self (#1001)
263
+ * OpenStruct#to_h dups internal table. (#1015)
264
+ * Fixed require of string/xor in bicrypt.rb. (#1039)
265
+ * Fixed facets.rb to use relative paths.
266
+ * Fixed cgi.rb (CGI is a class not a module).
267
+ * OpenStruct#to_h dups internal table. [bug]
268
+ * Fixed require of string/xor in bicrypt.rb. [bug]
269
+ * date.rb (stamp) fixed ref to constant FORMAT.
270
+
271
+
272
+ == 2.4.3 / 2008-08-14
273
+
274
+ Facets is almost fully interoperable with ActiveSupport and Ruby 1.9.
275
+ We will continue to improve this interoperability in upcoming releases.
276
+
277
+ As a REMINDER, Facets 2.4+ now encourages:
278
+
279
+ require 'facets'
280
+
281
+ This is better than cherry-picking methods. It may seem counter-intuitive,
282
+ but it actually proves more advantageous to do this for the sake of
283
+ improved interoperability. The practice of cherry-picking can become
284
+ problematic if other dependent libraries have cherry-picked different
285
+ methods. In those cases these distinctions go unaccounted and untested.
286
+
287
+ Note that this release does not include a setup.rb script. We are working
288
+ on a new version of this script, which we plan to include in the next release.
289
+
290
+ This release give special thanks to the following people for their contributions:
291
+
292
+ * Ken Bloom
293
+ * Nick Caruso
294
+ * Evgeniy Dolzhenko
295
+ * Andy Freeman
296
+ * Tomasz Muras
297
+ * Dave Myron
298
+
299
+ And of course, to anyone else I failed to mention that has contributed.
300
+
301
+ * 12 Major Enhancements
302
+
303
+ * Changed File#rewrite to not use the in-place change of the string.
304
+ * Deprecate Hash#keys_to_s and Hash#keys_to_sym.
305
+ * Renamed Class#to_pathname and #to_methodname to #pathize and #methodize.
306
+ * Deprecated Console:: namespace for ANSICode.
307
+ * Added Time#trunc and Time#round to Core.
308
+ * Added Ken Bloom's DictionaryMatcher class (will be renamed in future version)
309
+ * Added Array#recursively and fixed bug in Hash#recursively.
310
+ * Added kernel/instance method which provides a fluent interface to private object space.
311
+ * Moved Mentalguy's lazy.rb to core!
312
+ * Added Indexable and Stackable to core.
313
+ * Deprecated ruby.rb, which was a sort 1.9 compatibility layer.
314
+ * The ruby.rb methods were moved to core, wrapped in a 1.9 condition.
315
+
316
+ * 7 Minor Enhancements
317
+
318
+ * Fixed Time#hence changed years when changing months.
319
+ * Fixed Time#hence to flip year correctly when adding months.
320
+ * Added optional argument to Dictionary#first and #last.
321
+ * Improved File#rootname --it is now more robust.
322
+ * Made FileUtils#whereis a module_function again.
323
+ * Although not perceptible to the end user, there are now three divisions lib/core, lib/lore, lib/more.
324
+ * Created Lore library to house extensions to Ruby's standard library.
325
+ * Add facets class files (eg. facets/string) have been made dynamic. [minor]
326
+
327
+ * Unclassified Enhancements
328
+
329
+ * Added Symbol#plain?, Symbol#query? and Symbol#setter? [major]
330
+ * Move admin/sow to admin/share.
331
+ * Moved old changelogs to archive.
332
+ * Added a log/archive.
333
+ * Fixed tests for BasicObject and Hash#slice.
334
+ * Added admin/share dirctory.
335
+ * Moved Hash#<< from hash/update.rb to hash/op_push.rb [minor]
336
+ * Array#index accepts a block (one of the few core overrides). [minor]
337
+ * Module#instance_method_define? now only applies to public methods. [minor]
338
+ * Renamed string/subtract to string/op_sub.
339
+ Old name will remain for time being for compatability. [minor]
340
+ * Hash#<< now return self [bug]
341
+ * BasicObject is now just a synonm for BlankSlate unless Ruby 1.9. [major]
342
+ * Added #glob and #glob_first as extensions to Pathname.
343
+ * Moved style.rb to string/stylize.rb [minor]
344
+ * Added string/mask providing powerful string manipulation. [major]
345
+ * Added warning to bytes --use RichUnits instead.
346
+ * Added Jim Weirich's BlankSlate class.
347
+ * This is a temporary measure be compatible w/ AcitveSupport's BasicObject.
348
+ * Added block to Array#index.
349
+ * This is one of the few core overrides in Facets.
350
+ * It is a feature already in Ruby 1.9.
351
+ * Added niclass/ergo whic points back to kernel/ergo.
352
+ * Added reap and sow to admin/.
353
+ * Made core/facets/hash.rb dynamic.
354
+ * Renamed arguments.rb and CLI::Arguments to argvector.rb and Argvector.*
355
+ * Added #bump method to VersionNumber class.*
356
+ * Updated warn line fore eventual deprecation of fileshell and arguments.*
357
+ * Added facets-load.rb to allow old school cherry picking.*
358
+ * Between 2.0 and 2.4 require 'facets' simply added core to LOAD_PATH.
359
+ * Starting with 2.4 it loads all of core automatically instead.
360
+ * facets-load.rb provides a way to use the old behavior.
361
+ require 'facets-load.rb
362
+ require 'kernel/with'
363
+ require 'symbol/to_proc'
364
+ * It adds the path to the end of LOAD_PATH to prevent any load conflicts.
365
+ * Added file/split_root.*
366
+ * Made module/alias_method_chain and alias_accessor separate files.*
367
+ * Split module/alias.rb up into alias_accessor, alias_module_function and alias_method_chain.
368
+ * Renamed Instantise to Instantize.
369
+ * Modified script/test to display $LOAD_PATH before running tests.
370
+ * Fixed dir tests to require 'fileutils'.
371
+ * Upped version to 2.4.3.
372
+ * Updated NEWS and CHANGES.
373
+ * Moved Indexable and Stackable to core.
374
+ * Update news and added svn entry to reap.yaml.
375
+ * Fixed string/pathize.
376
+ * Move test_partial to more tests.
377
+ * Split out Enumerable#probability tests, etc.
378
+ * Split tests for String#words, etc.
379
+ * Remove module/test_clone.
380
+ * Modified website copyright notice section.
381
+ * Split out String #word_wrap, #words and #each_word.
382
+ * Split out enumerable methods probability, commonality, entropy and frequency.
383
+ * Remove more/facets/module --there's nothing in it.
384
+ * Worked through core lib breaking up a few remaining large method bunches.
385
+ * Added module directory to more lib, as well as hash/symbolize_keys and stringify_keys.
386
+ * Split revise.rb up into separate methods.
387
+ * Split kernel/load.rb into require_all.rb and require_local.rb.
388
+ * Deprecate Hash#keys_to_s and Hash#keys_to_sym.
389
+ * These are the original versions of these methods.
390
+ * But now we can use #rekey(:to_s) and #rekey(:to_sym) instead.
391
+ * Added had directory to more library.
392
+ * Renamed Class#to_pathname and #to_methodname to #pathize and #methodize.
393
+ * Moved binding/opvars from core to more.
394
+ * Added a binding directory to more lib.
395
+ * Deprecated Console:: namespace for ANSICode.
396
+
397
+
398
+ == 2.4.2 / 2008-08-12
399
+
400
+ * Major Enhancements
401
+
402
+ * Added Ken Bloom's DictionaryMatcher class from Ruby Quiz #103.
403
+ (Note this class will probably be renamed in the future.)
404
+ * Changed File#rewrite to not use the inplace change of the string.
405
+ * If you were using the function, change your code to use File#rewrite! instead.
406
+ * Or, modify your code ot use the new behavior.
407
+ * This change can make for a slippery bug, so be sure to check for it!
408
+ * Moved live.rb to facets-live.rb.
409
+ * Added kernel/instance method which provides a fluent interface to private object space.
410
+
411
+ * Minor Enhancements
412
+
413
+ * Added sow generation forms.
414
+ * Spilt Time#trunc into separate file.
415
+ * Remove old log files --shouldn't version control these.
416
+ * Added note to FileList to add glob options parameter.
417
+ * Added optional argument to Dictionary#first and #last.
418
+
419
+
420
+ * Move "lore" tests to test/lore (lore are extensions to Ruby's standard lib).
421
+ * Moved test-old core test to test/core.
422
+ * Added test/core, test/lore and test/more.
423
+ * Added new test directory.
424
+ * Temporarily move test to test-old.
425
+ * Added time/test_round.rb
426
+ * Updated user scripts.
427
+ * Updated reap configuration.
428
+ * Updated test to correspond with previous changs.
429
+ * Adjusted require path for facets.rb.
430
+ * Added array/recursively.
431
+ * Added time/round.
432
+ * Time#to_date makes the public (it already existed in Ruby!)
433
+ * Fixed Time#hence to flip year correctly when adding months.
434
+ * Split hash/recurisve_merge out from hash/recursively.
435
+ * Moved facets.rb to core/.
436
+
437
+
438
+ 2008-08-09 transami
439
+
440
+
441
+ * Work on documentation using new Sow system.
442
+ * Moved meta.rb to more/kernel/meta.rb and merged facets/core.rb into facets.rb.
443
+ * Added more/kernel directory --hey not every extension can be core.
444
+ * Adjusted loadpath and moved lazy.rb to core!
445
+ * Moved remaing files to subdirectory locations.
446
+ * Moved most core libs to core/.
447
+ * Move most more files to the more directory.
448
+ * Added lore and more directories.
449
+ * Added facets/core directory. Yes, I'm spiliting the lib again.
450
+ * Loadpath will be used, so user inteface will stay the same.
451
+ * Setup.rb will be adjusted to recognaize loadpath.
452
+
453
+ * Removed Rope class. If anything this will have a separate project.
454
+
455
+
456
+ 2008-08-08 transami
457
+
458
+ * Update metadata and added admin/config to repository.
459
+
460
+
461
+ 2008-08-07 transami
462
+
463
+ * Removed work directory.
464
+ * Finished moving old work content to depot.
465
+ * Move work/old to depot/deprecated.
466
+ * Moved work/ref to depot/reference.
467
+ * Moved work/new and work/sandbox to depot.
468
+ * Added depot to admin directory to store odd files.
469
+ * This used to be calle work/.
470
+ * Is used to store scrap code, reference code, etc.
471
+ * Moved setup.rb to script/setup.
472
+ * This will either be replaced with configure/install scripts.
473
+ * Or, depend on a separate ruby setup.rb project.
474
+ * Metadata modifications.
475
+
476
+
477
+ 2008-08-06 transami
478
+
479
+ * Moved work to admin.
480
+ * Added recorder.rb to consider in work directory.
481
+ * Moved site to admin.
482
+ * Moved log/ to admin/.
483
+ * Update to testlog and changelog.
484
+ * Added admin directory.
485
+ * Added doc/news to store archives of part release notes.
486
+ * Added website images.
487
+ * Added test for paramix.rb.
488
+ * Updated website with cleaner look.
489
+ * Added "TO BE DEPRECATED" message to ruby.rb.
490
+ * Added all methods from ruby.rb as individual core methods.
491
+ * These are the methods that overlap with 1.9.
492
+ * They are encased in 'unless RUBY_VERSION' caluses.
493
+
494
+ * Imporved file/rootname --now much more robust.
495
+ * Added Kernel#to_yamlfrag to yaml.rb as way to output yaml w/o the "---" header.
496
+ * Perhaps not the most robust solution, but okay for now.
497
+ * Maybe a poor name for the method, but you got a better one?
498
+
499
+
500
+ 2008-06-11 tylerrick
501
+
502
+ * Made FileUtils#whereis a module_function again like it used to be. Because:
503
+ (1) that seems to be the way most other FileUtils methods are (cd, mkdir, cp, ...) and the most obvious way that users would WANT to use FileUtils: FileUtils.whereis("ruby").
504
+ (3) I see module_function used in other comparible parts of Facets: UploadUtils, ConsoleUtils, ZipUtils, FileUtils#safe_ln, ...
505
+ (3) My code that relied on the old module_function behavior was breaking
506
+ What were you thinkin changing it?? ;)
507
+
508
+
509
+
510
+ == 2.4.1 / 2008-04-03
511
+
512
+ * 5 Changes
513
+
514
+ * Comparing to ActiveSupport, found 63 extension clashes, but most are due to 1.9 features and the rest should be compatible.
515
+ * A much improved paramix.rb has been returned to the library; but please note it's not quite finished yet.
516
+ * Reatomized a number of Kernel and String methods. Reatomization is nearly complete.
517
+ * Deprecated behavior.rb. It was not robust.
518
+ * Added basex.rb, library for working in any encoding base using any character set (base62 is the default).
519
+
520
+ * Other Changes
521
+
522
+ * Paramix is all spiffy again.
523
+ * There a no longer capitialize module methods at all.
524
+ * Use Module#[] and mixin_params[] instead.
525
+
526
+ * Update to notes and changes.
527
+ * Added doc/notes.rdoc
528
+ * Renamed.
529
+ * Update metadata for 2.4.1.
530
+ * Added new logs.
531
+ * Removed old logs.
532
+ * Removed old xml changelogs.
533
+ * Added .rsync-filter and .htaccess to site/.
534
+ * Fixed methods and conflicts scripts to compare extension libraries.
535
+ * Updated tests for reatomizations.
536
+ * Continued work on reatomizing core extensions (nearly complete now).
537
+ * Work on kernel instance methods.
538
+ * Added basex.rb and deprecated bahavior.rb.
539
+
540
+
541
+ == 2.4.0 / 2008-03-24
542
+
543
+ Facets 2.4 is a major step forward for Facets. It is perhaps
544
+ the release that 2.0 should have been, but of course it took
545
+ the actual 2.0 release to make 2.4 possible. Some annoyances
546
+ you may have encountered in updating your code to 2.0 are now
547
+ fixed. And from 2.4 on, Facets will now be settling down into
548
+ simple refinement release cycles.
549
+
550
+ The main change under the hood is to bring everything up to
551
+ the top lib/facets/ directory. No longer are the libraries
552
+ sorted by category. I had done so for a long time to make
553
+ it easier to track the various libs, but in the end it was
554
+ only making it more diffcult to deal with build tools and
555
+ packaging.
556
+
557
+ For the end-user, the largest change is a new emphisis on:
558
+
559
+ require 'facets'
560
+
561
+ This is better than cherry-picking methods. It may seem counter-
562
+ intuitive, but it actually proves more advantantages to do this
563
+ for the sake of interoperability than the practice of cherry-picking.
564
+ The reason is simply because others may have cherry-picked different
565
+ methods, and those distinctions go unaccounted and untested.
566
+
567
+ Also with this release, to bolster the use of require 'facets',
568
+ some lack-luster extensions have been deprecated and namespace usage
569
+ has been improved. In addition, we are getting very close to full
570
+ ActiveSupport, and Ruby 1.9, interoperability. Expect this
571
+ to be complete in the next minor release or two.
572
+
573
+ * Enhancements
574
+
575
+ * String#to_re and String#to_rx have swapped default behaviors. #to_rx escapes, #to_re does not.
576
+ * The Console namespace is being deprecated. command.rb and arguments.rb now use CLI naemspace.
577
+ * #compare_on and #equate_on are now "mixin methods" Comparable() and Equateable().
578
+ * Enumerable#product, #combintations and #permutations have change to be Ruby 1.9 compatible.
579
+ * thread.rb, map_send, et al, block is passed to send instead of yielding on result.
580
+ * namespace.rb has been renamed to methodspace.rb.
581
+ * Ruby 1.9 defined a new Proc#curry method, so Facets version has been made compatible.
582
+ * The old curry method is now called #partial, as in "partial application".
583
+ * Deprecated interface.rb. Perhaps a better approach but nonetheless extraneous.
584
+ * Deprecated paramix.rb. A better way is to use a capitialized methods. (Perhaps a lib for that?)
585
+ * Brought back a few web related libs, htmlfilter.rb and cssfilter.rb in particular.
586
+ * camelcase and snakecase are core extensions. For specialized styles use String#style in style.rb.
587
+ * This was a fairly large and fast-paced update, so unfortunately not all changes are listed this time.
588
+
589
+
590
+ 2008-03-24 transami
591
+
592
+ * Updated website a little.
593
+ * Split off some time tests.
594
+ * Updated logs.
595
+ * Update CHANGES and NOTES.
596
+ * Fixed minor bugs to pass tests.
597
+ * Split up include.rb.
598
+ * Split up include.rb.
599
+ * Moved test/test_one_nine.rb to test/test_ruby.rb.
600
+ * Removed use of Console namepspace. command.rb and arguments.rb now use CLI.
601
+ * Renamed ArgVector to CLI::Arguments
602
+ * Removed rdoc script (will replace in future).
603
+ * Added ri generation to setup.rb.
604
+ * Added site/doc soft link to doc/html.
605
+ * Moved one_nine.rb to ruby.rb
606
+ * Update d requires for "one_nine" to just "ruby" b/c of backports to 1.8.7.
607
+ * Added some work files.
608
+ * Added some expirments in "safe" extensions.
609
+ * Added html docs.
610
+ * Added tests.
611
+ * Added amazon books.
612
+ * Add some addition separation to extensions.
613
+ * Renamed task/ to script/, since the community is used to it b/c of Rails.
614
+ * Fixed up tasks.
615
+ * Clean up task system and docs.
616
+ * Update metadata.
617
+ * Test updates.
618
+ * Minor updates.
619
+
620
+
621
+ 2008-03-22 transami
622
+
623
+ * Update annotations for to_hash.rb.
624
+ * Added headers to docs.
625
+ * Updated docs.
626
+
627
+
628
+ 2008-03-16 transami
629
+
630
+ * Added the new split-off tests.
631
+ * Splinter remaining clumped tests.
632
+ * Removed test_array.
633
+ * Splintered array tests.
634
+ * Added some finer-grain to core method.
635
+ * Some deprecated libs added to work/old.
636
+ * Tests are now to th epoint of passing again. Yea!
637
+
638
+
639
+ 2008-03-15 transami
640
+
641
+ * Continued touching up tests.
642
+ * Moved some old tests to proper place in work/old.
643
+ * Deprecated files moved to work/old.
644
+ * Coninuted work on tests.
645
+
646
+
647
+ 2008-03-14 transami
648
+
649
+ * Adjusted module tests.
650
+ * Removed cli directory.
651
+ * Removed prime test directory and moved cli test up a level.
652
+ * Adjust test to match lib (again).
653
+ * Some deprecated extensions place in work/old for possible future reference.
654
+
655
+
656
+ 2008-03-12 transami
657
+
658
+ * Umph... there it is.
659
+ * Removed prime directory.
660
+ * Make way for class extensions.
661
+ * Added warning to Rick Kilmers's unit system.
662
+ * Moving Rich Kilmers's units system to it's own package.
663
+ * Three are alternate unit systems available and Facets should work with any of them.
664
+ * Will keep a fair amount of the Time extensions though.
665
+
666
+
667
+ 2008-03-10 transami
668
+
669
+ * Move core method decisions (I sware there are only a few more!)
670
+ * Moved cli libs to toplevel. Added a few methods to prime library.
671
+ * And so on...
672
+
673
+
674
+ 2008-03-08 transami
675
+
676
+ * Cleandup symbol and class extra extensions.
677
+ * Moved nil/status.rb to nilstatus.rb
678
+ * Got rid of Method#curry and Method#partial since they just convert to Procs.
679
+ * Divied prime methods to sepearate files after all.
680
+
681
+
682
+ 2008-03-07 transami
683
+
684
+ * General cleanup pushing toward 3.0 release.
685
+ * Finished the reorganization of Enumerable extensions.
686
+ * Loose end additions.
687
+ * Cleanup module tests.
688
+ * Cleanup hash tests.
689
+ * Cleanup enumerable tests.
690
+ * Added new test/kernel directory.
691
+ * Removed old test/kernel directory.
692
+ * Moved test_let to prime/kernel in order to move prime/kernel.
693
+ * Cleanup array and time tests.
694
+ * Cleanup file tests.
695
+ * Cleanup string tests.
696
+ * Continued test cleanup. Oh, so, fun fun ;)
697
+ * Removed uneeded test directories.
698
+ * Continued organizing tests.
699
+ * Move integer tests cleanup.
700
+ * Cleaned up integer tests.
701
+ * Continued fixing tests.
702
+ * Working on test organization.
703
+ * Cleaned up binding tests.
704
+ * Removed old core/more test directories.
705
+ * Moved remaining tests to top test directory.
706
+ * MOved extra extension test to toplevel.
707
+ * Again moved more files to top level.
708
+ * MOved more test to toplevel.
709
+ * Moved remaining core test to top test level.
710
+ * Moved ext/core to prime/.
711
+ * Will not combine the per-method tests for the moment.
712
+ * Will save that for later (unless we decide to div prime again :p)
713
+ * Fixed requires for prime/ directory.
714
+ * Moved all "prime" libs to subdir (yes, like they were).
715
+ * Cleaned up remaining extranerous files.
716
+
717
+
718
+ 2008-03-06 transami
719
+
720
+ * Further touchups to website.
721
+ * Added some extra pages to website.
722
+ * OVerhaul website for version 3.
723
+
724
+
725
+ 2008-03-05 transami
726
+
727
+ * Made op_esc.rb a separate module rather thanan extension.
728
+ * REmoved more extraneous files and moved a few to work area.
729
+
730
+
731
+ 2008-03-04 transami
732
+
733
+ * Added some tasks and a couple of file to work old.
734
+ * Cleaned up extra binding extensions.
735
+ * Continued considations (almost there).
736
+ * Continued consolidation and removing extraneous files.
737
+ * Deprecated with_reader, with_writer and with_accessor for attr_singleton_reader, &c.
738
+ * Removed extraneous Enumerable files.
739
+
740
+
741
+ 2008-03-03 transami
742
+
743
+ * Removed extraneous module alias and attr files.
744
+ * Deprecated Hash#pairs_at. Use Hash#slice instead from core.
745
+ * Removed extraneous kernel extension files.
746
+ * Removed extraneous String extextion files.
747
+ * Removed some work folders.
748
+ * Partial adjustments for work area dure to organization changes.
749
+ * Scrap code.
750
+ * Removed vestiges of transfers to core extensions and consolidations.
751
+ * Fixed require in core libraries.
752
+ * Fixed the namespaces of some extensions.
753
+ * It is finished!
754
+ * Move all "prime" libs to top.
755
+ * Removed extra/.
756
+ * Moved extra/continuation to top.
757
+ * Move the rest of extra directories.
758
+ * Moved all "extra" extensions to top facets/ directory.
759
+ * Few more.
760
+ * Added some file that were added before in the transition.
761
+
762
+
763
+ 2008-03-02 transami
764
+
765
+ * Removed remains vestigaes of old organization. (Now just ot fix the new one!)
766
+ * The big wadoozy.
767
+ * Remove empty directories for more/ext.
768
+ * Move add classes and module to facets/.
769
+ * Move more extensions to facets/extra.
770
+ * Move a few more/ext to prime.
771
+ * Moved core/facets to facets/extra.
772
+ * Removed empty ext directories.
773
+ * Added prime directory and files.
774
+ * Removed some dir methods that are now in prime.
775
+ * Remove some now empty directories from core/ext, due to the "prime" transfer.
776
+ * Removed all "prime" extension files.
777
+ * Move mattr to module.
778
+
779
+
780
+ 2008-03-01 transami
781
+
782
+ * Fixed require bug in time methods.
783
+ * Reverted memomize.rb back to original code --will come back to later.
784
+ * Moved random.rb to sys/.
785
+ * Added stylizer.rb to replace stylize.rb
786
+ * Removed old stylize.rb library --see new stylizer.rb.
787
+ * Array #recursively is not only called #traverse.
788
+ * Added case/stylize methods to more/facets/string.
789
+ * Renamed more/string/facets/titlecase to captialize_all.
790
+
791
+
792
+ 2008-02-29 transami
793
+
794
+ * Added uri and xoxo tests.
795
+ * Cleaning up more/ext tests.
796
+ * Some more reorganization in test/core.
797
+ * Removed finaly vestage of old dir structure.
798
+ * Moved remaing test to more/add.
799
+ * Removed some outdated test and organized.
800
+ * Moved more/ext tests out of more/add/.
801
+ * Added ext, cli and sys to test/more/.
802
+ * Removed test/mixin.
803
+ * Moved test from mixin to more/add.
804
+ * Moved add to test/more.
805
+ * Added test/more.
806
+ * Moved test/more to add.
807
+ * Moved ext tests to core subdir.
808
+ * Added test/core.
809
+ * Move text/core to test/ext.
810
+ * Updated .roll file for new organization.
811
+ * Updated .reap file.
812
+ * Updated metadata to fit new organization. (Happy Days!)
813
+ * Moved facets.rb up a level.
814
+ * Temporarily moved console libs to cli --mainly to ease working on them.
815
+ * Moved condole to add.
816
+ * Moved system to more/sys.
817
+ * Moved "lore" to add/. Yea!
818
+ * Moved libs to ext.
819
+ * Added more/ext directory.
820
+ * Progressive work on memoize and elementor.
821
+ * Moved systematic libs from ext/ to sys/.
822
+ * Moved classes and modules from ext/ to add/.
823
+ * Added facets directory to add/ directory.
824
+ * dded add/ directory to core/.
825
+ * Moved facets/ to ext/.
826
+ * Added ext directory.
827
+ * Minor doc change.
828
+ * Functor no longer privatizes =, == and =~.
829
+ * Minor doc fix.
830
+ * Properly split conversion.rb.
831
+ * Some string methods extracted from stylize.rb.
832
+
833
+
834
+ 2008-02-28 transami
835
+
836
+ * Continued structuring.
837
+ * Moved lore/console up a notch.
838
+ * Moved lore/system up a notch.
839
+ * Moved random.rb to more/.
840
+ * Renamed namespace.eb to methodspace.rb.
841
+ * Moved autoreload to more/facets/kernel.
842
+ * Moved four remaing web libs to common directory (use web/ subdir?).
843
+
844
+
845
+ 2008-02-26 transami
846
+
847
+ * Moved some modules from system to common.
848
+ * Moved all mixins back in with classes.
849
+ * Moved class/facets up a level.
850
+ * Removed old curry.rb.
851
+ * More as standard and extraneous core extensions is progressing.
852
+ * Added enumerable directory to more.
853
+ * Moved some libs from system to more.
854
+ * Added string directory to more.
855
+ * Added kernel directory to more extensions.
856
+ * Recreated more to house standard extensions.
857
+ * More as standard extensions, and Lore (?) for the rest.
858
+ * Added some web related libraries.
859
+
860
+
861
+ 2008-02-25 transami
862
+
863
+ * Added cgi.rb with some standard extensions.
864
+ * Fixed bug with #peek in stackable.
865
+ * Deprecated paramix.rb.
866
+
867
+
868
+ 2008-02-24 transami
869
+
870
+ * Added xmlhash.rb and returned uri.rb extensions to the library.
871
+ * Moved getoptlong/rb to standard extensions folder.
872
+ * Added #method_name to Date class.
873
+
874
+
875
+ 2008-02-22 transami
876
+
877
+ * Removed extraneous level in doc.
878
+ * REmove cut-bases AOP, now in it's own library.
879
+ * Converted compare_on.rb to Paramtric Mixins.
880
+
881
+
882
+ 2008-02-21 transami
883
+
884
+ * Split fileutils up into individual methods.
885
+ * Update metadata to reflect organization changes.
886
+ * Moved standard library extensions to more/extend.
887
+ * Added facets directory to more/extend.
888
+ * Continued organization.
889
+ * Moved console related libs to more/console.
890
+ * Added facets subdir to console.
891
+ * Added more/console; trying something a bit different in organization.
892
+ * Added more/class/facets/net and moved set and ostruct to class as well.
893
+ * more/system, rather than systems.
894
+ * Moved class, mixin, and system to more.
895
+ * Added new more directory.
896
+ * Moved more to systems.
897
+
898
+
899
+ 2008-02-20 transami
900
+
901
+ * Added test for command.rb.
902
+
903
+
904
+ 2008-02-19 transami
905
+
906
+ * Renamed console.rb to whate it should be consoleutils.rb.
907
+ * Update to command.rb integrating MasterCommand and Command into a single class.
908
+ * The Console::Command is not nice and simple command parser I've been aiming torward.
909
+ * Barring some major oversite, this class will not change in an incompatible way ever again.
910
+ * Basic tests pass. More eleborate test will follow to ensure more complex designs also work.
911
+
912
+
913
+ 2008-02-18 transami
914
+
915
+ * Added doc directory.
916
+ * Updated README and allowed doc/ to be included in package.
917
+ * Added site/rdoc, which is a symlink.
918
+ * Added log/Changelog.txt too.
919
+ * Update logs. (Should these even be under version control?)
920
+ * Added Rakefile to redirect to task/*.
921
+ * Fixed bug in Kernel#object_hexid.
922
+ * Fixed test for hash/collate.
923
+ * Added test task and temporary rdoc task.
924
+ * Added options back into multiglob_r.
925
+ * Fixed bug in multiglob_r so it will NOT follow symlinks.
926
+ * Moved work/reference to work/ref.
927
+ * Moved work/current to new (can you tell I have a new naming scheme for work/?)
928
+ * Moved work/outdated to old.
929
+ * Added some outdated tasks to work. Will eventually delete.
930
+
931
+
932
+ 2008-02-11 transami
933
+
934
+ * Moved doc/ to site/.
935
+ * Added remaining doc files.
936
+ * Converted website to XML.
937
+
938
+
939
+ 2008-02-09 transami
940
+
941
+ * Automated learn and quick doc menus.
942
+ * Convert website from html to xml.
943
+ * Finishing touches for next release.
944
+ * Saved old rdoc script.
945
+
946
+
947
+ 2008-02-06 transami
948
+
949
+ * Updates to tests as embedded tests are no more.
950
+ * Finally completed removal of all embedded tests.
951
+ * Organized tests according to new lib organization.
952
+ * Improved cloneable.rb to be a true deep dup/clone mixin using Ken Bloom's suggestion.
953
+
954
+
955
+ 2008-02-05 transami
956
+
957
+ * Working on end-user tasks.
958
+ * Added work/outdated/task.
959
+ * Updated the way rdocs are generated.
960
+ * Organized all libs between core, more, class and mixin.
961
+ * Moved class libraries to lib/class/facets.
962
+ * Added lib/class.
963
+ * Added tasksystem.rb.
964
+ * Remove some admin task files no longer needed thanks to Reap.
965
+ * Move admin/ to work/outdated. We'll be using reap instead.
966
+ * Moved meta/facets.roll to .roll.
967
+ * This is related to an update of Rolls...
968
+ * It's better to have good SOC here regardless of some metadata redundancy.
969
+ * Added meta/authors.
970
+ * Moved old changelogs to log/ and move meta/config.yaml to .reap per new reap design.
971
+ * Updaed reap config and removed icli.yaml.
972
+ * Added doc/ads directory.
973
+ * Removed dev/ directory.
974
+ * Moved remaining dev files to work/ (will cleanup later).
975
+ * Moved dev/sandbox to work/.
976
+ * Moved dev/task and reference material to work directory.
977
+ * Moved outdated dev libs to work.
978
+ * Moved current dev to work directory.
979
+ * Update to admin/tasks.
980
+ * Update to project file.
981
+ * Added enumerable/combinations.
982
+ * Added openhash and tracepoint.
983
+ * Added work directory.
984
+ * Added some development scraps, plan to move dev/ to work/.
985
+
986
+
987
+
988
+ == 2.3.0 / 2008-02-01
989
+
990
+ Amoung other changes with this release, cloneable.rb is
991
+ now a true deep dup/clone mixin; tracepoint.rb returns
992
+ to the library.
993
+
994
+ * Reorganized library into smaller groups: core, more, class and mixin.
995
+ * Added tracepoint.rb back to the library.
996
+ * Fixed multiglob_r bug, so it will NOT follow symlinks.
997
+
998
+ 2008-01-19 transami
999
+
1000
+ * Remove admin/log.
1001
+ * Convert changelog to pure ruby.
1002
+ * Remove admin/svn subdir.
1003
+ * Organize admin tasks better.
1004
+ * Add admin tasks.
1005
+ * Moved admin tasks to admin directory.
1006
+ * Added admin directory.
1007
+ * Removed task/doc subdir.
1008
+ * Moved some tasks.
1009
+ * Convert tasks to pure ruby.
1010
+
1011
+
1012
+ 2008-01-16 transami
1013
+
1014
+ * Move test/unit to test/core.
1015
+ * Moved remaining more test to test/more.
1016
+ * Added test/more/hash directory.
1017
+ * Moved more tests to test/more directory.
1018
+ * Added test/more.
1019
+ * Fixed test_keyize.rb.
1020
+ * binding/test_cflow renamed to test_caller
1021
+
1022
+
1023
+ 2008-01-09 transami
1024
+
1025
+ * Added test for new hash/collate.
1026
+ * Added demo benchmarks.
1027
+ * Update publish task.
1028
+ * Update quick.html and wiki code.
1029
+ * Added TODO to toplevel.
1030
+ * Added a couple of missing binding requires to repo.
1031
+ * Moved More lib hash_keyize.rb to hash/keyize.rb.
1032
+
1033
+
1034
+ 2007-12-29 transami
1035
+
1036
+ * Move source_material to just source.
1037
+
1038
+
1039
+ 2007-12-27 transami
1040
+
1041
+ * ANd so it goes with work reorganization.
1042
+ * Moved dev/play to dev/sandbox.
1043
+ * Further reorganiztion of work area.
1044
+ * Some reorganization of developemnt area.
1045
+
1046
+
1047
+ == 2.2.1 / 2007-12-22
1048
+
1049
+ (2.2.1) This release get rid of the underlying methods subdir.
1050
+ All method redirects are now in core, to ensure
1051
+ there are no more name clashes.
1052
+
1053
+ * Got rid of methods subdir. All method redirects are in core/.
1054
+
1055
+ 2007-12-22 transami
1056
+
1057
+ * Moved doc/wiki to apiwiki b/c of Rubyforge's wiki.
1058
+ * Removed doc/api dir.
1059
+ * Added wiki.
1060
+ * Prepare for 2.2.1 release.
1061
+ * Update per-module/class files.
1062
+ * Moved binding/cflow.rb to caller.rb.
1063
+ * Fixed up binding extensions.
1064
+ * Update tests and prepare for next version.
1065
+ * Ditto.
1066
+ * Renamed a couple test tasks.
1067
+
1068
+
1069
+ 2007-12-21 transami
1070
+
1071
+ * Moved methods and groups task to trash.
1072
+ * Moved core hash/keyize to more.
1073
+ * Added test class/remove_descendents.rb.
1074
+ * Added all remaining per-method require libs from methods/ --will need to wrok through these over time.
1075
+ * Added trash work directory.
1076
+
1077
+
1078
+ 2007-12-20 transami
1079
+
1080
+ * Adjust text according to per-method file changes.
1081
+ * All hash method, but the conversion methods, are now rpresented in core/facets/hash.
1082
+ * Added a few more Hash per-method files.
1083
+ * Add per-method libs for hash.
1084
+ * Updated facets/string.rb.
1085
+ * Moved string/format.rb to string/wrap.rb.
1086
+ * Updated String#brief.
1087
+
1088
+
1089
+ 2007-12-17 transami
1090
+
1091
+ * Renamed ROLLRC to facets.roll.
1092
+
1093
+
1094
+ == 2.2.0 / 2007-12-13
1095
+
1096
+ (2.2.0) This release provides improved rdocs and prepares facets for
1097
+ use with RUby 1.9. It also adds Matthew Harris' duration.rb
1098
+ library. Bug thanks to Matthew!
1099
+
1100
+ * A lot of rdoc updates to core extensions --as promised ;)
1101
+ * Just about every method now has at least a brief explinaiton and an example.
1102
+ * integer/bitmask.rb has changed a bit --pun intended ;) Deprecated some methods and now use "~" instead of "-" to clear bits.
1103
+ * The name Array#unzip didn't makes sense, it was renamed to #modulate (though #collate seems better?)
1104
+ * Renamed Enumerable#collate to #mash (Map hASH); #collate and #graph remain aliases for the time being.
1105
+ * Deprecated Module#include_and_extend. Just use both silly.
1106
+ * More lib pp_s.rb has been removed. Use #pretty_inspect instead.
1107
+ * Split binding extensions up a bit more finely --eval.rb sprouted here.rb, self.rb and defined.rb.
1108
+ * Move Time#stamp out of conversion.rb and into time/ dir, and remove to_s alias.
1109
+ * Preliminary addition of Matthew Harris' excellent duration.rb lib (will integrate with times.rb better in future).
1110
+ * Added if clauses to handle upcoming Ruby 1.9 gracefully. Facets should now be just about ready for use with 1.9.
1111
+
1112
+ 2007-12-13 transami
1113
+
1114
+ * Fixed project.yaml summary.
1115
+ * Update AUTHORS list.
1116
+ * Update release notes.
1117
+ * Update CHANGES for 2.2.0.
1118
+ * VERSION 2.2.0
1119
+ * Added some missing tests dur to recent separations.
1120
+ * Minor update to test/general.
1121
+ * Updated tests to reflect recent changes.
1122
+ * Fixed test for continuation and removed test for pp_s.rb.
1123
+ * Move task/docpkg to task/doc/zip.
1124
+ * Moved task/config.yaml to meta/ per new Ratch.
1125
+ * Moved task/special to task/doc.
1126
+ * Minor updates to test and install tasks.
1127
+ * Updated todo list (in dev/).
1128
+ * Copied log/history.rd to CHANGES.
1129
+ * Removed log/history.rd and log/todo.rd
1130
+ * Fixed stylize.rb for use with 1.9 (fixed case statement).
1131
+ * Separated kernel/returning, now that #tap will be in 1.9.
1132
+ * Updated facets.rb for use with 1.9.
1133
+ * Separated time/stamp.rb.
1134
+ * Divided binding up into a few more pieces.
1135
+ * Fixed kernel/instance to play nice with 1.9.
1136
+ * Added test for string/op.rb.
1137
+
1138
+
1139
+ 2007-12-12 transami
1140
+
1141
+ * Renamed accessor #attributes to #instance_attributes.
1142
+
1143
+
1144
+ 2007-12-10 transami
1145
+
1146
+ * Removed continuation from core.
1147
+ * Removed pp_s.rb (use pretty_inspect) add continuation.rb.
1148
+ * Documentaiton improvements and moved continuation extension to more lib.
1149
+ * Added 1.9 check in continuation/create.rb.
1150
+ * Added op.rb to string.rb.
1151
+ * Added String/op.rb with String#- method.
1152
+
1153
+
1154
+ 2007-12-09 transami
1155
+
1156
+ * Minor edit to basicobject.rb in light of 1.9.
1157
+ * Minor adjustments to lazy.rb to fix warnings by Ruby 1.9.
1158
+ * Added Matthew Harris' Duration class.
1159
+
1160
+
1161
+ 2007-12-08 transami
1162
+
1163
+ * Added Hash#slice and Hash#except (didn't we have this before?)
1164
+
1165
+
1166
+ 2007-12-04 transami
1167
+
1168
+ * Minor adjust to website.
1169
+ * Improved on tests in relation to doc work.
1170
+ * Handled some minor bugs found while documenting.
1171
+ * Mode doc improvements.
1172
+
1173
+
1174
+ 2007-12-02 transami
1175
+
1176
+ * Add a couple new task for rdoc gen.
1177
+ * Added nbsp to quickopts task.
1178
+ * Website updates.
1179
+ * Work on website using siteparts.
1180
+ * Added registerable.rb, updated history.
1181
+ * Added #include_as to facets/namespace.rb.
1182
+ * Cleanup test hearders.
1183
+ * Rdoc improvements.
1184
+
1185
+
1186
+ 2007-12-01 transami
1187
+
1188
+ * Removed test for kernel/require_esc.rb
1189
+ * Remove kernel/require_esc.rb.
1190
+ * Updated integer docs.
1191
+ * Updates to kernel test headers.
1192
+ * Documentation updates to kernel extensions.
1193
+
1194
+
1195
+ 2007-11-30 transami
1196
+
1197
+ * Update docs continued.
1198
+ * Update hash test headers.
1199
+ * Updated hash extension docs.
1200
+ * Updated docs.
1201
+ * Added some missing tests.
1202
+ * Continued docs update.
1203
+ * Update docs.
1204
+ * Added test_collect.rb split-offs and test_mash inplace of test_collate.
1205
+ * Updated lots of test headers.
1206
+ * Renamed Enumerable #collate to #mash. (old name, along with graph, will be an alias for time being)
1207
+ * Lots of doc updates.
1208
+ * Updated documentation for array extensions.
1209
+
1210
+
1211
+ 2007-11-29 transami
1212
+
1213
+ * Updated AUTHORS.
1214
+ * Divided enumerable/collect into split.rb and each.rb as well.
1215
+ * Moved mapsend.rb to thread.rb.
1216
+ * Updated mapsend.rb to focus on threads.
1217
+
1218
+
1219
+
1220
+ == 2.1.3 / 2007-11-28
1221
+
1222
+ * Fixed minor oddity in Enumerable/collate.
1223
+ * Fixed major issue with 2.1.2 where it would not core facets correctly.
1224
+ * Array#to_h used flatten, but it needs to be flatten(1).
1225
+ * Fixed minor issue with collate.
1226
+ * Move core/main.rb back to core/facets.rb as it conflicts with lib in more/.
1227
+
1228
+
1229
+ == 2.1.2 / 2007-11-22
1230
+
1231
+ * Dir::multiglob no longer handels -/+ modifiers. Use FileList instead.
1232
+ * Fixed task/install script.
1233
+ * Added copyright notice to COPYING file.
1234
+ * Renamed LICENSE to COPYING according to offical GPL policy.
1235
+ * Added exception#details.
1236
+
1237
+
1238
+ == 2.1.1 / 2007-11-16
1239
+
1240
+ * Fixed bug in command.rb that clobbered options.
1241
+ * Added kernel/ergo.rb.
1242
+ * Removed debug code.
1243
+ * Fixed options bug in command.rb
1244
+ * Moved nilclass/ergo to kernel/ergo.
1245
+ * Update Kernel#ergo.
1246
+ * Added pp_s.rb (Questionable addition, but we'll leave it for now.)
1247
+ * Added validation.rb. This is here for Nitro's sake --better techinques may replace it in the future.
1248
+ * Removed tracepoint.rb.
1249
+ * Added Console::Logger to logger.rb (may be separated in future).
1250
+ * Added option arity to command.rb.
1251
+
1252
+
1253
+ == 2.1.0 / 2007-11-10
1254
+
1255
+ Major changes include a new and much-improved command.rb,
1256
+ a new BiCrypt class for simple two-way crypotgraphy,
1257
+ as well as attr_reader!, attr_writer! and attr_accessor!
1258
+ for flag attributes, plus alias_xxx methods for all
1259
+ attr_xxx methods.
1260
+
1261
+ * command.rb has been completely rewritten. The API has changed completely!
1262
+ * There is no longer a Commmand::Optoins class. Use Console::Arguments instead.
1263
+ * Added BiCrypt class to crypt.rb for simple two-way encyrption.
1264
+ * module/attr.rb now has attr_reader!, attr_writer! and attr_accessor!
1265
+ * All attr_xxx methods have coresponding alias_xxx methods.
1266
+ * Fixed bug in Enumerable#cluster_by which returned nil instead of [].
1267
+ * Added UniversalOptions module.
1268
+ * Fixed minor bug in arguments.rb that prevented proper repeat parameters.
1269
+ * Fixed bug in to_console.
1270
+ * Moved common alias methods from attr.rb to alias.rb.
1271
+ * MasterCommand now passes (args, opts), until 1.9 is main stream.
1272
+ * Added BiCrypt class for simple two-way encryption.
1273
+
1274
+
1275
+ 2007-11-09 transami
1276
+
1277
+ * Added dev/test
1278
+ * Renamed RELEASE to WHATSNEW
1279
+ * Added injecting test and cleaned up.
1280
+ * Fixed bud in enumerable/cluster_by (returned nil instead of []).
1281
+ * Cleaned up enumerable/permutation.rb
1282
+ * minor space removal
1283
+ * Complete rewrite of command.rb.
1284
+ * Added comment for potential future #is.
1285
+ * Added "tester" attribues attr_xxx!. Also added alias_xxx for all attr_xxx methods.
1286
+ * Added top-level log directory.
1287
+
1288
+
1289
+ 2007-11-08 transami
1290
+
1291
+ * Added -q option to zip method in ZipUtils.
1292
+ 2007-11-05 transami
1293
+
1294
+ * Remove #q reference from RELEASE.
1295
+ * Cleanup of test_initializer.rb.
1296
+ * VERSION 2.0.5
1297
+ * Fixed return bug in hash/op.rb.
1298
+ * Ok. #p is back. This will in fact be in 1.9, so we're good.
1299
+ * Allowed Class#initializer to return the attribute names.
1300
+ * This should allow things like: 'private *initializer(...)'
1301
+
1302
+
1303
+ 2007-11-04 transami
1304
+
1305
+ * Added missing (*args) in #initialize on Hash.new.
1306
+ * Renamed #p to #q, because of multiple args problem.
1307
+ * I don't know how Ruby 1.9 plans to handle multiple args.
1308
+ * Will deprecate for 1.9 anyway so doesn't matter much.
1309
+ * Fixed package name in icli.yaml.
1310
+ * Added name field to meta/icli.yaml.
1311
+ * Added meta/icli.yaml.
1312
+ * Added a RELEASE file to hold current release notes.
1313
+ * Added log task.
1314
+ * Added changelog file in doc/log/.
1315
+ * Up'd version to 2.0.4.
1316
+ * Update task/groups.
1317
+ * Fixed to_h in Command::Options
1318
+ * Fixed bug in initialize.
1319
+
1320
+
1321
+ 2007-11-03 transami
1322
+
1323
+ * Removed extest task. We will no longer need it.
1324
+ * Fixed bug in Hash#- Thanks to Xavier Shay.
1325
+ * Minor update to rdoc.yaml.
1326
+ * Renamed old changelogs.
1327
+
1328
+
1329
+
1330
+ == 2.0.5 / 2007-11-05
1331
+
1332
+ * Added final methods Gavin Sinclair's Extensions project (contributed by Noah Gibbs).
1333
+ * Fixes bug with Dictionary#initialize
1334
+ * Fixes bug with Hash#-
1335
+ * Also improves changelog production.
1336
+ * Made #alias_method_chain compatible with current ActiveSupport version.
1337
+
1338
+
1339
+ == 2.0.4 / 2007-11-04
1340
+
1341
+
1342
+ == 2.0.3 / 2007-11-02
1343
+
1344
+ * Touch up to methods task.
1345
+ * Update rsync filter
1346
+ * Minor updates fixing issues highlighted by running crosstest.
1347
+ * Many minor bug fixes after running against crosstest.
1348
+ * Added usage support for __foo options.
1349
+ * Fixed a many a test after running against crosstest.
1350
+ * Removed load task. It did not isolate the libs, so wasn't effective.
1351
+ * Added a number of new tasks.
1352
+ * Rename SMTP_TLS to Smtp_tls for Rdocs.
1353
+ * Moved rdoc.yaml to config/.
1354
+ * moved task/config to task/config/general.
1355
+ * Update tasks.
1356
+
1357
+
1358
+ 2007-11-01 transami
1359
+
1360
+ * Added array/only, symbol/to_proc (where did it go?) and hash/select.
1361
+
1362
+
1363
+ 2007-10-31 transami
1364
+
1365
+ * Update roll file.
1366
+ * Moved test_command_options to test_command.
1367
+ * Update dictionary test to check dup and autohash.
1368
+ * Fixed autohash and dup bugs.
1369
+ * Verbatim support for Rails' version of #alias_method_chain.
1370
+ * Remove site/ directory.
1371
+ * Moved rsync filter up too.
1372
+ * Moved doc/site/ up to doc/.
1373
+ * Added javascript directory to doc/.
1374
+
1375
+
1376
+ 2007-10-30 transami
1377
+
1378
+ * Updates across the board.
1379
+ * Updates to stylize and command.rb.
1380
+ * Made facets.rb a shortcut to facets/facets.rb (this is for Rolls, better way?)
1381
+ * Oh smack. Lots of stuff fixed.
1382
+
1383
+
1384
+ 2007-10-29 transami
1385
+
1386
+ * Remove version.txt. No longer needed.
1387
+ * Removed meta/project.yaml, replaced by facets roll file.
1388
+
1389
+
1390
+ 2007-10-28 transami
1391
+
1392
+ * Modifications to command.rb, snapshot and rbsystem.
1393
+ * Merged command.rb and command_options.rb into command.rb.
1394
+ * Added to_data aliases to snapshot.rb
1395
+ * Minor additions to rbsystem. Rather than System, maybe Ruby?
1396
+
1397
+
1398
+ 2007-10-27 transami
1399
+
1400
+ * Removed embedded test from overload.rb.
1401
+ * Allow OpenStruct#initialize to take a setter block.
1402
+ * Downloader needs 'wb' flag rather then just 'w'.
1403
+ * Fixed typo and removed embedded test.
1404
+ * Fixed bug in command_options.rb, putting the class back in the Console namespace.
1405
+
1406
+
1407
+ * improved module/traits.rb
1408
+
1409
+
1410
+ == 2.0.2 / 2007-10-08
1411
+
1412
+ * cleaned up some test and updated version to 2.0.2
1413
+ * update methods to eleminate duplicate file names between lib/core and lib/methods
1414
+
1415
+
1416
+ == 2.0.0 / 2007-10-02
1417
+
1418
+ 2007-10-07 transami
1419
+
1420
+ * doc session - clean up array methods
1421
+
1422
+
1423
+ 2007-10-06 transami
1424
+
1425
+ * fixed enumerable/test_collect.rb
1426
+ * doc update some tasks
1427
+ * updated version to 2.0.1
1428
+ * minor bugs fixes
1429
+ * update methods task to display each file as it process it
1430
+ * added benchmarks for some enumerable methods.
1431
+ * moved demo/bench/bench_factorial to an demo/bench/integer subclass
1432
+ * added Erik Veenstra to AUHTORS for work on enumerable/group_by and cluster_by
1433
+ * minor improvement to test task to specifically read test_*.rb files
1434
+ * removed enumerable/partition.rb
1435
+ * move enumerable/partition.rb methods to collect.rb.
1436
+ * Improved Integer#of.
1437
+ * Minor improvements to collect.rb and partition.rb
1438
+ * Deprecated nonuniq!, bug fixed cluster_by and aliased group_by and partition_by.
1439
+ * Rennamed Enumerable#partition_by to group_by (like RUby 1.9) and fixed bug in cluster_by.
1440
+ * update quick docs
1441
+ * Doc updates
1442
+
1443
+
1444
+ 2007-10-02 transami
1445
+
1446
+ * Added Oliver Renaud to the AUTHORS list (oops!)
1447
+ * update README to not use folded lines
1448
+ * spellchecked README
1449
+ * update test task and test_aop.rb
1450
+ * minor update to meta/project.yaml
1451
+ * updates to groups task and methods task and version to 'stable'
1452
+ * updated test task to allow 'live' test
1453
+ * update AUTHORS
1454
+ * update test task and move AUTHORS file to toplevel
1455
+ * moved note/ to doc/notes
1456
+ * update tasks for core/fore move and moved todo to dev/
1457
+ * moved fore to core (and core to methods)
1458
+
1459
+
1460
+ 2007-09-20 transami
1461
+
1462
+ * update test and install tasks
1463
+ * require fixes to cut.rb and attributes.rb
1464
+ * fixed tests for string/nchar and kernel/silence
1465
+ * Fixed String#brief in format.rb
1466
+
1467
+
1468
+ 2007-09-13 transami
1469
+
1470
+ * removed 1stClassMethod from "more" docs
1471
+ * removed 1stClassMethod as a rdoc target (now in Core target)
1472
+ * update install and rdoc tasks
1473
+ * moved string/test_index.rb to string/test_nchar.rb
1474
+ * updated indexable tests
1475
+ * update string.rb to include string/nchar.rb
1476
+ * moved index.rb to nchar.rb
1477
+ * clean up string/index.rb
1478
+
1479
+
1480
+ 2007-09-12 transami
1481
+
1482
+ * moved facets.rb to fore directory
1483
+ * add comment to groups task
1484
+ * added groups task
1485
+ * updated all extrension group files (array.rb, binding.rb, etc.)
1486
+ * uncapitalize meta files
1487
+ * update methods task a bit more, plus related configuration
1488
+ * updated methods task
1489
+ * removed lib/core --this is generated content (may be renamed too)
1490
+ * added load and stats tasks
1491
+ * update install task --this replaces setup b/c of Facets' special install needs
1492
+ * update project file
1493
+ * removed lib/facets
1494
+ * moved remaining libs to fore (will later consider an additional subdivision)
1495
+ * move facets/fore to fore/facets
1496
+ * move facets/more to more/facets
1497
+ * added ;ob/core, more and fore
1498
+ * move memorize
1499
+
1500
+
1501
+ 2007-09-10 transami
1502
+
1503
+ * removed io and net directories
1504
+ * moved io/redirect.rb to more/ioredirect.rb and net/smtp_tls.rb and net/uploadutils.rb libs to more too.
1505
+ * few more libs moved to more/ directory
1506
+ * moved all the most obvious more libs to the more directory
1507
+ * moved fore "grouping" libs to fore directory
1508
+ * moved "fore" libs to fore directory
1509
+ * create for and more directories (yes, you know what's coming ;)
1510
+ * renamed remain.rb (was main_as_module.rb) to just main.rb
1511
+ * improved rdoc task and project.yaml file
1512
+ * better docs for OpenObject
1513
+ * improved method hiding
1514
+
1515
+
1516
+ 2007-09-07 transami
1517
+
1518
+ * documentation touch ups
1519
+ * fixes for conversion.rb rather than conversions.rb
1520
+ * updated to website docs
1521
+ * moved demos to demo/sample
1522
+ * added bench and sample dir to demo
1523
+
1524
+
1525
+ 2007-09-06 transami
1526
+
1527
+ * moved spy.html to light.html
1528
+ * menum change to webpage, fixed core doc link
1529
+ * moved metadata files to meta/ (info/ or box/ would be better?)
1530
+ * updated test_conversion.rb for to_h/to_hash
1531
+ * reverse_each instead of each for after advice in advice.rb
1532
+ * final fix to to_h/to_hash discrepency
1533
+ * added a Path and Root features to Pathname (good idea?)
1534
+
1535
+
1536
+ 2007-09-05 transami
1537
+
1538
+ * update advice.rb test and moved old cut test to dev/scrap
1539
+ * updated advice; removed preinitialize.rb to trinkets project (it was too expiremental)
1540
+ * command_filter.rb needs to considered/developed; moved to dev/new/
1541
+ * fixed interface.rb fo singelton methods
1542
+ * updates to tests
1543
+ * whole lot of small bug fixes
1544
+ * add tests to revision control
1545
+ * removed old cut test (moved to dev/scrap)
1546
+ * working on tests
1547
+
1548
+
1549
+ 2007-09-04 transami
1550
+
1551
+ * added read.rb (taken from readwrite.rb)
1552
+ * split readwrite.rb into read.rb and write.rb
1553
+ * remove string/unpack.rb, offset can be had using '@' format instead
1554
+ * renamed conversions.rb to conversion.rb, fixed some requires
1555
+ * improved attr.rb
1556
+ * some cleanup of enumerable extensions
1557
+ * setup annotations demo
1558
+
1559
+
1560
+ 2007-09-03 transami
1561
+
1562
+ * add non-embedded tests
1563
+
1564
+
1565
+ 2007-09-02 transami
1566
+
1567
+ * finally brough over toadcode prototype.rb and cleaned it up enough to be useful
1568
+ * removed annotations subdir
1569
+ * moved annotations/ann.rb and attr.rb to annotations.rb and attributes.rb
1570
+ * remove annotations.rb
1571
+ * moved annotations/settings.rb up a dir
1572
+ * remove settings.rb
1573
+ * chnaged multiton_id(e) to multiton_id(*e,&b)
1574
+ * updated test task
1575
+ * added Christoph Rippel to authors lists
1576
+ * added doc header to new multiton class
1577
+ * update to new version of multiton
1578
+ * playing around with multiton2.rb
1579
+ * renamed dev/try to dev/new
1580
+ * created dev/old to temporarily house old versions of libs that have been replaced.
1581
+ * fixed quick.html documentation
1582
+ * used old wiki.gif as email.gif instead
1583
+ * fixed config.yaml publish entry
1584
+ * some minor updates to index.html
1585
+
1586
+
1587
+ 2007-09-01 transami
1588
+
1589
+ * moved site to doc/site
1590
+ * update to publish task
1591
+ * updates of tasks
1592
+ * added kernel/report.rb to hold debug/warn extensions.
1593
+ * renamed reporting.rb to silence.rb
1594
+ * update reporting.rb (created report.rb from it)
1595
+ * task work
1596
+ * clean up dev finis
1597
+ * cleanup dev just a bit more
1598
+ * continue cleanup of dev directory
1599
+ * moved dev/twiki to misc/
1600
+ * removed dev/core
1601
+ * moved require_directory.rb to misc/
1602
+ * added dev/misc for code scraps that might be useful but are not straight lib or task code
1603
+ * more dev changes
1604
+ * organize dev better
1605
+ * cleanup of dev continues
1606
+ * cleanup of dev dir
1607
+ * clean up dev dir more
1608
+ * some cleanup of dev directory
1609
+
1610
+
1611
+ 2007-08-31 transami
1612
+
1613
+ * almost completed advice lib
1614
+ * added comment about possible update
1615
+ * deprecate instance_send and instance_map
1616
+ * work on rdoc task
1617
+ * work on rdoc task
1618
+
1619
+
1620
+ 2007-08-30 transami
1621
+
1622
+ * added dev/cut dir
1623
+
1624
+
1625
+ 2007-08-29 transami
1626
+
1627
+ * no reason to track .config
1628
+ * clean up trunk
1629
+ * added todo comment
1630
+ * added advice.rb to replace old aspects.rb
1631
+ * removed aspects.rb (sucked), added prototype.rb (infancy) and adjusted to class_extension.rb
1632
+ * removed #to_roman (now part of the English project)
1633
+ * cont. work on aop and cuts
1634
+ * fixed IMG tag bug
1635
+ * added yaml.rb
1636
+ * move #here convenience method to binding/eval (separate?)
1637
+ * added in order to remove kernel/misc.rb
1638
+ * consolidate string/regesc
1639
+ * added module/methods
1640
+ * updates to include and attr
1641
+
1642
+
1643
+ 2007-08-28 transami
1644
+
1645
+ * fixed Range#umbrella
1646
+ * more organization of docs
1647
+ * orginizing docs
1648
+
1649
+
1650
+ 2007-08-27 transami
1651
+
1652
+ * update val.rb
1653
+ * added proc/fn.rb (from kernel/misc.rb) and fixed typo in compose.rb
1654
+ * moved misc.rb to val.rb
1655
+ * better organization of some kernel methods
1656
+ * moved #here alias to eval.rb
1657
+ * minor updates and some bug fixes (modspace what broke)
1658
+ * removed file/yaml.rb in favor or just yaml.rb
1659
+ * moved this to facets/yaml.rb
1660
+
1661
+
1662
+ 2007-08-25 transami
1663
+
1664
+ * work on aop system
1665
+ * Added aop.rb, and cut.r and recursive.rb
1666
+ * moved cut.rb to dev (old version will be deprecated)
1667
+ * added to_hash to Dictionary, and minor mods to others
1668
+
1669
+
1670
+ 2007-08-24 transami
1671
+
1672
+ * oops, no need for enumerator directory
1673
+ * moved threaded_send.rb to mapsend.rb
1674
+ * moved threaded_send out of enumerable/ dir
1675
+ * updates to elementor.rb
1676
+ * merged instance_map into threaded_send
1677
+ * removed map_send
1678
+ * merging map_send with threaded_send
1679
+
1680
+
1681
+ 2007-08-23 transami
1682
+
1683
+ * cont work on elementwise methods
1684
+ * divide elementwise functions betwee two libs
1685
+ * uniq.rb is merged into count.rb
1686
+ * removed count.rb (uniq.rb will become count.rb)
1687
+
1688
+
1689
+ 2007-08-22 transami
1690
+
1691
+ * continued refinement of enumerable extensions
1692
+ * general improvements to the organization of enumerable extensions
1693
+
1694
+
1695
+ 2007-08-19 transami
1696
+
1697
+ * removed facets/cli dir
1698
+ * moved all cli libs from facets/cli to facets/
1699
+ * moved cli support files to facets locations
1700
+ * moved cli lib to facets main (also modified functor)
1701
+
1702
+
1703
+ 2007-08-18 transami
1704
+
1705
+ * renamed hash/reverse to hash/merge (it contains #reverse_merge)
1706
+
1707
+
1708
+ 2007-08-11 transami
1709
+
1710
+ * remove instance_intercept (moced to Trinkets project)
1711
+
1712
+
1713
+ 2007-08-10 transami
1714
+
1715
+ * continued modification of those tasky tools
1716
+ * removed lib/more (this is it!)
1717
+ * moved M-Z of more/facets to facets (this is it!)
1718
+ * moved A-L of more/facets to facets (this is it!)
1719
+ * removed lib/core (this is it!)
1720
+ * moved lib/core/facets.rb to lib/facets.rb (this is it!)
1721
+ * moved lib/core/facets to lib/facets (this is it!)
1722
+ * added file/yaml.rb
1723
+ * added a list of libraries considered "core"
1724
+ * continued work on build tools
1725
+ * change tools for core/more convergence (so help us god!)
1726
+ * added conversion requirement to some core libs
1727
+ * update methods task
1728
+
1729
+ * update quick.html to mirror rdoc changes --still needs work though
1730
+ * remove old rdoc task
1731
+ * added rdoc section (minimal) to tool/config.yaml
1732
+ * nope. remove site/rdoc
1733
+ * add rdoc dir, should we?
1734
+ * remove site/rdoc in preperation for new way
1735
+ * facets.rb belongs to core/
1736
+ * renamed some doc files
1737
+ * removed src/core
1738
+ * move src/core/lin to lib/core
1739
+ * added kernel/constant
1740
+ * remove src/core/web
1741
+ * moving more of core to top-level (svn sucks!)
1742
+ * moving core support files to top-level
1743
+ * removed src/more
1744
+ * move src/more/lib to lib/more
1745
+ * made lib dir (to replace src)
1746
+ * added settings.rb which points to annotations/settings.rb
1747
+ * moved svn to annotations/ subdir
1748
+ * moved dev files to top-level as part of more transition
1749
+ * temporarily removed dev/more
1750
+ * moved annotations demo to demo dir
1751
+ * added demo folder
1752
+ * add dev/more
1753
+ * remove struct again! (stupid svn)
1754
+ * moved file to top-level doc as part of more transisiton
1755
+ * bullshit svn crap
1756
+ * ann moved back to more (strongly considering annotations for it's own project)
1757
+ * build moved back to more
1758
+ * aop moved back to more
1759
+ * cast moved back to more
1760
+ * crypt moved back to more
1761
+ * exts moved back to more
1762
+ * file moved back to more
1763
+ * meta moved back to more
1764
+ * misc moved back to more
1765
+ * model moved back to more
1766
+ * struct moved to back to more
1767
+ * moved sync back to more
1768
+
1769
+ * moved commandoptions.rb to command_options.rb
1770
+ * rewrote command and command options libs
1771
+ * initial Subversion import
1772
+
1773
+
1774
+ == 1.8.54 / 2007-02-19
1775
+
1776
+ * added reqiure to ostruct.rb test
1777
+ * fix to command.rb's initializer
1778
+ * fixed bug with times.rb beginning_of_year and beginning_of_month
1779
+ * replaced pqueue and heap with new working class (thanks to Olivier Renaud)
1780
+ * fixed bug in ormsupport.rb (this will be moved out of facets in next release)
1781
+ * added empty? to dictionary (removed old subclass of Hash)
1782
+ * significant improvements to command.rb thanks to Tyler Rick
1783
+ * added tests to elementwise and tap
1784
+ * fixed test for elementwise and op_tilde_self
1785
+ * added enumerable/map_send
1786
+ * added thread_map and thread_map_send thanks to greg
1787
+ * added operator "~@" for enumerable/elementwise
1788
+ * added more/consoleutils.rb
1789
+ * added string/cleave
1790
+ * added capitalize_all thanks to Richard Laugesen
1791
+ * cartesian_product is an alias of enumerable/cart
1792
+ * added array pad thanks to Richard Laugesen
1793
+ * added kernel/tap
1794
+ * fixed test/unit load issues
1795
+ * converted facet/ requires to facets/core or facets/more as needed
1796
+ * further improvements to arguments.rb (looking good!)
1797
+ * improved symbol/self/generate
1798
+ * bug fix kernel/autoreload arguments needed to be in opposite order
1799
+ * add to_xoxo
1800
+ * removed bad character codes in multiplier.rb
1801
+ * used yaml to allow json.rb to work for all object in general
1802
+ * improvements to functor (note: is to_a and to_proc okay?)
1803
+ * add test to string/bytes.rb
1804
+ * bug fix to nilclass/op_cmp
1805
+ * fixed enumerable/op_pow to use enumerable/cart
1806
+ * added array/op_div
1807
+ * adjustments to xmlbuilder and htmlbuilder dur to buildingblock changes
1808
+ * improved buildingblock.rb
1809
+ * simplified interface of arguments.rb (still a little more to do)
1810
+ * improvements/simplifications to Dir.multiglob
1811
+ * added new authors to list
1812
+ * fixed misspelling of behavior.rb (was bahvior.rb)
1813
+ * removed #own from base list in facets.rb (really need a standard for "singleton class")
1814
+ * minor adjustments to uploadutils
1815
+ * fixed bug in aspects.rb that would not handle args of wrapped method
1816
+ * Symbol#to_s optimization, had to remove freeze
1817
+ * updates to fileutils/stage (stage worth keeping?)
1818
+ * update to credits
1819
+ * fix bug in kernel/ask, returns more than one character
1820
+ * cleanup of enumerbale/graph (no effective change)
1821
+ * new super fast enumerable/cart by Thomas Hafner (replaces #cross)
1822
+ * improved multiglob rountines (accept '+' and '-' prefixes)
1823
+ * No longer will track project file via scm until it settles
1824
+ * fixed bug in attr_tester, thanks Dov!
1825
+ * added weekdays to times.rb thanks to Ryan Platte and Dave Hoover
1826
+ * improvements to dictionary.rb (no longer a subclass of Hash) thanks Jan!
1827
+ * re-replace openhash with openobject
1828
+ * improvements to ann.rb and ann_attr.rb. works, yea!
1829
+ * fixed bug in string/singular.rb
1830
+ * changed enumerable/cross into enumerable/cart and cartesian_product
1831
+ * openobject returns (openhash was a bad name, thanks george)
1832
+ * moved enumerable/cross to enumerable/cart (cartesian_product)
1833
+
1834
+
1835
+ == 1.8.0 / 2007-01-24
1836
+
1837
+ * added buildingblock.rb, replaced builderobject.rb
1838
+ * adjust require for "yored" files
1839
+ * HtmlBuilder and XMLBuilder aer now based on BuildingBlock
1840
+ * bug fix for command.rb
1841
+ * minor improvements to basic object (object_self to access kernel methods)
1842
+ * ostuct adjustment, use #instance_delegate to get underneth the open access
1843
+ * module/include_as is now based on module/namespace (thanks Pit!)
1844
+ * minor adjustments to methods for (class<<self;self;end)
1845
+ * fixed enumerable/partition_by
1846
+ * further updates to project info file (need to stop versioning this)
1847
+ * deprecated (yored) builderobject.rb (poor implementation)
1848
+ * added hash/insert; like store but only if key isn't already present
1849
+ * added module/include_and_extend
1850
+ * facets.rb now references facets/sys.rb
1851
+ * added facets/automatic -- very cool, albiet expiremental way to load core methods automatically!
1852
+ * added File::mulitglob_sum; accumulates file patterns, and accepts '+' and '-' prefixes
1853
+ * added module/module_method; like module_function but makes method public
1854
+ * added module/include_function_module; attempts to properly include one function_module into another
1855
+ * kernel/yaml convenience method for YAML::load
1856
+ * added kernel/supress; supress errors while executing a block (nice DHH!)
1857
+ * added symbol/chomp, like string#chomp
1858
+ * added proc/to_h; converts an assignment proc into a hash
1859
+ * proc/bind; bind a proc to an object, returning a method
1860
+ * added module/prepend; provides dyanamic method wraps for modules, and static wraps for classes
1861
+ * added module/new; use a module as if it were a class
1862
+ * added module/alias_accessor
1863
+ * renamed #superior to #super_at
1864
+ * kernel/instance_class; yet anouther meta_class name, but a more sensicle name this one
1865
+ * added kernel/populate; populates an object's inst. vars from a hash or assingment block
1866
+ * added kernel/daemonize; one last thanks to DHH!
1867
+ * added enumerable/injecting; like inject but automatically returns the memo from the block
1868
+ * added kernel/object_send, a true public-only send method
1869
+ * added kernel/silence_stream; output to null device; thanks DHH!
1870
+ * added kernel/instance_values, thanks DHH!
1871
+ * added Config:inspect for rbconfig
1872
+ * added hash/pairs_at (aking to values_at)
1873
+ * added _why's metaid methods (meta_class, meta_eval, etc.)
1874
+ * added kernel/enable_warnings to complement silence_warinings
1875
+ * added integer/to_roman
1876
+ * added logical operators for hash (and/or)
1877
+ * array/to_path convert ans array to a path string
1878
+ * array/index takes a block
1879
+ * added fileutils/compress; very simple convenience methods for archiving folders
1880
+ * added fileutils/stage adn staged, a means of transfering files accoring to preset rules
1881
+ * had to remove taskable.rb for now (implementation won't work as toplevel include)
1882
+ * added kernel/ask, simply command to get console input
1883
+ * moved deprecated #facet_require to yore lib
1884
+ * deprecated (yored) kernel/own, yet another term for the singleton class
1885
+ * renamed quaclass to qua_class
1886
+ * added populate.rb, mixin for classes that need on a basic initializer
1887
+ * added version_number.rb (a specialized tuple)
1888
+ * OpenObject = OpenHash (OpenObject will eventually be deprecated)
1889
+ * added uploadutils.rb
1890
+ * added Joel VanderWerf's great script.rb script
1891
+ * added Austin's minitar.rb --it's just too damn useful!
1892
+ * added htmlfilter.rb very nice html escape class
1893
+ * added dependency.rb, allwos method to have dependend execution (like rake tasks)
1894
+ * added arguments.rb this is for parsing console command arguments
1895
+ * add new version of annotations: ann.rb and ann_attr.rb
1896
+ * memoize should now work at toplevel
1897
+ * removed dataobject.rb (was never used)
1898
+ * minor doc change to instance_intercept.rb
1899
+ * doc change to methodfilter.rb (maybe deprecat in future)
1900
+ * deprecated (yored!) module/inject; what a silly method
1901
+ * added File::yaml? to roughly detect if a file is a yaml file
1902
+ * deprecated kernel/require_facet (no longer needed)
1903
+ * moved old module/namespace implementation to yore
1904
+ * adjust old annotation.rb (now in yore) to use openhash
1905
+ * moved plugin.rb to ratchets/library project
1906
+ * renamed openobject to openhash !!!
1907
+ * proper credit for multiton goes to Ara T. Howard!!!! Also improvements.
1908
+ * remove library.rb (move to ratchets/library project)
1909
+ * minor bug fix to httpaccess
1910
+ * updated autovivify.rb to use openhash
1911
+ * improvement to command.rb
1912
+ * imporved time/stamp
1913
+ * reimplemented proc/to_method for more sensible behavior
1914
+ * reimplemented module/namespace, very clever thanks to pit captain
1915
+ * added module_load and module_require, e.g. load into and require into
1916
+ * reimplemented instance_exec, should be much improved
1917
+ * doc updates to inflect.rb
1918
+ * updates to Hash op_add, reverse_merge, and rekey
1919
+ * each_slice is now just an alias via enumerator & fixes to partition_by
1920
+ * minor adjusment to multiglob
1921
+ * modified all.rb (not recommended!) to require facets/sys
1922
+ * modifications to project information file (should this be versioned?)
1923
+ * created yore lib to store deprecated features (good idea!)
1924
+ * modified PROJECT info file
1925
+ * added module class/module_load and _require
1926
+ * remove facet/ redirect lib from darcs repository
1927
+ * OpenObject is now OpenHash (OpenObject still exist for backcompat)
1928
+ * kernel/returning is a stub for kernel/with
1929
+ * added proc/update as alias for #call per Tim Pease use of Proc as Observable
1930
+ * added behavior.rb by Nobuyoshi Nakada (plan to improve)
1931
+ * rewrote taskable.rb using classes to represent tasks; it is much improved
1932
+ * openobject.rb doc updates
1933
+ * major update to functor which is now a subclass of Proc (should be faster)
1934
+ * improvements to dictionary.rb to go along with additions of first and last
1935
+ * small improvements to command.rb
1936
+ * removed uses of __class__ for object_class and solidified usaged of #as in basicobject.rb
1937
+ * deprecated ostruct shadow methods (i.e __table__) in favor of #instance methods
1938
+ * added test to module/alias_method_chain
1939
+ * imporvements to instance_exec thanks to Mauricio Fernandez
1940
+ * improvements to kernel/send_as
1941
+ * improvements to kernel/as
1942
+ * minor doc addition to kernel/as
1943
+ * fixed syntax in hash/op_add.rb
1944
+ * imporvements to hash/partition_by thanks to Gregory of Laurel
1945
+ * added Mauricio Fernandez to authors
1946
+ * added addtional work library lore
1947
+ * moved "calibre" project information files
1948
+ * moved a number of "in the works" libs to ToadCode project
1949
+ * removed predicate.rb, an expiremental logic system, and moved to ToadCode
1950
+ * Added plugin.rb, an indirect require mechinism, ie. a plugin system
1951
+ * remove one.rb and moved to ToadCode project, this was just silly/fun library
1952
+ * Added library.rb which is a library ledger system (used to be roll.rb)
1953
+ * added kernel/with which instance_eval's a block on with's subject
1954
+ * rekey is an improved version of normalize_keys (ie. the basis of symbolize_keys)
1955
+ * multiglob is like glob but handles a list of patterns
1956
+ * proper access to openstruct's underlying table
1957
+ * minor adjustment to taskable.rb
1958
+ * minor adjustment to #dresner docs
1959
+ * minor adjustment to #as
1960
+ * simple doc addition to setup.rb
1961
+ * doc fixes and losening toplevel constraint to Object in taskable
1962
+ * made OpenObject #update and #merge public; added to_hash
1963
+ * minor "public" fix to main_as_object
1964
+ * removed unorder_store and store_only; added first/last to dictionary
1965
+ * continued improvements to command.rb
1966
+ added some new callbacks such as option_missing;
1967
+ also handles method_missing properly now
1968
+ * minor adjustments to module::@+
1969
+ * added string/rewrite
1970
+ * test fixes to module/include_as
1971
+ * documentation fix for class_extension
1972
+ * minor edit to supermethod (also finish #superior removal)
1973
+ * cleanup kernel/set_with code
1974
+ * update kernel/metaclass can now take a block
1975
+ * added hash#+ and hash#- (op_add and op_sub)
1976
+ * added cache to enumerable/every
1977
+ * minor updates to facets.rb
1978
+ * removed kernel/superior (silly name)
1979
+ * minor modifications ot PROJECT file
1980
+ * [add] more/autovivify.rb expiremental lib.
1981
+ * [update] Minor fix to command.rb to not use Kernel methods as subcommands.
1982
+ * [update] Work on annotation.rb to improve support for :self.
1983
+ * [deprecate] enumerable/permute.rb (replaced by permutation) and minor test fix to linkedlist.rb
1984
+ * [added] linkedlist.rb (thanks Kirk Haines!)
1985
+ * [added] enumerable/sum (thanks to Gavin Kistner)
1986
+ * [added] array/each_combo and combos (Eunumerable.combinations will be deprecated eventually)
1987
+ * [rename] changed enumerable/permute to permutation
1988
+ * [update] annotation.rb, fixed :self key
1989
+ * [added] pathname/op_div
1990
+ * [deprecated] hash/each.rb
1991
+ * [removed] hash/each.rb, this variation of Hash#each is too "dangerous" in practice
1992
+ * [update] module/self/op_add.rb: fixed inclusion order
1993
+ * annotation.rb, return annotations of self when key is :self [updated]
1994
+ * module/self/op_add.rb and op_sub.rb - traits like features [added]
1995
+ * minor improvemtns to module/clone_using and integrate
1996
+ * command.rb: minor change to docs [update]
1997
+ * openobject.rb (added NilClass#to_openobject) [update]
1998
+ * enumerable/each_slice.rb [replace]
1999
+ Ruby already has #each_slice if you require 'enumerator'. And for 1.9,
2000
+ I believe, this will be present automatically. So Facets' each_slice
2001
+ has been replaced with a simple redirection to require 'enumerator'.
2002
+ Ruby's version is slightly different in that it won't check arity if
2003
+ a slice count is not given. For this, use enumerable/each_by.
2004
+ * array/delete_at.rb [removed]
2005
+ Ruby's Array class already has a #delete_at method,
2006
+ although this is another method at odds with Hash.
2007
+ Use #delete_values_at instead.
2008
+ * moved File.bitbucket to File.null (but bitbucket was so "fun"! ;)
2009
+ * added nilclass/to_path
2010
+ * added kernel/load_local
2011
+ * added kernel/callee
2012
+ * added enumerable/eachn, integer/each and integer/of
2013
+ * re-added array/delete_values_at
2014
+ * added filetest/self/root
2015
+ * added cache.rb
2016
+ * moved Dir.bitbucket to File.bitbucket
2017
+ * removed task file in favor of sake based util/
2018
+ * added main_as_module
2019
+ * added doublemetaphone (Thanks Lawrence Philps!)
2020
+ * rewrote taskable.rb
2021
+ * minor doc fix to association.rb
2022
+ * added symbol/to_s which caches the result for speed up
2023
+ * additions and adjusments related to hash/delete_at
2024
+ * added Dir.bitbucket
2025
+ * update to array/op_fetch to include op_store
2026
+ * updated docs and util tasks
2027
+ * minor changes
2028
+ * added filesystem.rb
2029
+ * taskable should now work at the toplevel too
2030
+ * still working the organization as Reap/Sake change
2031
+ * started setting project tasks up for sake
2032
+ * updates to enumerable each_slice
2033
+ * updated names of meta files
2034
+ * updates to READMEs
2035
+ * added trace to command.rb
2036
+ * organizational changes
2037
+
2038
+
2039
+ == 1.7.0 / 2006-07-25
2040
+
2041
+ * fix to inifinty.rb
2042
+ * comment on cut.rb needed a quick fix
2043
+ * updated infinity
2044
+ * added tkxml.rb
2045
+ * allow tasks to to arguments (all dependent tasks must take same args)
2046
+ * update infinity.rb to conform more with common standards
2047
+ * error catch added to command.rb (thanks Jonas)
2048
+ * added singleton annotations
2049
+ * minor improvement to wrap_method and proc/compose
2050
+ * added more/infinity.rb
2051
+ * major improvement to String#singular and plural
2052
+ * update normalize_keys to take a proc instead of a "send" parameter
2053
+ * projectinfo backups change
2054
+ * added cuts implimentation
2055
+ * separated integer/op_mul from compose, op_mul now composes and Integer#of
2056
+ * wrap_method, no need to undef method before redefining it
2057
+ * move calibre files (will we do ever use?) to work/pore/meta
2058
+ * added work dir to repo
2059
+ * fix instance_interception test
2060
+ * doc cleanup
2061
+ * added hash/op_div and array/op_div to BASE.
2062
+ * remove kernel/called and fixed callee,__callee__ and __method__.
2063
+ * just about prefected OpenObject
2064
+ * keys_to_sym to symbolize_keys usage
2065
+ * remove explore dir, perhaps better to do without midstage
2066
+ * added to_a to OpenObject
2067
+ * minor touchup to opencascade
2068
+
2069
+
2070
+ == 1.6.0
2071
+
2072
+ * PrivateAccess expiremental class
2073
+ * added reverse_merge (from Active Support)
2074
+ * adjustments to stringify_keys, record normalize_keys
2075
+ * work on other Hash subclasses Dictionary, OpenCascade, and Hash#having_fallback features
2076
+ * added some core methods enumerable#divide, array and hash op_div, kernel/meta
2077
+ * deprecated generate_method_name and generate_instance_method_name
2078
+ * Hash methods keys_to_s and keys_to_sym to stringify_keys and symbolize_keys
2079
+ Both now depend on normalize_keys
2080
+ * rewrote openobject as a subclass of Hash with a method filter
2081
+ * rewrote annotation.rb and moved into more/
2082
+ * add meta docs to darcs
2083
+ * added Jan Molic's Debugger(Logger) to explore
2084
+ * calibre task (worth the effort?)
2085
+ * added Symbol::generate
2086
+ * remove generate_method_name methods
2087
+ ** removed kernel/generate_method_name
2088
+ ** removed moodule/generate_instance_method_name
2089
+ Neither were thread safe.
2090
+ * new implementation of openobject cont.
2091
+ * updated dictionary class
2092
+ 1. created subclass AutoDictionary, now used by Dictionary.auto
2093
+ 2. deprecated ::key_new and :value_new, use ::new.by_key and ::new.by_value instead.
2094
+ 3. Retained ::alpha but changed ::auto_key to ::auto_alpha.
2095
+ * new implementation of openobject in Facets/EXPLORE
2096
+ * Added deep_clone (thanks Jan Molic)
2097
+ * project metadata work adjustments
2098
+ * minor update to tagiterator.rb
2099
+ * add _darcs expection to FileList
2100
+ * fix to nilclass#status (accept single parameter)
2101
+ * added Hash.auto (thanks Jan Molic)
2102
+ * remove blankslate alias to basicobject
2103
+ * added annotation and instance_intercept to Facets/EXPLORE
2104
+ * added Kernel#to_data
2105
+ * add Daniel Berger's Hash#to_stuct
2106
+ * moved ValueHolder in snapshot.rb to Snapshot::ValueHolder
2107
+ * minor bug fix to alias_method_chain
2108
+ * fix compatiblity with Reap
2109
+ * improved Proc#to_method and Kernel#instance_exec
2110
+ * added instance_exec (duh)
2111
+ * added object_clone and object_dup object_ methods are intended as non-overridable (although you cna if you must).
2112
+ * no Configuration alias for Settings
2113
+ * added facets/explore libs
2114
+ * added settings.rb from glue
2115
+ * openobject uses self[] instead of @table[]
2116
+ also update proj/infp to start 1.5 series
2117
+ * deprecate BaasicObject
2118
+
2119
+
2120
+ == 1.4.5 / 2006-07-05
2121
+
2122
+ * move ProjectInfo to proj/info
2123
+ * better arrangment of repository
2124
+ * Added nil#status, module#alias_method_chain and enumerable#cascade.
2125
+ nil#status - Allows a messgae to be passed through a failure chain.
2126
+ module#alias_method_chain - from rails this is clever idiom for
2127
+ module-based method wrapping. A limited solution, but since
2128
+ there's no standard solution as of yet, well support til then.
2129
+ enumerable#cascade - cascade a list of action on each element
2130
+ of an enumerable.
2131
+ * method missing in htmlbuilder effected by basic object fix
2132
+ * minor update to functor.rb
2133
+ * change WebAgent to Web
2134
+ * Removed hash/keys_to_iv b/c it is a poor name. Since the alternative of
2135
+ keys_to_instance_variables conveys the wrong idea, decided to just get
2136
+ rid of this. Instead use the Rails compatibile hash/variablize_keys.
2137
+ * 1.4RC3
2138
+ * initial import
2139
+
2140
+
2141
+ == 1.4.4 / 2007-07-03
2142
+
2143
+ * added nil#status - Allows a messgae to be passed through
2144
+ a failure chain.
2145
+ * added module#alias_method_chain - from rails this is clever
2146
+ idiom for module-based method wrapping. A limited
2147
+ solution, but since there's no standard solution as
2148
+ of yet, well support til then.
2149
+ * added enumerable#cascade - cascade a list of actions on each
2150
+ element of an enumerable. Better name for this?
2151
+ * method missing in htmlbuilder effected by BasicObject fix
2152
+ (use __self__.method instead of __metod__)
2153
+ * minor update to functor.rb. Added @self = function.binding.self.
2154
+ Still tweaking for best meta informatin access.
2155
+ * change WebAgent to Web
2156
+ * Removed hash/keys_to_iv b/c it is a poor name. Since the alternative
2157
+ of #keys_to_instance_variables conveys the wrong idea, decided to just
2158
+ get rid of this. Instead use the hash#variablize_keys which is also
2159
+ Rails compatibile.
2160
+
2161
+
2162
+ == 1.4.2 / 2006-06-21
2163
+
2164
+ * Started using Darcs --finally!
2165
+ * Transition to Darcs has interupted ChangeLog though :(
2166
+ * Mostly minor fixes in prepeartion for official 1.4 release.
2167
+ * Adjusted BasicObject slightly, further reducing unhidden methods.
2168
+ Among them __object__, __method__ and #as. Also added method_missing
2169
+ that detects shadow methods and rebinds them to Object. Keep in mind
2170
+ that woun't help you if you override method_missing which is
2171
+ typical for this class.
2172
+ * Fixed bug in BasicObject#__self__.
2173
+
2174
+
2175
+ == 1.4.0 / 2006-06-05
2176
+
2177
+ * Added Cookie, HTTP and HTTPAccess of ...'s library.
2178
+ * OpenObject's __get__ and __set__ methods have been changed
2179
+ to __fetch__ and __store__ to correspond to the Hash methods.
2180
+ * Added OpenCascade, which is like OpenObject but chains access.
2181
+ * Added ...'s lazy.rb which include's Future and Promise classes.
2182
+ * Added task.rb, which provides a Rake interface compatible task
2183
+ system, but that can be used in any code.
2184
+ * Improved Hash#traverse (it now does all traversing before yielding).
2185
+ * kernel/me, kernel/methodname and kernel/method_name have all been
2186
+ deprecated in favor of the 1.9 standard kernel/__method__ and
2187
+ kernel/__callee__.
2188
+ * Console::Application is deprecated and is no longer an alias for
2189
+ Console::Command.
2190
+ * Console::Command also now supports run-on flags (eg. -xvzf).
2191
+ * More's classinherit.rb has been removed, and classmethods.rb will be
2192
+ too in another version or two. You should transition all uses of
2193
+ these to core/module/class_extension.rb.
2194
+ * Updated tuple.rb so that when a string is converted to a Tuple (#to_t)
2195
+ the values wll be made integers if they are composed of only numbers.
2196
+ If you need all strings you can use a block since the block bypasses
2197
+ this auto coercement, eg. to_t{ |v| v }.
2198
+
2199
+
2200
+ == 1.3.1 / 2006-04-17
2201
+
2202
+ * Deprecated string/to_arr, and slightly adjusted string#to_a.
2203
+ (Not commonly used so not a major change.)
2204
+ * Minor bug fixes.
2205
+
2206
+
2207
+ == 1.3.0 / 2006-04-05
2208
+
2209
+ * Ported parts of Nitro's Glue library to Facets.
2210
+ * more/aspects.rb
2211
+ * core/module/on_included.rb
2212
+ * core/module/expirable.rb
2213
+ * core/enumerable/accumulate.rb
2214
+ * Added xoxo.rb, json.rb and rtals.rb.
2215
+ * Repaired missing data files for units.rb.
2216
+ * Moved cattr methods from module/ to class/.
2217
+ * mattr methods are in limbo at the moment.
2218
+ (They were aliases for cattr.)
2219
+
2220
+
2221
+ == 1.2.1 / 2006-03-29
2222
+
2223
+ * kernel/meta has been renamed to kernel/instance
2224
+
2225
+
2226
+ == 1.2.0 / 2006-03-24
2227
+
2228
+ * Added zimba.tm's string/modulize, pathize and methodize.
2229
+ * Added some Gem methods, self/active?, self/gemspec, self/gempath.
2230
+
2231
+
2232
+ == 1.0.3 / 2006-02-10
2233
+
2234
+ * A last ditch attempt to keep facets and calibre as one project.
2235
+ * Added _why's Array modulo.
2236
+
2237
+
2238
+ == 1.0.0 / 2005-12-04
2239
+
2240
+ * Sped up string#similarity.
2241
+ * By popular protest deprecated usage of "AClass.use Facets, :amethod".
2242
+ * Created nicer layout of facets/support, /group, /english (one day /method).
2243
+ * Odd sets of facets have been move to facets/group/, eg. facets/group/inflect.
2244
+ * All is now well preped for a Rolls release shoud that come about.
2245
+
2246
+
2247
+ == 0.10.30 Halloween
2248
+
2249
+ * Change OrderedHash (ohash.rb) to Dictionary (dictionary.rb).
2250
+ * Change BlankSlate (blankslate.rb) to BasicObject (basicobject.rb).
2251
+ * Old versions of the above should still work, but throw warnings
2252
+ and will stop working come next version.
2253
+ * 1.rb has been renamed to one.rb (I know, two more characters,
2254
+ but you can do it! ;)
2255
+ * Methods enumerable/op_mod (%) and enumerable/eF are deprecated.
2256
+ Use #every or #ew instead.
2257
+
2258
+
2259
+ == 0.10.11 Palapable
2260
+
2261
+ * Merged Mega into Facets. I put the old Mega ChangeLog at
2262
+ the bottom of this document.
2263
+ * This represents the One-Point-Oh realease (albeit RC1) of
2264
+ Facets, but from now on I'll be using date versioning
2265
+ --if you look at the versions below you may understand why.
2266
+ The versioning sequence has no real rationality.
2267
+ Instead I will use this simple Rational Versioning Policy:
2268
+ * If YYYY-MM-DD it's a development release.
2269
+ * If YYYY-MM it's an official release.
2270
+ * If just YYYY it's hella stable.
2271
+ One might argue this is not as robust as a compatability
2272
+ significant point-based versioning system, but I'd say that's
2273
+ all well and good in theory, now give me something that actually
2274
+ works in practice.
2275
+
2276
+
2277
+ == 0.9.5 Rebirth
2278
+
2279
+ * Rebirth of Facets! As cool as the name Nano is, it became clear
2280
+ that most people are drawn toward the name Facets. So we are
2281
+ reverting back. Nonetheless Nano will remain a viable alias for
2282
+ Facets.
2283
+ * Must now use <code>require 'facets'</code> prior to using
2284
+ other Facets. This does two things. First it loads the
2285
+ base methods, which ensures that all programs have them
2286
+ readibly available when using Facets. Secondly it supplements
2287
+ #require to handle aliases. In essence, require 'facet/...',
2288
+ require 'facets/...' and require 'nano/...' all point to the
2289
+ same place(s). (NOTE This is a precursor to a more universal
2290
+ system that will handle aliasing automatically.)
2291
+ * kernel/require_esc has been removed. #require_nano will be also
2292
+ in the next release. These will no longer be needed thanks to
2293
+ the aliasing system.
2294
+
2295
+
2296
+ == 0.9.2 Littles
2297
+
2298
+ * Added string/starts_with? and string/ends_with?
2299
+ * Fixed module/memoize to cache on a per class/module bases.
2300
+ * Added module/is as an alias for /include.
2301
+ * Added module/shadow_method and shadow_all.
2302
+ * Renamed module/superup (which was module/supers) to module/as. And defined a new
2303
+ method called /superior which is like /super but skips to a sepecified ancestor.
2304
+ * Renamed module/super_send to module/send_as.
2305
+
2306
+
2307
+ == 0.9.1 Wraps
2308
+
2309
+ * Added module/nesting (not to be confused with the class method Module::nesting).
2310
+ * Thanks goes to Gavien Kistner for new string/word_wrap methods
2311
+ (with additioanl thanks to Dyane Borderson for his suggestions).
2312
+ * Added hash/each_with_key and each_with_index, as well as array/each_with_key;
2313
+ increasing polymorphism between the two classes.
2314
+ * Moved array/each_pair to enumerable/each_pair and changed how it worked to
2315
+ what one might expect.
2316
+
2317
+
2318
+ == 0.9.0 / 2005-10-28 - NotUorI
2319
+
2320
+ * Deprecated object#special_class, which was a method for (class<<self;self;end).
2321
+ Already have too many aliases for this, and though the name is fitting, the simpler
2322
+ method #own is better (alternative: #singleton).
2323
+ * Fixed enumerable/uniq_by file which was misnamed 'unique_by.rb'.
2324
+ * BIG CHANGE! Got rid of URI encoding on file names and sub'd a converson table
2325
+ of english readable names. Thanks Jeff Wood, Florain Gross, Dav Burt,
2326
+ Gavin Kistner, James Edward Gray II, Brian Schröder, Mauricio Fernández,
2327
+ David A. Black, Gavin Sinclair, Nikolai Weibull and Christian Neukirchen.
2328
+
2329
+
2330
+ == 0.8.3 UorI
2331
+
2332
+ * Added kernel/uri and kernel/unuri
2333
+ * (Good idea?) removed methods module/sattr, sattr_reader, &c. Instead created object/meta
2334
+ in which attr, attr_reader, &c. are made public. So, sattr -> meta.attr.
2335
+ * Added array/unzip
2336
+ * Added logger/format and logger/format_message (stub).
2337
+ * Added string/dequote.
2338
+ * Class method file names now begin with '::' to separate them from instance methods.
2339
+
2340
+
2341
+ == 0.8.2 Nano Revolution
2342
+
2343
+ * Name Change! What was Ruby Facets is now Nano Methods!
2344
+ * New minor version as there has been a change of plans with the integration of what was Carats.
2345
+ The classes and modules have been reseperated into their own project called Mega Modules.
2346
+ * Modified the #firstxxx/#lastxxx methods to be more congruent and comprehensible.
2347
+ * Renamed object/supers to object/superup. Better!
2348
+ * Got rid ot symbol/gen. Use object/generate_method_name or module#generate_instance_method_name
2349
+ instead ( Is that the longest non-foo method name ever? :)
2350
+ * The file 1st.rb has moved to object/method. This modifies #method to persist the returned
2351
+ Method object. The original non-persitent version of #method is aliased to #original_method.
2352
+ (This arrangement is not set in stone though, and is still be considered.)
2353
+ * Added module/clone_using, module/clone_ranaming and module/clone_removing.
2354
+ * Added module/integrate (I love this one!)
2355
+ * Added many new enumerable methods: #filter_map, #compact_map, #commonality, #frequency,
2356
+ #probability and #find_collisions.
2357
+ * Moved some methods from array to enumerable: #each_permutation, #each_combination,
2358
+ #each_unique_pair and the class method ::combinations.
2359
+ * Added string/bytes per ruby-dev summary 26385-26467.
2360
+ * Moved #cattr_reader, #cattr_writer and #cattr_accessor from Class to Module.
2361
+ * Renamed numeric/octet_units to numeric/bytes_to_s and added a #bits_to_s as well.
2362
+ * Added class/descendants (alias subclasses) and class/remove_descendents, as well as
2363
+ object/descendents_of and object/remove_descendents_of.
2364
+ * Added methods to comparable: #cap, #clip. There are also #at_least and
2365
+ #at_most, although FYI #cap and #clip handle the same functionality.
2366
+ * Removed string/table_name and string/class_name (they were too Rails specific).
2367
+ Note: A new module has been added to Mega Modules, called orm-inflect.rb. It contains numerous
2368
+ methods for doing this sort of thing.
2369
+ * Added numeric/ceil_multiple (not sure about name though, perhaps a better name like "ceil_to"?).
2370
+ * Added string/soundex for calculating the soundex code of a word/name.
2371
+ * Added io/expect. I thought Ruby already had this but can't find it, so here it is for now.
2372
+ * Placed Florian's binding-of-caller.rb in binding/of_caller. Makes more sense there.
2373
+ * Fixed bug with Continuation::create (it wasn't defined as a class method and should have been).
2374
+ * Fixed bug with string/capitalized? which wasn't always giving the correct result.
2375
+
2376
+
2377
+ == 0.7.2 / 2005-05-22 - George II
2378
+
2379
+ * Added a class method dir/recurse which allows one to loop through a dir and all its
2380
+ subdirs, etc. It also has an alias #ls_r. Thanks goes to George Maschovitis for this.
2381
+ * Changed array/permute to array/each_permutation.
2382
+
2383
+
2384
+ == 0.7.1 Quick George
2385
+
2386
+ * Added facet.rb, although expiremental it makes it possible to use atomic methods without
2387
+ specificaly requiring them. It uses Object#method_missing to require them as needed.
2388
+ * Improved on "molecules", i.e. files that require numerous related atoms in a single go.
2389
+ These will see a great deal of continued improvement in the future.
2390
+
2391
+
2392
+ == 0.7.0 Georgian Transform
2393
+
2394
+ * All methods with names containing non-alphanumeric characters now have facet
2395
+ files without those special characters. This removes some incompatibilites with
2396
+ certain systems (including Windows). All such symbols have been replaced with
2397
+ CGI escape sequences, for instance 'in?.rb' becomes 'in%3F.rb'. To avoid having
2398
+ to use these "ugly" names, a new method has been added, kernel/require_facet.
2399
+ * Methods that were grouped together in the same file have been separated
2400
+ into their own files. Pure Atomicity has been achieved!
2401
+ * The method array/put has been dropped in favor of array/top (as a better alias for #unshift).
2402
+ * Methods #matchdata/post_match_from and #matchdata/pre_match_from have deprecated
2403
+ in favor of more generalized methods that serves the same purposes,
2404
+ matchdata/matchtree and matchdata/matchset.
2405
+ * Added module/include_as.
2406
+ * Added array/permute.
2407
+
2408
+
2409
+ == 0.6.3 Gemstone
2410
+
2411
+ * Gem is now avaliable!
2412
+ * Added kernel/require_all which allows one to require a pattern of files,
2413
+ making it easy to require every file in a directory.
2414
+ * Added hash/traverse and hash/traverse!, which takes a block and iterates over
2415
+ each key-value pair descending into subhash values and applying the block.
2416
+ (Thanks goes to Ara T. Howard and robert for their help.)
2417
+ * Added hash/collect. This uses enumerable/graph so that
2418
+ hash/collect will return a hash rather then an array.
2419
+ * Added numeric/before and numeric/after in place of #ago and #since
2420
+ and aliased #ago and #since to them, per the suggestions of
2421
+ Francis Hwang.
2422
+ * Added "poor man's profiler", time/elapse. (Thanks goes to Hal Fulton).
2423
+ * Changed enumerable/build_hash to enumerable/graph. The method #build_hash
2424
+ has been aliased to #graph for the time being for backward compatability.
2425
+ * Added array/last_index. (Thanks goes to Jabari)
2426
+
2427
+
2428
+ == 0.6.2 Refinement I
2429
+
2430
+ * Added kernel/resc as a shortcut for Regexp.escape.
2431
+ * Renamed hash/keys_to_string to hash/key_to_s and
2432
+ hash/keys_to_symbol to hash/keys_to_sym to be more consistant
2433
+ with other methods and what these methods specifically do.
2434
+ The old names have been deprecated.
2435
+ * Added hash/has_keys?, which allows for checking mutliple keys at once.
2436
+ Also includes #has_only_keys?
2437
+ * Added Rail's Time and Byte modules for Numeric with
2438
+ numeric/times.rb and numeric/bytes.rb (I've been informed that
2439
+ thanks go to Richard Kilmer for this. Thanks!)
2440
+ * Added numeric/octet_unit which utilizes numeric/bytes.
2441
+ (The name of this method may change in the future though.)
2442
+ * Added enumerable/uniq_by.
2443
+ * Added module/abstract.
2444
+ * Added module/redirect which is similar to alias, but does not
2445
+ copy the method, but rather wraps it. It also takes a hash so
2446
+ multiple methods can be redirected all at once.
2447
+ * Added string/shatter which is similar to split but includes
2448
+ the matched portions of text.
2449
+
2450
+ == 0.6.1 Florian's Mixes
2451
+
2452
+ * Updated the current set of mix files which were still from
2453
+ version 0.5.0. (2004-12-31)
2454
+
2455
+
2456
+ == 0.6.0 Florian's Onslaught
2457
+
2458
+ * Major revisions made by Florian's onslaught. (2004-12-28)
2459
+ * First general public release.
2460
+
2461
+
2462
+ == 0.5.0 Fit for First
2463
+
2464
+ * This is the beginning of offical releases. (2004-12-23)
2465
+ * Now called Facets.
2466
+ * Changed layout to be completely atomic! (2004-10-30)
2467
+
2468
+
2469
+ == 0.4.0 Raspberry
2470
+
2471
+ * Scoured the Ruby world for useful additions.
2472
+ * Changed name again from A.B.C. to Raspberry.
2473
+ I can't seem to settle on a name. Even the new
2474
+ subsections have changed five times. (2004-08-08)
2475
+ * Adjusted Tuple to use Tuple::[*args] instead of ::new, which now takes
2476
+ a single argument instead, either an Array or a String which it splits.
2477
+ * Removed services.rb unitl in gets fixed and a better name.
2478
+
2479
+
2480
+ == 0.3.3 Mega2
2481
+
2482
+ * Added inheritable.rb, a lib for creating class vars inherit from ancestors
2483
+ * Addes annotations.rb, a lightweight metadata system good for annotating
2484
+ methods esspecially. It is built on top of inheritable.rb.
2485
+
2486
+
2487
+ == 0.3.2 Mega
2488
+
2489
+ * Added services.rb, a lib for managing methods as first class objects
2490
+ * Fixed/cleaned-up orm_supprt.rb
2491
+
2492
+
2493
+ == 0.3.0 ABC
2494
+
2495
+ * Reorganinzed all of this together in a nice neat way.
2496
+ * Changed name of library from Succ to A.B.C.
2497
+ which stands for All Base Common. (2004-02-02)
2498
+ * Name change to Mega Modules!
2499
+ * Added a few important files: multipliers.rb, binary_multipliers.rb,
2500
+ time_in_english.rb and orm_inlectors.rb.
2501
+ * Each one of these is a "Methods Module", i.e. They are a collection of
2502
+ closely related methods that modify one or more core classes/modules.
2503
+ Individually these methods could have very well ended up in Nano Methods,
2504
+ but given there quantity and interrelation they were more suitable to a
2505
+ module, and thus placed here.
2506
+
2507
+
2508
+ == 0.3.1
2509
+
2510
+ * Aliased #autoload_classes with #autorequire.
2511
+ * Added #strfbits and #strfbytes to binary_multiplers.rb.
2512
+
2513
+
2514
+ == 0.2.0 Succ
2515
+
2516
+ * A number of new methods added.
2517
+ * Renamed it Succ for "successor". (2003-05-31)
2518
+ * Initial public release
2519
+
2520
+
2521
+ == 0.1.0 Carats
2522
+
2523
+ * Early Development as Ruby Carats
2524
+
2525
+
2526
+ == 0.0.0 TomsLib
2527
+
2528
+ * Tomslib's just a few useful methods. (2002-07-01)
2529
+