facets 3.1.0 → 3.2.1

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 (770) hide show
  1. checksums.yaml +5 -5
  2. data/HISTORY.md +177 -0
  3. data/LICENSE.txt +21 -343
  4. data/README.md +34 -41
  5. data/lib/core/facets/array/arrange.rb +1 -42
  6. data/lib/core/facets/array/average.rb +0 -1
  7. data/lib/core/facets/array/before.rb +1 -1
  8. data/lib/core/facets/array/delete_first.rb +21 -0
  9. data/lib/core/facets/array/duplicates.rb +13 -0
  10. data/lib/core/facets/array/indexes.rb +113 -0
  11. data/lib/core/facets/array/nonuniq.rb +6 -8
  12. data/lib/core/facets/array/occurrence.rb +4 -1
  13. data/lib/core/facets/array/remove.rb +39 -0
  14. data/lib/core/facets/array/span.rb +29 -0
  15. data/lib/core/facets/array/split_at.rb +25 -0
  16. data/lib/core/facets/array/standard_deviation.rb +7 -2
  17. data/lib/core/facets/array/step.rb +12 -14
  18. data/lib/core/facets/array/to_ranges.rb +48 -0
  19. data/lib/core/facets/array/uniq_by.rb +3 -3
  20. data/lib/core/facets/array.rb +1 -1
  21. data/lib/core/facets/binding/caller.rb +8 -2
  22. data/lib/core/facets/binding/op_get.rb +7 -11
  23. data/lib/core/facets/binding/self.rb +4 -10
  24. data/lib/core/facets/boolean.rb +1 -1
  25. data/lib/core/facets/class/descendants.rb +0 -2
  26. data/lib/core/facets/class.rb +2 -2
  27. data/lib/core/facets/comparable/bound.rb +13 -1
  28. data/lib/core/facets/comparable/clip.rb +3 -32
  29. data/lib/core/facets/denumerable.rb +0 -3
  30. data/lib/core/facets/dir/find.rb +20 -0
  31. data/lib/core/facets/dir/recurse.rb +8 -26
  32. data/lib/core/facets/dir.rb +1 -1
  33. data/lib/core/facets/enumerable/compact_map.rb +2 -12
  34. data/lib/core/facets/enumerable/defer.rb +2 -13
  35. data/lib/core/facets/enumerable/each_by.rb +0 -2
  36. data/lib/core/facets/enumerable/frequency.rb +2 -2
  37. data/lib/core/facets/enumerable/hinge.rb +3 -4
  38. data/lib/core/facets/enumerable/map_with_index.rb +3 -6
  39. data/lib/core/facets/enumerable/mash.rb +5 -28
  40. data/lib/core/facets/enumerable/uniq_by.rb +4 -8
  41. data/lib/core/facets/enumerable/with_position.rb +58 -0
  42. data/lib/core/facets/enumerable.rb +2 -2
  43. data/lib/core/facets/enumerator.rb +2 -75
  44. data/lib/core/facets/essentials.rb +3 -3
  45. data/lib/core/facets/exception/error_print.rb +6 -71
  46. data/lib/core/facets/file/null.rb +3 -15
  47. data/lib/core/facets/file/read_binary.rb +3 -12
  48. data/lib/core/facets/file.rb +1 -1
  49. data/lib/core/facets/hash/except.rb +0 -7
  50. data/lib/core/facets/hash/fetch_nested.rb +8 -9
  51. data/lib/core/facets/hash/graph.rb +1 -1
  52. data/lib/core/facets/hash/rekey.rb +3 -3
  53. data/lib/core/facets/hash/revalue.rb +3 -3
  54. data/lib/core/facets/hash/{to_proc.rb → setter.rb} +8 -9
  55. data/lib/core/facets/hash/slice.rb +0 -26
  56. data/lib/core/facets/hash/update_keys.rb +4 -11
  57. data/lib/core/facets/hash/update_values.rb +4 -10
  58. data/lib/core/facets/hash.rb +1 -1
  59. data/lib/core/facets/indexable.rb +6 -4
  60. data/lib/core/facets/kernel/as.rb +2 -2
  61. data/lib/core/facets/kernel/callstack.rb +5 -24
  62. data/lib/core/facets/kernel/eigenclass.rb +6 -6
  63. data/lib/core/facets/kernel/extension.rb +3 -6
  64. data/lib/core/facets/kernel/functor.rb +16 -0
  65. data/lib/core/facets/kernel/instance_class.rb +4 -20
  66. data/lib/core/facets/kernel/instance_send.rb +5 -3
  67. data/lib/core/facets/kernel/load_relative.rb +8 -20
  68. data/lib/core/facets/kernel/memo.rb +4 -26
  69. data/lib/core/facets/kernel/meta_class.rb +10 -6
  70. data/lib/core/facets/kernel/object_class.rb +5 -6
  71. data/lib/core/facets/kernel/object_send.rb +5 -26
  72. data/lib/core/facets/kernel/qua_class.rb +4 -20
  73. data/lib/core/facets/kernel/require_all.rb +8 -20
  74. data/lib/core/facets/kernel/returning.rb +3 -19
  75. data/lib/core/facets/kernel/tap.rb +3 -36
  76. data/lib/core/facets/kernel/tee.rb +2 -0
  77. data/lib/core/facets/kernel/try.rb +38 -28
  78. data/lib/core/facets/kernel.rb +2 -4
  79. data/lib/core/facets/lazy.rb +1 -1
  80. data/lib/core/facets/matchdata.rb +1 -1
  81. data/lib/core/facets/module/alias_method_chain.rb +4 -43
  82. data/lib/core/facets/module/attr_setter.rb +3 -2
  83. data/lib/core/facets/module/can.rb +5 -16
  84. data/lib/core/facets/module/class_extend.rb +2 -2
  85. data/lib/core/facets/numeric.rb +2 -2
  86. data/lib/core/facets/object/dup.rb +0 -46
  87. data/lib/core/facets/object.rb +2 -2
  88. data/lib/core/facets/proc/bind.rb +0 -2
  89. data/lib/core/facets/proc/compose.rb +7 -28
  90. data/lib/core/facets/proc/to_method.rb +0 -1
  91. data/lib/core/facets/proc/update.rb +8 -1
  92. data/lib/core/facets/process.rb +1 -1
  93. data/lib/core/facets/range/intersection.rb +42 -0
  94. data/lib/core/facets/range/nudge.rb +6 -8
  95. data/lib/core/facets/range.rb +1 -1
  96. data/lib/core/facets/string/ascii_only.rb +2 -2
  97. data/lib/core/facets/string/cleanlines.rb +0 -2
  98. data/lib/core/facets/string/dashcase.rb +21 -0
  99. data/lib/core/facets/string/lchomp.rb +7 -14
  100. data/lib/core/facets/string/newlines.rb +0 -2
  101. data/lib/core/facets/string/snakecase.rb +12 -5
  102. data/lib/core/facets/string/words.rb +13 -1
  103. data/lib/core/facets/string.rb +0 -1
  104. data/lib/core/facets/struct/attributes.rb +2 -3
  105. data/lib/core/facets/symbol.rb +1 -1
  106. data/lib/core/facets/time/trunc.rb +12 -5
  107. data/lib/core/facets/unboundmethod/arguments.rb +1 -0
  108. data/lib/core/facets/version.rb +1 -17
  109. data/lib/core/facets.rb +0 -1
  110. data/lib/standard/facets/argvector.rb +1 -1
  111. data/lib/standard/facets/cgi/escape_html.rb +14 -25
  112. data/lib/standard/facets/cloneable.rb +4 -51
  113. data/lib/standard/facets/continuation.rb +2 -56
  114. data/lib/standard/facets/crypt3.rb +126 -0
  115. data/lib/standard/facets/date/cmp.rb +32 -0
  116. data/lib/standard/facets/date.rb +1 -0
  117. data/lib/standard/facets/digest.rb +0 -1
  118. data/lib/standard/facets/fileutils/cp_rx.rb +0 -2
  119. data/lib/standard/facets/fileutils/ln_r.rb +0 -1
  120. data/lib/standard/facets/find/select.rb +0 -2
  121. data/lib/standard/facets/getoptlong.rb +3 -59
  122. data/lib/standard/facets/load_monitor.rb +2 -26
  123. data/lib/standard/facets/math/gini_coefficient.rb +5 -4
  124. data/lib/standard/facets/math/kldivergence.rb +8 -7
  125. data/lib/standard/facets/math/percentile.rb +1 -1
  126. data/lib/standard/facets/multiton.rb +1 -1
  127. data/lib/standard/facets/opendsl.rb +33 -0
  128. data/lib/standard/facets/ostruct/initialize.rb +4 -19
  129. data/lib/standard/facets/ostruct/to_ostruct.rb +2 -1
  130. data/lib/standard/facets/ostruct.rb +0 -88
  131. data/lib/standard/facets/pathname/empty.rb +2 -10
  132. data/lib/standard/facets/pathname/glob.rb +19 -12
  133. data/lib/standard/facets/pathname/null.rb +3 -14
  134. data/lib/standard/facets/pic.rb +173 -0
  135. data/lib/standard/facets/random.rb +47 -133
  136. data/lib/standard/facets/tuple.rb +2 -4
  137. data/lib/standard/facets/uri.rb +3 -2
  138. metadata +31 -1172
  139. data/.index +0 -80
  140. data/.yardopts +0 -10
  141. data/NOTICE.rdoc +0 -167
  142. data/demo/applique/assertion_framework.rb +0 -1
  143. data/demo/applique/file_helpers.rb +0 -34
  144. data/demo/core/array/after.md +0 -13
  145. data/demo/core/array/arrange.md +0 -17
  146. data/demo/core/array/before.md +0 -14
  147. data/demo/core/array/collapse.md +0 -15
  148. data/demo/core/array/collisions.md +0 -30
  149. data/demo/core/array/commonality.md +0 -31
  150. data/demo/core/array/conjoin.md +0 -47
  151. data/demo/core/array/contains.md +0 -9
  152. data/demo/core/array/delete_unless.md +0 -13
  153. data/demo/core/array/delete_values.md +0 -10
  154. data/demo/core/array/delete_values_at.md +0 -15
  155. data/demo/core/array/divide.md +0 -14
  156. data/demo/core/array/duplicates.md +0 -14
  157. data/demo/core/array/each_overlap.md +0 -12
  158. data/demo/core/array/each_pair.md +0 -13
  159. data/demo/core/array/each_value.md +0 -12
  160. data/demo/core/array/entropy.md +0 -13
  161. data/demo/core/array/extract_options.md +0 -13
  162. data/demo/core/array/first.md +0 -11
  163. data/demo/core/array/from.md +0 -11
  164. data/demo/core/array/ideal_entropy.md +0 -11
  165. data/demo/core/array/intersection.md +0 -11
  166. data/demo/core/array/last.md +0 -11
  167. data/demo/core/array/median.md +0 -23
  168. data/demo/core/array/merge.md +0 -15
  169. data/demo/core/array/missing.md +0 -10
  170. data/demo/core/array/mode.md +0 -9
  171. data/demo/core/array/nonuniq.md +0 -16
  172. data/demo/core/array/not_empty.md +0 -8
  173. data/demo/core/array/occur.md +0 -18
  174. data/demo/core/array/occurrence.md +0 -13
  175. data/demo/core/array/only.md +0 -9
  176. data/demo/core/array/op_pow.md +0 -10
  177. data/demo/core/array/pad.md +0 -28
  178. data/demo/core/array/peek.md +0 -10
  179. data/demo/core/array/poke.md +0 -15
  180. data/demo/core/array/probability +0 -8
  181. data/demo/core/array/pull.md +0 -10
  182. data/demo/core/array/recurse.md +0 -10
  183. data/demo/core/array/recursively.md +0 -20
  184. data/demo/core/array/reject_values.md +0 -10
  185. data/demo/core/array/splice.md +0 -14
  186. data/demo/core/array/split.md +0 -13
  187. data/demo/core/array/squeeze.md +0 -14
  188. data/demo/core/array/step.md +0 -16
  189. data/demo/core/array/store.md +0 -9
  190. data/demo/core/array/thru.md +0 -12
  191. data/demo/core/array/to_h.md +0 -11
  192. data/demo/core/array/traverse.md +0 -20
  193. data/demo/core/array/uniq_by.md +0 -16
  194. data/demo/core/array/unique_permutation.md +0 -14
  195. data/demo/core/array/zip.md +0 -8
  196. data/demo/core/binding/caller.md +0 -57
  197. data/demo/core/binding/defined.md +0 -10
  198. data/demo/core/binding/opvars.md +0 -16
  199. data/demo/core/binding/self.md +0 -6
  200. data/demo/core/class/descendants.md +0 -13
  201. data/demo/core/class/to_proc.md +0 -11
  202. data/demo/core/comparable/at_least.md +0 -11
  203. data/demo/core/comparable/at_most.md +0 -11
  204. data/demo/core/comparable/bound.md +0 -13
  205. data/demo/core/comparable/cap.md +0 -11
  206. data/demo/core/comparable/clip.md +0 -29
  207. data/demo/core/comparable/cmp.md +0 -18
  208. data/demo/core/comparable/op_get.md +0 -32
  209. data/demo/core/dir/ascend.md +0 -24
  210. data/demo/core/dir/descend.md +0 -16
  211. data/demo/core/dir/multiglob.md +0 -41
  212. data/demo/core/dir/parent.md +0 -6
  213. data/demo/core/dir/recurse.md +0 -41
  214. data/demo/core/exception/detail.md +0 -19
  215. data/demo/core/facets.md +0 -6
  216. data/demo/core/filetest/root.md +0 -13
  217. data/demo/core/hash/recursively.md +0 -21
  218. data/demo/core/indexable.md +0 -95
  219. data/demo/core/integer/bitmask.md +0 -46
  220. data/demo/core/integer/factorial.md +0 -10
  221. data/demo/core/integer/length.md +0 -7
  222. data/demo/core/integer/multiple.md +0 -12
  223. data/demo/core/integer/of.md +0 -11
  224. data/demo/core/integer/ordinal.md +0 -11
  225. data/demo/core/integer/times_collect.md +0 -9
  226. data/demo/core/matchdata/match.md +0 -7
  227. data/demo/core/matchdata/matchset.md +0 -7
  228. data/demo/core/matchdata/matchtree.md +0 -10
  229. data/demo/core/module/cattr.md +0 -43
  230. data/demo/core/module/class_extend.md +0 -64
  231. data/demo/core/module/class_inheritor.md +0 -126
  232. data/demo/core/module/copy_inheritor.md +0 -30
  233. data/demo/core/module/include_as.md +0 -31
  234. data/demo/core/module/method_space.md +0 -24
  235. data/demo/core/string/acronym.md +0 -9
  236. data/demo/core/string/align.md +0 -34
  237. data/demo/core/string/ascii_only.md +0 -37
  238. data/demo/core/string/bracket.md +0 -35
  239. data/demo/core/string/camelcase.md +0 -47
  240. data/demo/core/string/capitalized.md +0 -27
  241. data/demo/core/string/characters.md +0 -11
  242. data/demo/core/string/cleanlines.md +0 -10
  243. data/demo/core/string/cleave.md +0 -49
  244. data/demo/core/string/compress_lines.md +0 -22
  245. data/demo/core/string/crypt.md +0 -15
  246. data/demo/core/string/divide.md +0 -9
  247. data/demo/core/string/each_word.md +0 -11
  248. data/demo/core/string/edit_distance.md +0 -15
  249. data/demo/core/string/exclude.md +0 -15
  250. data/demo/core/string/expand_tabs.md +0 -69
  251. data/demo/core/string/fold.md +0 -14
  252. data/demo/core/string/indent.md +0 -65
  253. data/demo/core/string/index_all.md +0 -14
  254. data/demo/core/string/interpolate.md +0 -8
  255. data/demo/core/string/lchomp.md +0 -14
  256. data/demo/core/string/line_wrap.md +0 -7
  257. data/demo/core/string/lowercase.md +0 -12
  258. data/demo/core/string/methodize.md +0 -22
  259. data/demo/core/string/modulize.md +0 -22
  260. data/demo/core/string/mscan.md +0 -10
  261. data/demo/core/string/natcmp.md +0 -10
  262. data/demo/core/string/nchar.md +0 -9
  263. data/demo/core/string/newlines.md +0 -9
  264. data/demo/core/string/number.md +0 -27
  265. data/demo/core/string/op_div.md +0 -10
  266. data/demo/core/string/op_sub.md +0 -7
  267. data/demo/core/string/pathize.md +0 -22
  268. data/demo/core/string/quote.md +0 -20
  269. data/demo/core/string/random.md +0 -25
  270. data/demo/core/string/range.md +0 -19
  271. data/demo/core/string/remove.md +0 -33
  272. data/demo/core/string/rewrite.md +0 -9
  273. data/demo/core/string/shatter.md +0 -9
  274. data/demo/core/string/similarity.md +0 -12
  275. data/demo/core/string/snakecase.md +0 -14
  276. data/demo/core/string/splice.md +0 -28
  277. data/demo/core/string/squish.md +0 -27
  278. data/demo/core/string/store.md +0 -10
  279. data/demo/core/string/subtract.md +0 -8
  280. data/demo/core/string/titlecase.md +0 -8
  281. data/demo/core/string/to_re.md +0 -22
  282. data/demo/core/string/trim.md +0 -92
  283. data/demo/core/string/unbracket.md +0 -24
  284. data/demo/core/string/underscore.md +0 -17
  285. data/demo/core/string/unfold.md +0 -9
  286. data/demo/core/string/unindent.md +0 -65
  287. data/demo/core/string/unquote.md +0 -6
  288. data/demo/core/string/uppercase.md +0 -15
  289. data/demo/core/string/variablize.md +0 -7
  290. data/demo/core/string/word_wrap.md +0 -54
  291. data/demo/core/string/words.md +0 -13
  292. data/demo/core/string/xor.md +0 -8
  293. data/demo/standard/02_cloneable.rdoc +0 -46
  294. data/demo/standard/03_enumargs.rdoc +0 -75
  295. data/demo/standard/04_equitable.rdoc +0 -35
  296. data/demo/standard/05_instantiable.rdoc +0 -42
  297. data/demo/standard/basic_object.rdoc +0 -22
  298. data/demo/standard/memoizable.rdoc +0 -134
  299. data/demo/standard/mulititon.rdoc +0 -156
  300. data/lib/core/facets/applique/file_helpers.rb +0 -33
  301. data/lib/core/facets/array/intersection.rb +0 -25
  302. data/lib/core/facets/array/op_pow.rb +0 -12
  303. data/lib/core/facets/array/to_h.rb +0 -19
  304. data/lib/core/facets/class/singleton.rb +0 -1
  305. data/lib/core/facets/class/singleton_class.rb +0 -16
  306. data/lib/core/facets/class/subclasses.rb +0 -28
  307. data/lib/core/facets/dir/each_child.rb +0 -16
  308. data/lib/core/facets/enumerable/filter.rb +0 -33
  309. data/lib/core/facets/enumerable/sum.rb +0 -40
  310. data/lib/core/facets/exception/set_message.rb +0 -10
  311. data/lib/core/facets/file/write.rb +0 -24
  312. data/lib/core/facets/fixnum.rb +0 -7
  313. data/lib/core/facets/kernel/__dir__.rb +0 -28
  314. data/lib/core/facets/kernel/constant.rb +0 -22
  315. data/lib/core/facets/kernel/instance_exec.rb +0 -47
  316. data/lib/core/facets/kernel/p.rb +0 -24
  317. data/lib/core/facets/kernel/singleton_class.rb +0 -10
  318. data/lib/core/facets/matchdata/match.rb +0 -15
  319. data/lib/core/facets/method/curry.rb +0 -13
  320. data/lib/core/facets/numeric/negative.rb +0 -1
  321. data/lib/core/facets/numeric/positive.rb +0 -15
  322. data/lib/core/facets/object/itself.rb +0 -16
  323. data/lib/core/facets/object/try_dup.rb +0 -1
  324. data/lib/core/facets/process/daemon.rb +0 -32
  325. data/lib/core/facets/range/overlap.rb +0 -12
  326. data/lib/core/facets/string/characters.rb +0 -13
  327. data/lib/core/facets/string/crypt.rb +0 -22
  328. data/lib/core/facets/symbol/succ.rb +0 -23
  329. data/lib/core/facets.yml +0 -80
  330. data/lib/standard/facets/basicobject.rb +0 -75
  331. data/lib/standard/facets/digest/base64digest.rb +0 -45
  332. data/lib/standard/facets/ostruct/each.rb +0 -11
  333. data/lib/standard/facets/ostruct/merge.rb +0 -21
  334. data/lib/standard/facets/ostruct/op_fetch.rb +0 -29
  335. data/lib/standard/facets/ostruct/op_store.rb +0 -1
  336. data/lib/standard/facets/ostruct/to_h.rb +0 -10
  337. data/test/core/array/test_arrange.rb +0 -37
  338. data/test/core/array/test_average.rb +0 -16
  339. data/test/core/array/test_before.rb +0 -48
  340. data/test/core/array/test_collapse.rb +0 -23
  341. data/test/core/array/test_commonality.rb +0 -35
  342. data/test/core/array/test_conjoin.rb +0 -50
  343. data/test/core/array/test_contains.rb +0 -14
  344. data/test/core/array/test_delete.rb +0 -42
  345. data/test/core/array/test_delete_unless.rb +0 -17
  346. data/test/core/array/test_delete_values.rb +0 -31
  347. data/test/core/array/test_divide.rb +0 -24
  348. data/test/core/array/test_duplicates.rb +0 -29
  349. data/test/core/array/test_each_overlap.rb +0 -31
  350. data/test/core/array/test_each_pair.rb +0 -16
  351. data/test/core/array/test_each_value.rb +0 -16
  352. data/test/core/array/test_entropy.rb +0 -23
  353. data/test/core/array/test_extract_options.rb +0 -28
  354. data/test/core/array/test_first.rb +0 -17
  355. data/test/core/array/test_from.rb +0 -42
  356. data/test/core/array/test_intersection.rb +0 -19
  357. data/test/core/array/test_last.rb +0 -17
  358. data/test/core/array/test_median.rb +0 -27
  359. data/test/core/array/test_merge.rb +0 -27
  360. data/test/core/array/test_missing.rb +0 -12
  361. data/test/core/array/test_mode.rb +0 -17
  362. data/test/core/array/test_nonuniq.rb +0 -25
  363. data/test/core/array/test_not_empty.rb +0 -17
  364. data/test/core/array/test_occur.rb +0 -52
  365. data/test/core/array/test_occurrence.rb +0 -20
  366. data/test/core/array/test_only.rb +0 -17
  367. data/test/core/array/test_op_pow.rb +0 -13
  368. data/test/core/array/test_pad.rb +0 -40
  369. data/test/core/array/test_peek.rb +0 -28
  370. data/test/core/array/test_poke.rb +0 -21
  371. data/test/core/array/test_probability.rb +0 -18
  372. data/test/core/array/test_pull.rb +0 -15
  373. data/test/core/array/test_recurse.rb +0 -40
  374. data/test/core/array/test_recursively.rb +0 -33
  375. data/test/core/array/test_reject_values.rb +0 -17
  376. data/test/core/array/test_splice.rb +0 -21
  377. data/test/core/array/test_split.rb +0 -22
  378. data/test/core/array/test_squeeze.rb +0 -22
  379. data/test/core/array/test_standard_deviation.rb +0 -18
  380. data/test/core/array/test_step.rb +0 -28
  381. data/test/core/array/test_store.rb +0 -22
  382. data/test/core/array/test_to_h.rb +0 -14
  383. data/test/core/array/test_traverse.rb +0 -26
  384. data/test/core/array/test_uniq_by.rb +0 -24
  385. data/test/core/array/test_unique_permutation.rb +0 -23
  386. data/test/core/array/test_variance.rb +0 -17
  387. data/test/core/array/test_zip.rb +0 -13
  388. data/test/core/binding/test_caller.rb +0 -69
  389. data/test/core/binding/test_defined.rb +0 -18
  390. data/test/core/binding/test_op.rb +0 -24
  391. data/test/core/binding/test_self.rb +0 -16
  392. data/test/core/class/test_descendents.rb +0 -19
  393. data/test/core/class/test_preallocate.rb +0 -32
  394. data/test/core/class/test_subclasses.rb +0 -20
  395. data/test/core/class/test_to_proc.rb +0 -16
  396. data/test/core/comparable/test_bound.rb +0 -32
  397. data/test/core/comparable/test_cap.rb +0 -36
  398. data/test/core/comparable/test_clip.rb +0 -31
  399. data/test/core/comparable/test_cmp.rb +0 -16
  400. data/test/core/comparable/test_op_get.rb +0 -61
  401. data/test/core/denumerable_tc.rb +0 -194
  402. data/test/core/dir/test_ascend.rb +0 -40
  403. data/test/core/dir/test_descend.rb +0 -24
  404. data/test/core/dir/test_each_child.rb +0 -22
  405. data/test/core/dir/test_multiglob.rb +0 -25
  406. data/test/core/dir/test_parent.rb +0 -14
  407. data/test/core/dir/test_recurse.rb +0 -26
  408. data/test/core/enumerable/test_accumulate.rb +0 -44
  409. data/test/core/enumerable/test_cluster.rb +0 -36
  410. data/test/core/enumerable/test_compact_map.rb +0 -32
  411. data/test/core/enumerable/test_defer.rb +0 -27
  412. data/test/core/enumerable/test_each_by.rb +0 -49
  413. data/test/core/enumerable/test_every.rb +0 -33
  414. data/test/core/enumerable/test_ewise.rb +0 -30
  415. data/test/core/enumerable/test_exclude.rb +0 -15
  416. data/test/core/enumerable/test_expand.rb +0 -15
  417. data/test/core/enumerable/test_filter.rb +0 -19
  418. data/test/core/enumerable/test_find_yield.rb +0 -96
  419. data/test/core/enumerable/test_frequency.rb +0 -15
  420. data/test/core/enumerable/test_graph.rb +0 -42
  421. data/test/core/enumerable/test_hashify.rb +0 -113
  422. data/test/core/enumerable/test_key_by.rb +0 -22
  423. data/test/core/enumerable/test_map_by.rb +0 -27
  424. data/test/core/enumerable/test_map_send.rb +0 -26
  425. data/test/core/enumerable/test_map_with_index.rb +0 -23
  426. data/test/core/enumerable/test_mash.rb +0 -17
  427. data/test/core/enumerable/test_modulate.rb +0 -17
  428. data/test/core/enumerable/test_occur.rb +0 -40
  429. data/test/core/enumerable/test_only.rb +0 -40
  430. data/test/core/enumerable/test_per.rb +0 -19
  431. data/test/core/enumerable/test_purge.rb +0 -22
  432. data/test/core/enumerable/test_recursively.rb +0 -33
  433. data/test/core/enumerable/test_squeeze.rb +0 -35
  434. data/test/core/enumerable/test_sum.rb +0 -40
  435. data/test/core/enumerable/test_uniq_by.rb +0 -25
  436. data/test/core/enumerable/test_visit.rb +0 -14
  437. data/test/core/enumerator/lazy/test_squeeze.rb +0 -33
  438. data/test/core/enumerator/test_fx.rb +0 -16
  439. data/test/core/enumerator/test_new.rb +0 -21
  440. data/test/core/enumerator_tc.rb +0 -40
  441. data/test/core/exception/test_detail.rb +0 -15
  442. data/test/core/exception/test_raised.rb +0 -15
  443. data/test/core/exception/test_suppress.rb +0 -16
  444. data/test/core/file/test_append.rb +0 -22
  445. data/test/core/file/test_create.rb +0 -17
  446. data/test/core/file/test_ext.rb +0 -31
  447. data/test/core/file/test_null.rb +0 -14
  448. data/test/core/file/test_read_binary.rb +0 -19
  449. data/test/core/file/test_read_list.rb +0 -16
  450. data/test/core/file/test_rewrite.rb +0 -35
  451. data/test/core/file/test_rootname.rb +0 -13
  452. data/test/core/file/test_sanitize.rb +0 -32
  453. data/test/core/file/test_split_all.rb +0 -14
  454. data/test/core/file/test_write.rb +0 -22
  455. data/test/core/file/test_writelines.rb +0 -21
  456. data/test/core/filetest/test_root.rb +0 -14
  457. data/test/core/functor_tc.rb +0 -41
  458. data/test/core/hash/test_alias.rb +0 -25
  459. data/test/core/hash/test_argumentize.rb +0 -23
  460. data/test/core/hash/test_at.rb +0 -16
  461. data/test/core/hash/test_autonew.rb +0 -22
  462. data/test/core/hash/test_collate.rb +0 -61
  463. data/test/core/hash/test_count.rb +0 -23
  464. data/test/core/hash/test_data.rb +0 -35
  465. data/test/core/hash/test_dearray_values.rb +0 -26
  466. data/test/core/hash/test_deep_merge.rb +0 -31
  467. data/test/core/hash/test_deep_rekey.rb +0 -131
  468. data/test/core/hash/test_delete_at.rb +0 -18
  469. data/test/core/hash/test_delete_unless.rb +0 -18
  470. data/test/core/hash/test_delete_values.rb +0 -30
  471. data/test/core/hash/test_diff.rb +0 -16
  472. data/test/core/hash/test_each_with_key.rb +0 -16
  473. data/test/core/hash/test_expect.rb +0 -34
  474. data/test/core/hash/test_fetch_nested.rb +0 -24
  475. data/test/core/hash/test_graph.rb +0 -40
  476. data/test/core/hash/test_insert.rb +0 -20
  477. data/test/core/hash/test_inverse.rb +0 -20
  478. data/test/core/hash/test_join.rb +0 -32
  479. data/test/core/hash/test_keys.rb +0 -41
  480. data/test/core/hash/test_new_with.rb +0 -17
  481. data/test/core/hash/test_op_add.rb +0 -17
  482. data/test/core/hash/test_op_and.rb +0 -31
  483. data/test/core/hash/test_op_mul.rb +0 -17
  484. data/test/core/hash/test_op_or.rb +0 -17
  485. data/test/core/hash/test_op_push.rb +0 -34
  486. data/test/core/hash/test_op_sub.rb +0 -28
  487. data/test/core/hash/test_recurse.rb +0 -39
  488. data/test/core/hash/test_recursively.rb +0 -71
  489. data/test/core/hash/test_rekey.rb +0 -119
  490. data/test/core/hash/test_replace_each.rb +0 -17
  491. data/test/core/hash/test_revalue.rb +0 -98
  492. data/test/core/hash/test_reverse_merge.rb +0 -39
  493. data/test/core/hash/test_slice.rb +0 -36
  494. data/test/core/hash/test_stringify_keys.rb +0 -26
  495. data/test/core/hash/test_swap.rb +0 -15
  496. data/test/core/hash/test_symbolize_keys.rb +0 -26
  497. data/test/core/hash/test_to_mod.rb +0 -24
  498. data/test/core/hash/test_to_proc.rb +0 -23
  499. data/test/core/hash/test_to_struct.rb +0 -22
  500. data/test/core/hash/test_traverse.rb +0 -29
  501. data/test/core/hash/test_update_each.rb +0 -16
  502. data/test/core/hash/test_update_keys.rb +0 -21
  503. data/test/core/hash/test_update_values.rb +0 -15
  504. data/test/core/hash/test_weave.rb +0 -18
  505. data/test/core/hash/test_zip.rb +0 -16
  506. data/test/core/indexable_tc.rb +0 -226
  507. data/test/core/integer/test_bitmask.rb +0 -73
  508. data/test/core/integer/test_factorial.rb +0 -30
  509. data/test/core/integer/test_multiple.rb +0 -16
  510. data/test/core/integer/test_of.rb +0 -36
  511. data/test/core/integer/test_ordinal.rb +0 -27
  512. data/test/core/kernel/test_as.rb +0 -74
  513. data/test/core/kernel/test_ask.rb +0 -9
  514. data/test/core/kernel/test_assign.rb +0 -61
  515. data/test/core/kernel/test_assign_from.rb +0 -48
  516. data/test/core/kernel/test_attr_singleton.rb +0 -51
  517. data/test/core/kernel/test_blank.rb +0 -103
  518. data/test/core/kernel/test_callstack.rb +0 -21
  519. data/test/core/kernel/test_class.rb +0 -14
  520. data/test/core/kernel/test_complete.rb +0 -19
  521. data/test/core/kernel/test_constant.rb +0 -18
  522. data/test/core/kernel/test_d.rb +0 -10
  523. data/test/core/kernel/test_deep_clone.rb +0 -31
  524. data/test/core/kernel/test_deep_copy.rb +0 -15
  525. data/test/core/kernel/test_dir.rb +0 -24
  526. data/test/core/kernel/test_disable_warnings.rb +0 -38
  527. data/test/core/kernel/test_ergo.rb +0 -34
  528. data/test/core/kernel/test_extension.rb +0 -18
  529. data/test/core/kernel/test_get.rb +0 -54
  530. data/test/core/kernel/test_here.rb +0 -13
  531. data/test/core/kernel/test_hierarchical_send.rb +0 -48
  532. data/test/core/kernel/test_in.rb +0 -14
  533. data/test/core/kernel/test_instance_assign.rb +0 -19
  534. data/test/core/kernel/test_instance_class.rb +0 -15
  535. data/test/core/kernel/test_instance_extract.rb +0 -28
  536. data/test/core/kernel/test_instance_replace.rb +0 -47
  537. data/test/core/kernel/test_instance_send.rb +0 -26
  538. data/test/core/kernel/test_maybe.rb +0 -13
  539. data/test/core/kernel/test_meta_alias.rb +0 -18
  540. data/test/core/kernel/test_meta_class.rb +0 -33
  541. data/test/core/kernel/test_meta_def.rb +0 -15
  542. data/test/core/kernel/test_meta_eval.rb +0 -18
  543. data/test/core/kernel/test_method.rb +0 -20
  544. data/test/core/kernel/test_not.rb +0 -51
  545. data/test/core/kernel/test_not_nil.rb +0 -25
  546. data/test/core/kernel/test_object_class.rb +0 -22
  547. data/test/core/kernel/test_object_hexid.rb +0 -20
  548. data/test/core/kernel/test_object_send.rb +0 -25
  549. data/test/core/kernel/test_presence.rb +0 -37
  550. data/test/core/kernel/test_qua_class.rb +0 -25
  551. data/test/core/kernel/test_require_all.rb +0 -11
  552. data/test/core/kernel/test_respond.rb +0 -38
  553. data/test/core/kernel/test_returning.rb +0 -17
  554. data/test/core/kernel/test_silence.rb +0 -24
  555. data/test/core/kernel/test_singleton_class.rb +0 -15
  556. data/test/core/kernel/test_super_method.rb +0 -23
  557. data/test/core/kernel/test_tap.rb +0 -38
  558. data/test/core/kernel/test_temporarily.rb +0 -25
  559. data/test/core/kernel/test_true.rb +0 -31
  560. data/test/core/kernel/test_try.rb +0 -35
  561. data/test/core/kernel/test_val.rb +0 -30
  562. data/test/core/kernel/test_with.rb +0 -18
  563. data/test/core/kernel/test_writers.rb +0 -53
  564. data/test/core/matchdata/test_match.rb +0 -14
  565. data/test/core/matchdata/test_matchset.rb +0 -29
  566. data/test/core/method/test_composition.rb +0 -42
  567. data/test/core/module/test_abstract.rb +0 -24
  568. data/test/core/module/test_alias_accessor.rb +0 -27
  569. data/test/core/module/test_alias_method_chain.rb +0 -34
  570. data/test/core/module/test_alias_module_function.rb +0 -24
  571. data/test/core/module/test_all_instance_methods.rb +0 -27
  572. data/test/core/module/test_ancestor.rb +0 -16
  573. data/test/core/module/test_anonymous.rb +0 -18
  574. data/test/core/module/test_attr_setter.rb +0 -28
  575. data/test/core/module/test_basename.rb +0 -14
  576. data/test/core/module/test_can.rb +0 -22
  577. data/test/core/module/test_class.rb +0 -22
  578. data/test/core/module/test_class_def.rb +0 -22
  579. data/test/core/module/test_class_extend.rb +0 -73
  580. data/test/core/module/test_class_inheritor.rb +0 -135
  581. data/test/core/module/test_copy_inheritor.rb +0 -35
  582. data/test/core/module/test_enclosure.rb +0 -24
  583. data/test/core/module/test_instance_function.rb +0 -30
  584. data/test/core/module/test_instance_method.rb +0 -20
  585. data/test/core/module/test_instance_method_defined.rb +0 -38
  586. data/test/core/module/test_integrate.rb +0 -28
  587. data/test/core/module/test_is.rb +0 -50
  588. data/test/core/module/test_memoize.rb +0 -33
  589. data/test/core/module/test_method_clash.rb +0 -59
  590. data/test/core/module/test_method_space.rb +0 -72
  591. data/test/core/module/test_methodize.rb +0 -26
  592. data/test/core/module/test_modname.rb +0 -13
  593. data/test/core/module/test_module_def.rb +0 -22
  594. data/test/core/module/test_module_load.rb +0 -23
  595. data/test/core/module/test_nodef.rb +0 -19
  596. data/test/core/module/test_op.rb +0 -56
  597. data/test/core/module/test_pathize.rb +0 -25
  598. data/test/core/module/test_preextend.rb +0 -26
  599. data/test/core/module/test_redefine_method.rb +0 -30
  600. data/test/core/module/test_redirect_method.rb +0 -32
  601. data/test/core/module/test_remove.rb +0 -18
  602. data/test/core/module/test_rename_method.rb +0 -34
  603. data/test/core/module/test_revise.rb +0 -61
  604. data/test/core/module/test_set.rb +0 -30
  605. data/test/core/module/test_spacename.rb +0 -15
  606. data/test/core/module/test_to_obj.rb +0 -20
  607. data/test/core/module/test_wrap_method.rb +0 -32
  608. data/test/core/numeric/test_approx.rb +0 -26
  609. data/test/core/numeric/test_delimit.rb +0 -68
  610. data/test/core/numeric/test_distance.rb +0 -16
  611. data/test/core/numeric/test_length.rb +0 -16
  612. data/test/core/numeric/test_round_to.rb +0 -76
  613. data/test/core/numeric/test_spacing.rb +0 -17
  614. data/test/core/object/test_dup.rb +0 -115
  615. data/test/core/object/test_object_state.rb +0 -75
  616. data/test/core/object/test_try_dup.rb +0 -59
  617. data/test/core/proc/test_bind.rb +0 -29
  618. data/test/core/proc/test_bind_to.rb +0 -17
  619. data/test/core/proc/test_compose.rb +0 -27
  620. data/test/core/proc/test_partial.rb +0 -27
  621. data/test/core/proc/test_to_method.rb +0 -43
  622. data/test/core/proc/test_update.rb +0 -15
  623. data/test/core/range/test_combine.rb +0 -32
  624. data/test/core/range/test_nudge.rb +0 -32
  625. data/test/core/range/test_op_add.rb +0 -24
  626. data/test/core/range/test_op_sub.rb +0 -34
  627. data/test/core/range/test_overlap.rb +0 -15
  628. data/test/core/range/test_to_rng.rb +0 -20
  629. data/test/core/range/test_umbrella.rb +0 -32
  630. data/test/core/range/test_within.rb +0 -25
  631. data/test/core/regexp/test_arity.rb +0 -30
  632. data/test/core/regexp/test_multiline.rb +0 -19
  633. data/test/core/regexp/test_op_add.rb +0 -15
  634. data/test/core/regexp/test_op_or.rb +0 -16
  635. data/test/core/regexp/test_to_re.rb +0 -24
  636. data/test/core/string/test_acronym.rb +0 -14
  637. data/test/core/string/test_align.rb +0 -32
  638. data/test/core/string/test_ascii_only.rb +0 -51
  639. data/test/core/string/test_bracket.rb +0 -37
  640. data/test/core/string/test_camelcase.rb +0 -59
  641. data/test/core/string/test_capitalized.rb +0 -36
  642. data/test/core/string/test_characters.rb +0 -13
  643. data/test/core/string/test_cleanlines.rb +0 -12
  644. data/test/core/string/test_cleave.rb +0 -27
  645. data/test/core/string/test_cmp.rb +0 -18
  646. data/test/core/string/test_compress_lines.rb +0 -27
  647. data/test/core/string/test_crypt.rb +0 -17
  648. data/test/core/string/test_divide.rb +0 -17
  649. data/test/core/string/test_each_word.rb +0 -17
  650. data/test/core/string/test_edit_distance.rb +0 -20
  651. data/test/core/string/test_exclude.rb +0 -23
  652. data/test/core/string/test_expand_tabs.rb +0 -83
  653. data/test/core/string/test_file.rb +0 -15
  654. data/test/core/string/test_fold.rb +0 -21
  655. data/test/core/string/test_indent.rb +0 -90
  656. data/test/core/string/test_index_all.rb +0 -22
  657. data/test/core/string/test_interpolate.rb +0 -16
  658. data/test/core/string/test_lchomp.rb +0 -25
  659. data/test/core/string/test_line_wrap.rb +0 -15
  660. data/test/core/string/test_lowercase.rb +0 -18
  661. data/test/core/string/test_margin.rb +0 -16
  662. data/test/core/string/test_methodize.rb +0 -28
  663. data/test/core/string/test_modulize.rb +0 -28
  664. data/test/core/string/test_mscan.rb +0 -18
  665. data/test/core/string/test_natcmp.rb +0 -17
  666. data/test/core/string/test_nchar.rb +0 -17
  667. data/test/core/string/test_newlines.rb +0 -14
  668. data/test/core/string/test_number.rb +0 -44
  669. data/test/core/string/test_op_div.rb +0 -15
  670. data/test/core/string/test_op_sub.rb +0 -15
  671. data/test/core/string/test_pathize.rb +0 -31
  672. data/test/core/string/test_quote.rb +0 -41
  673. data/test/core/string/test_random.rb +0 -25
  674. data/test/core/string/test_range.rb +0 -35
  675. data/test/core/string/test_remove.rb +0 -50
  676. data/test/core/string/test_rewrite.rb +0 -17
  677. data/test/core/string/test_rotate.rb +0 -31
  678. data/test/core/string/test_shatter.rb +0 -17
  679. data/test/core/string/test_similarity.rb +0 -22
  680. data/test/core/string/test_snakecase.rb +0 -22
  681. data/test/core/string/test_splice.rb +0 -37
  682. data/test/core/string/test_squish.rb +0 -31
  683. data/test/core/string/test_store.rb +0 -16
  684. data/test/core/string/test_subtract.rb +0 -16
  685. data/test/core/string/test_titlecase.rb +0 -16
  686. data/test/core/string/test_to_re.rb +0 -35
  687. data/test/core/string/test_trim.rb +0 -116
  688. data/test/core/string/test_unbracket.rb +0 -38
  689. data/test/core/string/test_underscore.rb +0 -21
  690. data/test/core/string/test_unfold.rb +0 -17
  691. data/test/core/string/test_unindent.rb +0 -105
  692. data/test/core/string/test_unquote.rb +0 -13
  693. data/test/core/string/test_uppercase.rb +0 -22
  694. data/test/core/string/test_variablize.rb +0 -15
  695. data/test/core/string/test_word_wrap.rb +0 -80
  696. data/test/core/string/test_words.rb +0 -24
  697. data/test/core/string/test_xor.rb +0 -16
  698. data/test/core/struct/test_replace.rb +0 -18
  699. data/test/core/symbol/test_as_s.rb +0 -15
  700. data/test/core/symbol/test_bang.rb +0 -15
  701. data/test/core/symbol/test_chomp.rb +0 -22
  702. data/test/core/symbol/test_generate.rb +0 -20
  703. data/test/core/symbol/test_not.rb +0 -19
  704. data/test/core/symbol/test_op_div.rb +0 -15
  705. data/test/core/symbol/test_plain.rb +0 -19
  706. data/test/core/symbol/test_query.rb +0 -19
  707. data/test/core/symbol/test_setter.rb +0 -17
  708. data/test/core/symbol/test_succ.rb +0 -16
  709. data/test/core/symbol/test_thrown.rb +0 -22
  710. data/test/core/symbol/test_variablize.rb +0 -14
  711. data/test/core/time/test_ago.rb +0 -18
  712. data/test/core/time/test_change.rb +0 -17
  713. data/test/core/time/test_dst_adjustment.rb +0 -19
  714. data/test/core/time/test_elapse.rb +0 -15
  715. data/test/core/time/test_future.rb +0 -32
  716. data/test/core/time/test_hence.rb +0 -18
  717. data/test/core/time/test_in.rb +0 -18
  718. data/test/core/time/test_less.rb +0 -139
  719. data/test/core/time/test_past.rb +0 -32
  720. data/test/core/time/test_round_to.rb +0 -34
  721. data/test/core/time/test_set.rb +0 -43
  722. data/test/core/time/test_shift.rb +0 -135
  723. data/test/core/time/test_stamp.rb +0 -42
  724. data/test/core/time/test_to_time.rb +0 -15
  725. data/test/core/time/test_trunc.rb +0 -34
  726. data/test/core/unboundmethod/test_arguments.rb +0 -25
  727. data/test/standard/binding/test_block_exec.rb +0 -21
  728. data/test/standard/math/test_abs.rb +0 -13
  729. data/test/standard/math/test_acot.rb +0 -23
  730. data/test/standard/math/test_acoth.rb +0 -22
  731. data/test/standard/math/test_beta.rb +0 -19
  732. data/test/standard/math/test_ceil.rb +0 -22
  733. data/test/standard/math/test_cosec.rb +0 -19
  734. data/test/standard/math/test_cosech.rb +0 -19
  735. data/test/standard/math/test_cot.rb +0 -13
  736. data/test/standard/math/test_coth.rb +0 -13
  737. data/test/standard/math/test_distance.rb +0 -16
  738. data/test/standard/math/test_exp10.rb +0 -14
  739. data/test/standard/math/test_exp2.rb +0 -14
  740. data/test/standard/math/test_factorial.rb +0 -13
  741. data/test/standard/math/test_floor.rb +0 -23
  742. data/test/standard/math/test_gcd.rb +0 -18
  743. data/test/standard/math/test_lcm.rb +0 -13
  744. data/test/standard/math/test_median.rb +0 -17
  745. data/test/standard/math/test_percentile.rb +0 -13
  746. data/test/standard/math/test_pow.rb +0 -30
  747. data/test/standard/math/test_root.rb +0 -15
  748. data/test/standard/math/test_sec.rb +0 -19
  749. data/test/standard/math/test_sech.rb +0 -19
  750. data/test/standard/math/test_sign.rb +0 -20
  751. data/test/standard/math/test_sinc.rb +0 -15
  752. data/test/standard/math/test_srq.rb +0 -20
  753. data/test/standard/pathname/test_chdir.rb +0 -16
  754. data/test/standard/pathname/test_readline.rb +0 -23
  755. data/test/standard/test_argvector.rb +0 -64
  756. data/test/standard/test_cloneable.rb +0 -60
  757. data/test/standard/test_date.rb +0 -82
  758. data/test/standard/test_enumargs.rb +0 -105
  759. data/test/standard/test_equitable.rb +0 -46
  760. data/test/standard/test_instantiable.rb +0 -40
  761. data/test/standard/test_math.rb +0 -3
  762. data/test/standard/test_memoizable.rb +0 -42
  763. data/test/standard/test_multipliers.rb +0 -141
  764. data/test/standard/test_ostruct.rb +0 -191
  765. data/test/standard/test_random.rb +0 -241
  766. data/test/standard/test_shellwords.rb +0 -74
  767. data/test/standard/test_thread.rb +0 -24
  768. data/test/standard/test_timer.rb +0 -62
  769. data/test/standard/test_tuple.rb +0 -68
  770. data/test/standard/test_uri.rb +0 -50
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 6968b01e3ed3e46be3265a381de7443ec38bb966
4
- data.tar.gz: 4668e23ad2f1e44a65cf8ba895f0daccbf65c175
2
+ SHA256:
3
+ metadata.gz: e83c6730d1db66b68b3cad1ff1d18d522e33c0c967a92827fdcc1e90896fd9a0
4
+ data.tar.gz: e36061c5e9e99c9aa03ede727764012df8aa54758c29493d75950bb8ff98d14b
5
5
  SHA512:
6
- metadata.gz: 6deb1971ac97f93bb75d4c144fabb91d6e9f6424867e4be70a2b99623d35080a49cf774c18e36236877c3f35d3549ca5563eb6a6c18912beccd3e67b1a414ec0
7
- data.tar.gz: 4fefcae7db154ac8b054aa4d5fc293653ea2376a1a36a59968bbad9a70763a06ca8bde410c1c3bb1c89d10e455420feee977264bfd8d1f4e49494bf90a16b9cf
6
+ metadata.gz: 65774ae87ae60eaf13b146db1403ba731df7b6c840c37602bb286e67fef3a4f474e0b32b7aee9f967d351667d0d3473627cf8c111113cb0013b7f811f334b5a7
7
+ data.tar.gz: 72a213e09c2ba90be9980f6cc300c46f5ba615cddb2e7149fee2c9d83a0b683870478632ee6dfb041dbe792303b9cd3ea7901ce9551a4148e12d3e33f7e6d7e8
data/HISTORY.md CHANGED
@@ -1,5 +1,182 @@
1
1
  # Facets Release History
2
2
 
3
+ ## 3.2.1 / 2026-06-14
4
+
5
+ Patch release that fixes the broken 3.2.0 release. 3.2.0 shipped with stale
6
+ `require_relative` lines pointing at method files that had been removed or
7
+ renamed, so `require 'facets'` raised `LoadError`. This restores loadability
8
+ and adds a regression guard so it cannot recur. (The breaking-change and
9
+ versioning concern raised in issue #314 is left for a future major release.)
10
+
11
+ Changes:
12
+
13
+ * New Features
14
+
15
+ * Add `OpenDSL` — build free-form, pluggable DSL modules from a block.
16
+ * Add `PIC` — COBOL-style edited-picture pattern matching as a simple
17
+ alternative to regular expressions.
18
+
19
+ * Bug Fixes
20
+
21
+ * Fix `LoadError` on `require 'facets'`: remove stale `require_relative`
22
+ lines left pointing at removed method files, and correct the
23
+ `hash/to_proc` -> `hash/setter` require after the rename.
24
+ (issues #312, #315; PR#313)
25
+ * Fix `range.rb` requiring the removed `range/overlap`. (PR#318)
26
+ * Stop `Kernel::As` from redefining `object_id`, which emitted a
27
+ "redefining 'object_id' may cause serious problems" warning on load.
28
+ (issue #310)
29
+
30
+ * Internal
31
+
32
+ * Add a load-path regression test that verifies every `require_relative`
33
+ target across the library resolves to an existing file.
34
+
35
+ ## 3.2.0 / 2026-04-01
36
+
37
+ Modernization release targeting Ruby 3.1+. Cleans up long-standing
38
+ compatibility issues and incorporates community contributions.
39
+
40
+ Changes:
41
+
42
+ * New Features
43
+
44
+ * Add `Crypt3` module — pure Ruby crypt(3) implementation (from rubyworks/crypt3).
45
+ Supports md5, sha1, sha256, sha384, sha512, rmd160.
46
+ * Add `Array#to_ranges` to convert arrays to ranges. (PR#265)
47
+ * Add `Array#remove` and `Array#remove!` for count-respecting subtraction. (PR#293)
48
+ * Add `Array#indexes` / `Array#index_all` to find all matching indexes. (PR#294)
49
+ * Add `String#dashcase` for kebab-case conversion. (PR#297)
50
+ * Add `Binding#caller_locations`.
51
+ * Add `Range.intersection` and `Range#intersection` for finding the shared
52
+ region of multiple ranges. Works with any comparable type.
53
+ * Add `Kernel#functor` — block-less method chaining via Functor, replaces `tap` override.
54
+ * Stop overriding `Hash#to_proc` and provide its behavior as `Hash#setter`
55
+ instead. Facets' version built a Proc that assigns the hash's key/value
56
+ pairs as attributes on a target object, which conflicted with Ruby's own
57
+ `Hash#to_proc` (added in 2.3, does key lookup). Facets now cedes `to_proc`
58
+ to Ruby; use `Hash#setter` for the attribute-assignment behavior. Also
59
+ renamed the option `response:` to `safe:` and fixed a receiver check.
60
+ * Consolidate `Array#arrange` and `Array#to_ranges`; `to_ranges` is now primary,
61
+ `arrange` and `rangify` are aliases. Now handles mixed ranges and values.
62
+ * Fix `Array#step` to start at index 0 (was n-1); add optional offset parameter.
63
+
64
+ * Improved Features
65
+
66
+ * Adapt `Module#attr_setter` to frozen-string-literal. (PR#287)
67
+ * Update `Binding#__LINE__` and `__FILE__` to use `source_location`.
68
+ * Replace `URI.escape`/`URI.unescape` with `CGI.escape`/`CGI.unescape`.
69
+ * Rewrite `Kernel#callstack`, `#require_all`, `#load_all` to use `caller_locations`
70
+ instead of parsing caller strings with regex.
71
+ * Switch CI from Travis to GitHub Actions.
72
+ * Make `String#underscore` ActiveSupport-compatible (converts `::` to `/`).
73
+ Use `String#snakecase` for pure case conversion without namespace handling.
74
+ * Make `Kernel#try` ActiveSupport-compatible (supports block form and `try!`).
75
+ Facets' Tee/Functor form retained as extra feature.
76
+
77
+ * Bug Fixes
78
+
79
+ * Fix `Math.gini_coefficient` referencing `self` instead of `array` parameter. (PR#302)
80
+ * Fix typo in `Array#after` doc. (PR#283)
81
+ * Fix typo in `String#to_b` doc. (PR#306)
82
+
83
+ * Removals
84
+
85
+ * Remove `Array#**` (`op_pow`) alias for `product` (use `Array#product` directly).
86
+ * Deprecate `Array#occurrence` (use `Enumerable#tally` instead, adopted by Ruby in 2.7).
87
+ * Deprecate `Array#uniq_by!` (use `Array#uniq!(&block)` instead, adopted by Ruby in 1.9.2).
88
+ * Deprecate `Array#nonuniq` / `nonuniq!` (use `Array#duplicates` / `duplicates!` instead).
89
+ * Add `Array#duplicates!` (in-place version of `duplicates`).
90
+ * Remove `Kernel#tap` override. Use `Kernel#tee` for the block-less Functor form.
91
+ * Remove `Enumerable#filter` (conflicts with Ruby's built-in `filter` since 2.6).
92
+ Use `each_with_object` instead, with block arguments reversed:
93
+ `collection.each_with_object([]) { |el, out| out << el if cond }`.
94
+ * Remove Ruby 1.8 compatibility code from `enumerator.rb`.
95
+ * Remove `taint`/`tainted?` references (removed from Ruby in 3.2).
96
+ * Remove `Enumerable#sum` (adopted by Ruby in 2.4).
97
+ For non-numeric cases (e.g. `[[1],[2],[3]]`), use `reduce(:+)` instead.
98
+ * Remove `String#crypt` override (Ruby deprecated `crypt` in 3.2; use `bcrypt` gem instead).
99
+ * Remove `MatchData#match` (adopted by Ruby in 3.1).
100
+ * Remove `Range#overlap?` (adopted by Ruby in 3.3).
101
+ * Remove `Kernel#__DIR__` (adopted by Ruby as `__dir__` in 2.0).
102
+ * Remove `Kernel#instance_exec` (adopted by Ruby in 1.9).
103
+ * Remove `Kernel#singleton_class` (adopted by Ruby in 1.9).
104
+ * Remove `Kernel#p` override (Ruby's `p` returns its arguments since 1.9).
105
+ * Remove `Method#curry` (adopted by Ruby in 2.2).
106
+ * Remove `Array#to_h` (adopted by Ruby in 2.1).
107
+ * Remove `Array#intersection` (clashes with Ruby 2.7's `Array#intersection`).
108
+ Consider `Range.intersection` class method as future replacement.
109
+ * Remove `Hash#except` (adopted by Ruby in 3.0); `except!` and `remove!` retained.
110
+ * Remove `Hash#slice` (adopted by Ruby in 2.5); `slice!` retained.
111
+ Block form removed from both; use `slice(...).select { ... }` instead.
112
+ * Remove `Class#singleton_class?` (adopted by Ruby in 3.2).
113
+ * Remove `Class#subclasses` (adopted by Ruby in 3.1).
114
+ * Remove `Symbol#succ` (adopted by Ruby in 1.9).
115
+ * Remove `File.write` (adopted by Ruby in 1.9).
116
+ * Remove `Process.daemon` (adopted by Ruby in 1.9).
117
+ * Remove `Dir#each_child` (adopted by Ruby in 2.6).
118
+ Note: Ruby's version does not support the custom ignore argument.
119
+ Use `Dir.each_child('/path').reject { |f| ignore.include?(f) }` instead.
120
+ * Remove `Numeric#positive?` and `Numeric#negative?` (adopted by Ruby in 2.3).
121
+ * Remove `Object#itself` (adopted by Ruby in 2.6).
122
+ * Deprecate `Array#standard_deviation` (use `Array#stddev` or `Array#sd`).
123
+ * Deprecate `Struct#attributes` (use `Struct#to_h`, adopted by Ruby in 2.0).
124
+ * Deprecate `UnboundMethod#arguments` (use `UnboundMethod#parameters`, adopted by Ruby in 2.0).
125
+ * Remove `Object#dup!` and `Object#try_dup` (plain `dup` works on all objects since Ruby 2.4).
126
+ * Remove `Exception#set_message` (broken — did not actually change the message).
127
+ * Deprecate `Exception#error_print` (use `Exception#full_message`, adopted by Ruby in 2.5).
128
+ * Deprecate `Comparable#clip` (use `Comparable#clamp`, adopted by Ruby in 2.4).
129
+ * Redefine `Comparable#bound` as alias for `clamp`.
130
+ * Add `Dir.find` as convenience wrapper around Ruby's `Find.find`.
131
+ * Deprecate `Dir.recurse` / `Dir.ls_r` (use `Dir.find` or `Find.find` instead).
132
+ * Deprecate `Proc#compose` and `Proc#*` (use `Proc#<<` for right-to-left composition, Ruby 2.6+).
133
+ * Deprecate `Hash#update_keys` (use `Hash#transform_keys!` or `Hash#rekey!`).
134
+ * Deprecate `Hash#update_values` (use `Hash#transform_values!` or `Hash#revalue!`).
135
+ * Deprecate `Hash#fetch_nested` (use `Hash#dig`, adopted by Ruby in 2.3).
136
+ * Deprecate `Enumerable#compact_map` (use `Enumerable#filter_map`, adopted by Ruby in 2.7).
137
+ * Deprecate `Enumerable#defer` (use `Enumerable#lazy`, adopted by Ruby in 2.0).
138
+ * Deprecate `Enumerable#frequency` (use `Enumerable#tally`, adopted by Ruby in 2.7).
139
+ * Deprecate `Enumerable#hinge` (use `Enumerable#each_with_object`, note: block args reversed).
140
+ * Deprecate `Enumerable#map_with_index` (use `Enumerable#map.with_index`).
141
+ * Deprecate `Enumerable#mash` (use `Enumerable#graph` instead).
142
+ * Deprecate `Enumerable#uniq_by` (use `Enumerable#uniq(&block)`, Ruby 1.9.2+).
143
+ * Redefine `String#lchomp` / `#lchomp!` as aliases for `delete_prefix` / `delete_prefix!`.
144
+ * Rename `Time#trunc` to `Time#floor_to` (parallels `Time#round_to`; avoids confusion
145
+ with Ruby's `Time#floor` which takes sub-second digit precision). `trunc` deprecated.
146
+ * Fix `Binding#[]` and `#[]=` to use `local_variable_get`/`local_variable_set`
147
+ (broken since Ruby 1.9; now works again).
148
+ * Deprecate `Binding#self` (use `Binding#receiver`, adopted by Ruby in 2.6).
149
+ * Deprecate `Module#alias_method_chain` (use `Module#prepend`, Ruby 2.0+).
150
+ * Deprecate `Module#can` (use `Module#extend`).
151
+ * Deprecate `File.null` (use `File::NULL` constant, Ruby 1.9.3+).
152
+ * Deprecate `File.read_binary` (use `File.binread`, Ruby 1.9.3+).
153
+ * Deprecate `Kernel#eigenclass` (use `singleton_class` or `meta_class`; kept in tribute to _why).
154
+ * Deprecate `Kernel#extension`, `#instance_class`, `#qua_class`, `#object_class`
155
+ (use `singleton_class` or `meta_class`).
156
+ * Deprecate `Kernel#object_send` (use `public_send`), `#instance_send` (use `__send__`).
157
+ * Deprecate `Kernel#load_relative` (use `require_relative`).
158
+ * Deprecate `Kernel#returning` (use `Kernel#tap`).
159
+ * Deprecate `Kernel#memo` (use `Module#memoize`; global `$MEMO` is problematic).
160
+ * Update `Kernel#meta_class` to delegate to `singleton_class` internally.
161
+ * Fix dead requires for removed `kernel/singleton_class` in Proc and Kernel.
162
+ * Remove misplaced `applique/file_helpers` from core (test infrastructure).
163
+ * Remove OpenStruct extensions now built into Ruby (`to_h`, `each`, `[]`, `[]=`).
164
+ * Fix OpenStruct#initialize to not use removed `new_ostruct_member`.
165
+ * Add OpenStruct#merge (non-destructive version).
166
+ * Remove deprecated OpenStruct methods (`instance_delegate`, `ostruct_update`, etc.).
167
+ * Deprecate `cloneable.rb` (use `deep_dup`/`deep_clone` instead).
168
+ * Deprecate `continuation.rb` (callcc is obsolete; use Fiber).
169
+ * Deprecate `getoptlong.rb` (bundled gem heading for removal; use OptionParser).
170
+ * Deprecate `load_monitor.rb` (monkey-patches require/load globally).
171
+ * Clean up `random.rb`: remove Array#shuffle/shuffle! (Ruby built-in),
172
+ add Array#sample! (destructive sample), deprecate at_rand/pick (use sample).
173
+ * Fix Pathname#glob to wrap Ruby's built-in, adding symbol flag support.
174
+ * Remove Pathname#empty? (built into Ruby).
175
+ * Deprecate Pathname.null (use Pathname.new(File::NULL)).
176
+ * Fix `Math.kldivergence` (was broken — referenced `self` instead of array parameter).
177
+ * Drop unused `test_files` directive from gemspec. (PR#301)
178
+
179
+
3
180
  ## 3.1.0 / 2016-05-10
4
181
 
5
182
  More or less a minor release, but there are some backward incompatabilites
data/LICENSE.txt CHANGED
@@ -1,349 +1,27 @@
1
+ Ruby Facets
2
+ Copyright (c) 2005, Thomas Sawyer
3
+ All rights reserved.
1
4
 
2
- Ruby Facets
5
+ (BSD-2 LICENSE)
3
6
 
4
- Copyright (c) 2005,2010 Thomas Sawyer
7
+ Redistribution and use in source and binary forms, with or without modification,
8
+ are permitted provided that the following conditions are met:
5
9
 
10
+ 1. Redistributions of source code must retain the above copyright notice,
11
+ this list of conditions and the following disclaimer.
6
12
 
7
- THE RUBY LICENSE
8
- (http://www.ruby-lang.org/en/LICENSE.txt)
13
+ 2. Redistributions in binary form must reproduce the above copyright notice,
14
+ this list of conditions and the following disclaimer in the documentation
15
+ and/or other materials provided with the distribution.
9
16
 
10
- You may redistribute this software and/or modify it under either the terms of
11
- the GPL (see below), or the conditions below:
17
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
18
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
19
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20
+ IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
21
+ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
22
+ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
24
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
25
+ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
26
+ ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
12
27
 
13
- 1. You may make and give away verbatim copies of the source form of the
14
- software without restriction, provided that you duplicate all of the
15
- original copyright notices and associated disclaimers.
16
-
17
- 2. You may modify your copy of the software in any way, provided that
18
- you do at least ONE of the following:
19
-
20
- a) place your modifications in the Public Domain or otherwise
21
- make them Freely Available, such as by posting said
22
- modifications to Usenet or an equivalent medium, or by allowing
23
- the author to include your modifications in the software.
24
-
25
- b) use the modified software only within your corporation or
26
- organization.
27
-
28
- c) rename any non-standard executables so the names do not conflict
29
- with standard executables, which must also be provided.
30
-
31
- d) make other distribution arrangements with the author.
32
-
33
- 3. You may distribute the software in object code or executable
34
- form, provided that you do at least ONE of the following:
35
-
36
- a) distribute the executables and library files of the software,
37
- together with instructions (in the manual page or equivalent)
38
- on where to get the original distribution.
39
-
40
- b) accompany the distribution with the machine-readable source of
41
- the software.
42
-
43
- c) give non-standard executables non-standard names, with
44
- instructions on where to get the original software distribution.
45
-
46
- d) make other distribution arrangements with the author.
47
-
48
- 4. You may modify and include the part of the software into any other
49
- software (possibly commercial). But some files in the distribution
50
- are not written by the author, so that they are not under these terms.
51
-
52
- For the list of those files and their copying conditions, see the
53
- file LEGAL.
54
-
55
- 5. The scripts and library files supplied as input to or produced as
56
- output from the software do not automatically fall under the
57
- copyright of the software, but belong to whomever generated them,
58
- and may be sold commercially, and may be aggregated with this
59
- software.
60
-
61
- 6. THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
62
- IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
63
- WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
64
- PURPOSE.
65
-
66
- ----------------------------------------------------------------------------
67
-
68
-
69
- GNU GENERAL PUBLIC LICENSE
70
- Version 2, June 1991
71
-
72
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
73
- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
74
- Everyone is permitted to copy and distribute verbatim copies
75
- of this license document, but changing it is not allowed.
76
-
77
- Preamble
78
-
79
- The licenses for most software are designed to take away your
80
- freedom to share and change it. By contrast, the GNU General Public
81
- License is intended to guarantee your freedom to share and change free
82
- software--to make sure the software is free for all its users. This
83
- General Public License applies to most of the Free Software
84
- Foundation's software and to any other program whose authors commit to
85
- using it. (Some other Free Software Foundation software is covered by
86
- the GNU Library General Public License instead.) You can apply it to
87
- your programs, too.
88
-
89
- When we speak of free software, we are referring to freedom, not
90
- price. Our General Public Licenses are designed to make sure that you
91
- have the freedom to distribute copies of free software (and charge for
92
- this service if you wish), that you receive source code or can get it
93
- if you want it, that you can change the software or use pieces of it
94
- in new free programs; and that you know you can do these things.
95
-
96
- To protect your rights, we need to make restrictions that forbid
97
- anyone to deny you these rights or to ask you to surrender the rights.
98
- These restrictions translate to certain responsibilities for you if you
99
- distribute copies of the software, or if you modify it.
100
-
101
- For example, if you distribute copies of such a program, whether
102
- gratis or for a fee, you must give the recipients all the rights that
103
- you have. You must make sure that they, too, receive or can get the
104
- source code. And you must show them these terms so they know their
105
- rights.
106
-
107
- We protect your rights with two steps: (1) copyright the software, and
108
- (2) offer you this license which gives you legal permission to copy,
109
- distribute and/or modify the software.
110
-
111
- Also, for each author's protection and ours, we want to make certain
112
- that everyone understands that there is no warranty for this free
113
- software. If the software is modified by someone else and passed on, we
114
- want its recipients to know that what they have is not the original, so
115
- that any problems introduced by others will not reflect on the original
116
- authors' reputations.
117
-
118
- Finally, any free program is threatened constantly by software
119
- patents. We wish to avoid the danger that redistributors of a free
120
- program will individually obtain patent licenses, in effect making the
121
- program proprietary. To prevent this, we have made it clear that any
122
- patent must be licensed for everyone's free use or not licensed at all.
123
-
124
- The precise terms and conditions for copying, distribution and
125
- modification follow.
126
-
127
- GNU GENERAL PUBLIC LICENSE
128
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
129
-
130
- 0. This License applies to any program or other work which contains
131
- a notice placed by the copyright holder saying it may be distributed
132
- under the terms of this General Public License. The "Program", below,
133
- refers to any such program or work, and a "work based on the Program"
134
- means either the Program or any derivative work under copyright law:
135
- that is to say, a work containing the Program or a portion of it,
136
- either verbatim or with modifications and/or translated into another
137
- language. (Hereinafter, translation is included without limitation in
138
- the term "modification".) Each licensee is addressed as "you".
139
-
140
- Activities other than copying, distribution and modification are not
141
- covered by this License; they are outside its scope. The act of
142
- running the Program is not restricted, and the output from the Program
143
- is covered only if its contents constitute a work based on the
144
- Program (independent of having been made by running the Program).
145
- Whether that is true depends on what the Program does.
146
-
147
- 1. You may copy and distribute verbatim copies of the Program's
148
- source code as you receive it, in any medium, provided that you
149
- conspicuously and appropriately publish on each copy an appropriate
150
- copyright notice and disclaimer of warranty; keep intact all the
151
- notices that refer to this License and to the absence of any warranty;
152
- and give any other recipients of the Program a copy of this License
153
- along with the Program.
154
-
155
- You may charge a fee for the physical act of transferring a copy, and
156
- you may at your option offer warranty protection in exchange for a fee.
157
-
158
- 2. You may modify your copy or copies of the Program or any portion
159
- of it, thus forming a work based on the Program, and copy and
160
- distribute such modifications or work under the terms of Section 1
161
- above, provided that you also meet all of these conditions:
162
-
163
- a) You must cause the modified files to carry prominent notices
164
- stating that you changed the files and the date of any change.
165
-
166
- b) You must cause any work that you distribute or publish, that in
167
- whole or in part contains or is derived from the Program or any
168
- part thereof, to be licensed as a whole at no charge to all third
169
- parties under the terms of this License.
170
-
171
- c) If the modified program normally reads commands interactively
172
- when run, you must cause it, when started running for such
173
- interactive use in the most ordinary way, to print or display an
174
- announcement including an appropriate copyright notice and a
175
- notice that there is no warranty (or else, saying that you provide
176
- a warranty) and that users may redistribute the program under
177
- these conditions, and telling the user how to view a copy of this
178
- License. (Exception: if the Program itself is interactive but
179
- does not normally print such an announcement, your work based on
180
- the Program is not required to print an announcement.)
181
-
182
- These requirements apply to the modified work as a whole. If
183
- identifiable sections of that work are not derived from the Program,
184
- and can be reasonably considered independent and separate works in
185
- themselves, then this License, and its terms, do not apply to those
186
- sections when you distribute them as separate works. But when you
187
- distribute the same sections as part of a whole which is a work based
188
- on the Program, the distribution of the whole must be on the terms of
189
- this License, whose permissions for other licensees extend to the
190
- entire whole, and thus to each and every part regardless of who wrote it.
191
-
192
- Thus, it is not the intent of this section to claim rights or contest
193
- your rights to work written entirely by you; rather, the intent is to
194
- exercise the right to control the distribution of derivative or
195
- collective works based on the Program.
196
-
197
- In addition, mere aggregation of another work not based on the Program
198
- with the Program (or with a work based on the Program) on a volume of
199
- a storage or distribution medium does not bring the other work under
200
- the scope of this License.
201
-
202
- 3. You may copy and distribute the Program (or a work based on it,
203
- under Section 2) in object code or executable form under the terms of
204
- Sections 1 and 2 above provided that you also do one of the following:
205
-
206
- a) Accompany it with the complete corresponding machine-readable
207
- source code, which must be distributed under the terms of Sections
208
- 1 and 2 above on a medium customarily used for software interchange; or,
209
-
210
- b) Accompany it with a written offer, valid for at least three
211
- years, to give any third party, for a charge no more than your
212
- cost of physically performing source distribution, a complete
213
- machine-readable copy of the corresponding source code, to be
214
- distributed under the terms of Sections 1 and 2 above on a medium
215
- customarily used for software interchange; or,
216
-
217
- c) Accompany it with the information you received as to the offer
218
- to distribute corresponding source code. (This alternative is
219
- allowed only for noncommercial distribution and only if you
220
- received the program in object code or executable form with such
221
- an offer, in accord with Subsection b above.)
222
-
223
- The source code for a work means the preferred form of the work for
224
- making modifications to it. For an executable work, complete source
225
- code means all the source code for all modules it contains, plus any
226
- associated interface definition files, plus the scripts used to
227
- control compilation and installation of the executable. However, as a
228
- special exception, the source code distributed need not include
229
- anything that is normally distributed (in either source or binary
230
- form) with the major components (compiler, kernel, and so on) of the
231
- operating system on which the executable runs, unless that component
232
- itself accompanies the executable.
233
-
234
- If distribution of executable or object code is made by offering
235
- access to copy from a designated place, then offering equivalent
236
- access to copy the source code from the same place counts as
237
- distribution of the source code, even though third parties are not
238
- compelled to copy the source along with the object code.
239
-
240
- 4. You may not copy, modify, sublicense, or distribute the Program
241
- except as expressly provided under this License. Any attempt
242
- otherwise to copy, modify, sublicense or distribute the Program is
243
- void, and will automatically terminate your rights under this License.
244
- However, parties who have received copies, or rights, from you under
245
- this License will not have their licenses terminated so long as such
246
- parties remain in full compliance.
247
-
248
- 5. You are not required to accept this License, since you have not
249
- signed it. However, nothing else grants you permission to modify or
250
- distribute the Program or its derivative works. These actions are
251
- prohibited by law if you do not accept this License. Therefore, by
252
- modifying or distributing the Program (or any work based on the
253
- Program), you indicate your acceptance of this License to do so, and
254
- all its terms and conditions for copying, distributing or modifying
255
- the Program or works based on it.
256
-
257
- 6. Each time you redistribute the Program (or any work based on the
258
- Program), the recipient automatically receives a license from the
259
- original licensor to copy, distribute or modify the Program subject to
260
- these terms and conditions. You may not impose any further
261
- restrictions on the recipients' exercise of the rights granted herein.
262
- You are not responsible for enforcing compliance by third parties to
263
- this License.
264
-
265
- 7. If, as a consequence of a court judgment or allegation of patent
266
- infringement or for any other reason (not limited to patent issues),
267
- conditions are imposed on you (whether by court order, agreement or
268
- otherwise) that contradict the conditions of this License, they do not
269
- excuse you from the conditions of this License. If you cannot
270
- distribute so as to satisfy simultaneously your obligations under this
271
- License and any other pertinent obligations, then as a consequence you
272
- may not distribute the Program at all. For example, if a patent
273
- license would not permit royalty-free redistribution of the Program by
274
- all those who receive copies directly or indirectly through you, then
275
- the only way you could satisfy both it and this License would be to
276
- refrain entirely from distribution of the Program.
277
-
278
- If any portion of this section is held invalid or unenforceable under
279
- any particular circumstance, the balance of the section is intended to
280
- apply and the section as a whole is intended to apply in other
281
- circumstances.
282
-
283
- It is not the purpose of this section to induce you to infringe any
284
- patents or other property right claims or to contest validity of any
285
- such claims; this section has the sole purpose of protecting the
286
- integrity of the free software distribution system, which is
287
- implemented by public license practices. Many people have made
288
- generous contributions to the wide range of software distributed
289
- through that system in reliance on consistent application of that
290
- system; it is up to the author/donor to decide if he or she is willing
291
- to distribute software through any other system and a licensee cannot
292
- impose that choice.
293
-
294
- This section is intended to make thoroughly clear what is believed to
295
- be a consequence of the rest of this License.
296
-
297
- 8. If the distribution and/or use of the Program is restricted in
298
- certain countries either by patents or by copyrighted interfaces, the
299
- original copyright holder who places the Program under this License
300
- may add an explicit geographical distribution limitation excluding
301
- those countries, so that distribution is permitted only in or among
302
- countries not thus excluded. In such case, this License incorporates
303
- the limitation as if written in the body of this License.
304
-
305
- 9. The Free Software Foundation may publish revised and/or new versions
306
- of the General Public License from time to time. Such new versions will
307
- be similar in spirit to the present version, but may differ in detail to
308
- address new problems or concerns.
309
-
310
- Each version is given a distinguishing version number. If the Program
311
- specifies a version number of this License which applies to it and "any
312
- later version", you have the option of following the terms and conditions
313
- either of that version or of any later version published by the Free
314
- Software Foundation. If the Program does not specify a version number of
315
- this License, you may choose any version ever published by the Free Software
316
- Foundation.
317
-
318
- 10. If you wish to incorporate parts of the Program into other free
319
- programs whose distribution conditions are different, write to the author
320
- to ask for permission. For software which is copyrighted by the Free
321
- Software Foundation, write to the Free Software Foundation; we sometimes
322
- make exceptions for this. Our decision will be guided by the two goals
323
- of preserving the free status of all derivatives of our free software and
324
- of promoting the sharing and reuse of software generally.
325
-
326
- NO WARRANTY
327
-
328
- 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
329
- FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
330
- OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
331
- PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
332
- OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
333
- MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
334
- TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
335
- PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
336
- REPAIR OR CORRECTION.
337
-
338
- 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
339
- WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
340
- REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
341
- INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
342
- OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
343
- TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
344
- YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
345
- PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
346
- POSSIBILITY OF SUCH DAMAGES.
347
-
348
- END OF TERMS AND CONDITIONS
349
-