facets 2.6.0 → 2.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (321) hide show
  1. data/HISTORY.rdoc +331 -35
  2. data/MANIFEST +685 -826
  3. data/{doc/guide/notes.rd → NOTES} +0 -0
  4. data/README.rdoc +73 -25
  5. data/Rakefile +245 -2
  6. data/TODO +5 -0
  7. data/demo/hook.rd +47 -0
  8. data/demo/scenario_require.rd +9 -0
  9. data/doc/README.more +24 -6
  10. data/doc/manual/about.rb +47 -0
  11. data/doc/manual/annotations.rdoc +60 -0
  12. data/doc/manual/associations.rdoc +55 -0
  13. data/doc/manual/blockups.rdoc +101 -0
  14. data/doc/manual/capsule.rdoc +34 -0
  15. data/doc/manual/command.rdoc +177 -0
  16. data/doc/manual/core.rdoc +37 -0
  17. data/doc/manual/faq.rdoc +32 -0
  18. data/doc/manual/typecast.html +112 -0
  19. data/lib/core/facets.rb +359 -11
  20. data/lib/core/facets/array/combination.rb +3 -3
  21. data/lib/core/facets/array/index.rb +4 -1
  22. data/lib/core/facets/array/permutation.rb +2 -2
  23. data/lib/core/facets/array/product.rb +1 -1
  24. data/lib/core/facets/binding/eval.rb +1 -1
  25. data/lib/core/facets/denumerable.rb +76 -0
  26. data/lib/core/facets/duplicable.rb +34 -0
  27. data/lib/core/facets/enumerable/count.rb +10 -4
  28. data/lib/core/facets/enumerable/defer.rb +77 -0
  29. data/lib/core/facets/enumerable/each_by.rb +1 -1
  30. data/lib/core/facets/enumerable/every.rb +35 -0
  31. data/lib/{more/facets/elementwise.rb → core/facets/enumerable/ewise.rb} +0 -0
  32. data/lib/core/facets/enumerable/filter.rb +25 -0
  33. data/lib/core/facets/enumerable/group_by.rb +1 -1
  34. data/lib/core/facets/enumerable/none.rb +3 -2
  35. data/lib/core/facets/enumerable/one.rb +3 -2
  36. data/lib/core/facets/enumerable/per.rb +61 -0
  37. data/lib/core/facets/exception/raised.rb +14 -0
  38. data/lib/core/facets/integer/odd.rb +5 -1
  39. data/lib/core/facets/kernel/__dir__.rb +13 -3
  40. data/lib/core/facets/kernel/__here__.rb +14 -0
  41. data/lib/core/facets/kernel/__method__.rb +9 -3
  42. data/lib/core/facets/kernel/ask.rb +1 -0
  43. data/lib/core/facets/kernel/equate.rb +13 -0
  44. data/lib/core/facets/kernel/extension.rb +9 -0
  45. data/lib/core/facets/kernel/identical.rb +4 -0
  46. data/lib/core/facets/kernel/instance_exec.rb +2 -1
  47. data/lib/core/facets/kernel/method.rb +49 -0
  48. data/lib/core/facets/kernel/object_send.rb +2 -2
  49. data/lib/core/facets/kernel/{state.rb → object_state.rb} +23 -12
  50. data/lib/core/facets/kernel/require_all.rb +6 -1
  51. data/lib/core/facets/kernel/require_local.rb +8 -1
  52. data/lib/core/facets/kernel/require_relative.rb +52 -0
  53. data/lib/core/facets/kernel/source_location.rb +13 -0
  54. data/lib/core/facets/kernel/tap.rb +13 -6
  55. data/lib/core/facets/module/attr_setter.rb +57 -0
  56. data/lib/core/facets/module/instance_method.rb +24 -0
  57. data/lib/core/facets/module/module_load.rb +60 -44
  58. data/lib/core/facets/module/module_require.rb +1 -0
  59. data/lib/core/facets/nilclass/to_f.rb +1 -1
  60. data/lib/core/facets/objectspace/op_fetch.rb +3 -0
  61. data/lib/core/facets/proc/curry.rb +4 -3
  62. data/lib/core/facets/string/bytes.rb +10 -4
  63. data/lib/core/facets/string/camelcase.rb +6 -5
  64. data/lib/core/facets/string/chars.rb +5 -1
  65. data/lib/core/facets/string/each_char.rb +1 -1
  66. data/lib/core/facets/string/each_word.rb +1 -1
  67. data/lib/core/facets/string/lines.rb +11 -4
  68. data/lib/core/facets/string/start_with.rb +9 -2
  69. data/lib/core/facets/string/unfold.rb +27 -0
  70. data/lib/core/facets/symbol/succ.rb +3 -3
  71. data/lib/core/facets/symbol/thrown.rb +20 -0
  72. data/lib/core/facets/symbol/to_proc.rb +3 -2
  73. data/lib/core/facets/time/to_time.rb +1 -1
  74. data/lib/core/facets/to_hash.rb +41 -100
  75. data/lib/core/facets/unboundmethod/name.rb +20 -23
  76. data/lib/more/facets/ansicode.rb +1 -10
  77. data/lib/more/facets/autoarray.rb +3 -31
  78. data/lib/more/facets/basicobject.rb +73 -0
  79. data/lib/more/facets/blankslate.rb +2 -66
  80. data/lib/{lore → more}/facets/cgi.rb +0 -0
  81. data/lib/more/facets/class_extend.rb +1 -0
  82. data/lib/{lore → more}/facets/continuation.rb +0 -0
  83. data/lib/{lore → more}/facets/date.rb +3 -3
  84. data/lib/more/facets/enumargs.rb +192 -0
  85. data/lib/more/facets/enumerablepass.rb +2 -216
  86. data/lib/more/facets/enumerator.rb +62 -0
  87. data/lib/more/facets/{equatable.rb → equitable.rb} +11 -11
  88. data/lib/more/facets/expirable.rb +13 -41
  89. data/lib/{lore → more}/facets/fileutils.rb +0 -0
  90. data/lib/{lore → more}/facets/fileutils/head.rb +0 -0
  91. data/lib/{lore → more}/facets/fileutils/safe_ln.rb +0 -0
  92. data/lib/{lore → more}/facets/fileutils/slice.rb +0 -0
  93. data/lib/{lore → more}/facets/fileutils/tail.rb +0 -0
  94. data/lib/{lore → more}/facets/fileutils/wc.rb +0 -0
  95. data/lib/{lore → more}/facets/fileutils/whereis.rb +0 -0
  96. data/lib/{lore → more}/facets/fileutils/which.rb +0 -0
  97. data/lib/{lore → more}/facets/getoptlong.rb +0 -0
  98. data/lib/more/facets/hook.rb +2 -29
  99. data/lib/more/facets/inheritor.rb +2 -2
  100. data/lib/more/facets/instance_eval.rb +50 -0
  101. data/lib/more/facets/instance_function.rb +78 -0
  102. data/lib/more/facets/main.rb +20 -15
  103. data/lib/more/facets/memoize.rb +1 -113
  104. data/lib/more/facets/module/attr.rb +83 -0
  105. data/lib/more/facets/module/attr_tester.rb +44 -0
  106. data/lib/more/facets/module/attr_toggler.rb +59 -0
  107. data/lib/more/facets/module/attr_validator.rb +34 -0
  108. data/lib/more/facets/{class_extension.rb → module/class_extend.rb} +21 -13
  109. data/lib/more/facets/once.rb +59 -0
  110. data/lib/more/facets/openmodule.rb +1 -0
  111. data/lib/more/facets/orderedhash.rb +1 -33
  112. data/lib/{lore → more}/facets/ostruct.rb +0 -0
  113. data/lib/more/facets/ostructable.rb +1 -4
  114. data/lib/more/facets/partial.rb +18 -16
  115. data/lib/{lore → more}/facets/pathname.rb +0 -0
  116. data/lib/more/facets/preinitialize.rb +157 -0
  117. data/lib/{lore → more}/facets/rbconfig.rb +0 -0
  118. data/lib/more/facets/recorder.rb +1 -2
  119. data/lib/{lore → more}/facets/set.rb +0 -0
  120. data/lib/{lore → more}/facets/shellwords.rb +0 -0
  121. data/lib/{lore → more}/facets/uri.rb +0 -0
  122. data/lib/{lore → more}/facets/yaml.rb +0 -0
  123. data/lib/{lore → more}/facets/zlib.rb +0 -0
  124. data/meta/loadpath +0 -1
  125. data/meta/sitemap +4 -0
  126. data/meta/version +1 -1
  127. data/test/core/enumerable/test_count.rb +1 -1
  128. data/test/{more/test_filter.rb → core/enumerable/test_defer.rb} +24 -22
  129. data/test/{more/test_elementor.rb → core/enumerable/test_every.rb} +2 -15
  130. data/test/core/enumerable/test_ewise.rb +23 -0
  131. data/test/core/enumerable/test_per.rb +18 -0
  132. data/test/core/enumerable/test_take.rb +13 -0
  133. data/test/core/kernel/test_deepcopy.rb +1 -1
  134. data/test/{more/test_1stclassmethod.rb → core/kernel/test_method.rb} +2 -7
  135. data/test/core/kernel/test_tap.rb +1 -1
  136. data/test/core/proc/test_curry.rb +11 -0
  137. data/test/core/string/test_bytes.rb +1 -1
  138. data/test/core/string/test_camelcase.rb +23 -6
  139. data/test/core/string/test_lines.rb +1 -1
  140. data/test/core/string/test_unfold.rb +14 -0
  141. data/test/{more → core}/test_blank.rb +0 -0
  142. data/test/{more → core}/test_boolean.rb +0 -0
  143. data/test/{more → core}/test_functor.rb +0 -0
  144. data/test/{lore → more}/test_basicobject.rb +0 -0
  145. data/test/more/{test_class_extension.rb → test_class_extend.rb} +6 -6
  146. data/test/{lore → more}/test_continuation.rb +0 -0
  147. data/test/{lore → more}/test_date.rb +0 -0
  148. data/test/more/{test_enumerablepass.rb → test_enumargs.rb} +2 -4
  149. data/test/more/{test_equatable.rb → test_equitable.rb} +2 -2
  150. data/test/more/{test_instantise.rb → test_instance_function.rb} +3 -2
  151. data/test/more/test_memoize.rb +1 -1
  152. data/test/{lore → more}/test_ostruct.rb +0 -0
  153. metadata +865 -1016
  154. data/RELEASE +0 -38
  155. data/doc/README.lore +0 -51
  156. data/doc/log/basic_stats/index.html +0 -39
  157. data/doc/log/changelog.html +0 -648
  158. data/doc/log/changelog.txt +0 -217
  159. data/doc/log/stats/index.html +0 -39
  160. data/doc/log/testlog.txt +0 -278
  161. data/doc/notes/CHANGES +0 -2529
  162. data/doc/rdoc/lore/classes/Array.html +0 -176
  163. data/doc/rdoc/lore/classes/CGI.html +0 -191
  164. data/doc/rdoc/lore/classes/Config.html +0 -135
  165. data/doc/rdoc/lore/classes/Continuation.html +0 -113
  166. data/doc/rdoc/lore/classes/Date.html +0 -631
  167. data/doc/rdoc/lore/classes/DateTime.html +0 -583
  168. data/doc/rdoc/lore/classes/Enumerable.html +0 -89
  169. data/doc/rdoc/lore/classes/Enumerable/Enumerator.html +0 -147
  170. data/doc/rdoc/lore/classes/File.html +0 -128
  171. data/doc/rdoc/lore/classes/FileUtils.html +0 -434
  172. data/doc/rdoc/lore/classes/GetoptLong.html +0 -118
  173. data/doc/rdoc/lore/classes/GetoptLong/DSL.html +0 -208
  174. data/doc/rdoc/lore/classes/Kernel.html +0 -135
  175. data/doc/rdoc/lore/classes/Logger.html +0 -229
  176. data/doc/rdoc/lore/classes/Logger/Ansicolor.html +0 -277
  177. data/doc/rdoc/lore/classes/Logger/LogDevice.html +0 -121
  178. data/doc/rdoc/lore/classes/NilClass.html +0 -119
  179. data/doc/rdoc/lore/classes/OpenStruct.html +0 -432
  180. data/doc/rdoc/lore/classes/Pathname.html +0 -353
  181. data/doc/rdoc/lore/classes/Set.html +0 -117
  182. data/doc/rdoc/lore/classes/Shellwords.html +0 -111
  183. data/doc/rdoc/lore/classes/String.html +0 -140
  184. data/doc/rdoc/lore/classes/Time.html +0 -154
  185. data/doc/rdoc/lore/classes/URI.html +0 -454
  186. data/doc/rdoc/lore/classes/URI/Hash.html +0 -105
  187. data/doc/rdoc/lore/classes/URI/Kernel.html +0 -122
  188. data/doc/rdoc/lore/classes/Zlib.html +0 -188
  189. data/doc/rdoc/lore/created.rid +0 -1
  190. data/doc/rdoc/lore/files/README.html +0 -286
  191. data/doc/rdoc/lore/files/doc/README_lore.html +0 -155
  192. data/doc/rdoc/lore/files/lib/lore/facets/basicobject_rb.html +0 -118
  193. data/doc/rdoc/lore/files/lib/lore/facets/cgi_rb.html +0 -111
  194. data/doc/rdoc/lore/files/lib/lore/facets/continuation_rb.html +0 -147
  195. data/doc/rdoc/lore/files/lib/lore/facets/date_rb.html +0 -97
  196. data/doc/rdoc/lore/files/lib/lore/facets/enumerator_rb.html +0 -111
  197. data/doc/rdoc/lore/files/lib/lore/facets/fileutils/head_rb.html +0 -96
  198. data/doc/rdoc/lore/files/lib/lore/facets/fileutils/safe_ln_rb.html +0 -96
  199. data/doc/rdoc/lore/files/lib/lore/facets/fileutils/slice_rb.html +0 -96
  200. data/doc/rdoc/lore/files/lib/lore/facets/fileutils/tail_rb.html +0 -96
  201. data/doc/rdoc/lore/files/lib/lore/facets/fileutils/wc_rb.html +0 -96
  202. data/doc/rdoc/lore/files/lib/lore/facets/fileutils/whereis_rb.html +0 -96
  203. data/doc/rdoc/lore/files/lib/lore/facets/fileutils/which_rb.html +0 -96
  204. data/doc/rdoc/lore/files/lib/lore/facets/fileutils_rb.html +0 -131
  205. data/doc/rdoc/lore/files/lib/lore/facets/getoptlong_rb.html +0 -135
  206. data/doc/rdoc/lore/files/lib/lore/facets/logger_rb.html +0 -142
  207. data/doc/rdoc/lore/files/lib/lore/facets/ostruct_rb.html +0 -135
  208. data/doc/rdoc/lore/files/lib/lore/facets/pathname_rb.html +0 -145
  209. data/doc/rdoc/lore/files/lib/lore/facets/rbconfig_rb.html +0 -124
  210. data/doc/rdoc/lore/files/lib/lore/facets/set_rb.html +0 -96
  211. data/doc/rdoc/lore/files/lib/lore/facets/shellwords_rb.html +0 -124
  212. data/doc/rdoc/lore/files/lib/lore/facets/uri_rb.html +0 -125
  213. data/doc/rdoc/lore/files/lib/lore/facets/yaml_rb.html +0 -146
  214. data/doc/rdoc/lore/files/lib/lore/facets/zlib_rb.html +0 -97
  215. data/doc/rdoc/lore/fr_class_index.html +0 -73
  216. data/doc/rdoc/lore/fr_file_index.html +0 -71
  217. data/doc/rdoc/lore/fr_method_index.html +0 -177
  218. data/doc/rdoc/lore/index.html +0 -26
  219. data/doc/rdoc/lore/rdoc-style.css +0 -177
  220. data/doc/release-notes/RELEASE-2.0.5 +0 -8
  221. data/doc/release-notes/RELEASE-2.1.0 +0 -9
  222. data/doc/release-notes/RELEASE-2.1.1 +0 -5
  223. data/doc/release-notes/RELEASE-2.1.2 +0 -6
  224. data/doc/release-notes/RELEASE-2.1.3 +0 -5
  225. data/doc/release-notes/RELEASE-2.2.0 +0 -14
  226. data/doc/release-notes/RELEASE-2.2.1 +0 -4
  227. data/doc/release-notes/RELEASE-2.3.0 +0 -6
  228. data/doc/release-notes/RELEASE-2.4.0 +0 -70
  229. data/doc/release-notes/RELEASE-2.4.1 +0 -8
  230. data/doc/release-notes/RELEASE-2.4.2 +0 -4
  231. data/doc/release-notes/RELEASE-2.4.3 +0 -78
  232. data/doc/release-notes/RELEASE-2.4.4 +0 -38
  233. data/doc/release-notes/RELEASE-2.4.5 +0 -37
  234. data/doc/release-notes/RELEASE-2.5.0 +0 -83
  235. data/lib/core/facets/kernel/instance.rb +0 -19
  236. data/lib/lore/facets/basicobject.rb +0 -14
  237. data/lib/lore/facets/enumerator.rb +0 -67
  238. data/lib/lore/facets/logger.rb +0 -291
  239. data/lib/more/facets/1stclassmethod.rb +0 -140
  240. data/lib/more/facets/advisable.rb +0 -162
  241. data/lib/more/facets/association.rb +0 -210
  242. data/lib/more/facets/attr.rb +0 -209
  243. data/lib/more/facets/basex.rb +0 -37
  244. data/lib/more/facets/bbcode.rb +0 -397
  245. data/lib/more/facets/bicrypt.rb +0 -265
  246. data/lib/more/facets/binreadable.rb +0 -221
  247. data/lib/more/facets/censor.rb +0 -97
  248. data/lib/more/facets/classmethods.rb +0 -199
  249. data/lib/more/facets/consoleutils.rb +0 -99
  250. data/lib/more/facets/crypt.rb +0 -166
  251. data/lib/more/facets/dependency.rb +0 -151
  252. data/lib/more/facets/downloader.rb +0 -281
  253. data/lib/more/facets/duplicable.rb +0 -43
  254. data/lib/more/facets/elementor.rb +0 -133
  255. data/lib/more/facets/filter.rb +0 -121
  256. data/lib/more/facets/heap.rb +0 -22
  257. data/lib/more/facets/infinity.rb +0 -193
  258. data/lib/more/facets/ini.rb +0 -264
  259. data/lib/more/facets/instantise.rb +0 -1
  260. data/lib/more/facets/instantize.rb +0 -95
  261. data/lib/more/facets/interval.rb +0 -282
  262. data/lib/more/facets/iteration.rb +0 -65
  263. data/lib/more/facets/linkedlist.rb +0 -222
  264. data/lib/more/facets/lrucache.rb +0 -157
  265. data/lib/more/facets/matcher.rb +0 -140
  266. data/lib/more/facets/memoizer.rb +0 -74
  267. data/lib/more/facets/minitar.rb +0 -1063
  268. data/lib/more/facets/nackclass.rb +0 -41
  269. data/lib/more/facets/net/smtp_tls.rb +0 -131
  270. data/lib/more/facets/nilstatus.rb +0 -48
  271. data/lib/more/facets/overload.rb +0 -94
  272. data/lib/more/facets/paramix.rb +0 -202
  273. data/lib/more/facets/pool.rb +0 -91
  274. data/lib/more/facets/pqueue.rb +0 -449
  275. data/lib/more/facets/pry.rb +0 -32
  276. data/lib/more/facets/reflection.rb +0 -145
  277. data/lib/more/facets/semaphore.rb +0 -92
  278. data/lib/more/facets/settings.rb +0 -248
  279. data/lib/more/facets/snapshot.rb +0 -209
  280. data/lib/more/facets/sparse_array.rb +0 -809
  281. data/lib/more/facets/string/mask.rb +0 -278
  282. data/lib/more/facets/string/obfuscate.rb +0 -65
  283. data/lib/more/facets/string/stylize.rb +0 -169
  284. data/lib/more/facets/string/words.rb +0 -167
  285. data/lib/more/facets/syncarray.rb +0 -114
  286. data/lib/more/facets/synchash.rb +0 -157
  287. data/lib/more/facets/typecast.rb +0 -261
  288. data/lib/more/facets/uninheritable.rb +0 -50
  289. data/lib/more/facets/xmlhash.rb +0 -112
  290. data/lib/more/facets/xoxo.rb +0 -259
  291. data/lib/more/facets/ziputils.rb +0 -490
  292. data/task/conflicts +0 -63
  293. data/task/coverage.rake +0 -37
  294. data/task/methods +0 -49
  295. data/task/rdoc.rake +0 -17
  296. data/task/setup.rake +0 -38
  297. data/task/test.rake +0 -145
  298. data/test/more/test_advisable.rb +0 -71
  299. data/test/more/test_association.rb +0 -38
  300. data/test/more/test_bbcode.rb +0 -21
  301. data/test/more/test_binreadable.rb +0 -50
  302. data/test/more/test_buildable.rb +0 -73
  303. data/test/more/test_classmethods.rb +0 -56
  304. data/test/more/test_crypt.rb +0 -32
  305. data/test/more/test_dependency.rb +0 -69
  306. data/test/more/test_elementwise.rb +0 -25
  307. data/test/more/test_infinity.rb +0 -40
  308. data/test/more/test_interval.rb +0 -151
  309. data/test/more/test_linkedlist.rb +0 -41
  310. data/test/more/test_lrucache.rb +0 -14
  311. data/test/more/test_overload.rb +0 -160
  312. data/test/more/test_paramix.rb +0 -170
  313. data/test/more/test_prototype.rb +0 -35
  314. data/test/more/test_snapshot.rb +0 -21
  315. data/test/more/test_sparsearray.rb +0 -279
  316. data/test/more/test_syncarray.rb +0 -15
  317. data/test/more/test_synchash.rb +0 -16
  318. data/test/more/test_typecast.rb +0 -54
  319. data/test/more/test_uninheritable.rb +0 -31
  320. data/test/more/test_xoxo.rb +0 -274
  321. data/test/test_facets.rb +0 -9
@@ -1,26 +0,0 @@
1
-
2
- <!DOCTYPE html
3
- PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
4
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
5
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
6
- <head>
7
- <title>RDoc Documentation</title>
8
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
9
- </head>
10
-
11
- <frameset cols="20%,*">
12
- <frameset rows="15%,35%,50%">
13
- <frame src="fr_file_index.html" title="Files" name="Files" />
14
- <frame src="fr_class_index.html" name="Classes" />
15
- <frame src="fr_method_index.html" name="Methods" />
16
- </frameset>
17
- <frame src="files/doc/README_lore.html" name="docwin" />
18
- <noframes>
19
- <body bgcolor="white">
20
- Click <a href="html/index.html">here</a> for a non-frames
21
- version of this page.
22
- </body>
23
- </noframes>
24
- </frameset>
25
-
26
- </html>
@@ -1,177 +0,0 @@
1
- a {
2
- color: #F00;
3
- text-decoration: none;
4
- }
5
-
6
- a:hover {
7
- color: #F77;
8
- text-decoration: underline;
9
- }
10
-
11
- body, td, p {
12
- font-family: "Bitstream Vera Sans", Verdana, Arial, Helvetica, sans-serif;
13
- background: #FFF;
14
- color: #000;
15
- margin: 0px;
16
- font-size: small;
17
- }
18
-
19
- #content {
20
- margin: 2em;
21
- }
22
-
23
- #description p {
24
- margin-bottom: 0.5em;
25
- }
26
-
27
- .sectiontitle {
28
- margin-top: 1em;
29
- margin-bottom: 1em;
30
- padding: 0.5em;
31
- padding-left: 2em;
32
- background: #500;
33
- color: #FFF;
34
- font-weight: bold;
35
- border: 1px dotted black;
36
- }
37
-
38
- .attr-rw {
39
- padding-left: 1em;
40
- padding-right: 1em;
41
- text-align: center;
42
- color: #055;
43
- }
44
-
45
- .attr-name {
46
- font-weight: bold;
47
- }
48
-
49
- .attr-desc {
50
- }
51
-
52
- .attr-value {
53
- font-family: monospace;
54
- }
55
-
56
- .file-title-prefix {
57
- font-size: large;
58
- }
59
-
60
- .file-title {
61
- font-size: large;
62
- font-weight: bold;
63
- background: #500;
64
- color: #FFF;
65
- }
66
-
67
- .banner {
68
- background: #500;
69
- color: #FFF;
70
- border: 1px solid black;
71
- padding: 1em;
72
- }
73
-
74
- .banner td {
75
- background: transparent;
76
- color: #FFF;
77
- }
78
-
79
- h1 a, h2 a, .sectiontitle a, .banner a {
80
- color: #FCC;
81
- }
82
-
83
- h1 a:hover, h2 a:hover, .sectiontitle a:hover, .banner a:hover {
84
- color: #FF7;
85
- }
86
-
87
- .dyn-source {
88
- display: none;
89
- background: #EFE;
90
- color: #000;
91
- border: 1px solid #cccccc;
92
- margin: 0.5em 2em 0.5em 1em;
93
- padding: 0.5em;
94
- }
95
-
96
- .dyn-source .cmt {
97
- color: #F00;
98
- font-style: italic;
99
- }
100
-
101
- .dyn-source .kw {
102
- color: #070;
103
- font-weight: bold;
104
- }
105
-
106
- .method {
107
- margin-left: 1em;
108
- margin-right: 1em;
109
- margin-bottom: 1em;
110
- }
111
-
112
- .description pre {
113
- padding: 0.5em;
114
- border: 0px solid black;
115
- background: #EFE;
116
- }
117
-
118
- .method .title {
119
- font-family: monospace;
120
- font-size: large;
121
- border-bottom: 1px dashed black;
122
- margin-bottom: 0.3em;
123
- padding-bottom: 0.1em;
124
- }
125
-
126
- .method .description, .method .sourcecode {
127
- margin-left: 1em;
128
- }
129
-
130
- .description p, .sourcecode p {
131
- margin-bottom: 0.5em;
132
- }
133
-
134
- .method .sourcecode p.source-link {
135
- text-align: right;
136
- text-indent: 0em;
137
- margin-top: 0.5em;
138
- font-family: monospace;
139
- }
140
-
141
- .method .aka {
142
- margin-top: 0.3em;
143
- margin-left: 1em;
144
- font-style: italic;
145
- text-indent: 2em;
146
- }
147
-
148
- h1 {
149
- padding: 1em;
150
- border: 1px solid black;
151
- font-size: x-large;
152
- font-weight: bold;
153
- color: #FFF;
154
- background: #700;
155
- }
156
-
157
- h2 {
158
- padding: 0.5em 1em 0.5em 1em;
159
- border: 1px solid black;
160
- font-size: large;
161
- font-weight: bold;
162
- color: #FFF;
163
- background: #900;
164
- }
165
-
166
- h3, h4, h5, h6 {
167
- padding: 0.2em 1em 0.2em 1em;
168
- border: 1px dashed black;
169
- color: #000;
170
- background: #FAA;
171
- }
172
-
173
- .sourcecode > pre {
174
- padding: 0.5em;
175
- border: 1px solid black;
176
- background: #FFE;
177
- }
@@ -1,8 +0,0 @@
1
- == 2.0.5 / 2007-11-07
2
-
3
- * Added final methods Gavin Sinclair's Extensions project (contributed by Noah Gibbs).
4
- * Fixes bug with Dictionary#initialize
5
- * Fixes bug with Hash#-
6
- * Also improves changelog production.
7
- * Made #alias_method_chain compatible with current ActiveSupport version.
8
-
@@ -1,9 +0,0 @@
1
- == 2.1.0 / 2007-11-10
2
-
3
- * command.rb has been completely rewritten. The API has changed completely!
4
- * There is no longer a Commmand::Optoins class. Use Console::Arguments instead.
5
- * Added BiCrypt class to crypt.rb for simple two-way encyrption.
6
- * module/attr.rb now has attr_reader!, attr_writer! and attr_accessor!
7
- * All attr_xxx methods have coresponding alias_xxx methods.
8
- * Fixed bug in Enumerable#cluster_by which returned nil instead of [].
9
-
@@ -1,5 +0,0 @@
1
- == 2.1.1 / 2007-11-16
2
-
3
- * Fixed bug in command.rb that clobbered options.
4
- * Added kernel/ergo.rb.
5
-
@@ -1,6 +0,0 @@
1
- == 2.1.2 / 2007-11-22
2
-
3
- * Dir::multiglob no longer handels -/+ modifiers. Use FileList instead.
4
- * Fixed task/install script.
5
- * Improved task/changes.
6
-
@@ -1,5 +0,0 @@
1
- == 2.1.3 / 2007-11-28
2
-
3
- * Fixed minor oddity in Enumerable/collate.
4
- * Fixed major issue with 2.1.2 where it would not core facets correctly.
5
-
@@ -1,14 +0,0 @@
1
- == 2.2.0 / 2007-12-13
2
-
3
- * A lot of rdoc updates to core extensions --as promised ;)
4
- * Just about every method now has at least a brief explinaiton and an example.
5
- * integer/bitmask.rb has changed a bit --pun intended ;) Deprecated some methods and now use "~" instead of "-" to clear bits.
6
- * The name Array#unzip didn't makes sense, it was renamed to #modulate (though #collate seems better?)
7
- * Renamed Enumerable#collate to #mash (Map hASH); #collate and #graph remain aliases for the time being.
8
- * Deprecated Module#include_and_extend. Just use both silly.
9
- * More lib pp_s.rb has been removed. Use #pretty_inspect instead.
10
- * Split binding extensions up a bit more finely --eval.rb sprouted here.rb, self.rb and defined.rb.
11
- * Move Time#stamp out of conversion.rb and into time/ dir, and remove to_s alias.
12
- * Preliminary addition of Matthew Harris' excellent duration.rb lib (will integrate with times.rb better in future).
13
- * Added if clauses to handle upcoming Ruby 1.9 gracefully. Facets should now be just about ready for use with 1.9.
14
-
@@ -1,4 +0,0 @@
1
- == 2.2.1 / 2007-12-22
2
-
3
- * Got rid of methods subdir. All method redirects are in core/.
4
-
@@ -1,6 +0,0 @@
1
- == 2.3.0 / 2008-02-01
2
-
3
- * Reorganized library into smaller groups: core, more, class and mixin.
4
- * Added tracepoint.rb back to the library.
5
- * Fixed multiglob_r bug, so it will NOT follow symlinks.
6
-
@@ -1,70 +0,0 @@
1
- = Release Notes
2
-
3
- Facets 2.4 is a major step forward for Facets. It is perhaps
4
- the release that 2.0 should have been, but of course it took
5
- the actual 2.0 release to make 2.4 possible. Some annoyances
6
- you may have encountered in updating your code to 2.0 are now
7
- fixed. And from 2.4 on, Facets will now be settling down into
8
- simple refinement release cycles.
9
-
10
- The main change under the hood is to bring everything up to
11
- the top lib/facets/ directory. No longer are the libraries
12
- sorted by category. I had done so for a long time to make
13
- it easier to track the various libs, but in the end it was
14
- only making it more diffcult to deal with build tools and
15
- packaging.
16
-
17
- For the end-user, the largest change is a new emphisis on:
18
-
19
- require 'facets'
20
-
21
- This is better than cherry-picking methods. It may seem counter-
22
- intuitive, but it actually proves more advantantages to do this
23
- for the sake of interoperability than the practice of cherry-picking.
24
- The reason is simply because others may have cherry-picked different
25
- methods, and those distinctions go unaccounted and untested.
26
-
27
- Also with this release, to bolster the use of require 'facets',
28
- some lack-luster extensions have been deprecated and namespace usage
29
- has been improved. In addition, we are getting very close to full
30
- ActiveSupport, and Ruby 1.9, interoperability. Expect this
31
- to be complete in the next minor release or two.
32
-
33
- == Previously
34
-
35
- (2.3.0) Amoung other changes with this release, cloneable.rb is
36
- now a true deep dup/clone mixin; tracepoint.rb returns
37
- to the library.
38
-
39
- (2.2.1) This release get rid of the underlying methods subdir.
40
- All method redirects are now in core, to ensure
41
- there are no more name clashes.
42
-
43
- (2.2.0) This release provides improved rdocs and prepares facets for
44
- use with RUby 1.9. It also adds Matthew Harris' duration.rb
45
- library. Bug thanks to Matthew!
46
-
47
- (2.1.0) Major changes include a new and much-improved command.rb,
48
- a new BiCrypt class for simple two-way crypotgraphy,
49
- as well as attr_reader!, attr_writer! and attr_accessor!
50
- for flag attributes, plus alias_xxx methods for all
51
- attr_xxx methods.
52
-
53
-
54
- ### CHANGELOG 2.4.0 / 2008-03-24
55
-
56
- * String#to_re and String#to_rx have swapped default behaviors. #to_rx escapes, #to_re does not.
57
- * The Console namespace is being deprecated. command.rb and arguments.rb now use CLI naemspace.
58
- * #compare_on and #equate_on are now "mixin methods" Comparable() and Equateable().
59
- * Enumerable#product, #combintations and #permutations have change to be Ruby 1.9 compatible.
60
- * thread.rb, map_send, et al, block is passed to send instead of yielding on result.
61
- * namespace.rb has been renamed to methodspace.rb.
62
- * Ruby 1.9 defined a new Proc#curry method, so Facets version has been made compatible.
63
- * The old curry method is now called #partial, as in "partial application".
64
- * Deprecated interface.rb. Perhaps a better approach but nonetheless extraneous.
65
- * Deprecated paramix.rb. A better way is to use a capitialized methods. (Perhaps a lib for that?)
66
- * Brought back a few web related libs, htmlfilter.rb and cssfilter.rb in particular.
67
- * camelcase and snakecase are core extensions. For specialized styles use String#style in style.rb.
68
- * This was a fairly large and fast-paced update, so unfortunately not all changes are listed this time.
69
-
70
-
@@ -1,8 +0,0 @@
1
- == 2.4.1 / 2008-04-03
2
-
3
- * Comparing to ActiveSupport, found 63 extension clashes, but most are due to 1.9 features and the rest should be compatible.
4
- * A much improved paramix.rb has been returned to the library; but please note it's not quite finished yet.
5
- * Reatomized a number of Kernel and String methods. Reatomization is nearly complete.
6
- * Deprecated behavior.rb. It was not robust.
7
- * Added basex.rb, library for working in any encoding base using any character set (base62 is the default).
8
-
@@ -1,4 +0,0 @@
1
- == 2.4.2 / 2008-08-12
2
-
3
- * See 2.4.3. This was just a test release that was available for only one day.
4
-
@@ -1,78 +0,0 @@
1
- = Release Notes -- 2.4.3
2
-
3
- == Major Changes
4
-
5
- * Changed File#rewrite to not use the in-place change of the string.
6
- * Deprecate Hash#keys_to_s and Hash#keys_to_sym.
7
- * Renamed Class#to_pathname and #to_methodname to #pathize and #methodize.
8
- * Deprecated Console:: namespace for ANSICode.
9
- * Added Time#trunc and Time#round to Core.
10
- * Added Ken Bloom's DictionaryMatcher class (will be renamed in future version)
11
- * Added Array#recursively and fixed bug in Hash#recursively.
12
- * Added kernel/instance method which provides a fluent interface to private object space.
13
- * Moved Mentalguy's lazy.rb to core!
14
- * Added Indexable and Stackable to core.
15
- * Deprecated ruby.rb, which was a sort 1.9 compatibility layer.
16
- * The ruby.rb methods were moved to core, wrapped in a 1.9 condition.
17
-
18
- == Minor Changes
19
-
20
- * Fixed Time#hence changed years when changing months.
21
- * Fixed Time#hence to flip year correctly when adding months.
22
- * Added optional argument to Dictionary#first and #last.
23
- * Improved File#rootname --it is now more robust.
24
- * Made FileUtils#whereis a module_function again.
25
- * Although not perceptible to the end user, there are now three divisions lib/core, lib/lore, lib/more.
26
- * Created Lore library to house extensions to Ruby's standard library.
27
-
28
- Note that this release does not include a setup.rb script. We are working
29
- on a new version of this script, which we plan to include in the next release.
30
-
31
- Special thanks to:
32
-
33
- * Ken Bloom
34
- * Nick Caruso
35
- * Evgeniy Dolzhenko
36
- * Andy Freeman
37
- * Tomasz Muras
38
- * Dave Myron
39
-
40
- And of course, to anyone else I failed to mention that has contributed.
41
-
42
- As a REMINDER, Facets 2.4+ now encourages:
43
-
44
- require 'facets'
45
-
46
- This is better than cherry-picking methods. It may seem counter-intuitive,
47
- but it actually proves more advantages to do this for the sake of
48
- improved interoperability. The practice of cherry-picking can become
49
- problematic if other dependent libraries have cherry-picked different
50
- methods. In those cases these distinctions go unaccounted and untested.
51
-
52
- Facets is almost fully interoperable with ActiveSupport and Ruby 1.9.
53
- We will continue to improve this interoperability in upcoming releases.
54
-
55
-
56
- ### CHANGELOG 2.4.3 / 2008-08-14
57
-
58
- * Fixed Time#hence changed years when changing months.
59
- * Deprecate Hash#keys_to_s and Hash#keys_to_sym.
60
- * Renamed Class#to_pathname and #to_methodname to #pathize and #methodize.
61
- * Added Sting#pathize and String#methodize.
62
- * Deprecated Console:: namespace for ANSICode.
63
- * Added Time#trunc and Time#round to Core.
64
- * Added Ken Bloom's DictionaryMatcher class (will be renamed in future version)
65
- * IMPORTANT! Changed File#rewrite to not use the inplace change of the string.
66
- * Added Array#recursively and fixed bug in Hash#recursively.
67
- * Fixed Time#hence to flip year correctly when adding months.
68
- * Added optional argument to Dictionary#first and #last.
69
- * Added kernel/instance method which provides a fluent interface to private object space.
70
- * Moved Mentalguy's lazy.rb to core!
71
- * Added Stackable and Indexable to core.
72
- * Removed ruby.rb, which was a sort 1.9 compatibility lib. The methods are now in core.
73
- * Improved File#rootname --much more robust now.
74
- * Made FileUtils#whereis a module_function again.
75
- * Although not perceptable to the end user, there are now three libs (lib/core, lib/lore, lib/more).
76
- * Created Lore library to house extensions to Ruby's standard library.
77
-
78
-
@@ -1,38 +0,0 @@
1
- Facets 2.4.4 includes a major bug fix that caused Facets not to load properly,
2
- having to do with a Time extension. The problem has been fixed. In addition,
3
- this release put Facets only a few pending adjustments away from full
4
- Rails/ActiveSupport compatibility.
5
-
6
-
7
- ### Mon Sep 01 23:40:19 -0400 2008
8
-
9
- * 7 Major Enhancements
10
-
11
- * Added string/mask providing powerful string manipulation. (#997)
12
- * BasicObject is now just a synonm for BlankSlate unless Ruby 1.9. (#1000)
13
- * Added Symbol#plain?, Symbol#query? and Symbol#setter? (#1011)
14
- * Removed Time#to_date.
15
- * Due to clobberd RI Docs (!) this should have been in Lore lib date.rb
16
- * Moved to Lore date.rb. (#1012)
17
- * Re-added date.rb to lore library, and removed from core. (#1014)
18
- * Much improved date.rb extension now in Lore library. (#1027)
19
- * Deprecated kernel/suppress. Use Exception.suppress from now on. (#1040)
20
-
21
- * 8 Minor Enhancements
22
-
23
- * Moved style.rb to string/stylize.rb (#998)
24
- * Renamed string/subtract to string/op_sub.
25
- Old name will remain for time being for compatability. (#1002)
26
- * Module#instance_method_define? now only applies to public methods. (#1003)
27
- * Array#index accepts a block (one of the few core overrides). (#1004)
28
- * Moved Hash#<< from hash/update.rb to hash/op_push.rb (#1005)
29
- * Add facets class files (eg. facets/string) have been made dynamic. (#1013)
30
- * Moved variablize methods out of metaid.rb and into separate files (string/ and symbol/). (#1042)
31
- * Added Time#advance. (#1046)
32
-
33
- * 3 Bug Fixes
34
-
35
- * Hash#<< now return self (#1001)
36
- * OpenStruct#to_h dups internal table. (#1015)
37
- * Fixed require of string/xor in bicrypt.rb. (#1039)
38
-