facets 2.8.4 → 2.9.0.pre.1
Sign up to get free protection for your applications and to get access to all the features.
- data/AUTHORS +2 -0
- data/HISTORY.rdoc +233 -94
- data/NOTICE +27 -0
- data/README.rdoc +131 -49
- data/Rakefile +190 -97
- data/lib/core/facets/applique/file_helpers.rb +33 -0
- data/lib/core/facets/array/after.rb +1 -0
- data/lib/core/facets/array/before.rb +39 -0
- data/lib/core/facets/{enumerable → array}/collapse.rb +0 -0
- data/lib/core/facets/array/collisions.rb +1 -0
- data/lib/core/facets/array/combination.rb +0 -16
- data/lib/core/facets/{enumerable → array}/commonality.rb +8 -6
- data/lib/core/facets/array/conjoin.rb +48 -17
- data/lib/core/facets/{string → array}/contains.rb +0 -0
- data/lib/core/facets/array/delete_unless.rb +1 -1
- data/lib/core/facets/array/divide.rb +20 -0
- data/lib/core/facets/array/duplicates.rb +1 -0
- data/lib/core/facets/{enumerable → array}/entropy.rb +8 -6
- data/lib/core/facets/array/extract_options.rb +31 -0
- data/lib/core/facets/array/from.rb +33 -0
- data/lib/core/facets/array/index.rb +2 -4
- data/lib/core/facets/array/indexable.rb +4 -46
- data/lib/core/facets/array/merge.rb +3 -2
- data/lib/core/facets/array/mode.rb +22 -0
- data/lib/core/facets/array/nonuniq.rb +37 -0
- data/lib/core/facets/array/only.rb +9 -3
- data/lib/core/facets/array/peek.rb +1 -0
- data/lib/core/facets/array/permutation.rb +2 -0
- data/lib/core/facets/array/poke.rb +1 -0
- data/lib/core/facets/{enumerable → array}/probability.rb +9 -6
- data/lib/core/facets/array/product.rb +1 -2
- data/lib/core/facets/array/pull.rb +30 -0
- data/lib/core/facets/array/recurse.rb +29 -0
- data/lib/core/facets/array/recursively.rb +39 -22
- data/lib/core/facets/array/rotate.rb +40 -32
- data/lib/core/facets/array/select.rb +14 -10
- data/lib/core/facets/array/splice.rb +2 -5
- data/lib/core/facets/{enumerable → array}/split.rb +2 -2
- data/lib/core/facets/array/store.rb +12 -0
- data/lib/core/facets/array/thru.rb +1 -0
- data/lib/core/facets/array/traverse.rb +10 -5
- data/lib/core/facets/array/uniq_by.rb +6 -8
- data/lib/core/facets/binding/__callee__.rb +1 -0
- data/lib/core/facets/binding/__method__.rb +1 -0
- data/lib/core/facets/binding/call_stack.rb +1 -0
- data/lib/core/facets/binding/caller.rb +6 -5
- data/lib/core/facets/binding/callstack.rb +1 -1
- data/lib/core/facets/binding/eval.rb +2 -6
- data/lib/core/facets/binding/local_variables.rb +5 -3
- data/lib/core/facets/binding/{opvars.rb → op.rb} +0 -0
- data/lib/core/facets/boolean.rb +27 -59
- data/lib/core/facets/class/descendants.rb +21 -34
- data/lib/core/facets/class/methodize.rb +6 -1
- data/lib/core/facets/class/pathize.rb +6 -1
- data/lib/core/facets/class/subclasses.rb +27 -1
- data/lib/core/facets/class/to_proc.rb +4 -1
- data/lib/core/facets/comparable/bound.rb +1 -1
- data/lib/core/facets/comparable/cmp.rb +3 -0
- data/lib/core/facets/comparable/op_get.rb +45 -0
- data/lib/core/facets/dir/ascend.rb +8 -12
- data/lib/core/facets/dir/each_child.rb +16 -0
- data/lib/core/facets/dir/multiglob.rb +15 -27
- data/lib/core/facets/dir/parent.rb +4 -1
- data/lib/core/facets/dir/recurse.rb +6 -3
- data/lib/core/facets/enumerable/accumulate.rb +47 -9
- data/lib/core/facets/enumerable/cluster_by.rb +1 -4
- data/lib/core/facets/enumerable/compact_map.rb +3 -5
- data/lib/core/facets/enumerable/count.rb +42 -30
- data/lib/core/facets/enumerable/defer.rb +1 -2
- data/lib/core/facets/enumerable/each_with_object.rb +2 -2
- data/lib/core/facets/enumerable/every.rb +16 -11
- data/lib/core/facets/enumerable/ewise.rb +11 -19
- data/lib/core/facets/enumerable/exclude.rb +4 -1
- data/lib/core/facets/enumerable/expand.rb +15 -0
- data/lib/core/facets/enumerable/filter.rb +9 -11
- data/lib/core/facets/enumerable/find_yield.rb +14 -9
- data/lib/core/facets/enumerable/frequency.rb +12 -6
- data/lib/core/facets/enumerable/graph.rb +2 -2
- data/lib/core/facets/enumerable/group_by.rb +13 -7
- data/lib/core/facets/enumerable/map_by.rb +35 -0
- data/lib/core/facets/enumerable/map_send.rb +12 -10
- data/lib/core/facets/enumerable/modulate.rb +1 -1
- data/lib/core/facets/enumerable/none.rb +5 -5
- data/lib/core/facets/enumerable/occur.rb +9 -7
- data/lib/core/facets/enumerable/one.rb +6 -6
- data/lib/core/facets/enumerable/per.rb +35 -13
- data/lib/core/facets/enumerable/recursively.rb +66 -0
- data/lib/core/facets/enumerable/take.rb +11 -15
- data/lib/core/facets/enumerable/uniq_by.rb +1 -4
- data/lib/core/facets/enumerable/visit.rb +4 -4
- data/lib/core/facets/enumerator.rb +17 -12
- data/lib/core/facets/enumerator/fx.rb +24 -8
- data/lib/core/facets/exception/detail.rb +1 -1
- data/lib/core/facets/exception/raised.rb +1 -1
- data/lib/core/facets/exception/suppress.rb +3 -1
- data/lib/core/facets/file/append.rb +2 -2
- data/lib/core/facets/file/create.rb +1 -1
- data/lib/core/facets/file/ext.rb +7 -7
- data/lib/core/facets/file/read_binary.rb +18 -0
- data/lib/core/facets/file/read_list.rb +34 -0
- data/lib/core/facets/file/rewrite.rb +9 -7
- data/lib/core/facets/file/rootname.rb +2 -12
- data/lib/core/facets/file/sanitize.rb +18 -0
- data/lib/core/facets/file/split_all.rb +1 -1
- data/lib/core/facets/file/write.rb +16 -14
- data/lib/core/facets/file/writelines.rb +5 -1
- data/lib/core/facets/functor.rb +53 -52
- data/lib/core/facets/hash/alias.rb +3 -3
- data/lib/core/facets/hash/argumentize.rb +10 -4
- data/lib/core/facets/hash/autonew.rb +10 -12
- data/lib/core/facets/hash/collate.rb +35 -49
- data/lib/core/facets/hash/count.rb +0 -2
- data/lib/core/facets/hash/data.rb +31 -4
- data/lib/core/facets/hash/{recursive_merge.rb → deep_merge.rb} +4 -10
- data/lib/core/facets/hash/delete.rb +4 -47
- data/lib/core/facets/hash/delete_at.rb +7 -0
- data/lib/core/facets/hash/delete_unless.rb +17 -0
- data/lib/core/facets/hash/delete_values.rb +32 -0
- data/lib/core/facets/hash/diff.rb +7 -1
- data/lib/core/facets/hash/except.rb +15 -17
- data/lib/core/facets/hash/inverse.rb +7 -4
- data/lib/core/facets/hash/join.rb +6 -3
- data/lib/core/facets/hash/new_with.rb +1 -1
- data/lib/core/facets/hash/op_and.rb +2 -2
- data/lib/core/facets/hash/op_mul.rb +4 -4
- data/lib/core/facets/hash/recurse.rb +29 -0
- data/lib/core/facets/hash/recursively.rb +50 -18
- data/lib/core/facets/hash/rekey.rb +50 -34
- data/lib/core/facets/hash/{merge.rb → reverse_merge.rb} +0 -0
- data/lib/core/facets/hash/select.rb +10 -6
- data/lib/core/facets/hash/slice.rb +24 -25
- data/lib/core/facets/hash/symbolize_keys.rb +74 -76
- data/lib/core/facets/hash/to_mod.rb +33 -0
- data/lib/core/facets/hash/to_proc.rb +11 -10
- data/lib/core/facets/hash/traverse.rb +4 -4
- data/lib/core/facets/hash/update.rb +1 -1
- data/lib/core/facets/hash/update_values.rb +2 -2
- data/lib/core/facets/hash/weave.rb +2 -7
- data/lib/core/facets/indexable.rb +59 -40
- data/lib/core/facets/{kernel/instance.rb → instance.rb} +3 -2
- data/lib/core/facets/integer/bit.rb +1 -0
- data/lib/core/facets/{bitmask.rb → integer/bitmask.rb} +9 -11
- data/lib/core/facets/integer/factorial.rb +1 -10
- data/lib/core/facets/integer/odd.rb +2 -4
- data/lib/core/facets/integer/of.rb +1 -1
- data/lib/core/facets/kernel/__dir__.rb +10 -6
- data/lib/core/facets/kernel/__get__.rb +8 -3
- data/lib/core/facets/kernel/__method__.rb +12 -6
- data/lib/core/facets/kernel/as.rb +61 -46
- data/lib/core/facets/kernel/ask.rb +11 -11
- data/lib/core/facets/kernel/assign.rb +40 -27
- data/lib/core/facets/kernel/assign_from.rb +1 -45
- data/lib/core/facets/kernel/attr_singleton.rb +22 -25
- data/lib/core/facets/kernel/blank.rb +84 -0
- data/lib/core/facets/kernel/call_stack.rb +56 -0
- data/lib/core/facets/kernel/callstack.rb +1 -52
- data/lib/core/facets/kernel/case.rb +8 -0
- data/lib/core/facets/kernel/clone.rb +1 -0
- data/lib/core/facets/kernel/complete.rb +10 -2
- data/lib/core/facets/kernel/constant.rb +4 -8
- data/lib/core/facets/kernel/d.rb +12 -8
- data/lib/core/facets/kernel/deep_clone.rb +1 -0
- data/lib/core/facets/kernel/deep_copy.rb +27 -2
- data/lib/core/facets/kernel/disable_warnings.rb +26 -0
- data/lib/core/facets/kernel/dup.rb +33 -0
- data/lib/core/facets/kernel/enable_warnings.rb +1 -0
- data/lib/core/facets/kernel/equate.rb +8 -5
- data/lib/core/facets/kernel/ergo.rb +4 -3
- data/lib/core/facets/kernel/extend.rb +17 -1
- data/lib/core/facets/kernel/extension.rb +3 -0
- data/lib/core/facets/kernel/here.rb +1 -2
- data/lib/core/facets/kernel/instance_class.rb +2 -1
- data/lib/core/facets/kernel/load_all.rb +1 -0
- data/lib/core/facets/kernel/load_relative.rb +1 -0
- data/lib/core/facets/kernel/maybe.rb +3 -2
- data/lib/core/facets/kernel/meta_alias.rb +9 -4
- data/lib/core/facets/kernel/meta_class.rb +4 -4
- data/lib/core/facets/kernel/meta_def.rb +0 -2
- data/lib/core/facets/kernel/meta_eval.rb +7 -5
- data/lib/core/facets/kernel/method.rb +5 -4
- data/lib/core/facets/kernel/not.rb +37 -0
- data/lib/core/facets/kernel/not_nil.rb +3 -2
- data/lib/core/facets/kernel/object_hexid.rb +9 -7
- data/lib/core/facets/kernel/object_send.rb +11 -10
- data/lib/core/facets/kernel/object_state.rb +21 -4
- data/lib/core/facets/kernel/p.rb +3 -3
- data/lib/core/facets/kernel/presence.rb +1 -0
- data/lib/core/facets/kernel/present.rb +1 -0
- data/lib/core/facets/kernel/qua_class.rb +15 -3
- data/lib/core/facets/kernel/replace.rb +1 -0
- data/lib/core/facets/kernel/require_all.rb +33 -17
- data/lib/core/facets/kernel/require_relative.rb +10 -10
- data/lib/core/facets/kernel/respond.rb +26 -7
- data/lib/core/facets/kernel/returning.rb +5 -1
- data/lib/core/facets/kernel/silence.rb +39 -41
- data/lib/core/facets/kernel/silence_warnings.rb +1 -0
- data/lib/core/facets/kernel/singleton_class.rb +2 -13
- data/lib/core/facets/kernel/super_method.rb +11 -0
- data/lib/core/facets/kernel/tap.rb +16 -7
- data/lib/core/facets/kernel/temporarily.rb +23 -0
- data/lib/core/facets/kernel/try.rb +43 -10
- data/lib/core/facets/kernel/try_dup.rb +19 -9
- data/lib/core/facets/kernel/writers.rb +91 -0
- data/lib/core/facets/matchdata/matchset.rb +4 -4
- data/lib/core/facets/method.rb +6 -0
- data/lib/core/facets/module/abstract.rb +10 -7
- data/lib/core/facets/module/alias_method_chain.rb +22 -4
- data/lib/core/facets/module/alias_module_function.rb +4 -4
- data/lib/core/facets/module/all_instance_methods.rb +19 -0
- data/lib/core/facets/module/ancestor.rb +1 -1
- data/lib/core/facets/module/anonymous.rb +25 -0
- data/lib/core/facets/module/attr_setter.rb +8 -13
- data/lib/core/facets/module/basename.rb +6 -6
- data/lib/core/facets/module/can.rb +8 -2
- data/lib/core/facets/module/class_method_defined.rb +1 -0
- data/lib/core/facets/module/extend.rb +1 -10
- data/lib/core/facets/module/instance_method.rb +3 -2
- data/lib/core/facets/module/instance_method_defined.rb +23 -0
- data/lib/core/facets/module/integrate.rb +48 -1
- data/lib/core/facets/module/is.rb +5 -5
- data/lib/core/facets/module/method_clash.rb +58 -0
- data/lib/core/facets/module/methodize.rb +7 -1
- data/lib/core/facets/module/modname.rb +22 -0
- data/lib/core/facets/module/nodef.rb +13 -0
- data/lib/core/facets/module/op.rb +37 -22
- data/lib/core/facets/module/op_add.rb +1 -0
- data/lib/core/facets/module/op_mul.rb +1 -0
- data/lib/core/facets/module/op_sub.rb +1 -0
- data/lib/core/facets/module/pathize.rb +8 -10
- data/lib/core/facets/module/redirect_method.rb +5 -5
- data/lib/core/facets/module/remove.rb +1 -0
- data/lib/core/facets/module/rename_method.rb +12 -2
- data/lib/core/facets/module/revise.rb +20 -41
- data/lib/core/facets/module/set.rb +1 -1
- data/lib/core/facets/module/singleton_method_defined.rb +1 -0
- data/lib/core/facets/module/spacename.rb +4 -4
- data/lib/core/facets/module/to_obj.rb +20 -0
- data/lib/core/facets/module/wrap_method.rb +16 -9
- data/lib/core/facets/na.rb +15 -0
- data/lib/core/facets/numeric/round.rb +4 -4
- data/lib/core/facets/numeric/round_at.rb +1 -0
- data/lib/core/facets/numeric/round_to.rb +1 -0
- data/lib/core/facets/object.rb +6 -0
- data/lib/core/facets/objectspace/reflect.rb +26 -11
- data/lib/core/facets/proc/bind.rb +7 -5
- data/lib/core/facets/proc/bind_to.rb +8 -0
- data/lib/{more/facets → core/facets/proc}/partial.rb +9 -15
- data/lib/core/facets/proc/to_method.rb +10 -5
- data/lib/core/facets/process.rb +6 -0
- data/lib/core/facets/process/daemon.rb +32 -0
- data/lib/core/facets/range/combine.rb +1 -1
- data/lib/core/facets/range/within.rb +1 -1
- data/lib/core/facets/regexp/multiline.rb +13 -0
- data/lib/core/facets/regexp/op_add.rb +18 -0
- data/lib/core/facets/regexp/op_or.rb +18 -0
- data/lib/core/facets/string/align.rb +24 -6
- data/lib/core/facets/string/bracket.rb +9 -50
- data/lib/core/facets/string/camelcase.rb +32 -23
- data/lib/core/facets/string/capitalized.rb +7 -4
- data/lib/core/facets/string/characters.rb +13 -0
- data/lib/core/facets/string/cleanlines.rb +3 -13
- data/lib/core/facets/string/cmp.rb +1 -0
- data/lib/core/facets/string/compress_lines.rb +4 -4
- data/lib/core/facets/string/divide.rb +1 -4
- data/lib/core/facets/string/each_char.rb +17 -15
- data/lib/core/facets/string/each_word.rb +5 -1
- data/lib/core/facets/string/edit_distance.rb +64 -2
- data/lib/core/facets/string/file.rb +21 -5
- data/lib/core/facets/string/indent.rb +46 -4
- data/lib/core/facets/string/interpolate.rb +3 -4
- data/lib/core/facets/string/{chomp.rb → lchomp.rb} +0 -0
- data/lib/core/facets/string/line_wrap.rb +2 -5
- data/lib/core/facets/string/lines.rb +1 -1
- data/lib/core/facets/string/methodize.rb +3 -2
- data/lib/core/facets/string/modulize.rb +3 -1
- data/lib/core/facets/string/natcmp.rb +35 -36
- data/lib/core/facets/string/nchar.rb +11 -5
- data/lib/core/facets/string/newlines.rb +10 -13
- data/lib/core/facets/string/op_div.rb +2 -2
- data/lib/core/facets/string/op_sub.rb +1 -1
- data/lib/core/facets/string/pathize.rb +12 -10
- data/lib/core/facets/string/quote.rb +93 -0
- data/lib/core/facets/string/range.rb +11 -7
- data/lib/core/facets/string/rewrite.rb +6 -10
- data/lib/core/facets/string/similarity.rb +24 -27
- data/lib/core/facets/string/splice.rb +6 -10
- data/lib/core/facets/string/squish.rb +22 -0
- data/lib/core/facets/string/start_with.rb +31 -8
- data/lib/core/facets/string/store.rb +7 -0
- data/lib/core/facets/string/titlecase.rb +1 -1
- data/lib/core/facets/string/unbracket.rb +1 -0
- data/lib/core/facets/string/underscore.rb +1 -0
- data/lib/core/facets/string/unindent.rb +1 -0
- data/lib/core/facets/string/unquote.rb +1 -0
- data/lib/core/facets/string/word_wrap.rb +2 -2
- data/lib/core/facets/string/xor.rb +4 -6
- data/lib/core/facets/symbol/as_s.rb +17 -0
- data/lib/core/facets/symbol/bang.rb +1 -0
- data/lib/core/facets/symbol/generate.rb +3 -3
- data/lib/core/facets/symbol/not.rb +1 -1
- data/lib/core/facets/symbol/op_div.rb +8 -6
- data/lib/core/facets/symbol/plain.rb +27 -1
- data/lib/core/facets/symbol/succ.rb +7 -3
- data/lib/core/facets/symbol/thrown.rb +2 -4
- data/lib/core/facets/symbol/to_proc.rb +8 -13
- data/lib/core/facets/symbol/variablize.rb +7 -5
- data/lib/core/facets/time/ago.rb +1 -1
- data/lib/core/facets/time/change.rb +19 -14
- data/lib/core/facets/time/dst_adjustment.rb +24 -0
- data/lib/core/facets/time/elapse.rb +3 -1
- data/lib/core/facets/time/future.rb +4 -4
- data/lib/core/facets/time/hence.rb +1 -97
- data/lib/core/facets/time/in.rb +93 -0
- data/lib/core/facets/time/round_to.rb +21 -0
- data/lib/core/facets/time/set.rb +9 -3
- data/lib/core/facets/time/stamp.rb +2 -1
- data/lib/core/facets/time/to_time.rb +2 -2
- data/lib/core/facets/time/trunc.rb +3 -3
- data/lib/core/facets/to_hash.rb +16 -12
- data/lib/core/facets/unboundmethod/name.rb +3 -3
- data/lib/more/facets/argvector.rb +23 -33
- data/lib/more/facets/atomicfile.rb +51 -0
- data/lib/more/facets/basicobject.rb +6 -6
- data/lib/more/facets/cgi.rb +3 -9
- data/lib/more/facets/continuation.rb +2 -2
- data/lib/more/facets/date.rb +56 -54
- data/lib/more/facets/erb.rb +15 -12
- data/lib/more/facets/fileutils.rb +1 -20
- data/lib/more/facets/fileutils/cp_rx.rb +1 -1
- data/lib/more/facets/fileutils/safe_ln.rb +1 -2
- data/lib/more/facets/fileutils/slice.rb +11 -99
- data/lib/more/facets/fileutils/wc.rb +5 -56
- data/lib/more/facets/fileutils/whereis.rb +8 -6
- data/lib/more/facets/fileutils/which.rb +5 -48
- data/lib/more/facets/find.rb +16 -0
- data/lib/more/facets/getoptlong.rb +11 -23
- data/lib/more/facets/main.rb +27 -40
- data/lib/more/facets/memoizable.rb +141 -0
- data/lib/{core → more}/facets/metaid.rb +2 -2
- data/lib/more/facets/multipliers.rb +6 -38
- data/lib/more/facets/multiton.rb +14 -13
- data/lib/more/facets/nullclass.rb +3 -39
- data/lib/more/facets/opesc.rb +42 -23
- data/lib/more/facets/ostruct.rb +32 -59
- data/lib/more/facets/pathname.rb +53 -43
- data/lib/more/facets/platform.rb +87 -100
- data/lib/more/facets/random.rb +129 -172
- data/lib/more/facets/rbconfig.rb +130 -25
- data/lib/more/facets/reference.rb +7 -23
- data/lib/more/facets/set.rb +5 -0
- data/lib/more/facets/shellwords.rb +22 -4
- data/lib/more/facets/thread.rb +48 -25
- data/lib/more/facets/timer.rb +50 -117
- data/lib/more/facets/tuple.rb +31 -74
- data/lib/more/facets/uri.rb +29 -67
- data/lib/more/facets/yaml.rb +28 -44
- data/lib/more/facets/zlib.rb +3 -3
- data/lib/tour/facets/array/median.rb +14 -0
- data/lib/tour/facets/array/percentile.rb +29 -0
- data/lib/{core/facets/class/prepend.rb → tour/facets/class/preallocate.rb} +10 -10
- data/lib/{more/facets → tour/facets/integer}/roman.rb +8 -7
- data/lib/{core → tour}/facets/kernel/demo.rb +3 -2
- data/lib/{core → tour}/facets/kernel/eigenclass.rb +1 -3
- data/lib/{core → tour}/facets/kernel/instance_exec.rb +3 -6
- data/lib/tour/facets/kernel/memo.rb +38 -0
- data/lib/tour/facets/kernel/trap_chain.rb +20 -0
- data/lib/tour/facets/method/memoize.rb +10 -0
- data/lib/tour/facets/module/attr_class_accessor.rb +33 -0
- data/lib/tour/facets/module/attr_inheritor.rb +13 -0
- data/lib/{more → tour}/facets/module/attr_tester.rb +0 -3
- data/lib/{more → tour}/facets/module/attr_validator.rb +0 -0
- data/lib/tour/facets/module/cattr.rb +240 -0
- data/lib/tour/facets/module/class_accessor.rb +27 -0
- data/lib/tour/facets/module/class_extend.rb +82 -0
- data/lib/{more/facets/inheritor.rb → tour/facets/module/class_inheritor.rb} +12 -38
- data/lib/tour/facets/module/copy_inheritor.rb +39 -0
- data/lib/tour/facets/module/enclosure.rb +62 -0
- data/lib/tour/facets/module/enclosures.rb +1 -0
- data/lib/tour/facets/module/include_as.rb +1 -0
- data/lib/{more/facets → tour/facets/module}/instance_function.rb +26 -16
- data/lib/tour/facets/module/memoize.rb +12 -0
- data/lib/tour/facets/module/method_space.rb +94 -0
- data/lib/{core → tour}/facets/module/module_load.rb +0 -0
- data/lib/{core → tour}/facets/module/prepend.rb +4 -4
- data/lib/tour/facets/regexp/op_or.rb +11 -0
- data/lib/tour/facets/string/crypt.rb +16 -0
- data/lib/tour/facets/string/roman.rb +1 -0
- data/meta/data.rb +29 -0
- data/meta/gemfile +10 -0
- data/meta/profile +24 -0
- data/qed/applique/file_helpers.rb +24 -0
- data/qed/core/array/combination.rdoc +19 -0
- data/qed/core/array/delete.rdoc +23 -0
- data/qed/core/array/index.rdoc +14 -0
- data/qed/core/array/merge.rdoc +15 -0
- data/qed/core/array/only.rdoc +9 -0
- data/qed/core/array/pad.rdoc +28 -0
- data/qed/core/array/permutation.rdoc +10 -0
- data/qed/core/array/product.rdoc +26 -0
- data/qed/core/array/recursively.rdoc +16 -0
- data/qed/core/array/rotate.rdoc +30 -0
- data/qed/core/array/select.rdoc +8 -0
- data/qed/core/array/uniq_by.rdoc +9 -0
- data/qed/core/binding/caller.rdoc +59 -0
- data/qed/core/binding/defined.rdoc +10 -0
- data/qed/core/binding/eval.rdoc +8 -0
- data/qed/core/binding/local_variables.rdoc +26 -0
- data/qed/core/binding/opvars.rdoc +16 -0
- data/qed/core/binding/self.rdoc +6 -0
- data/qed/core/class/descendants.rdoc +10 -0
- data/qed/core/class/to_proc.rdoc +8 -0
- data/qed/core/comparable/cap.rdoc +20 -0
- data/qed/core/comparable/clip.rdoc +37 -0
- data/qed/core/comparable/cmp.rdoc +18 -0
- data/qed/core/comparable/op_get.rdoc +29 -0
- data/qed/core/dir/ascend.rdoc +24 -0
- data/qed/core/dir/descend.rdoc +14 -0
- data/qed/core/dir/multiglob.rdoc +41 -0
- data/qed/core/dir/parent.rdoc +6 -0
- data/qed/core/dir/recurse.rdoc +41 -0
- data/qed/core/exception/detail.rdoc +12 -0
- data/qed/core/facets.rdoc +6 -0
- data/qed/core/filetest/root.rdoc +6 -0
- data/qed/core/hash/recursively.rdoc +21 -0
- data/qed/core/indexable.rdoc +95 -0
- data/qed/core/integer/bitmask.rdoc +46 -0
- data/qed/core/integer/even.rdoc +12 -0
- data/qed/core/integer/factorial.rdoc +10 -0
- data/qed/core/integer/length.rdoc +7 -0
- data/qed/core/integer/multiple.rdoc +10 -0
- data/qed/core/integer/odd.rdoc +12 -0
- data/qed/core/integer/of.rdoc +14 -0
- data/qed/core/integer/ordinal.rdoc +9 -0
- data/qed/core/matchdata/match.rdoc +7 -0
- data/qed/core/matchdata/matchset.rdoc +15 -0
- data/qed/core/string/align.rdoc +34 -0
- data/qed/core/string/bracket.rdoc +35 -0
- data/qed/core/string/bytes.rdoc +8 -0
- data/qed/core/string/camelcase.rdoc +67 -0
- data/qed/core/string/capitalized.rdoc +27 -0
- data/qed/core/string/characters.rdoc +11 -0
- data/qed/core/string/cleanlines.rdoc +10 -0
- data/qed/core/string/cleave.rdoc +49 -0
- data/qed/core/string/divide.rdoc +9 -0
- data/qed/core/string/each_char.rdoc +9 -0
- data/qed/core/string/each_word.rdoc +9 -0
- data/qed/core/string/end_with.rdoc +6 -0
- data/qed/core/string/expand_tabs.rdoc +69 -0
- data/qed/core/string/fold.rdoc +14 -0
- data/qed/core/string/indent.rdoc +65 -0
- data/qed/core/string/interpolate.rdoc +7 -0
- data/qed/core/string/lchomp.rdoc +14 -0
- data/qed/core/string/line_wrap.rdoc +7 -0
- data/qed/core/string/lines.rdoc +8 -0
- data/qed/core/string/margin.rdoc +92 -0
- data/qed/core/string/methodize.rdoc +22 -0
- data/qed/core/string/modulize.rdoc +22 -0
- data/qed/core/string/mscan.rdoc +10 -0
- data/qed/core/string/natcmp.rdoc +10 -0
- data/qed/core/string/nchar.rdoc +9 -0
- data/qed/core/string/newlines.rdoc +9 -0
- data/qed/core/string/op_sub.rdoc +7 -0
- data/qed/core/string/pathize.rdoc +22 -0
- data/qed/core/string/quote.rdoc +20 -0
- data/qed/core/string/range.rdoc +19 -0
- data/qed/core/string/rewrite.rdoc +9 -0
- data/qed/core/string/shatter.rdoc +9 -0
- data/qed/core/string/snakecase.rdoc +9 -0
- data/qed/core/string/splice.rdoc +28 -0
- data/qed/core/string/start_with.rdoc +7 -0
- data/qed/core/string/subtract.rdoc +8 -0
- data/qed/core/string/tab.rdoc +16 -0
- data/qed/core/string/tabto.rdoc +29 -0
- data/qed/core/string/titlecase.rdoc +8 -0
- data/qed/core/string/to_re.rdoc +22 -0
- data/qed/core/string/unfold.rdoc +9 -0
- data/qed/core/string/unindent.rdoc +65 -0
- data/qed/core/string/unquote.rdoc +6 -0
- data/qed/core/string/variablize.rdoc +7 -0
- data/qed/core/string/word_wrap.rdoc +54 -0
- data/qed/core/string/words.rdoc +13 -0
- data/qed/core/string/xor.rdoc +8 -0
- data/qed/more/basic_object.rdoc +22 -0
- data/qed/more/memoizable.rdoc +134 -0
- data/qed/more/mulititon.rdoc +156 -0
- data/qed/tour/module/cattr.rdoc +43 -0
- data/qed/tour/module/class_extend.rdoc +64 -0
- data/qed/tour/module/class_inheritor.rdoc +126 -0
- data/qed/tour/module/copy_inheritor.rdoc +30 -0
- data/qed/tour/module/method_space.rdoc +55 -0
- data/test/core/array/test_after.rb +17 -0
- data/test/core/array/test_before.rb +17 -0
- data/test/core/array/test_collapse.rb +10 -0
- data/test/core/array/test_combination.rb +9 -17
- data/test/core/array/test_commonality.rb +27 -0
- data/test/core/array/test_conjoin.rb +46 -0
- data/test/core/array/test_contains.rb +10 -0
- data/test/core/array/test_delete.rb +12 -15
- data/test/core/array/test_divide.rb +10 -0
- data/test/core/array/test_duplicates.rb +11 -0
- data/test/core/array/test_entropy.rb +15 -0
- data/test/core/array/test_extract_options.rb +20 -0
- data/test/core/array/test_first.rb +13 -0
- data/test/core/array/test_index.rb +6 -7
- data/test/core/array/test_last.rb +13 -0
- data/test/core/array/test_merge.rb +6 -9
- data/test/core/array/test_mode.rb +13 -0
- data/test/core/array/test_nonuniq.rb +17 -0
- data/test/core/array/test_not_empty.rb +13 -0
- data/test/core/array/test_only.rb +7 -15
- data/test/core/array/test_pad.rb +10 -11
- data/test/core/array/test_peek.rb +24 -0
- data/test/core/array/test_permutation.rb +11 -9
- data/test/core/array/test_poke.rb +17 -0
- data/test/core/array/test_probability.rb +11 -0
- data/test/core/array/test_product.rb +25 -12
- data/test/core/array/test_pull.rb +11 -0
- data/test/core/array/test_recurse.rb +17 -0
- data/test/core/array/test_recursively.rb +29 -0
- data/test/core/array/test_rotate.rb +17 -10
- data/test/core/array/test_select.rb +4 -9
- data/test/core/array/test_splice.rb +17 -0
- data/test/core/array/test_split.rb +18 -0
- data/test/core/array/test_store.rb +20 -0
- data/test/core/array/test_traverse.rb +18 -0
- data/test/core/array/test_uniq_by.rb +13 -0
- data/test/core/binding/test_caller.rb +31 -30
- data/test/core/binding/test_defined.rb +9 -11
- data/test/core/binding/test_eval.rb +6 -9
- data/test/core/binding/test_local_variables.rb +24 -16
- data/test/core/binding/test_op.rb +20 -0
- data/test/core/binding/test_self.rb +6 -11
- data/test/core/class/test_descendents.rb +9 -8
- data/test/core/class/test_subclasses.rb +17 -0
- data/test/core/class/test_to_proc.rb +7 -8
- data/test/core/comparable/test_bound.rb +28 -0
- data/test/core/comparable/test_cap.rb +14 -15
- data/test/core/comparable/test_clip.rb +22 -17
- data/test/core/comparable/test_cmp.rb +6 -29
- data/test/core/comparable/{test_comparable.rb → test_op_get.rb} +19 -15
- data/test/core/denumerable_tc.rb +154 -0
- data/test/core/dir/test_ascend.rb +11 -19
- data/test/core/dir/test_descend.rb +7 -12
- data/test/core/dir/test_each_child.rb +18 -0
- data/test/core/dir/test_multiglob.rb +11 -36
- data/test/core/dir/test_parent.rb +4 -5
- data/test/core/dir/test_recurse.rb +10 -34
- data/test/core/enumerable/test_accumulate.rb +36 -0
- data/test/core/enumerable/test_cluster_by.rb +14 -10
- data/test/core/enumerable/test_compact_map.rb +19 -15
- data/test/core/enumerable/test_count.rb +9 -12
- data/test/core/enumerable/test_defer.rb +13 -78
- data/test/core/enumerable/test_each_by.rb +29 -39
- data/test/core/enumerable/test_each_with_object.rb +14 -0
- data/test/core/enumerable/test_every.rb +11 -12
- data/test/core/enumerable/test_ewise.rb +15 -16
- data/test/core/enumerable/test_exclude.rb +11 -0
- data/test/core/enumerable/test_expand.rb +11 -0
- data/test/core/enumerable/test_filter.rb +15 -0
- data/test/core/enumerable/test_find_yield.rb +43 -29
- data/test/core/enumerable/test_frequency.rb +6 -6
- data/test/core/enumerable/test_graph.rb +38 -0
- data/test/core/enumerable/test_group_by.rb +18 -17
- data/test/core/enumerable/test_map_by.rb +23 -0
- data/test/core/enumerable/test_map_send.rb +10 -0
- data/test/core/enumerable/test_map_with_index.rb +9 -5
- data/test/core/enumerable/test_mash.rb +5 -30
- data/test/core/enumerable/test_modulate.rb +4 -5
- data/test/core/enumerable/test_none.rb +6 -4
- data/test/core/enumerable/test_occur.rb +7 -8
- data/test/core/enumerable/test_one.rb +7 -4
- data/test/core/enumerable/test_per.rb +7 -10
- data/test/core/enumerable/test_purge.rb +18 -0
- data/test/core/enumerable/test_recursively.rb +29 -0
- data/test/core/enumerable/test_sum.rb +9 -0
- data/test/core/enumerable/test_take.rb +5 -7
- data/test/core/enumerable/test_uniq_by.rb +13 -7
- data/test/core/enumerable/test_visit.rb +10 -0
- data/test/core/enumerator/test_fx.rb +12 -0
- data/test/core/enumerator/test_new.rb +17 -0
- data/test/core/enumerator_tc.rb +28 -0
- data/test/core/exception/test_detail.rb +16 -0
- data/test/core/exception/test_raised.rb +13 -0
- data/test/core/exception/test_suppress.rb +14 -0
- data/test/core/file/test_append.rb +19 -0
- data/test/core/file/test_create.rb +8 -26
- data/test/core/file/test_ext.rb +15 -19
- data/test/core/file/test_null.rb +4 -6
- data/test/core/file/test_read_binary.rb +15 -0
- data/test/core/file/test_read_list.rb +12 -0
- data/test/core/file/test_rewrite.rb +18 -27
- data/test/core/file/test_rootname.rb +9 -0
- data/test/core/file/test_sanitize.rb +28 -0
- data/test/core/file/test_split_all.rb +5 -27
- data/test/core/file/test_write.rb +10 -23
- data/test/core/file/test_writelines.rb +10 -15
- data/test/core/filetest/test_root.rb +10 -0
- data/test/core/functor_tc.rb +29 -0
- data/test/core/hash/test_alias.rb +8 -7
- data/test/core/hash/test_argumentize.rb +19 -0
- data/test/core/hash/test_at.rb +5 -6
- data/test/core/hash/test_autonew.rb +12 -5
- data/test/core/hash/test_collate.rb +41 -23
- data/test/core/hash/test_count.rb +10 -0
- data/test/core/hash/test_data.rb +31 -0
- data/test/core/hash/test_dearray_values.rb +7 -8
- data/test/core/hash/test_deep_merge.rb +23 -0
- data/test/core/hash/test_delete_at.rb +14 -0
- data/test/core/hash/test_delete_unless.rb +14 -0
- data/test/core/hash/test_delete_values.rb +22 -0
- data/test/core/hash/test_diff.rb +12 -0
- data/test/core/hash/test_expect.rb +16 -0
- data/test/core/hash/test_graph.rb +32 -0
- data/test/core/hash/test_insert.rb +10 -7
- data/test/core/hash/test_inverse.rb +8 -7
- data/test/core/hash/test_join.rb +28 -0
- data/test/core/hash/test_keys.rb +21 -12
- data/test/core/hash/test_new_with.rb +13 -0
- data/test/core/hash/test_op_add.rb +5 -6
- data/test/core/hash/test_op_and.rb +11 -12
- data/test/core/hash/test_op_mul.rb +5 -6
- data/test/core/hash/test_op_or.rb +5 -6
- data/test/core/hash/test_op_push.rb +18 -18
- data/test/core/hash/test_op_sub.rb +8 -9
- data/test/core/hash/test_recurse.rb +18 -0
- data/test/core/hash/test_recursively.rb +67 -0
- data/test/core/hash/test_rekey.rb +46 -48
- data/test/core/hash/test_replace_each.rb +5 -6
- data/test/core/hash/test_reverse_merge.rb +27 -0
- data/test/core/hash/test_select.rb +23 -18
- data/test/core/hash/test_slice.rb +7 -10
- data/test/core/hash/test_stringify_keys.rb +8 -11
- data/test/core/hash/test_swap.rb +5 -5
- data/test/core/hash/test_symbolize_keys.rb +9 -11
- data/test/core/hash/test_to_mod.rb +20 -0
- data/test/core/hash/test_to_proc.rb +19 -0
- data/test/core/hash/test_to_struct.rb +18 -0
- data/test/core/hash/test_traverse.rb +11 -12
- data/test/core/hash/test_update_each.rb +5 -6
- data/test/core/hash/test_update_keys.rb +6 -7
- data/test/core/hash/test_update_values.rb +6 -6
- data/test/core/hash/test_weave.rb +5 -9
- data/test/core/hash/test_zipnew.rb +4 -5
- data/test/core/indexable_tc.rb +177 -0
- data/test/core/integer/test_bitmask.rb +34 -27
- data/test/core/integer/test_even.rb +7 -6
- data/test/core/integer/test_factorial.rb +16 -9
- data/test/core/integer/test_multiple.rb +3 -4
- data/test/core/integer/test_odd.rb +7 -6
- data/test/core/integer/test_of.rb +12 -7
- data/test/core/integer/test_ordinal.rb +14 -8
- data/test/core/kernel/test_as.rb +48 -39
- data/test/core/kernel/test_ask.rb +8 -0
- data/test/core/kernel/test_assign.rb +29 -30
- data/test/core/kernel/test_assign_from.rb +31 -11
- data/test/core/kernel/test_attr_singleton.rb +16 -18
- data/test/core/kernel/test_blank.rb +83 -0
- data/test/core/kernel/test_callstack.rb +8 -5
- data/test/core/kernel/test_class.rb +10 -0
- data/test/core/kernel/test_complete.rb +15 -0
- data/test/core/kernel/test_constant.rb +7 -11
- data/test/core/kernel/test_d.rb +10 -0
- data/test/core/kernel/test_deep_copy.rb +33 -0
- data/test/core/kernel/test_dir.rb +16 -0
- data/test/core/kernel/test_disable_warnings.rb +26 -0
- data/test/core/kernel/test_dup.rb +66 -0
- data/test/core/kernel/test_ergo.rb +23 -0
- data/test/core/kernel/test_extension.rb +14 -0
- data/test/core/kernel/test_get.rb +34 -0
- data/test/core/kernel/test_here.rb +4 -10
- data/test/core/kernel/test_in.rb +5 -6
- data/test/core/kernel/test_instance_assign.rb +7 -8
- data/test/core/kernel/test_instance_class.rb +4 -5
- data/test/core/kernel/test_instance_send.rb +22 -0
- data/test/core/kernel/test_maybe.rb +9 -0
- data/test/core/kernel/test_meta_alias.rb +14 -0
- data/test/core/kernel/test_meta_class.rb +25 -0
- data/test/core/kernel/test_meta_def.rb +11 -0
- data/test/core/kernel/test_meta_eval.rb +14 -0
- data/test/core/kernel/test_method.rb +10 -10
- data/test/core/kernel/test_not.rb +44 -0
- data/test/core/kernel/test_not_nil.rb +16 -8
- data/test/core/kernel/test_object_class.rb +7 -8
- data/test/core/kernel/test_object_hexid.rb +4 -5
- data/test/core/kernel/test_object_send.rb +21 -0
- data/test/core/kernel/test_object_state.rb +72 -0
- data/test/core/kernel/test_presence.rb +29 -0
- data/test/core/kernel/test_qua_class.rb +19 -0
- data/test/core/kernel/test_replace.rb +64 -0
- data/test/core/kernel/test_require_all.rb +11 -0
- data/test/core/kernel/test_require_relative.rb +12 -0
- data/test/core/kernel/test_respond.rb +32 -0
- data/test/core/kernel/test_returning.rb +4 -7
- data/test/core/kernel/test_silence.rb +17 -8
- data/test/core/kernel/test_singleton_class.rb +11 -0
- data/test/core/kernel/test_source_location.rb +18 -0
- data/test/core/kernel/test_super_method.rb +20 -0
- data/test/core/kernel/test_tap.rb +24 -9
- data/test/core/kernel/test_temporarily.rb +21 -0
- data/test/core/kernel/test_true.rb +23 -0
- data/test/core/kernel/test_try.rb +27 -0
- data/test/core/kernel/test_try_dup.rb +46 -0
- data/test/core/kernel/test_val.rb +11 -12
- data/test/core/kernel/test_with.rb +14 -0
- data/test/core/kernel/test_writers.rb +49 -0
- data/test/core/matchdata/test_match.rb +4 -8
- data/test/core/matchdata/test_matchset.rb +8 -10
- data/test/core/module/test_abstract.rb +13 -16
- data/test/core/module/test_alias_accessor.rb +14 -13
- data/test/core/module/test_alias_method_chain.rb +21 -20
- data/test/core/module/test_alias_module_function.rb +14 -12
- data/test/core/module/test_all_instance_methods.rb +23 -0
- data/test/core/module/test_ancestor.rb +6 -5
- data/test/core/module/test_anonymous.rb +14 -0
- data/test/core/module/test_attr_setter.rb +24 -0
- data/test/core/module/test_basename.rb +4 -5
- data/test/core/module/test_can.rb +10 -11
- data/test/core/module/test_class.rb +10 -13
- data/test/core/module/test_class_def.rb +18 -0
- data/test/core/module/test_instance_method.rb +16 -0
- data/test/core/module/test_instance_method_defined.rb +26 -0
- data/test/core/module/test_integrate.rb +15 -14
- data/test/core/module/test_is.rb +34 -10
- data/test/core/module/test_method_clash.rb +50 -0
- data/test/core/module/test_methodize.rb +12 -5
- data/test/core/module/test_modname.rb +9 -0
- data/test/core/module/test_module_def.rb +18 -0
- data/test/core/module/test_nodef.rb +15 -0
- data/test/core/module/test_op.rb +23 -25
- data/test/core/module/test_pathize.rb +11 -9
- data/test/core/module/test_redefine_method.rb +14 -19
- data/test/core/module/test_redirect_method.rb +14 -15
- data/test/core/module/test_remove.rb +15 -0
- data/test/core/module/test_rename_method.rb +16 -17
- data/test/core/module/test_revise.rb +33 -34
- data/test/core/module/test_set.rb +26 -0
- data/test/core/module/test_spacename.rb +5 -8
- data/test/core/module/test_to_obj.rb +16 -0
- data/test/core/module/test_wrap_method.rb +15 -15
- data/test/core/nilclass/test_to_f.rb +4 -5
- data/test/core/numeric/test_approx.rb +4 -4
- data/test/core/numeric/test_distance.rb +6 -7
- data/test/core/numeric/test_length.rb +12 -0
- data/test/core/numeric/test_round.rb +42 -33
- data/test/core/numeric/test_spacing.rb +8 -7
- data/test/core/proc/test_bind.rb +7 -7
- data/test/core/proc/test_bind_to.rb +13 -0
- data/test/core/proc/test_compose.rb +8 -9
- data/test/core/proc/test_curry.rb +11 -13
- data/test/core/proc/test_partial.rb +23 -0
- data/test/core/proc/test_to_method.rb +28 -15
- data/test/core/proc/test_update.rb +11 -0
- data/test/core/range/test_combine.rb +13 -7
- data/test/core/range/test_overlap.rb +3 -7
- data/test/core/range/test_to_r.rb +6 -7
- data/test/core/range/test_umbrella.rb +28 -0
- data/test/core/range/test_within.rb +3 -27
- data/test/core/regexp/test_arity.rb +11 -8
- data/test/core/regexp/test_multiline.rb +15 -0
- data/test/core/regexp/test_op_add.rb +11 -0
- data/test/core/regexp/test_op_or.rb +12 -0
- data/test/core/regexp/test_to_re.rb +6 -7
- data/test/core/string/test_align.rb +13 -11
- data/test/core/string/test_bracket.rb +21 -52
- data/test/core/string/test_bytes.rb +4 -5
- data/test/core/string/test_camelcase.rb +43 -35
- data/test/core/string/test_capitalized.rb +14 -15
- data/test/core/string/test_characters.rb +11 -0
- data/test/core/string/test_cleanlines.rb +4 -5
- data/test/core/string/test_cleave.rb +17 -26
- data/test/core/string/test_cmp.rb +14 -0
- data/test/core/string/test_compress_lines.rb +14 -0
- data/test/core/string/test_divide.rb +4 -5
- data/test/core/string/test_each_char.rb +4 -5
- data/test/core/string/test_each_word.rb +4 -5
- data/test/core/string/test_edit_distance.rb +16 -0
- data/test/core/string/test_end_with.rb +9 -5
- data/test/core/string/test_exclude.rb +19 -0
- data/test/core/string/test_expand_tabs.rb +39 -26
- data/test/core/string/test_file.rb +11 -0
- data/test/core/string/test_fold.rb +6 -7
- data/test/core/string/test_indent.rb +51 -45
- data/test/core/string/test_index_all.rb +10 -0
- data/test/core/string/test_interpolate.rb +4 -8
- data/test/core/string/test_lchomp.rb +6 -7
- data/test/core/string/test_line_wrap.rb +5 -6
- data/test/core/string/test_lines.rb +4 -5
- data/test/core/string/test_lowercase.rb +14 -0
- data/test/core/string/test_margin.rb +17 -18
- data/test/core/string/test_methodize.rb +8 -9
- data/test/core/string/test_modulize.rb +8 -9
- data/test/core/string/test_mscan.rb +6 -7
- data/test/core/string/test_natcmp.rb +8 -12
- data/test/core/string/test_nchar.rb +7 -8
- data/test/core/string/test_newlines.rb +4 -5
- data/test/core/string/test_op_div.rb +11 -0
- data/test/core/string/test_op_sub.rb +4 -5
- data/test/core/string/test_pathize.rb +11 -12
- data/test/core/string/test_quote.rb +38 -0
- data/test/core/string/test_range.rb +12 -12
- data/test/core/string/test_rewrite.rb +5 -6
- data/test/core/string/test_shatter.rb +6 -7
- data/test/core/string/test_similarity.rb +10 -0
- data/test/core/string/test_snakecase.rb +7 -8
- data/test/core/string/test_splice.rb +13 -14
- data/test/core/string/test_squish.rb +23 -0
- data/test/core/string/test_start_with.rb +9 -5
- data/test/core/string/test_store.rb +12 -0
- data/test/core/string/test_subtract.rb +6 -7
- data/test/core/string/test_tab.rb +5 -6
- data/test/core/string/test_tabto.rb +5 -6
- data/test/core/string/test_titlecase.rb +4 -5
- data/test/core/string/test_to_re.rb +15 -15
- data/test/core/string/test_unbracket.rb +26 -0
- data/test/core/string/test_underscore.rb +17 -0
- data/test/core/string/test_unfold.rb +4 -5
- data/test/core/string/test_unindent.rb +100 -0
- data/test/core/string/test_unquote.rb +9 -0
- data/test/core/string/test_uppercase.rb +18 -0
- data/test/core/string/test_variablize.rb +4 -5
- data/test/core/string/test_word_wrap.rb +50 -27
- data/test/core/string/test_words.rb +7 -22
- data/test/core/string/test_xor.rb +4 -5
- data/test/core/symbol/test_as_s.rb +11 -0
- data/test/core/symbol/test_bang.rb +11 -0
- data/test/core/symbol/test_chomp.rb +6 -7
- data/test/core/symbol/test_generate.rb +8 -12
- data/test/core/symbol/test_not.rb +7 -5
- data/test/core/symbol/test_op_div.rb +11 -0
- data/test/core/symbol/test_plain.rb +4 -5
- data/test/core/symbol/test_query.rb +3 -4
- data/test/core/symbol/test_setter.rb +3 -4
- data/test/core/symbol/test_succ.rb +6 -7
- data/test/core/symbol/test_to_proc.rb +13 -13
- data/test/core/symbol/test_variablize.rb +10 -0
- data/test/core/time/test_ago.rb +127 -0
- data/test/core/time/test_change.rb +6 -8
- data/test/core/time/test_dst_adjustment.rb +10 -0
- data/test/core/time/test_elapse.rb +3 -5
- data/test/core/time/test_future.rb +21 -0
- data/test/core/time/test_hence.rb +9 -121
- data/test/core/time/test_in.rb +126 -0
- data/test/core/time/test_past.rb +21 -0
- data/test/core/time/test_round_to.rb +28 -0
- data/test/core/time/test_set.rb +39 -0
- data/test/core/time/test_stamp.rb +19 -14
- data/test/core/time/test_to_time.rb +5 -6
- data/test/core/time/test_trunc.rb +13 -16
- data/test/core/to_hash_tc.rb +163 -0
- data/test/core/unboundmethod/test_arguments.rb +8 -8
- data/test/core/unboundmethod/test_name.rb +6 -6
- data/test/more/test_argvector.rb +27 -27
- data/test/more/test_date.rb +28 -32
- data/test/more/test_memoizable.rb +38 -0
- data/test/more/test_multipliers.rb +45 -48
- data/test/more/test_ostruct.rb +91 -93
- data/test/more/test_random.rb +97 -90
- data/test/more/test_shellwords.rb +46 -11
- data/test/more/test_thread.rb +8 -9
- data/test/more/test_timer.rb +17 -32
- data/test/more/test_tuple.rb +29 -23
- data/test/more/test_uri.rb +10 -13
- data/test/tour/array/test_median.rb +10 -0
- data/test/tour/array/test_percentile.rb +10 -0
- data/test/tour/class/test_preallocate.rb +27 -0
- data/test/tour/module/test_cattr.rb +45 -0
- data/test/tour/module/test_class_extend.rb +66 -0
- data/test/tour/module/test_class_inheritor.rb +148 -0
- data/test/tour/module/test_copy_inheritor.rb +32 -0
- data/test/tour/module/test_enclosure.rb +20 -0
- data/test/tour/module/test_instance_function.rb +26 -0
- data/test/tour/module/test_memoize.rb +30 -0
- data/test/tour/module/test_method_space.rb +64 -0
- data/test/tour/module/test_module_load.rb +19 -0
- data/test/tour/module/test_prepend.rb +24 -0
- metadata +658 -278
- data/NOTES +0 -143
- data/demo/hook.rdoc +0 -49
- data/demo/scenario_require.rdoc +0 -7
- data/lib/core/facets-live.rb +0 -19
- data/lib/core/facets-load.rb +0 -12
- data/lib/core/facets/array/recursive.rb +0 -91
- data/lib/core/facets/array/stackable.rb +0 -33
- data/lib/core/facets/blank.rb +0 -60
- data/lib/core/facets/cattr.rb +0 -2
- data/lib/core/facets/class/cattr.rb +0 -112
- data/lib/core/facets/class/cattr_accessor.rb +0 -1
- data/lib/core/facets/class/cattr_reader.rb +0 -1
- data/lib/core/facets/class/cattr_writer.rb +0 -1
- data/lib/core/facets/class/descendents.rb +0 -1
- data/lib/core/facets/comparable/comparable.rb +0 -42
- data/lib/core/facets/duplicable.rb +0 -32
- data/lib/core/facets/enumerable/collisions.rb +0 -1
- data/lib/core/facets/enumerable/divide.rb +0 -33
- data/lib/core/facets/enumerable/duplicates.rb +0 -38
- data/lib/core/facets/enumerable/mode.rb +0 -16
- data/lib/core/facets/enumerable/recursive.rb +0 -75
- data/lib/core/facets/file/read.rb +0 -41
- data/lib/core/facets/hash/group_by_value.rb +0 -65
- data/lib/core/facets/hash/recursive.rb +0 -180
- data/lib/core/facets/hash/to_module.rb +0 -26
- data/lib/core/facets/kernel/__here__.rb +0 -14
- data/lib/core/facets/kernel/populate.rb +0 -2
- data/lib/core/facets/kernel/require_local.rb +0 -31
- data/lib/core/facets/kernel/resc.rb +0 -16
- data/lib/core/facets/kernel/set_from.rb +0 -2
- data/lib/core/facets/module/conflict.rb +0 -62
- data/lib/core/facets/module/instance_methods.rb +0 -38
- data/lib/core/facets/module/modspace.rb +0 -22
- data/lib/core/facets/module/module_require.rb +0 -1
- data/lib/core/facets/module/nesting.rb +0 -18
- data/lib/core/facets/stackable.rb +0 -86
- data/lib/core/facets/string/chars.rb +0 -20
- data/lib/core/facets/symbol/re_s.rb +0 -18
- data/lib/core/facets/time/advance.rb +0 -18
- data/lib/core/facets/time/round.rb +0 -17
- data/lib/more/facets/ansicode.rb +0 -306
- data/lib/more/facets/autoarray.rb +0 -34
- data/lib/more/facets/autoreload.rb +0 -150
- data/lib/more/facets/blankslate.rb +0 -10
- data/lib/more/facets/casting_hash.rb +0 -172
- data/lib/more/facets/class_extend.rb +0 -126
- data/lib/more/facets/cloneable.rb +0 -76
- data/lib/more/facets/daemonize.rb +0 -44
- data/lib/more/facets/dictionary.rb +0 -430
- data/lib/more/facets/duration.rb +0 -286
- data/lib/more/facets/enumargs.rb +0 -192
- data/lib/more/facets/equitable.rb +0 -120
- data/lib/more/facets/expirable.rb +0 -54
- data/lib/more/facets/filelist.rb +0 -497
- data/lib/more/facets/hashbuilder.rb +0 -101
- data/lib/more/facets/hook.rb +0 -38
- data/lib/more/facets/ini.rb +0 -267
- data/lib/more/facets/instantiable.rb +0 -47
- data/lib/more/facets/linkedlist.rb +0 -195
- data/lib/more/facets/matcher.rb +0 -140
- data/lib/more/facets/memoize.rb +0 -1
- data/lib/more/facets/memoizer.rb +0 -64
- data/lib/more/facets/methodspace.rb +0 -146
- data/lib/more/facets/module/attr.rb +0 -83
- data/lib/more/facets/module/attr_toggler.rb +0 -59
- data/lib/more/facets/module/class_extend.rb +0 -3
- data/lib/more/facets/once.rb +0 -59
- data/lib/more/facets/opencascade.rb +0 -94
- data/lib/more/facets/opencollection.rb +0 -43
- data/lib/more/facets/openhash.rb +0 -39
- data/lib/more/facets/openmodule.rb +0 -16
- data/lib/more/facets/openobject.rb +0 -267
- data/lib/more/facets/orderedhash.rb +0 -5
- data/lib/more/facets/ostructable.rb +0 -209
- data/lib/more/facets/pathlist.rb +0 -105
- data/lib/more/facets/preinitialize.rb +0 -157
- data/lib/more/facets/prepend.rb +0 -57
- data/lib/more/facets/rbsystem.rb +0 -222
- data/lib/more/facets/registerable.rb +0 -35
- data/lib/more/facets/semaphore.rb +0 -92
- data/lib/more/facets/stash.rb +0 -181
- data/lib/more/facets/succ.rb +0 -44
- data/lib/more/facets/version.rb +0 -136
- data/meta/authors +0 -1
- data/meta/collection +0 -1
- data/meta/contact +0 -1
- data/meta/contributors +0 -48
- data/meta/created +0 -1
- data/meta/description +0 -13
- data/meta/homepage +0 -1
- data/meta/license +0 -1
- data/meta/loadpath +0 -2
- data/meta/name +0 -1
- data/meta/released +0 -1
- data/meta/repository +0 -1
- data/meta/sitemap +0 -4
- data/meta/slogan +0 -1
- data/meta/summary +0 -1
- data/meta/version +0 -1
- data/script/conflicts +0 -63
- data/script/methods +0 -49
- data/test/core/array/test_indexable.rb +0 -118
- data/test/core/array/test_recursive.rb +0 -18
- data/test/core/array/test_stackable.rb +0 -22
- data/test/core/binding/test_opvars.rb +0 -24
- data/test/core/class/test_cattr.rb +0 -47
- data/test/core/class/test_cattr_accessor.rb +0 -2
- data/test/core/class/test_cattr_reader.rb +0 -1
- data/test/core/class/test_cattr_writer.rb +0 -1
- data/test/core/enumerable/test_commonality.rb +0 -15
- data/test/core/enumerable/test_entropy.rb +0 -15
- data/test/core/enumerable/test_inject.rb +0 -18
- data/test/core/enumerable/test_probability.rb +0 -11
- data/test/core/enumerable/test_recursive.rb +0 -18
- data/test/core/enumerable/test_split.rb +0 -19
- data/test/core/exception/test_exception.rb +0 -17
- data/test/core/file/test_file.rb +0 -85
- data/test/core/filetest/test_filetest.rb +0 -10
- data/test/core/hash/test_delete.rb +0 -28
- data/test/core/hash/test_mash.rb +0 -20
- data/test/core/hash/test_merge.rb +0 -14
- data/test/core/hash/test_op.rb +0 -1
- data/test/core/hash/test_recursive.rb +0 -23
- data/test/core/hash/test_to_module.rb +0 -21
- data/test/core/integer/test_length.rb +0 -12
- data/test/core/kernel/test_deepcopy.rb +0 -27
- data/test/core/kernel/test_resc.rb +0 -12
- data/test/core/module/test_conflict.rb +0 -24
- data/test/core/module/test_modspace.rb +0 -13
- data/test/core/module/test_nesting.rb +0 -21
- data/test/core/module/test_prepend.rb +0 -29
- data/test/core/string/test_chars.rb +0 -12
- data/test/core/string/test_outdent.rb +0 -65
- data/test/core/test_blank.rb +0 -12
- data/test/core/test_boolean.rb +0 -89
- data/test/core/test_functor.rb +0 -26
- data/test/core/test_metaid.rb +0 -39
- data/test/core/test_to_hash.rb +0 -244
- data/test/core/time/test_round.rb +0 -31
- data/test/more/test_ansicode.rb +0 -20
- data/test/more/test_autoarray.rb +0 -18
- data/test/more/test_basicobject.rb +0 -34
- data/test/more/test_class_extend.rb +0 -64
- data/test/more/test_cloneable.rb +0 -41
- data/test/more/test_continuation.rb +0 -15
- data/test/more/test_dictionary.rb +0 -145
- data/test/more/test_enumargs.rb +0 -70
- data/test/more/test_equitable.rb +0 -42
- data/test/more/test_getoptlong.rb +0 -26
- data/test/more/test_inheritor.rb +0 -148
- data/test/more/test_instance_function.rb +0 -31
- data/test/more/test_instantiable.rb +0 -37
- data/test/more/test_memoize.rb +0 -38
- data/test/more/test_methodspace.rb +0 -78
- data/test/more/test_multiton.rb +0 -184
- data/test/more/test_opencascade.rb +0 -61
- data/test/more/test_openobject.rb +0 -112
- data/test/more/test_partial.rb +0 -27
- data/test/more/test_prepend.rb +0 -28
- data/test/more/test_succ.rb +0 -35
data/AUTHORS
CHANGED
@@ -9,6 +9,7 @@
|
|
9
9
|
The following developers have recently contributed to the development of Facets.
|
10
10
|
They are held in the highest regard for their efforts.
|
11
11
|
|
12
|
+
* Michael Harmer Documentation Improvements
|
12
13
|
* Lavir the Whiolet Improved Range#at_rand and added File#ext.
|
13
14
|
* Jean-Denis Vauguet Added Pathname#visit.
|
14
15
|
* Roger Pack Added generational depth to Class#descendants.
|
@@ -58,6 +59,7 @@ All of their hard work is greatly appreciated.
|
|
58
59
|
* Sean O'Halpin
|
59
60
|
* Matthew Harris
|
60
61
|
* David Heinemeier Hansson
|
62
|
+
* Ilmari Heikkinen
|
61
63
|
* Thomas-Ivo Heinen
|
62
64
|
* Dave Hoover
|
63
65
|
* Ara T. Howard
|
data/HISTORY.rdoc
CHANGED
@@ -1,24 +1,169 @@
|
|
1
1
|
= Facets Release History
|
2
2
|
|
3
|
+
== 2.9.0 / 2010-09-01
|
4
|
+
|
5
|
+
This release is fairly extensive as it was originally intended to be v3.0.
|
6
|
+
After further consideration it was decided to reserve v3.0 for the
|
7
|
+
polish of real world feedback and more progressive changes. The primary
|
8
|
+
focus of this release has been the completion of migrating Facets into a true
|
9
|
+
extensions library. With this release almost all add-on classes and mixins
|
10
|
+
have now been spun-off to other projects. Only the most general purposes
|
11
|
+
add-on classes and mixins remain.
|
12
|
+
|
13
|
+
A new TOUR library division has also been added to complement CORE and MORE.
|
14
|
+
This division houses purely optional extensions. The new division serves
|
15
|
+
a couple of useful purposes. In particular, it helps separates the standard
|
16
|
+
library extensions from optional core extension in the RDocs and thus makes
|
17
|
+
the perfect place to vet new extension ideas.
|
18
|
+
|
19
|
+
One important change that will effect anyone using Facets along side
|
20
|
+
ActiveSupport is that Facets no longer tries to conditionally avoid
|
21
|
+
method overlaps with ActiveSupport. This is fine for the upcoming
|
22
|
+
ActiveSupport 3.0 library which extends core classes directly instead of
|
23
|
+
using mixins. One need only require 'facets' in the Rails config/preinitializer.rb
|
24
|
+
file and ActiveSupport will take precedence over Facets. For older versions
|
25
|
+
of ActiveSupport, the best approach is to cherry pick from Facets just the
|
26
|
+
extensions you want, thus avoiding any conflicts. There are actually only a
|
27
|
+
dozen or so overlaps and all are intended to compatible, but it doesn't hurt
|
28
|
+
to be sure.
|
29
|
+
|
30
|
+
Changes:
|
31
|
+
|
32
|
+
* New Features
|
33
|
+
|
34
|
+
* Add Kernel#temporarily, set variables temporarily and eval block
|
35
|
+
* Add Kernel#deep_clone, a better alternative to #deep_copy
|
36
|
+
* Add Kernel#present? and Kernel#presence
|
37
|
+
* Add Kernel#not and #not?
|
38
|
+
* Add Array#extract_options!, for pulling options off argument list
|
39
|
+
* Add Regexp#|, operator for Regexp#union
|
40
|
+
* Add Array#percentile and Array#median
|
41
|
+
* Add Module#memo, for instance level memoization
|
42
|
+
* Add YAML.read method
|
43
|
+
* Add Pathname#include?
|
44
|
+
* Add Module#anonymous?
|
45
|
+
* Add Module#copy_inheritor
|
46
|
+
* Add Indexable#from and Indexable#upto
|
47
|
+
* Add Array#from and Array#upto
|
48
|
+
* Add NA class via na.rb
|
49
|
+
* Add Memoizable in memoizable.rb for a more robust memoization system
|
50
|
+
* Add Module#safe_memo in thread.rb for thread safe memoization
|
51
|
+
|
52
|
+
* Deprecations
|
53
|
+
|
54
|
+
* Deprecate Module#attr_toggler as a YAGNI
|
55
|
+
* Deprecate Kernel#class_eval b/c of it's confusing behavior
|
56
|
+
* Deprecate Module#once is no longer an alias for #memoize
|
57
|
+
* Deprecate Integer#succ(n) (for compatibility reasons)
|
58
|
+
* Deprecate Stackable, it's method were moved to CORE
|
59
|
+
* Deprecate Kernel#populate and #set_from (use #assign and #assign_from)
|
60
|
+
* Deprecate Kernel#non_nil? since #not_nil? is enough
|
61
|
+
* Deprecate #__HERE__ b/c implementation was unreliable
|
62
|
+
* Deprecate Array#upto and Indexable#upto, use #thru instead
|
63
|
+
* Deprecate Time#since, use #ago instead
|
64
|
+
* Deprecate Time#advance, use #in instead TODO
|
65
|
+
* Deprecate Kernel#super_as (no good way to get callers method name)
|
66
|
+
* Deprecate Integer#clear_bit, use #bit_clear instead
|
67
|
+
* Deprecate Kernel#resc, use String#to_re or #to_rx instead
|
68
|
+
* Deprecate Module#modspace
|
69
|
+
* Deprecate Kernel#__ and class X for Proc#partial, use NA instead
|
70
|
+
* Deprecate autoreload.rb has been spun-off to a separate project
|
71
|
+
* Deprecate Module#nesting, b/c redundant and overlap with Module.nesting
|
72
|
+
|
73
|
+
* Renamed Features
|
74
|
+
|
75
|
+
* Rename Module#parent to Module#enclosure
|
76
|
+
* Rename Module#parents to Module#enclosures
|
77
|
+
* Rename Module#parent_name to Module#modname
|
78
|
+
* Rename Array#recurisvely to Array#recurse
|
79
|
+
* Rename Hash#recurisvely to Hash#recurse
|
80
|
+
* Rename Enumerable#recursive to Enumerable#recursively
|
81
|
+
* Rename Array#recursive to Array#recursively
|
82
|
+
* Rename Hash#recursive to Hash#recursively
|
83
|
+
* Rename Kernel#silence_warnings to Kernel#disable_warnings
|
84
|
+
* Rename Hash#recursive_merge to Hash#deep_merge
|
85
|
+
* Rename Class#prepend to Class#preallocate
|
86
|
+
* Rename File#atomic_write to FileUtils#atomic_write
|
87
|
+
* Rename Module#conflict to Module#method_clash
|
88
|
+
* Rename Class#inheritor to Module#class_inheritor
|
89
|
+
* Rename Symbol#re_s to Symbol#as_s
|
90
|
+
* Rename String#chars to String#characters
|
91
|
+
* Rename String#outdent to String#unindent
|
92
|
+
* Rename Time#round to Time#round_to
|
93
|
+
|
94
|
+
* Moved Libraries
|
95
|
+
|
96
|
+
* Move roman.rb to integer/roman and string/roman.rb
|
97
|
+
* Move blank.rb to kernel/blank.rb
|
98
|
+
* Move facets-live.rb to facets/auto_core.rb
|
99
|
+
* Move cattr.rb to MORE library
|
100
|
+
* Move duplicable.rb to kernel/dup.rb
|
101
|
+
* Move bitmask.rb to integer/bitmask.rb
|
102
|
+
* Move enumerable/divide.rb to array/divide.rb
|
103
|
+
* Move enumerable/split.rb to array/split.rb
|
104
|
+
* Move enumerable/entropy.rb to array/entropy.rb
|
105
|
+
* Move enumerable/probability.rb to array/probability.rb
|
106
|
+
* Move enumerable/duplicates.rb array/duplicates.rb
|
107
|
+
* Move module/enclosure.rb to optional TOUR libs
|
108
|
+
* Move kernel/instance_exec to option TOUR libs
|
109
|
+
|
110
|
+
* Bug Fixes
|
111
|
+
|
112
|
+
* Fix Fixed Hash#rekey! from clobbering previous keys
|
113
|
+
* Fix Exception#raised? is a class method
|
114
|
+
* Fix Enumerator#fx should use #map instead of #each
|
115
|
+
* Fix String#splice needs String#store
|
116
|
+
* Fix Kernel#blank? empty condition was faulty
|
117
|
+
* Fix Comparable#bound needs clip.rb, not cap.rb
|
118
|
+
* Fix String#file needs to pass block
|
119
|
+
* Fix String#edit_distance use new encodings for Ruby 1.9
|
120
|
+
|
121
|
+
* Improved Features
|
122
|
+
|
123
|
+
* New lib/tour division of libraries
|
124
|
+
* Module#class_extend synamically creates append_features method
|
125
|
+
* Kernel#require_all is only for relative requires
|
126
|
+
* __DIR__ can take subdirectory arguments
|
127
|
+
* Hash#join has more sensible default separator (' ')
|
128
|
+
* A few OpEsc escapes have been renamed
|
129
|
+
* Kernel#assign does not accept a block
|
130
|
+
* Kernel#try is like ActiveSupport version
|
131
|
+
* Improved #respond (which is like old #try)
|
132
|
+
* Remove all `if defined?(ActiveSupport)`
|
133
|
+
* Use #random_range to support specialized Range#at_rand functionality
|
134
|
+
* Use Comparable.[] instead of Comparable()
|
135
|
+
* Array#rotate rotates in opposite direction than before (b/c or Ruby 1.9)
|
136
|
+
|
137
|
+
|
3
138
|
== 2.8.4 / 2010-04-27
|
4
139
|
|
5
|
-
|
6
|
-
|
7
|
-
ObjectSpace as a class rather than a modules.
|
140
|
+
A minor point release just to get a few improvements out there before
|
141
|
+
endeavering into more extensive work for the next major release.
|
8
142
|
|
9
|
-
|
143
|
+
* New Features
|
10
144
|
|
11
|
-
*
|
145
|
+
* Added #glob_relative to Pathname
|
12
146
|
|
13
|
-
|
147
|
+
* Deprecations
|
14
148
|
|
15
|
-
*
|
149
|
+
* Deprecated BlankSlate (use BasicObject)
|
150
|
+
* Deprecate hashbuilder.rb
|
151
|
+
* Removed casting_hash.rb, moved to new library
|
152
|
+
* Removed opencollection.rb, moved to new library
|
153
|
+
* Removed ansicode.rb, use ansi gem
|
154
|
+
|
155
|
+
* Bug Fixes
|
156
|
+
|
157
|
+
* changed Numeric#length to return self, not to_s.self
|
158
|
+
* Fix mispelling of Class#descendants
|
159
|
+
|
160
|
+
* Other Improvements
|
16
161
|
|
17
|
-
*
|
18
|
-
*
|
19
|
-
*
|
20
|
-
*
|
21
|
-
*
|
162
|
+
* Range#at_rand has been optimized
|
163
|
+
* Kernel#singleton_class no longer can take a block
|
164
|
+
* Hash#to_proc takes response argument replacing #to_proc_with_response
|
165
|
+
* OpenHash becomes more like OpenObject and OpenObject becomes bare bones
|
166
|
+
* Range#at_rand optimized for Fixnum/Bignum instead of Integer
|
22
167
|
|
23
168
|
|
24
169
|
== 2.8.3 / 2010-04-10
|
@@ -45,8 +190,8 @@ Changes:
|
|
45
190
|
|
46
191
|
* 3 Core Extensions Renamed
|
47
192
|
|
48
|
-
*
|
49
|
-
*
|
193
|
+
* Renamed #set_from to #assign_from (alias remains until Kernel#set is considerd).
|
194
|
+
* Renamed #populate to #assign and improve.
|
50
195
|
* Kernel#instance_vars is now Kernel#instance and also more useful.
|
51
196
|
|
52
197
|
* 1 Core Deprecation
|
@@ -79,7 +224,7 @@ Changes:
|
|
79
224
|
* plugin_manager.rb has been removed. Use 'plugin' gem instead.
|
80
225
|
|
81
226
|
|
82
|
-
== 2.8.2 /
|
227
|
+
== 2.8.2 / 2010-02-22
|
83
228
|
|
84
229
|
This release fixes a bug by removing Numeric#size. Turns out that was a
|
85
230
|
core method already. It includes an "auditing" of the core enumerable
|
@@ -506,8 +651,8 @@ Changes:
|
|
506
651
|
|
507
652
|
Facets 2.4.5 is a maintaince release. This release is notable however in that
|
508
653
|
it will likely be the last that to use SVN. Facets will be switching to Git.
|
509
|
-
Also, some libraries that have been flagged "to be deprecated" for some time
|
510
|
-
finally be so.
|
654
|
+
Also, some libraries that have been flagged "to be deprecated" for some time
|
655
|
+
will finally be so.
|
511
656
|
|
512
657
|
Changes:
|
513
658
|
|
@@ -641,40 +786,50 @@ This release give special thanks to the following people for their contributions
|
|
641
786
|
|
642
787
|
And of course, to anyone else I failed to mention that has contributed.
|
643
788
|
|
789
|
+
(NOTE: 2.4.3's changes may actually be long to 2.4.2. Notice the releases are
|
790
|
+
only two days apart. There was an issue with 2.4.2 and it had to be replaced
|
791
|
+
immediately. So take the distinct with a grain of salt.)
|
792
|
+
|
644
793
|
Changes:
|
645
794
|
|
795
|
+
* Additions
|
796
|
+
|
797
|
+
* Add Time#trunc and Time#round to Core.
|
798
|
+
* Add Array#recursively and fixed bug in Hash#recursively.
|
799
|
+
* Add Kernel#instance method which provides a fluent interface to private object space.
|
800
|
+
* Add Symbol#plain?, Symbol#query? and Symbol#setter?
|
801
|
+
* Add Hash#symbolize_keys and #stringify_keys.
|
802
|
+
* Add File#split_root.
|
803
|
+
* Add #glob and #glob_first as extensions to Pathname.
|
804
|
+
* Add NilClass#ergo whic points back to kernel/ergo.
|
805
|
+
* Add #bump method to VersionNumber class.
|
806
|
+
* Add String#mask providing powerful string manipulation.
|
807
|
+
* Add Ken Bloom's DictionaryMatcher class (will be renamed in future version)
|
808
|
+
|
809
|
+
* Deprecations
|
810
|
+
|
811
|
+
* Deprecate Hash#keys_to_s and Hash#keys_to_sym.
|
812
|
+
* These are the original versions of these methods.
|
813
|
+
* But now we can use #rekey(:to_s) and #rekey(:to_sym) instead.
|
814
|
+
* Deprecat ruby.rb, which was a sort 1.9 compatibility layer.
|
815
|
+
|
646
816
|
* 22 Major Enhancements
|
647
817
|
|
648
818
|
* Changed File#rewrite to not use the in-place change of the string.
|
649
|
-
* Deprecate Hash#keys_to_s and Hash#keys_to_sym.
|
650
819
|
* Renamed Class#to_pathname and #to_methodname to #pathize and #methodize.
|
651
|
-
*
|
652
|
-
* Added Time#trunc and Time#round to Core.
|
653
|
-
* Added Ken Bloom's DictionaryMatcher class (will be renamed in future version)
|
654
|
-
* Added Array#recursively and fixed bug in Hash#recursively.
|
655
|
-
* Added kernel/instance method which provides a fluent interface to private object space.
|
820
|
+
* Removed Console:: namespace for ANSICode.
|
656
821
|
* Moved Mentalguy's lazy.rb to core!
|
657
822
|
* Added Indexable and Stackable to core.
|
658
|
-
* Deprecated ruby.rb, which was a sort 1.9 compatibility layer.
|
659
|
-
* The ruby.rb methods were moved to core, wrapped in a 1.9 condition.
|
660
823
|
* BasicObject is now just a synonm for BlankSlate unless Ruby 1.9. [major]
|
661
824
|
* Moved Indexable and Stackable to core.
|
662
|
-
* Deprecated Console:: namespace for ANSICode.
|
663
|
-
* Added Symbol#plain?, Symbol#query? and Symbol#setter? [major]
|
664
|
-
* Deprecate Hash#keys_to_s and Hash#keys_to_sym.
|
665
|
-
* These are the original versions of these methods.
|
666
|
-
* But now we can use #rekey(:to_s) and #rekey(:to_sym) instead.
|
667
825
|
* Renamed arguments.rb and CLI::Arguments to argvector.rb and Argvector.
|
668
826
|
* Added optional argument to Dictionary#first and #last.
|
669
827
|
* Moved binding/opvars from core to more.
|
670
|
-
* Added hash/symbolize_keys and stringify_keys.
|
671
|
-
* Added file/split_root.
|
672
828
|
|
673
|
-
*
|
829
|
+
* 19 Minor Enhancements
|
674
830
|
|
675
831
|
* Improved File#rootname --it is now more robust.
|
676
832
|
* Made FileUtils#whereis a module_function again.
|
677
|
-
* While not perceptible to an end user, there are now 3 divisions: lib/core, lib/lore, lib/more.
|
678
833
|
* Created Lore library to house extensions to Ruby's standard library.
|
679
834
|
* Re-added facets class files (eg. facets/string) and are now dynamic.
|
680
835
|
* Added block to Array#index.
|
@@ -683,17 +838,11 @@ Changes:
|
|
683
838
|
* Added Jim Weirich's BlankSlate class.
|
684
839
|
* This is a temporary measure be compatible w/ AcitveSupport's BasicObject.
|
685
840
|
* Split kernel/load.rb into require_all.rb and require_local.rb.
|
686
|
-
* Modified script/test to display $LOAD_PATH before running tests.
|
687
841
|
* Split module/alias.rb up into alias_accessor, alias_module_function and alias_method_chain.
|
688
|
-
* Added #bump method to VersionNumber class.
|
689
|
-
* Module#instance_method_defined? now only applies to public methods. [minor]
|
690
842
|
* Renamed string/subtract to string/op_sub.
|
691
843
|
Old name will remain for time being for compatability. [minor]
|
692
|
-
* Added #glob and #glob_first as extensions to Pathname.
|
693
844
|
* Moved style.rb to string/stylize.rb [minor]
|
694
|
-
* Added string/mask providing powerful string manipulation. [major]
|
695
845
|
* Added warning to bytes to use RichUnits instead.
|
696
|
-
* Added niclass/ergo whic points back to kernel/ergo.
|
697
846
|
* Updated warn line fore eventual deprecation of fileshell and arguments.*
|
698
847
|
* Added facets-load.rb to allow old school cherry picking.*
|
699
848
|
* Between 2.0 and 2.4 require 'facets' simply added core to LOAD_PATH.
|
@@ -704,13 +853,18 @@ Changes:
|
|
704
853
|
require 'symbol/to_proc'
|
705
854
|
* This adds the path to the end of LOAD_PATH to prevent any load conflicts.
|
706
855
|
|
707
|
-
*
|
856
|
+
* 5 Bug Fixes
|
708
857
|
|
709
858
|
* Fixed Time#hence changed years when changing months.
|
710
859
|
* Fixed Time#hence to flip year correctly when adding months.
|
711
860
|
* Hash#<< returns self
|
712
|
-
* Fixed
|
861
|
+
* Fixed String#pathize.
|
862
|
+
* Module#instance_method_defined? now only applies to public methods.
|
713
863
|
|
864
|
+
* Administrative Enhancements
|
865
|
+
|
866
|
+
* While not perceptible to an end user, there are now 3 divisions: lib/core, lib/lore, lib/more.
|
867
|
+
* Modified script/test to display $LOAD_PATH before running tests.
|
714
868
|
|
715
869
|
== 2.4.2 / 2008-08-12
|
716
870
|
|
@@ -1056,12 +1210,16 @@ Changes:
|
|
1056
1210
|
|
1057
1211
|
== 2.1.3 / 2007-11-28
|
1058
1212
|
|
1213
|
+
This release fixes four bugs --one being fairly serious, as it prevented
|
1214
|
+
require 'facets' from working at all.
|
1215
|
+
|
1059
1216
|
Changes:
|
1060
1217
|
|
1061
|
-
|
1062
|
-
|
1063
|
-
*
|
1064
|
-
* Fixed
|
1218
|
+
* 4 Bug Fixes
|
1219
|
+
|
1220
|
+
* Fixed oddity in Enumerable/collate.
|
1221
|
+
* Fixed issue that prevented loading of facets.rb.
|
1222
|
+
* Array#to_h used flatten, but it needed to be flatten(1).
|
1065
1223
|
* Move core/main.rb back to core/facets.rb as it conflicts with lib in more/.
|
1066
1224
|
|
1067
1225
|
|
@@ -1074,6 +1232,7 @@ Changes:
|
|
1074
1232
|
* Added copyright notice to COPYING file.
|
1075
1233
|
* Renamed LICENSE to COPYING according to offical GPL policy.
|
1076
1234
|
* Added exception#details.
|
1235
|
+
* Improved task/changes.
|
1077
1236
|
|
1078
1237
|
|
1079
1238
|
== 2.1.1 / 2007-11-16
|
@@ -1160,13 +1319,23 @@ Changes:
|
|
1160
1319
|
|
1161
1320
|
== 2.0.5 / 2007-11-07
|
1162
1321
|
|
1322
|
+
Minor release that fixes a couple of bugs and adds the last of adopted
|
1323
|
+
methods from Gavin Sinclair's Extensions project.
|
1324
|
+
|
1163
1325
|
Changes:
|
1164
1326
|
|
1327
|
+
* Additions
|
1328
|
+
|
1165
1329
|
* Added final methods Gavin Sinclair's Extensions project (contributed by Noah Gibbs).
|
1330
|
+
|
1331
|
+
* 1 General Improvement
|
1332
|
+
|
1333
|
+
* Made #alias_method_chain compatible with current ActiveSupport version.
|
1334
|
+
|
1335
|
+
* 2 Bug Fixes
|
1336
|
+
|
1166
1337
|
* Fixes bug with Dictionary#initialize
|
1167
1338
|
* Fixes bug with Hash#-
|
1168
|
-
* Also improves changelog production.
|
1169
|
-
* Made #alias_method_chain compatible with current ActiveSupport version.
|
1170
1339
|
|
1171
1340
|
|
1172
1341
|
== 2.0.4 / 2007-11-04
|
@@ -2275,9 +2444,7 @@ Changes:
|
|
2275
2444
|
* Fixed bug with string/capitalized? which wasn't always giving the correct result.
|
2276
2445
|
|
2277
2446
|
|
2278
|
-
== 0.7.2
|
2279
|
-
|
2280
|
-
George II
|
2447
|
+
== 0.7.2 | 2005-05-22 | George II
|
2281
2448
|
|
2282
2449
|
Changes:
|
2283
2450
|
|
@@ -2286,9 +2453,7 @@ Changes:
|
|
2286
2453
|
* Changed array/permute to array/each_permutation.
|
2287
2454
|
|
2288
2455
|
|
2289
|
-
== 0.7.1
|
2290
|
-
|
2291
|
-
Quick George
|
2456
|
+
== 0.7.1 | Quick George
|
2292
2457
|
|
2293
2458
|
Changes:
|
2294
2459
|
|
@@ -2298,9 +2463,7 @@ Changes:
|
|
2298
2463
|
These will see a great deal of continued improvement in the future.
|
2299
2464
|
|
2300
2465
|
|
2301
|
-
== 0.7.0
|
2302
|
-
|
2303
|
-
Georgian Transform
|
2466
|
+
== 0.7.0 | Georgian Transform
|
2304
2467
|
|
2305
2468
|
Changes:
|
2306
2469
|
|
@@ -2319,9 +2482,7 @@ Changes:
|
|
2319
2482
|
* Added array/permute.
|
2320
2483
|
|
2321
2484
|
|
2322
|
-
== 0.6.3
|
2323
|
-
|
2324
|
-
Gemstone
|
2485
|
+
== 0.6.3 | Gemstone
|
2325
2486
|
|
2326
2487
|
Changes:
|
2327
2488
|
|
@@ -2342,9 +2503,7 @@ Changes:
|
|
2342
2503
|
* Added array/last_index. (Thanks goes to Jabari)
|
2343
2504
|
|
2344
2505
|
|
2345
|
-
== 0.6.2
|
2346
|
-
|
2347
|
-
Refinement I
|
2506
|
+
== 0.6.2 | Refinement I
|
2348
2507
|
|
2349
2508
|
Changes:
|
2350
2509
|
|
@@ -2368,9 +2527,7 @@ Changes:
|
|
2368
2527
|
* Added string/shatter which is similar to split but includes
|
2369
2528
|
the matched portions of text.
|
2370
2529
|
|
2371
|
-
== 0.6.1
|
2372
|
-
|
2373
|
-
Florian's Mixes
|
2530
|
+
== 0.6.1 | Florian's Mixes
|
2374
2531
|
|
2375
2532
|
Changes:
|
2376
2533
|
|
@@ -2378,9 +2535,7 @@ Changes:
|
|
2378
2535
|
version 0.5.0. (2004-12-31)
|
2379
2536
|
|
2380
2537
|
|
2381
|
-
== 0.6.0
|
2382
|
-
|
2383
|
-
Florian's Onslaught
|
2538
|
+
== 0.6.0 | Florian's Onslaught
|
2384
2539
|
|
2385
2540
|
Changes:
|
2386
2541
|
|
@@ -2388,9 +2543,7 @@ Changes:
|
|
2388
2543
|
* First general public release.
|
2389
2544
|
|
2390
2545
|
|
2391
|
-
== 0.5.0
|
2392
|
-
|
2393
|
-
Fit for First
|
2546
|
+
== 0.5.0 | Fit for First
|
2394
2547
|
|
2395
2548
|
Changes:
|
2396
2549
|
|
@@ -2399,9 +2552,7 @@ Changes:
|
|
2399
2552
|
* Changed layout to be completely atomic! (2004-10-30)
|
2400
2553
|
|
2401
2554
|
|
2402
|
-
== 0.4.0
|
2403
|
-
|
2404
|
-
Raspberry
|
2555
|
+
== 0.4.0 | Raspberry
|
2405
2556
|
|
2406
2557
|
Changes:
|
2407
2558
|
|
@@ -2414,9 +2565,7 @@ Changes:
|
|
2414
2565
|
* Removed services.rb unitl in gets fixed and a better name.
|
2415
2566
|
|
2416
2567
|
|
2417
|
-
== 0.3.3
|
2418
|
-
|
2419
|
-
Mega2
|
2568
|
+
== 0.3.3 | Mega2
|
2420
2569
|
|
2421
2570
|
Changes:
|
2422
2571
|
|
@@ -2425,9 +2574,7 @@ Changes:
|
|
2425
2574
|
methods esspecially. It is built on top of inheritable.rb.
|
2426
2575
|
|
2427
2576
|
|
2428
|
-
== 0.3.2
|
2429
|
-
|
2430
|
-
Mega
|
2577
|
+
== 0.3.2 | Mega
|
2431
2578
|
|
2432
2579
|
Changes:
|
2433
2580
|
|
@@ -2442,9 +2589,7 @@ Changes:
|
|
2442
2589
|
* Added #strfbits and #strfbytes to binary_multiplers.rb.
|
2443
2590
|
|
2444
2591
|
|
2445
|
-
== 0.3.0
|
2446
|
-
|
2447
|
-
ABC
|
2592
|
+
== 0.3.0 | ABC
|
2448
2593
|
|
2449
2594
|
Changes:
|
2450
2595
|
|
@@ -2461,9 +2606,7 @@ Changes:
|
|
2461
2606
|
module, and thus placed here.
|
2462
2607
|
|
2463
2608
|
|
2464
|
-
== 0.2.0
|
2465
|
-
|
2466
|
-
Succ
|
2609
|
+
== 0.2.0 | Succ
|
2467
2610
|
|
2468
2611
|
Changes:
|
2469
2612
|
|
@@ -2472,20 +2615,16 @@ Changes:
|
|
2472
2615
|
* Initial public release
|
2473
2616
|
|
2474
2617
|
|
2475
|
-
== 0.1.0
|
2476
|
-
|
2477
|
-
Carats
|
2618
|
+
== 0.1.0 | Carats
|
2478
2619
|
|
2479
2620
|
Changes:
|
2480
2621
|
|
2481
2622
|
* Early Development as Ruby Carats
|
2482
2623
|
|
2483
2624
|
|
2484
|
-
== 0.0.0
|
2485
|
-
|
2486
|
-
TomsLib
|
2625
|
+
== 0.0.0 | 2002-07-01 | TomsLib
|
2487
2626
|
|
2488
2627
|
Changes:
|
2489
2628
|
|
2490
|
-
* Tomslib's just a few useful methods.
|
2629
|
+
* Tomslib's just a few useful methods.
|
2491
2630
|
|