facets 0.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (861) hide show
  1. data/ANN +53 -0
  2. data/ChangeLog +50 -0
  3. data/LICENSE-GPL +341 -0
  4. data/LICENSE-RUBY +60 -0
  5. data/README +130 -0
  6. data/Reapfile +74 -0
  7. data/TODO +42 -0
  8. data/VERSION +7 -0
  9. data/doc/classes/Array.html +1267 -0
  10. data/doc/classes/Array.src/M000027.html +19 -0
  11. data/doc/classes/Array.src/M000028.html +23 -0
  12. data/doc/classes/Array.src/M000029.html +18 -0
  13. data/doc/classes/Array.src/M000030.html +18 -0
  14. data/doc/classes/Array.src/M000031.html +18 -0
  15. data/doc/classes/Array.src/M000032.html +18 -0
  16. data/doc/classes/Array.src/M000033.html +18 -0
  17. data/doc/classes/Array.src/M000034.html +18 -0
  18. data/doc/classes/Array.src/M000035.html +18 -0
  19. data/doc/classes/Array.src/M000036.html +20 -0
  20. data/doc/classes/Array.src/M000037.html +31 -0
  21. data/doc/classes/Array.src/M000038.html +19 -0
  22. data/doc/classes/Array.src/M000039.html +24 -0
  23. data/doc/classes/Array.src/M000040.html +23 -0
  24. data/doc/classes/Array.src/M000041.html +31 -0
  25. data/doc/classes/Array.src/M000042.html +27 -0
  26. data/doc/classes/Array.src/M000044.html +22 -0
  27. data/doc/classes/Array.src/M000046.html +20 -0
  28. data/doc/classes/Array.src/M000047.html +18 -0
  29. data/doc/classes/Array.src/M000048.html +24 -0
  30. data/doc/classes/Array.src/M000049.html +19 -0
  31. data/doc/classes/Array.src/M000050.html +24 -0
  32. data/doc/classes/Array.src/M000051.html +22 -0
  33. data/doc/classes/Array.src/M000052.html +18 -0
  34. data/doc/classes/Array.src/M000053.html +25 -0
  35. data/doc/classes/Array.src/M000054.html +19 -0
  36. data/doc/classes/Array.src/M000055.html +26 -0
  37. data/doc/classes/Array.src/M000056.html +19 -0
  38. data/doc/classes/Array.src/M000057.html +28 -0
  39. data/doc/classes/Array.src/M000058.html +21 -0
  40. data/doc/classes/Array.src/M000059.html +18 -0
  41. data/doc/classes/Array.src/M000061.html +23 -0
  42. data/doc/classes/Binding.html +420 -0
  43. data/doc/classes/Binding.src/M000202.html +19 -0
  44. data/doc/classes/Binding.src/M000203.html +22 -0
  45. data/doc/classes/Binding.src/M000204.html +19 -0
  46. data/doc/classes/Binding.src/M000205.html +19 -0
  47. data/doc/classes/Binding.src/M000206.html +18 -0
  48. data/doc/classes/Binding.src/M000207.html +18 -0
  49. data/doc/classes/Binding.src/M000208.html +18 -0
  50. data/doc/classes/Binding.src/M000209.html +18 -0
  51. data/doc/classes/Binding.src/M000210.html +18 -0
  52. data/doc/classes/Binding.src/M000211.html +18 -0
  53. data/doc/classes/Binding.src/M000212.html +18 -0
  54. data/doc/classes/Binding.src/M000213.html +27 -0
  55. data/doc/classes/Binding.src/M000214.html +22 -0
  56. data/doc/classes/Class.html +216 -0
  57. data/doc/classes/Class.src/M000184.html +20 -0
  58. data/doc/classes/Class.src/M000185.html +20 -0
  59. data/doc/classes/Class.src/M000186.html +19 -0
  60. data/doc/classes/Comparable.html +190 -0
  61. data/doc/classes/Comparable.src/M000366.html +20 -0
  62. data/doc/classes/Comparable.src/M000367.html +18 -0
  63. data/doc/classes/Comparable.src/M000368.html +18 -0
  64. data/doc/classes/Continuation.html +188 -0
  65. data/doc/classes/Continuation.src/M000126.html +21 -0
  66. data/doc/classes/Enumerable.html +648 -0
  67. data/doc/classes/Enumerable.src/M000345.html +22 -0
  68. data/doc/classes/Enumerable.src/M000346.html +18 -0
  69. data/doc/classes/Enumerable.src/M000347.html +26 -0
  70. data/doc/classes/Enumerable.src/M000349.html +18 -0
  71. data/doc/classes/Enumerable.src/M000351.html +23 -0
  72. data/doc/classes/Enumerable.src/M000352.html +22 -0
  73. data/doc/classes/Enumerable.src/M000356.html +31 -0
  74. data/doc/classes/Enumerable.src/M000359.html +29 -0
  75. data/doc/classes/Enumerable.src/M000360.html +34 -0
  76. data/doc/classes/Enumerable.src/M000362.html +20 -0
  77. data/doc/classes/Enumerable.src/M000363.html +18 -0
  78. data/doc/classes/Enumerable.src/M000364.html +48 -0
  79. data/doc/classes/Enumerable.src/M000365.html +18 -0
  80. data/doc/classes/File.html +149 -0
  81. data/doc/classes/File.src/M000326.html +21 -0
  82. data/doc/classes/FileUtils.html +332 -0
  83. data/doc/classes/FileUtils.src/M000327.html +59 -0
  84. data/doc/classes/FileUtils.src/M000328.html +28 -0
  85. data/doc/classes/FileUtils.src/M000329.html +18 -0
  86. data/doc/classes/FileUtils.src/M000330.html +18 -0
  87. data/doc/classes/FileUtils.src/M000331.html +46 -0
  88. data/doc/classes/FileUtils.src/M000332.html +27 -0
  89. data/doc/classes/FileUtils.src/M000333.html +55 -0
  90. data/doc/classes/Float.html +180 -0
  91. data/doc/classes/Float.src/M000181.html +18 -0
  92. data/doc/classes/Float.src/M000182.html +19 -0
  93. data/doc/classes/Float.src/M000183.html +19 -0
  94. data/doc/classes/Functor.html +190 -0
  95. data/doc/classes/Functor.src/M000195.html +16 -0
  96. data/doc/classes/Functor.src/M000196.html +16 -0
  97. data/doc/classes/Functor.src/M000197.html +16 -0
  98. data/doc/classes/Functor.src/M000198.html +16 -0
  99. data/doc/classes/Hash.html +1319 -0
  100. data/doc/classes/Hash.src/M000063.html +20 -0
  101. data/doc/classes/Hash.src/M000064.html +18 -0
  102. data/doc/classes/Hash.src/M000065.html +22 -0
  103. data/doc/classes/Hash.src/M000066.html +23 -0
  104. data/doc/classes/Hash.src/M000067.html +21 -0
  105. data/doc/classes/Hash.src/M000068.html +25 -0
  106. data/doc/classes/Hash.src/M000069.html +18 -0
  107. data/doc/classes/Hash.src/M000070.html +22 -0
  108. data/doc/classes/Hash.src/M000071.html +20 -0
  109. data/doc/classes/Hash.src/M000072.html +26 -0
  110. data/doc/classes/Hash.src/M000073.html +19 -0
  111. data/doc/classes/Hash.src/M000074.html +19 -0
  112. data/doc/classes/Hash.src/M000075.html +24 -0
  113. data/doc/classes/Hash.src/M000078.html +18 -0
  114. data/doc/classes/Hash.src/M000080.html +20 -0
  115. data/doc/classes/Hash.src/M000083.html +18 -0
  116. data/doc/classes/Hash.src/M000084.html +20 -0
  117. data/doc/classes/Hash.src/M000086.html +19 -0
  118. data/doc/classes/Hash.src/M000087.html +20 -0
  119. data/doc/classes/Hash.src/M000089.html +16 -0
  120. data/doc/classes/Hash.src/M000090.html +19 -0
  121. data/doc/classes/Hash.src/M000091.html +22 -0
  122. data/doc/classes/Hash.src/M000092.html +18 -0
  123. data/doc/classes/Hash.src/M000093.html +18 -0
  124. data/doc/classes/Hash.src/M000094.html +20 -0
  125. data/doc/classes/Hash.src/M000095.html +19 -0
  126. data/doc/classes/Hash.src/M000096.html +19 -0
  127. data/doc/classes/Hash.src/M000097.html +19 -0
  128. data/doc/classes/Hash.src/M000098.html +18 -0
  129. data/doc/classes/Hash.src/M000099.html +18 -0
  130. data/doc/classes/Hash.src/M000100.html +19 -0
  131. data/doc/classes/Hash.src/M000101.html +24 -0
  132. data/doc/classes/Hash.src/M000104.html +55 -0
  133. data/doc/classes/Hash.src/M000105.html +19 -0
  134. data/doc/classes/Hash.src/M000106.html +19 -0
  135. data/doc/classes/Integer.html +248 -0
  136. data/doc/classes/Integer.src/M000007.html +19 -0
  137. data/doc/classes/Integer.src/M000008.html +18 -0
  138. data/doc/classes/Integer.src/M000009.html +18 -0
  139. data/doc/classes/Integer.src/M000010.html +21 -0
  140. data/doc/classes/Kernel.html +520 -0
  141. data/doc/classes/Kernel.src/M000334.html +27 -0
  142. data/doc/classes/Kernel.src/M000335.html +18 -0
  143. data/doc/classes/Kernel.src/M000336.html +18 -0
  144. data/doc/classes/Kernel.src/M000337.html +18 -0
  145. data/doc/classes/Kernel.src/M000338.html +24 -0
  146. data/doc/classes/Kernel.src/M000339.html +19 -0
  147. data/doc/classes/Kernel.src/M000340.html +22 -0
  148. data/doc/classes/Kernel.src/M000341.html +20 -0
  149. data/doc/classes/Kernel.src/M000342.html +19 -0
  150. data/doc/classes/Kernel.src/M000343.html +21 -0
  151. data/doc/classes/Kernel.src/M000344.html +18 -0
  152. data/doc/classes/MatchData.html +208 -0
  153. data/doc/classes/MatchData.src/M000107.html +21 -0
  154. data/doc/classes/MatchData.src/M000108.html +21 -0
  155. data/doc/classes/MatchData.src/M000109.html +18 -0
  156. data/doc/classes/Module.html +648 -0
  157. data/doc/classes/Module.src/M000112.html +32 -0
  158. data/doc/classes/Module.src/M000114.html +24 -0
  159. data/doc/classes/Module.src/M000115.html +41 -0
  160. data/doc/classes/Module.src/M000116.html +18 -0
  161. data/doc/classes/Module.src/M000117.html +20 -0
  162. data/doc/classes/Module.src/M000118.html +19 -0
  163. data/doc/classes/Module.src/M000119.html +20 -0
  164. data/doc/classes/Module.src/M000120.html +21 -0
  165. data/doc/classes/Module.src/M000122.html +23 -0
  166. data/doc/classes/Module.src/M000123.html +24 -0
  167. data/doc/classes/Module.src/M000124.html +20 -0
  168. data/doc/classes/Module.src/M000125.html +29 -0
  169. data/doc/classes/NilClass.html +336 -0
  170. data/doc/classes/NilClass.src/M000187.html +18 -0
  171. data/doc/classes/NilClass.src/M000188.html +16 -0
  172. data/doc/classes/NilClass.src/M000189.html +16 -0
  173. data/doc/classes/NilClass.src/M000190.html +16 -0
  174. data/doc/classes/NilClass.src/M000191.html +16 -0
  175. data/doc/classes/NilClass.src/M000192.html +16 -0
  176. data/doc/classes/NilClass.src/M000193.html +16 -0
  177. data/doc/classes/NilClass.src/M000194.html +16 -0
  178. data/doc/classes/Numeric.html +1122 -0
  179. data/doc/classes/Numeric.src/M000127.html +18 -0
  180. data/doc/classes/Numeric.src/M000128.html +18 -0
  181. data/doc/classes/Numeric.src/M000129.html +18 -0
  182. data/doc/classes/Numeric.src/M000130.html +29 -0
  183. data/doc/classes/Numeric.src/M000131.html +18 -0
  184. data/doc/classes/Numeric.src/M000132.html +18 -0
  185. data/doc/classes/Numeric.src/M000133.html +18 -0
  186. data/doc/classes/Numeric.src/M000135.html +18 -0
  187. data/doc/classes/Numeric.src/M000138.html +18 -0
  188. data/doc/classes/Numeric.src/M000141.html +18 -0
  189. data/doc/classes/Numeric.src/M000144.html +18 -0
  190. data/doc/classes/Numeric.src/M000147.html +19 -0
  191. data/doc/classes/Numeric.src/M000148.html +19 -0
  192. data/doc/classes/Numeric.src/M000149.html +18 -0
  193. data/doc/classes/Numeric.src/M000150.html +18 -0
  194. data/doc/classes/Numeric.src/M000151.html +18 -0
  195. data/doc/classes/Numeric.src/M000153.html +18 -0
  196. data/doc/classes/Numeric.src/M000155.html +18 -0
  197. data/doc/classes/Numeric.src/M000157.html +18 -0
  198. data/doc/classes/Numeric.src/M000159.html +18 -0
  199. data/doc/classes/Numeric.src/M000161.html +18 -0
  200. data/doc/classes/Numeric.src/M000163.html +18 -0
  201. data/doc/classes/Numeric.src/M000165.html +18 -0
  202. data/doc/classes/Numeric.src/M000167.html +18 -0
  203. data/doc/classes/Numeric.src/M000169.html +18 -0
  204. data/doc/classes/Numeric.src/M000171.html +18 -0
  205. data/doc/classes/Numeric.src/M000174.html +18 -0
  206. data/doc/classes/Numeric.src/M000178.html +20 -0
  207. data/doc/classes/Numeric.src/M000179.html +18 -0
  208. data/doc/classes/Numeric.src/M000180.html +18 -0
  209. data/doc/classes/Object.html +923 -0
  210. data/doc/classes/Object.src/M000215.html +21 -0
  211. data/doc/classes/Object.src/M000216.html +20 -0
  212. data/doc/classes/Object.src/M000217.html +18 -0
  213. data/doc/classes/Object.src/M000219.html +26 -0
  214. data/doc/classes/Object.src/M000220.html +20 -0
  215. data/doc/classes/Object.src/M000221.html +18 -0
  216. data/doc/classes/Object.src/M000222.html +18 -0
  217. data/doc/classes/Object.src/M000224.html +18 -0
  218. data/doc/classes/Object.src/M000226.html +18 -0
  219. data/doc/classes/Object.src/M000228.html +19 -0
  220. data/doc/classes/Object.src/M000229.html +19 -0
  221. data/doc/classes/Object.src/M000230.html +21 -0
  222. data/doc/classes/Object.src/M000232.html +18 -0
  223. data/doc/classes/Object.src/M000233.html +18 -0
  224. data/doc/classes/Object.src/M000234.html +19 -0
  225. data/doc/classes/Object.src/M000235.html +19 -0
  226. data/doc/classes/Object.src/M000236.html +19 -0
  227. data/doc/classes/Object.src/M000237.html +40 -0
  228. data/doc/classes/Object.src/M000238.html +27 -0
  229. data/doc/classes/Object.src/M000239.html +18 -0
  230. data/doc/classes/Object.src/M000240.html +18 -0
  231. data/doc/classes/Object.src/M000241.html +18 -0
  232. data/doc/classes/Object.src/M000242.html +18 -0
  233. data/doc/classes/OpenStruct.html +206 -0
  234. data/doc/classes/OpenStruct.src/M000199.html +22 -0
  235. data/doc/classes/OpenStruct.src/M000200.html +19 -0
  236. data/doc/classes/OpenStruct.src/M000201.html +20 -0
  237. data/doc/classes/Proc.html +184 -0
  238. data/doc/classes/Proc.src/M000110.html +20 -0
  239. data/doc/classes/Range.html +247 -0
  240. data/doc/classes/Range.src/M000003.html +23 -0
  241. data/doc/classes/Range.src/M000004.html +20 -0
  242. data/doc/classes/Range.src/M000005.html +18 -0
  243. data/doc/classes/Range.src/M000006.html +18 -0
  244. data/doc/classes/Regexp.html +205 -0
  245. data/doc/classes/Regexp.src/M000022.html +18 -0
  246. data/doc/classes/Regexp.src/M000023.html +18 -0
  247. data/doc/classes/Regexp.src/M000024.html +18 -0
  248. data/doc/classes/ScriptBug.html +111 -0
  249. data/doc/classes/String.html +1930 -0
  250. data/doc/classes/String.src/M000243.html +27 -0
  251. data/doc/classes/String.src/M000244.html +18 -0
  252. data/doc/classes/String.src/M000245.html +18 -0
  253. data/doc/classes/String.src/M000246.html +18 -0
  254. data/doc/classes/String.src/M000248.html +18 -0
  255. data/doc/classes/String.src/M000249.html +18 -0
  256. data/doc/classes/String.src/M000250.html +21 -0
  257. data/doc/classes/String.src/M000251.html +22 -0
  258. data/doc/classes/String.src/M000253.html +28 -0
  259. data/doc/classes/String.src/M000254.html +23 -0
  260. data/doc/classes/String.src/M000255.html +22 -0
  261. data/doc/classes/String.src/M000256.html +18 -0
  262. data/doc/classes/String.src/M000257.html +20 -0
  263. data/doc/classes/String.src/M000258.html +20 -0
  264. data/doc/classes/String.src/M000259.html +22 -0
  265. data/doc/classes/String.src/M000260.html +18 -0
  266. data/doc/classes/String.src/M000261.html +26 -0
  267. data/doc/classes/String.src/M000262.html +23 -0
  268. data/doc/classes/String.src/M000263.html +24 -0
  269. data/doc/classes/String.src/M000264.html +23 -0
  270. data/doc/classes/String.src/M000265.html +23 -0
  271. data/doc/classes/String.src/M000266.html +18 -0
  272. data/doc/classes/String.src/M000267.html +18 -0
  273. data/doc/classes/String.src/M000268.html +19 -0
  274. data/doc/classes/String.src/M000269.html +19 -0
  275. data/doc/classes/String.src/M000270.html +18 -0
  276. data/doc/classes/String.src/M000271.html +18 -0
  277. data/doc/classes/String.src/M000272.html +19 -0
  278. data/doc/classes/String.src/M000273.html +18 -0
  279. data/doc/classes/String.src/M000274.html +72 -0
  280. data/doc/classes/String.src/M000275.html +20 -0
  281. data/doc/classes/String.src/M000276.html +20 -0
  282. data/doc/classes/String.src/M000277.html +21 -0
  283. data/doc/classes/String.src/M000278.html +25 -0
  284. data/doc/classes/String.src/M000279.html +18 -0
  285. data/doc/classes/String.src/M000280.html +21 -0
  286. data/doc/classes/String.src/M000281.html +18 -0
  287. data/doc/classes/String.src/M000282.html +23 -0
  288. data/doc/classes/String.src/M000283.html +18 -0
  289. data/doc/classes/String.src/M000284.html +21 -0
  290. data/doc/classes/String.src/M000285.html +28 -0
  291. data/doc/classes/String.src/M000286.html +25 -0
  292. data/doc/classes/String.src/M000287.html +18 -0
  293. data/doc/classes/String.src/M000289.html +18 -0
  294. data/doc/classes/String.src/M000291.html +18 -0
  295. data/doc/classes/String.src/M000292.html +18 -0
  296. data/doc/classes/String.src/M000293.html +21 -0
  297. data/doc/classes/String.src/M000294.html +18 -0
  298. data/doc/classes/String.src/M000295.html +18 -0
  299. data/doc/classes/String.src/M000296.html +22 -0
  300. data/doc/classes/String.src/M000297.html +18 -0
  301. data/doc/classes/String.src/M000298.html +22 -0
  302. data/doc/classes/String.src/M000299.html +21 -0
  303. data/doc/classes/String.src/M000300.html +18 -0
  304. data/doc/classes/String.src/M000301.html +18 -0
  305. data/doc/classes/String.src/M000302.html +18 -0
  306. data/doc/classes/String.src/M000303.html +18 -0
  307. data/doc/classes/String.src/M000304.html +18 -0
  308. data/doc/classes/String.src/M000305.html +32 -0
  309. data/doc/classes/String.src/M000306.html +23 -0
  310. data/doc/classes/String.src/M000307.html +24 -0
  311. data/doc/classes/String.src/M000308.html +18 -0
  312. data/doc/classes/String.src/M000309.html +57 -0
  313. data/doc/classes/String/Format.html +279 -0
  314. data/doc/classes/String/Format.src/M000316.html +18 -0
  315. data/doc/classes/String/Format.src/M000317.html +18 -0
  316. data/doc/classes/String/Format.src/M000318.html +18 -0
  317. data/doc/classes/String/Format.src/M000320.html +18 -0
  318. data/doc/classes/String/Format.src/M000321.html +18 -0
  319. data/doc/classes/String/Format.src/M000322.html +18 -0
  320. data/doc/classes/String/Format.src/M000323.html +18 -0
  321. data/doc/classes/String/Format.src/M000324.html +18 -0
  322. data/doc/classes/String/Format.src/M000325.html +18 -0
  323. data/doc/classes/String/Inflect.html +221 -0
  324. data/doc/classes/String/Inflect.src/M000310.html +18 -0
  325. data/doc/classes/String/Inflect.src/M000311.html +18 -0
  326. data/doc/classes/String/Inflect.src/M000312.html +22 -0
  327. data/doc/classes/String/Inflect.src/M000313.html +22 -0
  328. data/doc/classes/String/Inflect.src/M000314.html +30 -0
  329. data/doc/classes/String/Inflect.src/M000315.html +31 -0
  330. data/doc/classes/Symbol.html +380 -0
  331. data/doc/classes/Symbol.src/M000012.html +18 -0
  332. data/doc/classes/Symbol.src/M000013.html +18 -0
  333. data/doc/classes/Symbol.src/M000014.html +22 -0
  334. data/doc/classes/Symbol.src/M000016.html +18 -0
  335. data/doc/classes/Symbol.src/M000017.html +18 -0
  336. data/doc/classes/Symbol.src/M000018.html +28 -0
  337. data/doc/classes/Symbol.src/M000019.html +26 -0
  338. data/doc/classes/Symbol.src/M000020.html +18 -0
  339. data/doc/classes/Symbol.src/M000021.html +18 -0
  340. data/doc/classes/Time.html +227 -0
  341. data/doc/classes/Time.src/M000025.html +51 -0
  342. data/doc/classes/Time.src/M000026.html +21 -0
  343. data/doc/created.rid +1 -0
  344. data/doc/files/LICENSE-GPL.html +537 -0
  345. data/doc/files/LICENSE-RUBY.html +166 -0
  346. data/doc/files/README.html +252 -0
  347. data/doc/files/lib/facet/all-base-common_rb.html +101 -0
  348. data/doc/files/lib/facet/all-base_rb.html +133 -0
  349. data/doc/files/lib/facet/array/[[]]_rb.html +108 -0
  350. data/doc/files/lib/facet/array/[]_rb.html +108 -0
  351. data/doc/files/lib/facet/array/at_rand_rb.html +101 -0
  352. data/doc/files/lib/facet/array/combinations_rb.html +101 -0
  353. data/doc/files/lib/facet/array/delete_values_rb.html +101 -0
  354. data/doc/files/lib/facet/array/first&last_rb.html +101 -0
  355. data/doc/files/lib/facet/array/get_rb.html +101 -0
  356. data/doc/files/lib/facet/array/head&tail_rb.html +101 -0
  357. data/doc/files/lib/facet/array/last_index_rb.html +101 -0
  358. data/doc/files/lib/facet/array/middle_rb.html +101 -0
  359. data/doc/files/lib/facet/array/pos_rb.html +101 -0
  360. data/doc/files/lib/facet/array/pull_rb.html +101 -0
  361. data/doc/files/lib/facet/array/range_rb.html +101 -0
  362. data/doc/files/lib/facet/array/rotate_rb.html +101 -0
  363. data/doc/files/lib/facet/array/select!_rb.html +101 -0
  364. data/doc/files/lib/facet/array/shuffle_rb.html +101 -0
  365. data/doc/files/lib/facet/array/store_rb.html +101 -0
  366. data/doc/files/lib/facet/array/thru_rb.html +101 -0
  367. data/doc/files/lib/facet/array/to_b_rb.html +101 -0
  368. data/doc/files/lib/facet/array/to_h_rb.html +101 -0
  369. data/doc/files/lib/facet/array_rb.html +120 -0
  370. data/doc/files/lib/facet/binding/called_rb.html +108 -0
  371. data/doc/files/lib/facet/binding/caller_rb.html +108 -0
  372. data/doc/files/lib/facet/binding/defined?_rb.html +108 -0
  373. data/doc/files/lib/facet/binding/delegate!_rb.html +101 -0
  374. data/doc/files/lib/facet/binding/eval_rb.html +101 -0
  375. data/doc/files/lib/facet/binding/lineno_rb.html +108 -0
  376. data/doc/files/lib/facet/binding/local_variables_rb.html +108 -0
  377. data/doc/files/lib/facet/binding/self_rb.html +108 -0
  378. data/doc/files/lib/facet/binding_rb.html +118 -0
  379. data/doc/files/lib/facet/class/cattr_rb.html +101 -0
  380. data/doc/files/lib/facet/class_rb.html +114 -0
  381. data/doc/files/lib/facet/comparable/bound_by_rb.html +101 -0
  382. data/doc/files/lib/facet/comparable_rb.html +114 -0
  383. data/doc/files/lib/facet/continuation/create_rb.html +101 -0
  384. data/doc/files/lib/facet/continuation_rb.html +114 -0
  385. data/doc/files/lib/facet/enumerable/**_rb.html +108 -0
  386. data/doc/files/lib/facet/enumerable/collect_with_counter_rb.html +101 -0
  387. data/doc/files/lib/facet/enumerable/cross_rb.html +108 -0
  388. data/doc/files/lib/facet/enumerable/each_slice_rb.html +101 -0
  389. data/doc/files/lib/facet/enumerable/every_rb.html +108 -0
  390. data/doc/files/lib/facet/enumerable/graph_rb.html +101 -0
  391. data/doc/files/lib/facet/enumerable/none?_rb.html +101 -0
  392. data/doc/files/lib/facet/enumerable/one?_rb.html +101 -0
  393. data/doc/files/lib/facet/enumerable/partition_by_rb.html +101 -0
  394. data/doc/files/lib/facet/enumerable/per_rb.html +108 -0
  395. data/doc/files/lib/facet/enumerable/to_hash_rb.html +101 -0
  396. data/doc/files/lib/facet/enumerable/uniq_by_rb.html +101 -0
  397. data/doc/files/lib/facet/enumerable_rb.html +118 -0
  398. data/doc/files/lib/facet/file/split_all_rb.html +101 -0
  399. data/doc/files/lib/facet/file_rb.html +114 -0
  400. data/doc/files/lib/facet/fileutils/head&tail_rb.html +108 -0
  401. data/doc/files/lib/facet/fileutils/safe_ln_rb.html +108 -0
  402. data/doc/files/lib/facet/fileutils/wc_rb.html +108 -0
  403. data/doc/files/lib/facet/fileutils/whereis_rb.html +108 -0
  404. data/doc/files/lib/facet/fileutils/which_rb.html +108 -0
  405. data/doc/files/lib/facet/fileutils_rb.html +115 -0
  406. data/doc/files/lib/facet/float/round_rb.html +101 -0
  407. data/doc/files/lib/facet/float_rb.html +114 -0
  408. data/doc/files/lib/facet/hash/<<_rb.html +101 -0
  409. data/doc/files/lib/facet/hash/[]_rb.html +101 -0
  410. data/doc/files/lib/facet/hash/alias!_rb.html +101 -0
  411. data/doc/files/lib/facet/hash/at_rand_rb.html +101 -0
  412. data/doc/files/lib/facet/hash/collate_rb.html +101 -0
  413. data/doc/files/lib/facet/hash/collect_rb.html +108 -0
  414. data/doc/files/lib/facet/hash/each_rb.html +101 -0
  415. data/doc/files/lib/facet/hash/has_keys?_rb.html +101 -0
  416. data/doc/files/lib/facet/hash/inverse_rb.html +101 -0
  417. data/doc/files/lib/facet/hash/keys_to_s_rb.html +101 -0
  418. data/doc/files/lib/facet/hash/keys_to_sym_rb.html +101 -0
  419. data/doc/files/lib/facet/hash/shuffle_rb.html +101 -0
  420. data/doc/files/lib/facet/hash/slice_rb.html +101 -0
  421. data/doc/files/lib/facet/hash/swap!_rb.html +101 -0
  422. data/doc/files/lib/facet/hash/swapkey!_rb.html +101 -0
  423. data/doc/files/lib/facet/hash/to_h_rb.html +101 -0
  424. data/doc/files/lib/facet/hash/to_ostruct_rb.html +108 -0
  425. data/doc/files/lib/facet/hash/traverse_rb.html +101 -0
  426. data/doc/files/lib/facet/hash/update_each_rb.html +101 -0
  427. data/doc/files/lib/facet/hash/weave_rb.html +101 -0
  428. data/doc/files/lib/facet/hash/zipnew_rb.html +101 -0
  429. data/doc/files/lib/facet/hash_rb.html +115 -0
  430. data/doc/files/lib/facet/integer/evenodd?_rb.html +101 -0
  431. data/doc/files/lib/facet/integer/factorial_rb.html +101 -0
  432. data/doc/files/lib/facet/integer/times_collect_rb.html +101 -0
  433. data/doc/files/lib/facet/integer_rb.html +116 -0
  434. data/doc/files/lib/facet/kernel/bug!_rb.html +101 -0
  435. data/doc/files/lib/facet/kernel/call_stack_rb.html +101 -0
  436. data/doc/files/lib/facet/kernel/called_rb.html +108 -0
  437. data/doc/files/lib/facet/kernel/demo_rb.html +101 -0
  438. data/doc/files/lib/facet/kernel/fn_rb.html +101 -0
  439. data/doc/files/lib/facet/kernel/get_by_id_rb.html +101 -0
  440. data/doc/files/lib/facet/kernel/here_rb.html +101 -0
  441. data/doc/files/lib/facet/kernel/maybe_rb.html +101 -0
  442. data/doc/files/lib/facet/kernel/method_name_rb.html +108 -0
  443. data/doc/files/lib/facet/kernel/require_all_rb.html +101 -0
  444. data/doc/files/lib/facet/kernel/require_local_rb.html +101 -0
  445. data/doc/files/lib/facet/kernel/resc_rb.html +101 -0
  446. data/doc/files/lib/facet/kernel/warn_with_line_rb.html +101 -0
  447. data/doc/files/lib/facet/kernel_rb.html +120 -0
  448. data/doc/files/lib/facet/matchdata/match_from_rb.html +108 -0
  449. data/doc/files/lib/facet/matchdata/match_rb.html +101 -0
  450. data/doc/files/lib/facet/matchdata_rb.html +115 -0
  451. data/doc/files/lib/facet/module/abstract_rb.html +118 -0
  452. data/doc/files/lib/facet/module/alias_module_function_rb.html +101 -0
  453. data/doc/files/lib/facet/module/basename_rb.html +101 -0
  454. data/doc/files/lib/facet/module/by_name_rb.html +108 -0
  455. data/doc/files/lib/facet/module/initializer_rb.html +101 -0
  456. data/doc/files/lib/facet/module/key_attributes_rb.html +101 -0
  457. data/doc/files/lib/facet/module/memoize_rb.html +130 -0
  458. data/doc/files/lib/facet/module/memoize_rb.src/M000002.html +18 -0
  459. data/doc/files/lib/facet/module/methods_rb.html +101 -0
  460. data/doc/files/lib/facet/module/redefine_method_rb.html +101 -0
  461. data/doc/files/lib/facet/module/redirect_rb.html +101 -0
  462. data/doc/files/lib/facet/module/sort_attributes_rb.html +101 -0
  463. data/doc/files/lib/facet/module/wrap_method_rb.html +101 -0
  464. data/doc/files/lib/facet/module_rb.html +116 -0
  465. data/doc/files/lib/facet/nil-as-emptiness_rb.html +130 -0
  466. data/doc/files/lib/facet/nil/[]_rb.html +101 -0
  467. data/doc/files/lib/facet/nil/empty?_rb.html +101 -0
  468. data/doc/files/lib/facet/nil/include?_rb.html +101 -0
  469. data/doc/files/lib/facet/nil/length_rb.html +101 -0
  470. data/doc/files/lib/facet/nil/to_f_rb.html +101 -0
  471. data/doc/files/lib/facet/nil/to_h_rb.html +101 -0
  472. data/doc/files/lib/facet/nil_rb.html +115 -0
  473. data/doc/files/lib/facet/numeric/bound_by_rb.html +101 -0
  474. data/doc/files/lib/facet/numeric/bytes_rb.html +101 -0
  475. data/doc/files/lib/facet/numeric/distance_rb.html +101 -0
  476. data/doc/files/lib/facet/numeric/octet_units_rb.html +108 -0
  477. data/doc/files/lib/facet/numeric/succ_rb.html +101 -0
  478. data/doc/files/lib/facet/numeric/times_rb.html +101 -0
  479. data/doc/files/lib/facet/numeric/to_b_rb.html +101 -0
  480. data/doc/files/lib/facet/numeric_rb.html +114 -0
  481. data/doc/files/lib/facet/object/__class___rb.html +101 -0
  482. data/doc/files/lib/facet/object/assign_with_rb.html +101 -0
  483. data/doc/files/lib/facet/object/bool?_rb.html +101 -0
  484. data/doc/files/lib/facet/object/constant_rb.html +101 -0
  485. data/doc/files/lib/facet/object/copy_rb.html +101 -0
  486. data/doc/files/lib/facet/object/in?_rb.html +101 -0
  487. data/doc/files/lib/facet/object/new_rb.html +101 -0
  488. data/doc/files/lib/facet/object/object_hexid_rb.html +101 -0
  489. data/doc/files/lib/facet/object/set_with_rb.html +101 -0
  490. data/doc/files/lib/facet/object/special_class_rb.html +101 -0
  491. data/doc/files/lib/facet/object/supers_rb.html +108 -0
  492. data/doc/files/lib/facet/object/to_b_rb.html +108 -0
  493. data/doc/files/lib/facet/object/to_bool_rb.html +101 -0
  494. data/doc/files/lib/facet/object/with_accessor_rb.html +101 -0
  495. data/doc/files/lib/facet/object_rb.html +120 -0
  496. data/doc/files/lib/facet/ostruct/[]_rb.html +108 -0
  497. data/doc/files/lib/facet/ostruct/ostruct_update_rb.html +108 -0
  498. data/doc/files/lib/facet/ostruct_rb.html +115 -0
  499. data/doc/files/lib/facet/proc/compose_rb.html +101 -0
  500. data/doc/files/lib/facet/proc/to_method_rb.html +138 -0
  501. data/doc/files/lib/facet/proc/to_method_rb.src/M000001.html +29 -0
  502. data/doc/files/lib/facet/proc_rb.html +115 -0
  503. data/doc/files/lib/facet/rand_rb.html +120 -0
  504. data/doc/files/lib/facet/range/to_r_rb.html +101 -0
  505. data/doc/files/lib/facet/range/umbrella_rb.html +101 -0
  506. data/doc/files/lib/facet/range/within?_rb.html +108 -0
  507. data/doc/files/lib/facet/range_rb.html +116 -0
  508. data/doc/files/lib/facet/regexp/arity_rb.html +101 -0
  509. data/doc/files/lib/facet/regexp/to_re_rb.html +101 -0
  510. data/doc/files/lib/facet/regexp_rb.html +115 -0
  511. data/doc/files/lib/facet/string/at_rand_rb.html +108 -0
  512. data/doc/files/lib/facet/string/blank?_rb.html +101 -0
  513. data/doc/files/lib/facet/string/braket_rb.html +101 -0
  514. data/doc/files/lib/facet/string/camelcase_rb.html +101 -0
  515. data/doc/files/lib/facet/string/case?_rb.html +101 -0
  516. data/doc/files/lib/facet/string/center_lines_rb.html +101 -0
  517. data/doc/files/lib/facet/string/chars_rb.html +101 -0
  518. data/doc/files/lib/facet/string/clump_rb.html +101 -0
  519. data/doc/files/lib/facet/string/cmp_rb.html +101 -0
  520. data/doc/files/lib/facet/string/dresner_rb.html +101 -0
  521. data/doc/files/lib/facet/string/each_word_rb.html +101 -0
  522. data/doc/files/lib/facet/string/first&last_rb.html +101 -0
  523. data/doc/files/lib/facet/string/format_rb.html +101 -0
  524. data/doc/files/lib/facet/string/fuzzy_match_rb.html +101 -0
  525. data/doc/files/lib/facet/string/index_all_rb.html +101 -0
  526. data/doc/files/lib/facet/string/inflect_rb.html +101 -0
  527. data/doc/files/lib/facet/string/line_to_char_map_rb.html +101 -0
  528. data/doc/files/lib/facet/string/line_wrap_rb.html +101 -0
  529. data/doc/files/lib/facet/string/margin_rb.html +101 -0
  530. data/doc/files/lib/facet/string/mscan_rb.html +101 -0
  531. data/doc/files/lib/facet/string/natcmp_rb.html +101 -0
  532. data/doc/files/lib/facet/string/rand_letter_rb.html +101 -0
  533. data/doc/files/lib/facet/string/range_rb.html +101 -0
  534. data/doc/files/lib/facet/string/shatter_rb.html +101 -0
  535. data/doc/files/lib/facet/string/shuffle_rb.html +101 -0
  536. data/doc/files/lib/facet/string/succ_rb.html +101 -0
  537. data/doc/files/lib/facet/string/tab_rb.html +101 -0
  538. data/doc/files/lib/facet/string/to_b_rb.html +101 -0
  539. data/doc/files/lib/facet/string/to_const_rb.html +108 -0
  540. data/doc/files/lib/facet/string/to_proc_rb.html +101 -0
  541. data/doc/files/lib/facet/string/to_re_rb.html +101 -0
  542. data/doc/files/lib/facet/string/unix_crypt_rb.html +108 -0
  543. data/doc/files/lib/facet/string/unpack_rb.html +101 -0
  544. data/doc/files/lib/facet/string/word_filter!_rb.html +101 -0
  545. data/doc/files/lib/facet/string/word_wrap_rb.html +101 -0
  546. data/doc/files/lib/facet/string_rb.html +122 -0
  547. data/doc/files/lib/facet/symbol/camelcase_rb.html +101 -0
  548. data/doc/files/lib/facet/symbol/gen_rb.html +101 -0
  549. data/doc/files/lib/facet/symbol/pad_rb.html +101 -0
  550. data/doc/files/lib/facet/symbol/succ_rb.html +101 -0
  551. data/doc/files/lib/facet/symbol/to_const_rb.html +108 -0
  552. data/doc/files/lib/facet/symbol/to_proc_rb.html +101 -0
  553. data/doc/files/lib/facet/symbol/to_str_rb.html +101 -0
  554. data/doc/files/lib/facet/symbol/~_rb.html +101 -0
  555. data/doc/files/lib/facet/symbol_rb.html +116 -0
  556. data/doc/files/lib/facet/time/custom_format_rb.html +108 -0
  557. data/doc/files/lib/facet/time/elapse_rb.html +101 -0
  558. data/doc/files/lib/facet/time_rb.html +107 -0
  559. data/doc/fr_class_index.html +54 -0
  560. data/doc/fr_file_index.html +239 -0
  561. data/doc/fr_method_index.html +394 -0
  562. data/doc/index.html +24 -0
  563. data/doc/rdoc-style.css +208 -0
  564. data/lib/facet-dev/README +11 -0
  565. data/lib/facet-dev/advice.rb +70 -0
  566. data/lib/facet-dev/array/**.rb +17 -0
  567. data/lib/facet-dev/array/at_rand.rb +95 -0
  568. data/lib/facet-dev/array/each_slice.rb +23 -0
  569. data/lib/facet-dev/array/pick_values.rb +32 -0
  570. data/lib/facet-dev/array/remove.rb +21 -0
  571. data/lib/facet-dev/arraysplit.tar.gz +0 -0
  572. data/lib/facet-dev/binding/class.rb +11 -0
  573. data/lib/facet-dev/binding/delegate.rb +15 -0
  574. data/lib/facet-dev/binding/proc.rb +6 -0
  575. data/lib/facet-dev/class_include.rb +13 -0
  576. data/lib/facet-dev/enumerable/[].rb +30 -0
  577. data/lib/facet-dev/enumerable/rand.rb +412 -0
  578. data/lib/facet-dev/fileutils/mv_f.rb +6 -0
  579. data/lib/facet-dev/fileutils/nl_convert.rb +69 -0
  580. data/lib/facet-dev/fileutils/tc_nlconvert.rb +60 -0
  581. data/lib/facet-dev/kernel/call_line.rb +15 -0
  582. data/lib/facet-dev/kernel/does.rb +7 -0
  583. data/lib/facet-dev/kernel/eval.rb +24 -0
  584. data/lib/facet-dev/kernel/message.rb +6 -0
  585. data/lib/facet-dev/module/preserved.rb +108 -0
  586. data/lib/facet-dev/object/==.rb +49 -0
  587. data/lib/facet-dev/object/>>.rb +50 -0
  588. data/lib/facet-dev/object/all.rb +11 -0
  589. data/lib/facet-dev/object/query.rb +15 -0
  590. data/lib/facet-dev/object/respond_with_value.rb +14 -0
  591. data/lib/facet-dev/rails/class_attribute_accessors.rb +57 -0
  592. data/lib/facet-dev/rails/class_inheritable_attributes.rb +117 -0
  593. data/lib/facet-dev/rails/clean_logger.rb +10 -0
  594. data/lib/facet-dev/rails/dependencies.rb +63 -0
  595. data/lib/facet-dev/rails/inflector.rb +84 -0
  596. data/lib/facet-dev/rails/misc.rb +8 -0
  597. data/lib/facet-dev/rails/module_attribute_accessors.rb +57 -0
  598. data/lib/facet-dev/rails/object_and_class.rb +24 -0
  599. data/lib/facet-dev/string/+.rb +19 -0
  600. data/lib/facet-dev/string/pred.rb +123 -0
  601. data/lib/facet-dev/string/slash.rb +15 -0
  602. data/lib/facet-dev/string/strip.rb +32 -0
  603. data/lib/facet-dev/string/succ_distance.rb +112 -0
  604. data/lib/facet-dev/string/tc_pred.rb +96 -0
  605. data/lib/facet-dev/string/word_wrap.rb +62 -0
  606. data/lib/facet-dev/taint.rb +10 -0
  607. data/lib/facet/all-base-common.rb +13 -0
  608. data/lib/facet/all-base.rb +27 -0
  609. data/lib/facet/array.rb +25 -0
  610. data/lib/facet/array/[[]].rb +42 -0
  611. data/lib/facet/array/[].rb +57 -0
  612. data/lib/facet/array/at_rand.rb +118 -0
  613. data/lib/facet/array/combinations.rb +122 -0
  614. data/lib/facet/array/delete_values.rb +46 -0
  615. data/lib/facet/array/first&last.rb +47 -0
  616. data/lib/facet/array/get.rb +15 -0
  617. data/lib/facet/array/head&tail.rb +33 -0
  618. data/lib/facet/array/last_index.rb +15 -0
  619. data/lib/facet/array/middle.rb +18 -0
  620. data/lib/facet/array/pos.rb +17 -0
  621. data/lib/facet/array/pull.rb +21 -0
  622. data/lib/facet/array/range.rb +22 -0
  623. data/lib/facet/array/rotate.rb +38 -0
  624. data/lib/facet/array/select!.rb +13 -0
  625. data/lib/facet/array/shuffle.rb +37 -0
  626. data/lib/facet/array/store.rb +4 -0
  627. data/lib/facet/array/thru.rb +18 -0
  628. data/lib/facet/array/to_b.rb +6 -0
  629. data/lib/facet/array/to_h.rb +30 -0
  630. data/lib/facet/binding.rb +15 -0
  631. data/lib/facet/binding/called.rb +29 -0
  632. data/lib/facet/binding/caller.rb +10 -0
  633. data/lib/facet/binding/defined?.rb +9 -0
  634. data/lib/facet/binding/delegate!.rb +19 -0
  635. data/lib/facet/binding/eval.rb +10 -0
  636. data/lib/facet/binding/lineno.rb +13 -0
  637. data/lib/facet/binding/local_variables.rb +39 -0
  638. data/lib/facet/binding/self.rb +10 -0
  639. data/lib/facet/class.rb +7 -0
  640. data/lib/facet/class/cattr.rb +82 -0
  641. data/lib/facet/comparable.rb +7 -0
  642. data/lib/facet/comparable/bound_by.rb +41 -0
  643. data/lib/facet/continuation.rb +8 -0
  644. data/lib/facet/continuation/create.rb +51 -0
  645. data/lib/facet/enumerable.rb +17 -0
  646. data/lib/facet/enumerable/**.rb +13 -0
  647. data/lib/facet/enumerable/collect_with_counter.rb +25 -0
  648. data/lib/facet/enumerable/cross.rb +79 -0
  649. data/lib/facet/enumerable/each_slice.rb +60 -0
  650. data/lib/facet/enumerable/every.rb +45 -0
  651. data/lib/facet/enumerable/graph.rb +48 -0
  652. data/lib/facet/enumerable/none?.rb +28 -0
  653. data/lib/facet/enumerable/one?.rb +35 -0
  654. data/lib/facet/enumerable/partition_by.rb +27 -0
  655. data/lib/facet/enumerable/per.rb +18 -0
  656. data/lib/facet/enumerable/to_hash.rb +17 -0
  657. data/lib/facet/enumerable/uniq_by.rb +35 -0
  658. data/lib/facet/file.rb +7 -0
  659. data/lib/facet/file/split_all.rb +17 -0
  660. data/lib/facet/fileutils.rb +11 -0
  661. data/lib/facet/fileutils/head&tail.rb +65 -0
  662. data/lib/facet/fileutils/safe_ln.rb +18 -0
  663. data/lib/facet/fileutils/wc.rb +62 -0
  664. data/lib/facet/fileutils/whereis.rb +63 -0
  665. data/lib/facet/fileutils/which.rb +53 -0
  666. data/lib/facet/float.rb +7 -0
  667. data/lib/facet/float/round.rb +33 -0
  668. data/lib/facet/hash.rb +23 -0
  669. data/lib/facet/hash/<<.rb +5 -0
  670. data/lib/facet/hash/[].rb +44 -0
  671. data/lib/facet/hash/alias!.rb +24 -0
  672. data/lib/facet/hash/at_rand.rb +88 -0
  673. data/lib/facet/hash/collate.rb +25 -0
  674. data/lib/facet/hash/collect.rb +8 -0
  675. data/lib/facet/hash/each.rb +28 -0
  676. data/lib/facet/hash/has_keys?.rb +48 -0
  677. data/lib/facet/hash/inverse.rb +29 -0
  678. data/lib/facet/hash/keys_to_s.rb +50 -0
  679. data/lib/facet/hash/keys_to_sym.rb +59 -0
  680. data/lib/facet/hash/shuffle.rb +51 -0
  681. data/lib/facet/hash/slice.rb +11 -0
  682. data/lib/facet/hash/swap!.rb +14 -0
  683. data/lib/facet/hash/swapkey!.rb +22 -0
  684. data/lib/facet/hash/to_h.rb +13 -0
  685. data/lib/facet/hash/to_ostruct.rb +30 -0
  686. data/lib/facet/hash/traverse.rb +35 -0
  687. data/lib/facet/hash/update_each.rb +24 -0
  688. data/lib/facet/hash/weave.rb +64 -0
  689. data/lib/facet/hash/zipnew.rb +15 -0
  690. data/lib/facet/integer.rb +9 -0
  691. data/lib/facet/integer/evenodd?.rb +25 -0
  692. data/lib/facet/integer/factorial.rb +27 -0
  693. data/lib/facet/integer/times_collect.rb +13 -0
  694. data/lib/facet/kernel.rb +18 -0
  695. data/lib/facet/kernel/bug!.rb +25 -0
  696. data/lib/facet/kernel/call_stack.rb +35 -0
  697. data/lib/facet/kernel/called.rb +20 -0
  698. data/lib/facet/kernel/demo.rb +25 -0
  699. data/lib/facet/kernel/fn.rb +10 -0
  700. data/lib/facet/kernel/get_by_id.rb +7 -0
  701. data/lib/facet/kernel/here.rb +11 -0
  702. data/lib/facet/kernel/maybe.rb +17 -0
  703. data/lib/facet/kernel/method_name.rb +18 -0
  704. data/lib/facet/kernel/require_all.rb +21 -0
  705. data/lib/facet/kernel/require_local.rb +26 -0
  706. data/lib/facet/kernel/resc.rb +7 -0
  707. data/lib/facet/kernel/warn_with_line.rb +19 -0
  708. data/lib/facet/matchdata.rb +8 -0
  709. data/lib/facet/matchdata/match.rb +12 -0
  710. data/lib/facet/matchdata/match_from.rb +38 -0
  711. data/lib/facet/module.rb +14 -0
  712. data/lib/facet/module/abstract.rb +20 -0
  713. data/lib/facet/module/alias_module_function.rb +28 -0
  714. data/lib/facet/module/basename.rb +18 -0
  715. data/lib/facet/module/by_name.rb +42 -0
  716. data/lib/facet/module/initializer.rb +35 -0
  717. data/lib/facet/module/key_attributes.rb +13 -0
  718. data/lib/facet/module/memoize.rb +50 -0
  719. data/lib/facet/module/methods.rb +98 -0
  720. data/lib/facet/module/redefine_method.rb +37 -0
  721. data/lib/facet/module/redirect.rb +39 -0
  722. data/lib/facet/module/sort_attributes.rb +12 -0
  723. data/lib/facet/module/wrap_method.rb +27 -0
  724. data/lib/facet/nil-as-emptiness.rb +34 -0
  725. data/lib/facet/nil.rb +15 -0
  726. data/lib/facet/nil/[].rb +12 -0
  727. data/lib/facet/nil/empty?.rb +19 -0
  728. data/lib/facet/nil/include?.rb +11 -0
  729. data/lib/facet/nil/length.rb +19 -0
  730. data/lib/facet/nil/to_f.rb +10 -0
  731. data/lib/facet/nil/to_h.rb +10 -0
  732. data/lib/facet/numeric.rb +9 -0
  733. data/lib/facet/numeric/bound_by.rb +41 -0
  734. data/lib/facet/numeric/bytes.rb +51 -0
  735. data/lib/facet/numeric/distance.rb +13 -0
  736. data/lib/facet/numeric/octet_units.rb +32 -0
  737. data/lib/facet/numeric/succ.rb +41 -0
  738. data/lib/facet/numeric/times.rb +106 -0
  739. data/lib/facet/numeric/to_b.rb +15 -0
  740. data/lib/facet/object.rb +20 -0
  741. data/lib/facet/object/__class__.rb +17 -0
  742. data/lib/facet/object/assign_with.rb +80 -0
  743. data/lib/facet/object/bool?.rb +49 -0
  744. data/lib/facet/object/constant.rb +22 -0
  745. data/lib/facet/object/copy.rb +13 -0
  746. data/lib/facet/object/in?.rb +12 -0
  747. data/lib/facet/object/new.rb +32 -0
  748. data/lib/facet/object/object_hexid.rb +12 -0
  749. data/lib/facet/object/set_with.rb +29 -0
  750. data/lib/facet/object/special_class.rb +45 -0
  751. data/lib/facet/object/supers.rb +38 -0
  752. data/lib/facet/object/to_b.rb +15 -0
  753. data/lib/facet/object/to_bool.rb +14 -0
  754. data/lib/facet/object/with_accessor.rb +50 -0
  755. data/lib/facet/ostruct.rb +8 -0
  756. data/lib/facet/ostruct/[].rb +29 -0
  757. data/lib/facet/ostruct/ostruct_update.rb +18 -0
  758. data/lib/facet/proc.rb +8 -0
  759. data/lib/facet/proc/compose.rb +22 -0
  760. data/lib/facet/proc/to_method.rb +43 -0
  761. data/lib/facet/rand.rb +10 -0
  762. data/lib/facet/range.rb +9 -0
  763. data/lib/facet/range/to_r.rb +16 -0
  764. data/lib/facet/range/umbrella.rb +37 -0
  765. data/lib/facet/range/within?.rb +19 -0
  766. data/lib/facet/regexp.rb +9 -0
  767. data/lib/facet/regexp/arity.rb +14 -0
  768. data/lib/facet/regexp/to_re.rb +25 -0
  769. data/lib/facet/string.rb +38 -0
  770. data/lib/facet/string/at_rand.rb +99 -0
  771. data/lib/facet/string/blank?.rb +14 -0
  772. data/lib/facet/string/braket.rb +27 -0
  773. data/lib/facet/string/camelcase.rb +24 -0
  774. data/lib/facet/string/case?.rb +44 -0
  775. data/lib/facet/string/center_lines.rb +26 -0
  776. data/lib/facet/string/chars.rb +34 -0
  777. data/lib/facet/string/clump.rb +51 -0
  778. data/lib/facet/string/cmp.rb +17 -0
  779. data/lib/facet/string/dresner.rb +25 -0
  780. data/lib/facet/string/each_word.rb +25 -0
  781. data/lib/facet/string/first&last.rb +123 -0
  782. data/lib/facet/string/format.rb +64 -0
  783. data/lib/facet/string/fuzzy_match.rb +82 -0
  784. data/lib/facet/string/index_all.rb +19 -0
  785. data/lib/facet/string/inflect.rb +70 -0
  786. data/lib/facet/string/line_to_char_map.rb +18 -0
  787. data/lib/facet/string/line_wrap.rb +20 -0
  788. data/lib/facet/string/margin.rb +27 -0
  789. data/lib/facet/string/mscan.rb +16 -0
  790. data/lib/facet/string/natcmp.rb +84 -0
  791. data/lib/facet/string/rand_letter.rb +13 -0
  792. data/lib/facet/string/range.rb +39 -0
  793. data/lib/facet/string/shatter.rb +17 -0
  794. data/lib/facet/string/shuffle.rb +49 -0
  795. data/lib/facet/string/succ.rb +17 -0
  796. data/lib/facet/string/tab.rb +38 -0
  797. data/lib/facet/string/to_b.rb +27 -0
  798. data/lib/facet/string/to_const.rb +16 -0
  799. data/lib/facet/string/to_proc.rb +25 -0
  800. data/lib/facet/string/to_re.rb +13 -0
  801. data/lib/facet/string/unix_crypt.rb +12 -0
  802. data/lib/facet/string/unpack.rb +15 -0
  803. data/lib/facet/string/word_filter!.rb +20 -0
  804. data/lib/facet/string/word_wrap.rb +43 -0
  805. data/lib/facet/symbol.rb +14 -0
  806. data/lib/facet/symbol/camelcase.rb +24 -0
  807. data/lib/facet/symbol/gen.rb +23 -0
  808. data/lib/facet/symbol/pad.rb +20 -0
  809. data/lib/facet/symbol/succ.rb +17 -0
  810. data/lib/facet/symbol/to_const.rb +16 -0
  811. data/lib/facet/symbol/to_proc.rb +22 -0
  812. data/lib/facet/symbol/to_str.rb +12 -0
  813. data/lib/facet/symbol/~.rb +8 -0
  814. data/lib/facet/time.rb +7 -0
  815. data/lib/facet/time/custom_format.rb +111 -0
  816. data/lib/facet/time/elapse.rb +18 -0
  817. data/setup.rb +1361 -0
  818. data/test/array/tc_array.rb +234 -0
  819. data/test/array/tc_brackets.rb +16 -0
  820. data/test/binding/tc_binding.rb +77 -0
  821. data/test/class/tc_class.rb +48 -0
  822. data/test/comparable/tc_comparable.rb +23 -0
  823. data/test/enumerable/tc_enumerable.rb +166 -0
  824. data/test/file/tc_file.rb +14 -0
  825. data/test/fileutils/tc_head&tail.rb +72 -0
  826. data/test/fileutils/tc_wc.rb +46 -0
  827. data/test/fileutils/tc_whereis.rb +35 -0
  828. data/test/fileutils/tc_which.rb +35 -0
  829. data/test/fileutils/test_file.txt +25 -0
  830. data/test/fileutils/test_file2.txt +25 -0
  831. data/test/float/tc_float.rb +70 -0
  832. data/test/hash/tc_each.rb +23 -0
  833. data/test/hash/tc_hash.rb +182 -0
  834. data/test/hash/tc_slice.rb +98 -0
  835. data/test/integer/tc_integer.rb +50 -0
  836. data/test/kernel/tc_kernel.rb +89 -0
  837. data/test/kernel/tc_warn_with_line.rb +1 -0
  838. data/test/kernel/test_file.rb +3 -0
  839. data/test/matchdata/tc_matchdata.rb +47 -0
  840. data/test/module/tc_memoize.rb +2 -0
  841. data/test/module/tc_methods.rb +13 -0
  842. data/test/module/tc_module.rb +51 -0
  843. data/test/module/tc_redef.rb +47 -0
  844. data/test/nil/tc_nil.rb +57 -0
  845. data/test/numeric/tc_numeric.rb +145 -0
  846. data/test/object/tc_constant.rb +21 -0
  847. data/test/object/tc_object.rb +138 -0
  848. data/test/object/tc_supers.rb +63 -0
  849. data/test/object/tc_with_accessor.rb +31 -0
  850. data/test/ostruct/tc_ostruct.rb +16 -0
  851. data/test/proc/tc_proc.rb +32 -0
  852. data/test/range/tc_range.rb +46 -0
  853. data/test/regexp/tc_regexp.rb +35 -0
  854. data/test/string/tc_fuzzy_match.rb +2 -0
  855. data/test/string/tc_margin.rb +98 -0
  856. data/test/string/tc_string.rb +341 -0
  857. data/test/string/tc_unix_crypt.rb +2 -0
  858. data/test/symbol/tc_symbol.rb +60 -0
  859. data/test/t_require.rb +4 -0
  860. data/test/time/tc_time.rb +30 -0
  861. metadata +1013 -0
data/ANN ADDED
@@ -0,0 +1,53 @@
1
+ Hi--
2
+
3
+ A new version of Ruby Facets is out: 0.6.2. This version adds some new methods
4
+ including the Kilmer inspired time and byte methods found in Rails. Here's a
5
+ rundown of changes:
6
+
7
+ * Added kernel/resc as a shortcut for Regexp.escape.
8
+
9
+ * Renamed hash/keys_to_string to hash/key_to_s and
10
+ hash/keys_to_symbol to hash/keys_to_sym to be more consistant
11
+ with other methods and what these methods specifically do.
12
+ The old names have been deprecated.
13
+
14
+ * Added hash/has_keys?, which allows for checking mutliple keys at once.
15
+ Also includes #has_only_keys?
16
+
17
+ * Added Rail's Time and Byte modules for Numeric with
18
+ numeric/times.rb and numeric/bytes.rb (I've been informed that
19
+ thanks go to Rich Kilmer for this. Thanks!)
20
+
21
+ * Added numeric/octet_unit which utilizes numeric/bytes.
22
+ (The name of this method may change in the future though.)
23
+
24
+ * Added enumerable/uniq_by.
25
+
26
+ * Added module/abstract.
27
+
28
+ * Added module/redirect which is similar to alias, but does not
29
+ copy the method, but rather wraps it. It also takes a hash so
30
+ multiple methods can be redirected all at once.
31
+
32
+ * Added string/shatter which is similar to split but includes
33
+ the matched portions of text.
34
+
35
+ If you are interested in contributing to a project but have little time
36
+ to spare, helping with Facets may be a perfect project. There are still
37
+ plenty of light-weight tasks to do: improve documentation, improve the
38
+ tests and write a few yet missing, improve the rohbustness of methods
39
+ themselves, including exceptional error catching, and of course there's
40
+ plenty of room for adding new goodies, too. If you have any extension
41
+ methods that you use and think may be of benefit to others, please let
42
+ me know.
43
+
44
+ And, of course, please let me know if you come across any bugs.
45
+
46
+ You can contact me either privately or via ruby-talk, or through the
47
+ new calibre-cuts mailing-list:
48
+
49
+ http://rubyforge.org/mailman/listinfo/calibre-cuts
50
+
51
+ Thanks,
52
+ T.
53
+
@@ -0,0 +1,50 @@
1
+ --- !!history
2
+
3
+ v0.6.3:
4
+ - Gem is now avaliable!
5
+ - Added kernel/require_all which allows one to require a pattern of files,
6
+ making it easy to require every file in a directory.
7
+ - Added hash/traverse and hash/traverse!, which takes a block and iterates over
8
+ each key-value pair descending into subhash values and applying the block.
9
+ (Thanks goes to Ara T. Howard and robert for their help.)
10
+ - Added hash/collect. This uses enumerable/graph so that
11
+ hash/collect will return a hash rather then an array.
12
+ - Added numeric/before and numeric/after in place of #ago and #since
13
+ and aliased #ago and #since to them, per the suggestions of
14
+ Francis Hwang.
15
+ - Added "poor man's profiler", time/elapse. (Thanks goes to Hal Fulton).
16
+ - Changed enumerable/build_hash to enumerable/graph. The method #build_hash
17
+ has been aliased to #graph for the time being for backward compatability.
18
+ - Added array/last_index. (Thanks goes to Jabari)
19
+
20
+ v0.6.2:
21
+ - Added kernel/resc as a shortcut for Regexp.escape.
22
+ - Renamed hash/keys_to_string to hash/key_to_s and
23
+ hash/keys_to_symbol to hash/keys_to_sym to be more consistant
24
+ with other methods and what these methods specifically do.
25
+ The old names have been deprecated.
26
+ - Added hash/has_keys?, which allows for checking mutliple keys at once.
27
+ Also includes #has_only_keys?
28
+ - Added Rail's Time and Byte modules for Numeric with
29
+ numeric/times.rb and numeric/bytes.rb (I've been informed that
30
+ thanks go to Richard Kilmer for this. Thanks!)
31
+ - Added numeric/octet_unit which utilizes numeric/bytes.
32
+ (The name of this method may change in the future though.)
33
+ - Added enumerable/uniq_by.
34
+ - Added module/abstract.
35
+ - Added module/redirect which is similar to alias, but does not
36
+ copy the method, but rather wraps it. It also takes a hash so
37
+ multiple methods can be redirected all at once.
38
+ - Added string/shatter which is similar to split but includes
39
+ the matched portions of text.
40
+
41
+ v0.6.1:
42
+ - Updated the current set of mix files which were still from
43
+ version 0.5.0. (2004-12-31)
44
+
45
+ v0.6.0:
46
+ - Major revisions made by Florian's onslaught. (2004-12-28)
47
+ - First general public release.
48
+
49
+ v0.5.0:
50
+ - This is the beginning of offical releases. (2004-12-23)
@@ -0,0 +1,341 @@
1
+
2
+ GNU GENERAL PUBLIC LICENSE
3
+ Version 2, June 1991
4
+
5
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
6
+ 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
7
+ Everyone is permitted to copy and distribute verbatim copies
8
+ of this license document, but changing it is not allowed.
9
+
10
+ Preamble
11
+
12
+ The licenses for most software are designed to take away your
13
+ freedom to share and change it. By contrast, the GNU General Public
14
+ License is intended to guarantee your freedom to share and change free
15
+ software--to make sure the software is free for all its users. This
16
+ General Public License applies to most of the Free Software
17
+ Foundation's software and to any other program whose authors commit to
18
+ using it. (Some other Free Software Foundation software is covered by
19
+ the GNU Library General Public License instead.) You can apply it to
20
+ your programs, too.
21
+
22
+ When we speak of free software, we are referring to freedom, not
23
+ price. Our General Public Licenses are designed to make sure that you
24
+ have the freedom to distribute copies of free software (and charge for
25
+ this service if you wish), that you receive source code or can get it
26
+ if you want it, that you can change the software or use pieces of it
27
+ in new free programs; and that you know you can do these things.
28
+
29
+ To protect your rights, we need to make restrictions that forbid
30
+ anyone to deny you these rights or to ask you to surrender the rights.
31
+ These restrictions translate to certain responsibilities for you if you
32
+ distribute copies of the software, or if you modify it.
33
+
34
+ For example, if you distribute copies of such a program, whether
35
+ gratis or for a fee, you must give the recipients all the rights that
36
+ you have. You must make sure that they, too, receive or can get the
37
+ source code. And you must show them these terms so they know their
38
+ rights.
39
+
40
+ We protect your rights with two steps: (1) copyright the software, and
41
+ (2) offer you this license which gives you legal permission to copy,
42
+ distribute and/or modify the software.
43
+
44
+ Also, for each author's protection and ours, we want to make certain
45
+ that everyone understands that there is no warranty for this free
46
+ software. If the software is modified by someone else and passed on, we
47
+ want its recipients to know that what they have is not the original, so
48
+ that any problems introduced by others will not reflect on the original
49
+ authors' reputations.
50
+
51
+ Finally, any free program is threatened constantly by software
52
+ patents. We wish to avoid the danger that redistributors of a free
53
+ program will individually obtain patent licenses, in effect making the
54
+ program proprietary. To prevent this, we have made it clear that any
55
+ patent must be licensed for everyone's free use or not licensed at all.
56
+
57
+ The precise terms and conditions for copying, distribution and
58
+ modification follow.
59
+
60
+ GNU GENERAL PUBLIC LICENSE
61
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
62
+
63
+ 0. This License applies to any program or other work which contains
64
+ a notice placed by the copyright holder saying it may be distributed
65
+ under the terms of this General Public License. The "Program", below,
66
+ refers to any such program or work, and a "work based on the Program"
67
+ means either the Program or any derivative work under copyright law:
68
+ that is to say, a work containing the Program or a portion of it,
69
+ either verbatim or with modifications and/or translated into another
70
+ language. (Hereinafter, translation is included without limitation in
71
+ the term "modification".) Each licensee is addressed as "you".
72
+
73
+ Activities other than copying, distribution and modification are not
74
+ covered by this License; they are outside its scope. The act of
75
+ running the Program is not restricted, and the output from the Program
76
+ is covered only if its contents constitute a work based on the
77
+ Program (independent of having been made by running the Program).
78
+ Whether that is true depends on what the Program does.
79
+
80
+ 1. You may copy and distribute verbatim copies of the Program's
81
+ source code as you receive it, in any medium, provided that you
82
+ conspicuously and appropriately publish on each copy an appropriate
83
+ copyright notice and disclaimer of warranty; keep intact all the
84
+ notices that refer to this License and to the absence of any warranty;
85
+ and give any other recipients of the Program a copy of this License
86
+ along with the Program.
87
+
88
+ You may charge a fee for the physical act of transferring a copy, and
89
+ you may at your option offer warranty protection in exchange for a fee.
90
+
91
+ 2. You may modify your copy or copies of the Program or any portion
92
+ of it, thus forming a work based on the Program, and copy and
93
+ distribute such modifications or work under the terms of Section 1
94
+ above, provided that you also meet all of these conditions:
95
+
96
+ a) You must cause the modified files to carry prominent notices
97
+ stating that you changed the files and the date of any change.
98
+
99
+ b) You must cause any work that you distribute or publish, that in
100
+ whole or in part contains or is derived from the Program or any
101
+ part thereof, to be licensed as a whole at no charge to all third
102
+ parties under the terms of this License.
103
+
104
+ c) If the modified program normally reads commands interactively
105
+ when run, you must cause it, when started running for such
106
+ interactive use in the most ordinary way, to print or display an
107
+ announcement including an appropriate copyright notice and a
108
+ notice that there is no warranty (or else, saying that you provide
109
+ a warranty) and that users may redistribute the program under
110
+ these conditions, and telling the user how to view a copy of this
111
+ License. (Exception: if the Program itself is interactive but
112
+ does not normally print such an announcement, your work based on
113
+ the Program is not required to print an announcement.)
114
+
115
+ These requirements apply to the modified work as a whole. If
116
+ identifiable sections of that work are not derived from the Program,
117
+ and can be reasonably considered independent and separate works in
118
+ themselves, then this License, and its terms, do not apply to those
119
+ sections when you distribute them as separate works. But when you
120
+ distribute the same sections as part of a whole which is a work based
121
+ on the Program, the distribution of the whole must be on the terms of
122
+ this License, whose permissions for other licensees extend to the
123
+ entire whole, and thus to each and every part regardless of who wrote it.
124
+
125
+ Thus, it is not the intent of this section to claim rights or contest
126
+ your rights to work written entirely by you; rather, the intent is to
127
+ exercise the right to control the distribution of derivative or
128
+ collective works based on the Program.
129
+
130
+ In addition, mere aggregation of another work not based on the Program
131
+ with the Program (or with a work based on the Program) on a volume of
132
+ a storage or distribution medium does not bring the other work under
133
+ the scope of this License.
134
+
135
+ 3. You may copy and distribute the Program (or a work based on it,
136
+ under Section 2) in object code or executable form under the terms of
137
+ Sections 1 and 2 above provided that you also do one of the following:
138
+
139
+ a) Accompany it with the complete corresponding machine-readable
140
+ source code, which must be distributed under the terms of Sections
141
+ 1 and 2 above on a medium customarily used for software interchange; or,
142
+
143
+ b) Accompany it with a written offer, valid for at least three
144
+ years, to give any third party, for a charge no more than your
145
+ cost of physically performing source distribution, a complete
146
+ machine-readable copy of the corresponding source code, to be
147
+ distributed under the terms of Sections 1 and 2 above on a medium
148
+ customarily used for software interchange; or,
149
+
150
+ c) Accompany it with the information you received as to the offer
151
+ to distribute corresponding source code. (This alternative is
152
+ allowed only for noncommercial distribution and only if you
153
+ received the program in object code or executable form with such
154
+ an offer, in accord with Subsection b above.)
155
+
156
+ The source code for a work means the preferred form of the work for
157
+ making modifications to it. For an executable work, complete source
158
+ code means all the source code for all modules it contains, plus any
159
+ associated interface definition files, plus the scripts used to
160
+ control compilation and installation of the executable. However, as a
161
+ special exception, the source code distributed need not include
162
+ anything that is normally distributed (in either source or binary
163
+ form) with the major components (compiler, kernel, and so on) of the
164
+ operating system on which the executable runs, unless that component
165
+ itself accompanies the executable.
166
+
167
+ If distribution of executable or object code is made by offering
168
+ access to copy from a designated place, then offering equivalent
169
+ access to copy the source code from the same place counts as
170
+ distribution of the source code, even though third parties are not
171
+ compelled to copy the source along with the object code.
172
+
173
+ 4. You may not copy, modify, sublicense, or distribute the Program
174
+ except as expressly provided under this License. Any attempt
175
+ otherwise to copy, modify, sublicense or distribute the Program is
176
+ void, and will automatically terminate your rights under this License.
177
+ However, parties who have received copies, or rights, from you under
178
+ this License will not have their licenses terminated so long as such
179
+ parties remain in full compliance.
180
+
181
+ 5. You are not required to accept this License, since you have not
182
+ signed it. However, nothing else grants you permission to modify or
183
+ distribute the Program or its derivative works. These actions are
184
+ prohibited by law if you do not accept this License. Therefore, by
185
+ modifying or distributing the Program (or any work based on the
186
+ Program), you indicate your acceptance of this License to do so, and
187
+ all its terms and conditions for copying, distributing or modifying
188
+ the Program or works based on it.
189
+
190
+ 6. Each time you redistribute the Program (or any work based on the
191
+ Program), the recipient automatically receives a license from the
192
+ original licensor to copy, distribute or modify the Program subject to
193
+ these terms and conditions. You may not impose any further
194
+ restrictions on the recipients' exercise of the rights granted herein.
195
+ You are not responsible for enforcing compliance by third parties to
196
+ this License.
197
+
198
+ 7. If, as a consequence of a court judgment or allegation of patent
199
+ infringement or for any other reason (not limited to patent issues),
200
+ conditions are imposed on you (whether by court order, agreement or
201
+ otherwise) that contradict the conditions of this License, they do not
202
+ excuse you from the conditions of this License. If you cannot
203
+ distribute so as to satisfy simultaneously your obligations under this
204
+ License and any other pertinent obligations, then as a consequence you
205
+ may not distribute the Program at all. For example, if a patent
206
+ license would not permit royalty-free redistribution of the Program by
207
+ all those who receive copies directly or indirectly through you, then
208
+ the only way you could satisfy both it and this License would be to
209
+ refrain entirely from distribution of the Program.
210
+
211
+ If any portion of this section is held invalid or unenforceable under
212
+ any particular circumstance, the balance of the section is intended to
213
+ apply and the section as a whole is intended to apply in other
214
+ circumstances.
215
+
216
+ It is not the purpose of this section to induce you to infringe any
217
+ patents or other property right claims or to contest validity of any
218
+ such claims; this section has the sole purpose of protecting the
219
+ integrity of the free software distribution system, which is
220
+ implemented by public license practices. Many people have made
221
+ generous contributions to the wide range of software distributed
222
+ through that system in reliance on consistent application of that
223
+ system; it is up to the author/donor to decide if he or she is willing
224
+ to distribute software through any other system and a licensee cannot
225
+ impose that choice.
226
+
227
+ This section is intended to make thoroughly clear what is believed to
228
+ be a consequence of the rest of this License.
229
+
230
+ 8. If the distribution and/or use of the Program is restricted in
231
+ certain countries either by patents or by copyrighted interfaces, the
232
+ original copyright holder who places the Program under this License
233
+ may add an explicit geographical distribution limitation excluding
234
+ those countries, so that distribution is permitted only in or among
235
+ countries not thus excluded. In such case, this License incorporates
236
+ the limitation as if written in the body of this License.
237
+
238
+ 9. The Free Software Foundation may publish revised and/or new versions
239
+ of the General Public License from time to time. Such new versions will
240
+ be similar in spirit to the present version, but may differ in detail to
241
+ address new problems or concerns.
242
+
243
+ Each version is given a distinguishing version number. If the Program
244
+ specifies a version number of this License which applies to it and "any
245
+ later version", you have the option of following the terms and conditions
246
+ either of that version or of any later version published by the Free
247
+ Software Foundation. If the Program does not specify a version number of
248
+ this License, you may choose any version ever published by the Free Software
249
+ Foundation.
250
+
251
+ 10. If you wish to incorporate parts of the Program into other free
252
+ programs whose distribution conditions are different, write to the author
253
+ to ask for permission. For software which is copyrighted by the Free
254
+ Software Foundation, write to the Free Software Foundation; we sometimes
255
+ make exceptions for this. Our decision will be guided by the two goals
256
+ of preserving the free status of all derivatives of our free software and
257
+ of promoting the sharing and reuse of software generally.
258
+
259
+ NO WARRANTY
260
+
261
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
262
+ FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
263
+ OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
264
+ PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
265
+ OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
266
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
267
+ TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
268
+ PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
269
+ REPAIR OR CORRECTION.
270
+
271
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
272
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
273
+ REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
274
+ INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
275
+ OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
276
+ TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
277
+ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
278
+ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
279
+ POSSIBILITY OF SUCH DAMAGES.
280
+
281
+ END OF TERMS AND CONDITIONS
282
+
283
+ How to Apply These Terms to Your New Programs
284
+
285
+ If you develop a new program, and you want it to be of the greatest
286
+ possible use to the public, the best way to achieve this is to make it
287
+ free software which everyone can redistribute and change under these terms.
288
+
289
+ To do so, attach the following notices to the program. It is safest
290
+ to attach them to the start of each source file to most effectively
291
+ convey the exclusion of warranty; and each file should have at least
292
+ the "copyright" line and a pointer to where the full notice is found.
293
+
294
+ <one line to give the program's name and a brief idea of what it does.>
295
+ Copyright (C) <year> <name of author>
296
+
297
+ This program is free software; you can redistribute it and/or modify
298
+ it under the terms of the GNU General Public License as published by
299
+ the Free Software Foundation; either version 2 of the License, or
300
+ (at your option) any later version.
301
+
302
+ This program is distributed in the hope that it will be useful,
303
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
304
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
305
+ GNU General Public License for more details.
306
+
307
+ You should have received a copy of the GNU General Public License
308
+ along with this program; if not, write to the Free Software
309
+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
310
+
311
+
312
+ Also add information on how to contact you by electronic and paper mail.
313
+
314
+ If the program is interactive, make it output a short notice like this
315
+ when it starts in an interactive mode:
316
+
317
+ Gnomovision version 69, Copyright (C) year name of author
318
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
319
+ This is free software, and you are welcome to redistribute it
320
+ under certain conditions; type `show c' for details.
321
+
322
+ The hypothetical commands `show w' and `show c' should show the appropriate
323
+ parts of the General Public License. Of course, the commands you use may
324
+ be called something other than `show w' and `show c'; they could even be
325
+ mouse-clicks or menu items--whatever suits your program.
326
+
327
+ You should also get your employer (if you work as a programmer) or your
328
+ school, if any, to sign a "copyright disclaimer" for the program, if
329
+ necessary. Here is a sample; alter the names:
330
+
331
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
332
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
333
+
334
+ <signature of Ty Coon>, 1 April 1989
335
+ Ty Coon, President of Vice
336
+
337
+ This General Public License does not permit incorporating your program into
338
+ proprietary programs. If your program is a subroutine library, you may
339
+ consider it more useful to permit linking proprietary applications with the
340
+ library. If this is what you want to do, use the GNU Library General
341
+ Public License instead of this License.
@@ -0,0 +1,60 @@
1
+ The Ruby License (http://www.ruby-lang.org/en/LICENSE.txt)
2
+ ----------------------------------------------------------
3
+
4
+ You may redistribute this software and/or modify it under either the terms of
5
+ the GPL (see the file GPL), or the conditions below:
6
+
7
+ 1. You may make and give away verbatim copies of the source form of the
8
+ software without restriction, provided that you duplicate all of the
9
+ original copyright notices and associated disclaimers.
10
+
11
+ 2. You may modify your copy of the software in any way, provided that
12
+ you do at least ONE of the following:
13
+
14
+ a) place your modifications in the Public Domain or otherwise
15
+ make them Freely Available, such as by posting said
16
+ modifications to Usenet or an equivalent medium, or by allowing
17
+ the author to include your modifications in the software.
18
+
19
+ b) use the modified software only within your corporation or
20
+ organization.
21
+
22
+ c) rename any non-standard executables so the names do not conflict
23
+ with standard executables, which must also be provided.
24
+
25
+ d) make other distribution arrangements with the author.
26
+
27
+ 3. You may distribute the software in object code or executable
28
+ form, provided that you do at least ONE of the following:
29
+
30
+ a) distribute the executables and library files of the software,
31
+ together with instructions (in the manual page or equivalent)
32
+ on where to get the original distribution.
33
+
34
+ b) accompany the distribution with the machine-readable source of
35
+ the software.
36
+
37
+ c) give non-standard executables non-standard names, with
38
+ instructions on where to get the original software distribution.
39
+
40
+ d) make other distribution arrangements with the author.
41
+
42
+ 4. You may modify and include the part of the software into any other
43
+ software (possibly commercial). But some files in the distribution
44
+ are not written by the author, so that they are not under these terms.
45
+
46
+ For the list of those files and their copying conditions, see the
47
+ file LEGAL.
48
+
49
+ 5. The scripts and library files supplied as input to or produced as
50
+ output from the software do not automatically fall under the
51
+ copyright of the software, but belong to whomever generated them,
52
+ and may be sold commercially, and may be aggregated with this
53
+ software.
54
+
55
+ 6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
56
+ IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
57
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
58
+ PURPOSE.
59
+
60
+