facets 1.8.8 → 1.8.20
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.
- data/{doc/COPYING → COPYING} +0 -0
- data/PROJECT +18 -11
- data/README +8 -14
- data/Rakefile +3 -7
- data/VERSION +1 -1
- data/doc/AUTHORS +6 -1
- data/doc/{HISTORY.txt → ChangeLog} +96 -0
- data/doc/{HISTORY.1 → History} +0 -0
- data/lib/facet/array/pad.rb +1 -0
- data/lib/facet/dir/self/multiglob_r.rb +1 -0
- data/lib/facet/dir/self/multiglob_with_default.rb +1 -0
- data/lib/facet/string/capitalize_all.rb +1 -0
- data/lib/facet/string/cleave.rb +1 -0
- data/lib/facets/core/array/pad.rb +76 -0
- data/lib/facets/core/dir/self/ls_r.rb +2 -3
- data/lib/facets/core/dir/self/multiglob.rb +90 -12
- data/lib/facets/core/dir/self/{multiglob_recurse.rb → multiglob_r.rb} +1 -1
- data/lib/facets/core/dir/self/multiglob_with_default.rb +3 -0
- data/lib/facets/core/enumerable/accumulate.rb +1 -3
- data/lib/facets/core/enumerable/cart.rb +28 -53
- data/lib/facets/core/enumerable/graph.rb +1 -4
- data/lib/facets/core/enumerable/self/cart.rb +5 -117
- data/lib/facets/core/enumerable/self/cartesian_product.rb +3 -3
- data/lib/facets/core/file/self/create.rb +1 -3
- data/lib/facets/core/hash/rekey.rb +1 -5
- data/lib/facets/core/kernel/ask.rb +2 -2
- data/lib/facets/core/kernel/autoreload.rb +3 -5
- data/lib/facets/core/module/attr_tester.rb +40 -12
- data/lib/facets/core/module/on_included.rb +1 -3
- data/lib/facets/core/nilclass/op_cmp.rb +2 -1
- data/lib/facets/core/string/capitalize_all.rb +30 -0
- data/lib/facets/core/string/capitalized.rb +2 -4
- data/lib/facets/core/string/cleave.rb +66 -0
- data/lib/facets/core/symbol/self/generate.rb +5 -4
- data/lib/facets/core/symbol/to_s.rb +3 -1
- data/lib/facets/more/aspects.rb +4 -8
- data/lib/facets/more/expirable.rb +2 -2
- data/lib/facets/more/lrucache.rb +173 -173
- data/lib/facets/more/openobject.rb +1 -1
- data/lib/facets/more/pool.rb +2 -2
- data/lib/facets/more/syncarray.rb +3 -3
- data/lib/facets/more/synchash.rb +3 -3
- data/lib/facets/more/uploadutils.rb +14 -16
- data/lib/facets/yore/enumerable/cross.rb +117 -0
- data/test/lib/facets/core/array/test_at_rand.rb +34 -0
- data/test/lib/facets/core/array/test_delete_unless.rb +28 -0
- data/test/lib/facets/core/array/test_delete_values.rb +28 -0
- data/test/lib/facets/core/array/test_delete_values_at.rb +31 -0
- data/test/lib/facets/core/array/test_first.rb +46 -0
- data/test/lib/facets/core/array/test_head.rb +42 -0
- data/test/lib/facets/core/array/test_last_index.rb +26 -0
- data/test/lib/facets/core/array/test_merge.rb +35 -0
- data/test/lib/facets/core/array/test_mid.rb +33 -0
- data/test/lib/facets/core/array/test_middle.rb +29 -0
- data/test/lib/facets/core/array/test_op_fetch.rb +35 -0
- data/test/lib/facets/core/array/test_pad.rb +48 -0
- data/test/lib/facets/core/array/test_pick.rb +40 -0
- data/test/lib/facets/core/array/test_pos.rb +28 -0
- data/test/lib/facets/core/array/test_pot.rb +28 -0
- data/test/lib/facets/core/array/test_pull.rb +28 -0
- data/test/lib/facets/core/array/test_rand_index.rb +29 -0
- data/test/lib/facets/core/array/test_rand_subset.rb +29 -0
- data/test/lib/facets/core/array/test_range.rb +32 -0
- data/test/lib/facets/core/array/test_rotate.rb +36 -0
- data/test/lib/facets/core/array/test_select.rb +28 -0
- data/test/lib/facets/core/array/test_shuffle.rb +35 -0
- data/test/lib/facets/core/array/test_thru.rb +27 -0
- data/test/lib/facets/core/array/test_to_b.rb +27 -0
- data/test/lib/facets/core/array/test_to_h.rb +33 -0
- data/test/lib/facets/core/array/test_to_hash.rb +27 -0
- data/test/lib/facets/core/binding/self/test_of_caller.rb +35 -0
- data/test/lib/facets/core/binding/test___LINE__.rb +43 -0
- data/test/lib/facets/core/binding/test_call_stack.rb +34 -0
- data/test/lib/facets/core/binding/test_called.rb +30 -0
- data/test/lib/facets/core/binding/test_caller.rb +35 -0
- data/test/lib/facets/core/binding/test_defined.rb +34 -0
- data/test/lib/facets/core/binding/test_eval.rb +34 -0
- data/test/lib/facets/core/binding/test_local_variables.rb +34 -0
- data/test/lib/facets/core/binding/test_method_name.rb +34 -0
- data/test/lib/facets/core/binding/test_op_fetch.rb +34 -0
- data/test/lib/facets/core/binding/test_op_store.rb +35 -0
- data/test/lib/facets/core/binding/test_self.rb +34 -0
- data/test/lib/facets/core/class/test_cattr.rb +63 -0
- data/test/lib/facets/core/class/test_descendents.rb +30 -0
- data/test/lib/facets/core/class/test_method_name.rb +26 -0
- data/test/lib/facets/core/class/test_remove_descendents.rb +32 -0
- data/test/lib/facets/core/class/test_unix_path.rb +26 -0
- data/test/lib/facets/core/comparable/test_at_least.rb +34 -0
- data/test/lib/facets/core/comparable/test_clip.rb +44 -0
- data/test/lib/facets/core/comparable/test_cmp.rb +28 -0
- data/test/lib/facets/core/continuation/self/test_create.rb +26 -0
- data/test/lib/facets/core/date/test_days_in_month.rb +30 -0
- data/test/lib/facets/core/date/test_days_of_month.rb +30 -0
- data/test/lib/facets/core/date/test_stamp.rb +38 -0
- data/test/lib/facets/core/date/test_to_date.rb +30 -0
- data/test/lib/facets/core/date/test_to_s.rb +30 -0
- data/test/lib/facets/core/date/test_to_time.rb +30 -0
- data/test/lib/facets/core/dir/self/test_ancestor.rb +26 -0
- data/test/lib/facets/core/dir/self/test_ascend.rb +41 -0
- data/test/lib/facets/core/enumerable/self/test_cart.rb +44 -0
- data/test/lib/facets/core/enumerable/self/test_combinations.rb +46 -0
- data/test/lib/facets/core/enumerable/self/test_cross.rb +31 -0
- data/test/lib/facets/core/enumerable/test_cart.rb +49 -0
- data/test/lib/facets/core/enumerable/test_collect_with_index.rb +27 -0
- data/test/lib/facets/core/enumerable/test_commonality.rb +31 -0
- data/test/lib/facets/core/enumerable/test_compact_collect.rb +27 -0
- data/test/lib/facets/core/enumerable/test_count.rb +38 -0
- data/test/lib/facets/core/enumerable/test_cross.rb +30 -0
- data/test/lib/facets/core/enumerable/test_each_by.rb +71 -0
- data/test/lib/facets/core/enumerable/test_each_combination.rb +29 -0
- data/test/lib/facets/core/enumerable/test_each_pair.rb +29 -0
- data/test/lib/facets/core/enumerable/test_each_slice.rb +57 -0
- data/test/lib/facets/core/enumerable/test_each_unique_pair.rb +29 -0
- data/test/lib/facets/core/enumerable/test_eachn.rb +34 -0
- data/test/lib/facets/core/enumerable/test_entropy.rb +26 -0
- data/test/lib/facets/core/enumerable/test_every.rb +35 -0
- data/test/lib/facets/core/enumerable/test_ew.rb +31 -0
- data/test/lib/facets/core/enumerable/test_filter_collect.rb +31 -0
- data/test/lib/facets/core/enumerable/test_find_collisions.rb +30 -0
- data/test/lib/facets/core/enumerable/test_frequency.rb +27 -0
- data/test/lib/facets/core/enumerable/test_graph.rb +30 -0
- data/test/lib/facets/core/enumerable/test_ideal_entropy.rb +27 -0
- data/test/lib/facets/core/enumerable/test_none.rb +33 -0
- data/test/lib/facets/core/enumerable/test_occur.rb +30 -0
- data/test/lib/facets/core/enumerable/test_one.rb +35 -0
- data/test/lib/facets/core/enumerable/test_op_pow.rb +27 -0
- data/test/lib/facets/core/enumerable/test_partition_by.rb +31 -0
- data/test/lib/facets/core/enumerable/test_permutation.rb +29 -0
- data/test/lib/facets/core/enumerable/test_probability.rb +27 -0
- data/test/lib/facets/core/enumerable/test_to_h.rb +27 -0
- data/test/lib/facets/core/enumerable/test_uniq_by.rb +28 -0
- data/test/lib/facets/core/file/self/test_create.rb +44 -0
- data/test/lib/facets/core/file/self/test_open_as_string.rb +50 -0
- data/test/lib/facets/core/file/self/test_read_list.rb +40 -0
- data/test/lib/facets/core/file/self/test_sanitize.rb +46 -0
- data/test/lib/facets/core/file/self/test_split_all.rb +27 -0
- data/test/lib/facets/core/float/test_round_at.rb +46 -0
- data/test/lib/facets/core/float/test_round_to.rb +46 -0
- data/test/lib/facets/core/hash/self/test_zipnew.rb +28 -0
- data/test/lib/facets/core/hash/test_alias.rb +31 -0
- data/test/lib/facets/core/hash/test_assert_has_keys.rb +27 -0
- data/test/lib/facets/core/hash/test_assert_has_only_keys.rb +27 -0
- data/test/lib/facets/core/hash/test_at.rb +28 -0
- data/test/lib/facets/core/hash/test_collate.rb +35 -0
- data/test/lib/facets/core/hash/test_each_with_index.rb +29 -0
- data/test/lib/facets/core/hash/test_each_with_key.rb +29 -0
- data/test/lib/facets/core/hash/test_graph.rb +28 -0
- data/test/lib/facets/core/hash/test_has_keys.rb +27 -0
- data/test/lib/facets/core/hash/test_has_only_keys.rb +27 -0
- data/test/lib/facets/core/hash/test_inverse.rb +30 -0
- data/test/lib/facets/core/hash/test_normalize_keys.rb +34 -0
- data/test/lib/facets/core/hash/test_op_fetch.rb +111 -0
- data/test/lib/facets/core/hash/test_op_lshift.rb +29 -0
- data/test/lib/facets/core/hash/test_rand_key.rb +27 -0
- data/test/lib/facets/core/hash/test_rand_pair.rb +27 -0
- data/test/lib/facets/core/hash/test_rand_value.rb +27 -0
- data/test/lib/facets/core/hash/test_rekey.rb +52 -0
- data/test/lib/facets/core/hash/test_replace_each.rb +29 -0
- data/test/lib/facets/core/hash/test_shuffle.rb +32 -0
- data/test/lib/facets/core/hash/test_slice.rb +27 -0
- data/test/lib/facets/core/hash/test_stringify_keys.rb +34 -0
- data/test/lib/facets/core/hash/test_swap.rb +27 -0
- data/test/lib/facets/core/hash/test_swapkey.rb +29 -0
- data/test/lib/facets/core/hash/test_symbolize_keys.rb +34 -0
- data/test/lib/facets/core/hash/test_to_h.rb +27 -0
- data/test/lib/facets/core/hash/test_to_ostruct.rb +30 -0
- data/test/lib/facets/core/hash/test_to_ostruct_recurse.rb +44 -0
- data/test/lib/facets/core/hash/test_traverse.rb +37 -0
- data/test/lib/facets/core/hash/test_update_each.rb +29 -0
- data/test/lib/facets/core/hash/test_update_keys.rb +28 -0
- data/test/lib/facets/core/hash/test_update_values.rb +28 -0
- data/test/lib/facets/core/hash/test_weave.rb +29 -0
- data/test/lib/facets/core/integer/test_factorial.rb +30 -0
- data/test/lib/facets/core/integer/test_multiple.rb +43 -0
- data/test/lib/facets/core/integer/test_of.rb +28 -0
- data/test/lib/facets/core/integer/test_ordinal.rb +29 -0
- data/test/lib/facets/core/integer/test_times_collect.rb +28 -0
- data/test/lib/facets/core/kernel/test___class__.rb +26 -0
- data/test/lib/facets/core/kernel/test_as.rb +42 -0
- data/test/lib/facets/core/kernel/test_assign_from.rb +31 -0
- data/test/lib/facets/core/kernel/test_assign_with.rb +31 -0
- data/test/lib/facets/core/kernel/test_bool.rb +41 -0
- data/test/lib/facets/core/kernel/test_bug.rb +26 -0
- data/test/lib/facets/core/kernel/test_call_stack.rb +26 -0
- data/test/lib/facets/core/kernel/test_called.rb +26 -0
- data/test/lib/facets/core/kernel/test_callee.rb +26 -0
- data/test/lib/facets/core/kernel/test_constant.rb +33 -0
- data/test/lib/facets/core/kernel/test_copy.rb +40 -0
- data/test/lib/facets/core/kernel/test_deep_copy.rb +40 -0
- data/test/lib/facets/core/kernel/test_demo.rb +28 -0
- data/test/lib/facets/core/kernel/test_fn.rb +26 -0
- data/test/lib/facets/core/kernel/test_get_by_id.rb +28 -0
- data/test/lib/facets/core/kernel/test_here.rb +26 -0
- data/test/lib/facets/core/kernel/test_in.rb +27 -0
- data/test/lib/facets/core/kernel/test_instance_class.rb +27 -0
- data/test/lib/facets/core/kernel/test_instance_exec.rb +58 -0
- data/test/lib/facets/core/kernel/test_maybe.rb +26 -0
- data/test/lib/facets/core/kernel/test_meta_class.rb +27 -0
- data/test/lib/facets/core/kernel/test_metaclass.rb +27 -0
- data/test/lib/facets/core/kernel/test_method.rb +32 -0
- data/test/lib/facets/core/kernel/test_methods.rb +50 -0
- data/test/lib/facets/core/kernel/test_new.rb +30 -0
- data/test/lib/facets/core/kernel/test_object_class.rb +26 -0
- data/test/lib/facets/core/kernel/test_object_hexid.rb +27 -0
- data/test/lib/facets/core/kernel/test_qua_class.rb +27 -0
- data/test/lib/facets/core/kernel/test_require_all.rb +26 -0
- data/test/lib/facets/core/kernel/test_require_esc.rb +27 -0
- data/test/lib/facets/core/kernel/test_resc.rb +27 -0
- data/test/lib/facets/core/kernel/test_send_as.rb +26 -0
- data/test/lib/facets/core/kernel/test_set_from.rb +33 -0
- data/test/lib/facets/core/kernel/test_set_with.rb +42 -0
- data/test/lib/facets/core/kernel/test_silently.rb +28 -0
- data/test/lib/facets/core/kernel/test_singleton.rb +40 -0
- data/test/lib/facets/core/kernel/test_singleton_class.rb +27 -0
- data/test/lib/facets/core/kernel/test_super_at.rb +30 -0
- data/test/lib/facets/core/kernel/test_supermethod.rb +33 -0
- data/test/lib/facets/core/kernel/test_this.rb +26 -0
- data/test/lib/facets/core/kernel/test_to_b.rb +28 -0
- data/test/lib/facets/core/kernel/test_to_bool.rb +28 -0
- data/test/lib/facets/core/kernel/test_to_data.rb +59 -0
- data/test/lib/facets/core/kernel/test_uri.rb +30 -0
- data/test/lib/facets/core/kernel/test_val.rb +43 -0
- data/test/lib/facets/core/kernel/test_with.rb +30 -0
- data/test/lib/facets/core/kernel/test_with_accessor.rb +51 -0
- data/test/lib/facets/core/matchdata/test_match.rb +29 -0
- data/test/lib/facets/core/matchdata/test_matchtree.rb +37 -0
- data/test/lib/facets/core/module/self/test_op_add.rb +48 -0
- data/test/lib/facets/core/module/test_abstract.rb +36 -0
- data/test/lib/facets/core/module/test_alias_method_chain.rb +44 -0
- data/test/lib/facets/core/module/test_alias_module_function.rb +34 -0
- data/test/lib/facets/core/module/test_ancestor.rb +26 -0
- data/test/lib/facets/core/module/test_attr_tester.rb +39 -0
- data/test/lib/facets/core/module/test_basename.rb +26 -0
- data/test/lib/facets/core/module/test_by_name.rb +29 -0
- data/test/lib/facets/core/module/test_class_extension.rb +70 -0
- data/test/lib/facets/core/module/test_clone_using.rb +55 -0
- data/test/lib/facets/core/module/test_dirname.rb +26 -0
- data/test/lib/facets/core/module/test_equate_on.rb +37 -0
- data/test/lib/facets/core/module/test_include_as.rb +45 -0
- data/test/lib/facets/core/module/test_initializer.rb +32 -0
- data/test/lib/facets/core/module/test_instance_methods.rb +59 -0
- data/test/lib/facets/core/module/test_integrate.rb +35 -0
- data/test/lib/facets/core/module/test_memoize.rb +50 -0
- data/test/lib/facets/core/module/test_modspace.rb +27 -0
- data/test/lib/facets/core/module/test_namespace.rb +66 -0
- data/test/lib/facets/core/module/test_nesting.rb +36 -0
- data/test/lib/facets/core/module/test_new.rb +34 -0
- data/test/lib/facets/core/module/test_nodef.rb +30 -0
- data/test/lib/facets/core/module/test_on_included.rb +36 -0
- data/test/lib/facets/core/module/test_redef.rb +30 -0
- data/test/lib/facets/core/module/test_redefine_method.rb +30 -0
- data/test/lib/facets/core/module/test_redirect.rb +30 -0
- data/test/lib/facets/core/module/test_redirect_method.rb +30 -0
- data/test/lib/facets/core/module/test_remove.rb +30 -0
- data/test/lib/facets/core/module/test_rename.rb +31 -0
- data/test/lib/facets/core/module/test_rename_method.rb +31 -0
- data/test/lib/facets/core/module/test_revisal.rb +35 -0
- data/test/lib/facets/core/module/test_shadow_method.rb +30 -0
- data/test/lib/facets/core/module/test_sort_on.rb +42 -0
- data/test/lib/facets/core/module/test_this.rb +31 -0
- data/test/lib/facets/core/module/test_wrap.rb +30 -0
- data/test/lib/facets/core/module/test_wrap_method.rb +30 -0
- data/test/lib/facets/core/nilclass/test_blank.rb +26 -0
- data/test/lib/facets/core/nilclass/test_empty.rb +26 -0
- data/test/lib/facets/core/nilclass/test_include.rb +26 -0
- data/test/lib/facets/core/nilclass/test_op_fetch.rb +28 -0
- data/test/lib/facets/core/nilclass/test_size.rb +30 -0
- data/test/lib/facets/core/nilclass/test_to_h.rb +26 -0
- data/test/lib/facets/core/numeric/test_approx.rb +29 -0
- data/test/lib/facets/core/numeric/test_ceil_multiple.rb +31 -0
- data/test/lib/facets/core/numeric/test_distance.rb +28 -0
- data/test/lib/facets/core/numeric/test_succ.rb +40 -0
- data/test/lib/facets/core/numeric/test_to_b.rb +27 -0
- data/test/lib/facets/core/ostruct/test___update__.rb +45 -0
- data/test/lib/facets/core/ostruct/test_instance_delegate.rb +34 -0
- data/test/lib/facets/core/ostruct/test_op_fetch.rb +33 -0
- data/test/lib/facets/core/proc/test_compose.rb +29 -0
- data/test/lib/facets/core/proc/test_op_mul.rb +34 -0
- data/test/lib/facets/core/proc/test_to_method.rb +44 -0
- data/test/lib/facets/core/range/test_to_r.rb +27 -0
- data/test/lib/facets/core/range/test_to_range.rb +27 -0
- data/test/lib/facets/core/range/test_umbrella.rb +34 -0
- data/test/lib/facets/core/range/test_within.rb +29 -0
- data/test/lib/facets/core/regexp/test_arity.rb +33 -0
- data/test/lib/facets/core/regexp/test_to_re.rb +27 -0
- data/test/lib/facets/core/regexp/test_to_regexp.rb +27 -0
- data/test/lib/facets/core/string/self/test_interpolate.rb +27 -0
- data/test/lib/facets/core/string/self/test_patterns.rb +28 -0
- data/test/lib/facets/core/string/self/test_rand_letter.rb +26 -0
- data/test/lib/facets/core/string/test_align_center.rb +34 -0
- data/test/lib/facets/core/string/test_at_rand.rb +35 -0
- data/test/lib/facets/core/string/test_basename.rb +41 -0
- data/test/lib/facets/core/string/test_blank.rb +27 -0
- data/test/lib/facets/core/string/test_bracket.rb +49 -0
- data/test/lib/facets/core/string/test_camelcase.rb +39 -0
- data/test/lib/facets/core/string/test_camelize.rb +26 -0
- data/test/lib/facets/core/string/test_capitalize_all.rb +26 -0
- data/test/lib/facets/core/string/test_capitalized.rb +26 -0
- data/test/lib/facets/core/string/test_chars.rb +27 -0
- data/test/lib/facets/core/string/test_cleave.rb +43 -0
- data/test/lib/facets/core/string/test_cmp.rb +30 -0
- data/test/lib/facets/core/string/test_demodulize.rb +38 -0
- data/test/lib/facets/core/string/test_divide.rb +29 -0
- data/test/lib/facets/core/string/test_downcase.rb +26 -0
- data/test/lib/facets/core/string/test_dresner.rb +32 -0
- data/test/lib/facets/core/string/test_each_char.rb +29 -0
- data/test/lib/facets/core/string/test_each_word.rb +29 -0
- data/test/lib/facets/core/string/test_first.rb +43 -0
- data/test/lib/facets/core/string/test_fold.rb +34 -0
- data/test/lib/facets/core/string/test_humanize.rb +26 -0
- data/test/lib/facets/core/string/test_indent.rb +40 -0
- data/test/lib/facets/core/string/test_index_all.rb +26 -0
- data/test/lib/facets/core/string/test_last.rb +46 -0
- data/test/lib/facets/core/string/test_line_wrap.rb +27 -0
- data/test/lib/facets/core/string/test_lines.rb +26 -0
- data/test/lib/facets/core/string/test_lowercase.rb +26 -0
- data/test/lib/facets/core/string/test_margin.rb +117 -0
- data/test/lib/facets/core/string/test_methodize.rb +27 -0
- data/test/lib/facets/core/string/test_modulize.rb +29 -0
- data/test/lib/facets/core/string/test_mscan.rb +30 -0
- data/test/lib/facets/core/string/test_natcmp.rb +30 -0
- data/test/lib/facets/core/string/test_nchar.rb +29 -0
- data/test/lib/facets/core/string/test_pathize.rb +29 -0
- data/test/lib/facets/core/string/test_pop.rb +47 -0
- data/test/lib/facets/core/string/test_pot.rb +39 -0
- data/test/lib/facets/core/string/test_push.rb +40 -0
- data/test/lib/facets/core/string/test_quote.rb +49 -0
- data/test/lib/facets/core/string/test_rand_byte.rb +35 -0
- data/test/lib/facets/core/string/test_rand_index.rb +26 -0
- data/test/lib/facets/core/string/test_range.rb +27 -0
- data/test/lib/facets/core/string/test_range_all.rb +27 -0
- data/test/lib/facets/core/string/test_range_of_line.rb +28 -0
- data/test/lib/facets/core/string/test_regesc.rb +28 -0
- data/test/lib/facets/core/string/test_shatter.rb +29 -0
- data/test/lib/facets/core/string/test_shift.rb +40 -0
- data/test/lib/facets/core/string/test_shuffle.rb +27 -0
- data/test/lib/facets/core/string/test_similarity.rb +26 -0
- data/test/lib/facets/core/string/test_singular.rb +86 -0
- data/test/lib/facets/core/string/test_soundex.rb +41 -0
- data/test/lib/facets/core/string/test_succ.rb +29 -0
- data/test/lib/facets/core/string/test_to_a.rb +27 -0
- data/test/lib/facets/core/string/test_to_b.rb +41 -0
- data/test/lib/facets/core/string/test_to_const.rb +28 -0
- data/test/lib/facets/core/string/test_to_date.rb +30 -0
- data/test/lib/facets/core/string/test_to_proc.rb +33 -0
- data/test/lib/facets/core/string/test_to_re.rb +28 -0
- data/test/lib/facets/core/string/test_to_time.rb +30 -0
- data/test/lib/facets/core/string/test_unix_crypt.rb +30 -0
- data/test/lib/facets/core/string/test_unpack.rb +34 -0
- data/test/lib/facets/core/string/test_unshift.rb +39 -0
- data/test/lib/facets/core/string/test_upcase.rb +30 -0
- data/test/lib/facets/core/string/test_whitespace.rb +27 -0
- data/test/lib/facets/core/string/test_word_filter.rb +34 -0
- data/test/lib/facets/core/string/test_word_wrap.rb +51 -0
- data/test/lib/facets/core/string/test_words.rb +37 -0
- data/test/lib/facets/core/symbol/test_camelcase.rb +26 -0
- data/test/lib/facets/core/symbol/test_camelize.rb +27 -0
- data/test/lib/facets/core/symbol/test_capitalize.rb +26 -0
- data/test/lib/facets/core/symbol/test_capitalized.rb +27 -0
- data/test/lib/facets/core/symbol/test_downcase.rb +27 -0
- data/test/lib/facets/core/symbol/test_not.rb +29 -0
- data/test/lib/facets/core/symbol/test_pad.rb +27 -0
- data/test/lib/facets/core/symbol/test_succ.rb +28 -0
- data/test/lib/facets/core/symbol/test_to_const.rb +28 -0
- data/test/lib/facets/core/symbol/test_to_proc.rb +33 -0
- data/test/lib/facets/core/symbol/test_to_str.rb +28 -0
- data/test/lib/facets/core/symbol/test_underscore.rb +26 -0
- data/test/lib/facets/core/symbol/test_upcase.rb +27 -0
- data/test/lib/facets/core/time/test_change.rb +33 -0
- data/test/lib/facets/core/time/test_elapse.rb +27 -0
- data/test/lib/facets/core/time/test_stamp.rb +39 -0
- data/test/lib/facets/core/time/test_to_date.rb +31 -0
- data/test/lib/facets/core/time/test_to_s.rb +31 -0
- data/test/lib/facets/core/time/test_to_time.rb +31 -0
- data/test/lib/facets/more/test_ann.rb +112 -0
- data/test/lib/facets/more/test_ann_attr.rb +39 -0
- data/test/lib/facets/more/test_ansicode.rb +36 -0
- data/test/lib/facets/more/test_arguments.rb +83 -0
- data/test/lib/facets/more/test_association.rb +51 -0
- data/test/lib/facets/more/test_autoarray.rb +32 -0
- data/test/lib/facets/more/test_basicobject.rb +67 -0
- data/test/lib/facets/more/test_bbcode.rb +34 -0
- data/test/lib/facets/more/test_binaryreader.rb +64 -0
- data/test/lib/facets/more/test_bitmask.rb +47 -0
- data/test/lib/facets/more/test_buildingblock.rb +47 -0
- data/test/lib/facets/more/test_bytes.rb +84 -0
- data/test/lib/facets/more/test_classmethods.rb +69 -0
- data/test/lib/facets/more/test_command.rb +69 -0
- data/test/lib/facets/more/test_coroutine.rb +60 -0
- data/test/lib/facets/more/test_crypt.rb +46 -0
- data/test/lib/facets/more/test_cut.rb +198 -0
- data/test/lib/facets/more/test_dependency.rb +82 -0
- data/test/lib/facets/more/test_dictionary.rb +107 -0
- data/test/lib/facets/more/test_elementor.rb +52 -0
- data/test/lib/facets/more/test_enumerablepass.rb +86 -0
- data/test/lib/facets/more/test_floatstring.rb +36 -0
- data/test/lib/facets/more/test_functor.rb +39 -0
- data/test/lib/facets/more/test_htmlbuilder.rb +38 -0
- data/test/lib/facets/more/test_htmlfilter.rb +86 -0
- data/test/lib/facets/more/test_infinity.rb +50 -0
- data/test/lib/facets/more/test_inheritor.rb +155 -0
- data/test/lib/facets/more/test_instance_intercept.rb +50 -0
- data/test/lib/facets/more/test_interval.rb +119 -0
- data/test/lib/facets/more/test_json.rb +232 -0
- data/test/lib/facets/more/test_linkedlist.rb +53 -0
- data/test/lib/facets/more/test_lisp.rb +47 -0
- data/test/lib/facets/more/test_lisp_format.rb +37 -0
- data/test/lib/facets/more/test_lrucache.rb +25 -0
- data/test/lib/facets/more/test_mathconstants.rb +18 -0
- data/test/lib/facets/more/test_methodfilter.rb +45 -0
- data/test/lib/facets/more/test_methodprobe.rb +53 -0
- data/test/lib/facets/more/test_multipliers.rb +114 -0
- data/test/lib/facets/more/test_multiton.rb +199 -0
- data/test/lib/facets/more/test_nackclass.rb +45 -0
- data/test/lib/facets/more/test_nilcomparable.rb +47 -0
- data/test/lib/facets/more/test_opencascade.rb +75 -0
- data/test/lib/facets/more/test_openhash.rb +126 -0
- data/test/lib/facets/more/test_openobject.rb +126 -0
- data/test/lib/facets/more/test_overload.rb +54 -0
- data/test/lib/facets/more/test_paramix.rb +100 -0
- data/test/lib/facets/more/test_pqueue.rb +39 -0
- data/test/lib/facets/more/test_preinitialize.rb +49 -0
- data/test/lib/facets/more/test_promoteself.rb +45 -0
- data/test/lib/facets/more/test_recorder.rb +44 -0
- data/test/lib/facets/more/test_snapshot.rb +34 -0
- data/test/lib/facets/more/test_statichash.rb +31 -0
- data/test/lib/facets/more/test_syncarray.rb +28 -0
- data/test/lib/facets/more/test_synchash.rb +28 -0
- data/test/lib/facets/more/test_tagiterator.rb +93 -0
- data/test/lib/facets/more/test_timer.rb +66 -0
- data/test/lib/facets/more/test_times.rb +103 -0
- data/test/lib/facets/more/test_tuple.rb +64 -0
- data/test/lib/facets/more/test_typecast.rb +68 -0
- data/test/lib/facets/more/test_uninheritable.rb +42 -0
- data/test/lib/facets/more/test_units.rb +111 -0
- data/test/lib/facets/more/test_xmlbuilder.rb +54 -0
- data/test/lib/facets/more/test_xmlhelper.rb +40 -0
- data/test/lib/facets/more/test_xoxo.rb +288 -0
- data/test/lib/facets/more/test_yamlstruct.rb +37 -0
- data/test/lib/facets/yore/enumerable/test_cross.rb +44 -0
- data/test/lib/facets/yore/kernel/test_require_facet.rb +27 -0
- data/test/lib/facets/yore/module/test_namespace.rb +33 -0
- data/test/lib/facets/yore/test_annattr.rb +39 -0
- data/test/lib/facets/yore/test_annotation.rb +318 -0
- metadata +589 -9
- data/lib/facet/dir/self/multiglob_recurse.rb +0 -1
- data/lib/facet/dir/self/multiglob_sum.rb +0 -1
- data/lib/facets/core/dir/self/multiglob_sum.rb +0 -42
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# _____ _
|
|
2
|
+
# |_ _|__ ___| |_
|
|
3
|
+
# | |/ _ \/ __| __|
|
|
4
|
+
# | | __/\__ \ |_
|
|
5
|
+
# |_|\___||___/\__|
|
|
6
|
+
#
|
|
7
|
+
# for lib/facets/yore/kernel/require_facet.rb
|
|
8
|
+
#
|
|
9
|
+
# Extracted Tue Feb 06 17:03:51 EST 2007
|
|
10
|
+
# Project.rb Test Extraction
|
|
11
|
+
#
|
|
12
|
+
|
|
13
|
+
require 'facets/yore/kernel/require_facet.rb'
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
require 'test/unit'
|
|
17
|
+
|
|
18
|
+
class TCKernel < Test::Unit::TestCase
|
|
19
|
+
|
|
20
|
+
def test_require_facet
|
|
21
|
+
assert_nothing_raised { require_facet 'string/margin' }
|
|
22
|
+
assert( "".respond_to?( :margin ) )
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
end
|
|
26
|
+
|
|
27
|
+
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# _____ _
|
|
2
|
+
# |_ _|__ ___| |_
|
|
3
|
+
# | |/ _ \/ __| __|
|
|
4
|
+
# | | __/\__ \ |_
|
|
5
|
+
# |_|\___||___/\__|
|
|
6
|
+
#
|
|
7
|
+
# for lib/facets/yore/module/namespace.rb
|
|
8
|
+
#
|
|
9
|
+
# Extracted Tue Feb 06 17:03:51 EST 2007
|
|
10
|
+
# Project.rb Test Extraction
|
|
11
|
+
#
|
|
12
|
+
|
|
13
|
+
require 'facets/yore/module/namespace.rb'
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
require 'test/unit'
|
|
17
|
+
|
|
18
|
+
class TCModule < Test::Unit::TestCase
|
|
19
|
+
|
|
20
|
+
class MockObject
|
|
21
|
+
namespace(:hope) {
|
|
22
|
+
def watch ; 'watch' ; end
|
|
23
|
+
}
|
|
24
|
+
end
|
|
25
|
+
|
|
26
|
+
def test_namespace
|
|
27
|
+
m = MockObject.new
|
|
28
|
+
assert_equal( 'watch', m.hope.watch )
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
end
|
|
32
|
+
|
|
33
|
+
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# _____ _
|
|
2
|
+
# |_ _|__ ___| |_
|
|
3
|
+
# | |/ _ \/ __| __|
|
|
4
|
+
# | | __/\__ \ |_
|
|
5
|
+
# |_|\___||___/\__|
|
|
6
|
+
#
|
|
7
|
+
# for lib/facets/yore/annattr.rb
|
|
8
|
+
#
|
|
9
|
+
# Extracted Tue Feb 06 17:03:51 EST 2007
|
|
10
|
+
# Project.rb Test Extraction
|
|
11
|
+
#
|
|
12
|
+
|
|
13
|
+
require 'facets/yore/annattr.rb'
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
require 'test/unit'
|
|
17
|
+
|
|
18
|
+
class TC01 < Test::Unit::TestCase
|
|
19
|
+
class A
|
|
20
|
+
attr_accessor :x, :cast=>"to_s"
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
def test_09_001
|
|
24
|
+
a = A.new
|
|
25
|
+
assert_equal( [:x], A.attributes )
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
class TC10 < Test::Unit::TestCase
|
|
30
|
+
class A
|
|
31
|
+
attr :x, :cast=>"to_s"
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
def test_10_001
|
|
35
|
+
assert_equal( "to_s", A.ann.x.cast )
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
|
|
39
|
+
|
|
@@ -0,0 +1,318 @@
|
|
|
1
|
+
# _____ _
|
|
2
|
+
# |_ _|__ ___| |_
|
|
3
|
+
# | |/ _ \/ __| __|
|
|
4
|
+
# | | __/\__ \ |_
|
|
5
|
+
# |_|\___||___/\__|
|
|
6
|
+
#
|
|
7
|
+
# for lib/facets/yore/annotation.rb
|
|
8
|
+
#
|
|
9
|
+
# Extracted Tue Feb 06 17:03:51 EST 2007
|
|
10
|
+
# Project.rb Test Extraction
|
|
11
|
+
#
|
|
12
|
+
|
|
13
|
+
require 'facets/yore/annotation.rb'
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
require 'test/unit'
|
|
17
|
+
|
|
18
|
+
class TestAnnotation1 < Test::Unit::TestCase
|
|
19
|
+
class X
|
|
20
|
+
def x1 ; end
|
|
21
|
+
ann :x1, :a=>1
|
|
22
|
+
ann :x1, :b=>2
|
|
23
|
+
end
|
|
24
|
+
|
|
25
|
+
def test_1_01
|
|
26
|
+
assert_equal(X.ann.x1.orig.object_id, X.ann.x1.orig.object_id)
|
|
27
|
+
end
|
|
28
|
+
def test_1_02
|
|
29
|
+
X.ann.x1.a = 2
|
|
30
|
+
assert_equal(2, X.ann.x1.a)
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
|
|
34
|
+
class TestAnnotation2 < Test::Unit::TestCase
|
|
35
|
+
class X
|
|
36
|
+
def x1 ; end
|
|
37
|
+
ann :x1, :a=>1
|
|
38
|
+
ann :x1, :b=>2
|
|
39
|
+
end
|
|
40
|
+
class Y < X ; end
|
|
41
|
+
|
|
42
|
+
def test_2_01
|
|
43
|
+
assert_equal(Y.ann.x1.original.object_id, Y.ann.x1.original.object_id)
|
|
44
|
+
end
|
|
45
|
+
def test_2_02
|
|
46
|
+
assert_equal(1, Y.ann.x1.a)
|
|
47
|
+
assert_equal(2, Y.ann.x1.b)
|
|
48
|
+
end
|
|
49
|
+
def test_2_03
|
|
50
|
+
Y.ann.x1.a = 2
|
|
51
|
+
assert_equal(2, Y.ann.x1.a)
|
|
52
|
+
assert_equal(2, Y.ann.x1.b)
|
|
53
|
+
end
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
class TestAnnotation3 < Test::Unit::TestCase
|
|
57
|
+
class X
|
|
58
|
+
def x1 ; end
|
|
59
|
+
ann :x1, :a=>1
|
|
60
|
+
ann :x1, :b=>2
|
|
61
|
+
end
|
|
62
|
+
class Y < X
|
|
63
|
+
ann :x1, :y=>'Y'
|
|
64
|
+
end
|
|
65
|
+
|
|
66
|
+
def test_3_01
|
|
67
|
+
assert_equal(Y.ann.x1.original.object_id, Y.ann.x1.original.object_id)
|
|
68
|
+
end
|
|
69
|
+
def test_3_02
|
|
70
|
+
assert_equal(1, Y.ann.x1.a)
|
|
71
|
+
end
|
|
72
|
+
def test_3_03
|
|
73
|
+
Y.ann.x1.a = 2
|
|
74
|
+
assert_equal(2, Y.ann.x1.a)
|
|
75
|
+
end
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
class TestAnnotation4 < Test::Unit::TestCase
|
|
79
|
+
module M
|
|
80
|
+
def x1 ; end
|
|
81
|
+
ann :x1, :a=>1
|
|
82
|
+
ann :x1, :b=>2
|
|
83
|
+
end
|
|
84
|
+
class X
|
|
85
|
+
include M
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
def test_4_01
|
|
89
|
+
assert_equal(X.ann.x1.original.object_id, X.ann.x1.original.object_id)
|
|
90
|
+
end
|
|
91
|
+
def test_4_02
|
|
92
|
+
assert_equal(1, X.ann.x1.a)
|
|
93
|
+
assert_equal(2, X.ann.x1.b)
|
|
94
|
+
end
|
|
95
|
+
def test_4_03
|
|
96
|
+
X.ann.x1.a = 2
|
|
97
|
+
assert_equal(2, X.ann.x1.a)
|
|
98
|
+
end
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
class TestAnnotation5 < Test::Unit::TestCase
|
|
102
|
+
class X
|
|
103
|
+
ann :foo, :doc => "hello"
|
|
104
|
+
ann :foo, :bar => []
|
|
105
|
+
end
|
|
106
|
+
class Y < X
|
|
107
|
+
ann :foo, :class => String, :doc => "bye"
|
|
108
|
+
end
|
|
109
|
+
|
|
110
|
+
def test_5_01
|
|
111
|
+
assert_equal( "hello", X.ann(:foo).doc )
|
|
112
|
+
end
|
|
113
|
+
def test_5_02
|
|
114
|
+
assert_equal( X.ann(:foo), X.ann.foo )
|
|
115
|
+
end
|
|
116
|
+
def test_5_03
|
|
117
|
+
X.ann(:foo).bar! << "1"
|
|
118
|
+
assert_equal( ["1"], X.ann.foo.bar )
|
|
119
|
+
end
|
|
120
|
+
def test_5_04
|
|
121
|
+
assert_equal( "bye", Y.ann(:foo).doc )
|
|
122
|
+
end
|
|
123
|
+
def test_5_05
|
|
124
|
+
#assert_equal( nil, Y.ann(:foo).bar )
|
|
125
|
+
assert_equal( ["1"], Y.ann(:foo).bar )
|
|
126
|
+
end
|
|
127
|
+
def test_5_06
|
|
128
|
+
Y.ann(:foo).doc = "cap"
|
|
129
|
+
assert_equal( "cap", Y.ann(:foo).doc )
|
|
130
|
+
end
|
|
131
|
+
def test_5_07
|
|
132
|
+
Y.ann.foo.doc = "cap2"
|
|
133
|
+
assert_equal( "cap2", Y.ann(:foo).doc )
|
|
134
|
+
end
|
|
135
|
+
def test_5_08
|
|
136
|
+
Y.ann(:foo).bar! << "2"
|
|
137
|
+
assert_equal( ["1", "2"], Y.ann(:foo).bar )
|
|
138
|
+
assert_equal( ["1", "2"], Y.ann(:foo).bar! )
|
|
139
|
+
assert_equal( ["1"], X.ann(:foo).bar )
|
|
140
|
+
end
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
# Test non-existent elements.
|
|
144
|
+
|
|
145
|
+
class TestAnnotation6 < Test::Unit::TestCase
|
|
146
|
+
class X
|
|
147
|
+
def x1 ; end
|
|
148
|
+
ann :x1, :a=>1, :b=>2
|
|
149
|
+
end
|
|
150
|
+
|
|
151
|
+
def test_6_01
|
|
152
|
+
assert_equal( 1, X.ann(:x1)[:a] )
|
|
153
|
+
assert_equal( 2, X.ann(:x1)[:b] )
|
|
154
|
+
assert_equal( {}, X.ann(:x2) )
|
|
155
|
+
end
|
|
156
|
+
def test_6_02
|
|
157
|
+
assert_equal( 1, X.ann(:x1)[:a] )
|
|
158
|
+
assert_equal( 2, X.ann(:x1)[:b] )
|
|
159
|
+
assert_equal( nil, X.ann(:x1)[:c] )
|
|
160
|
+
end
|
|
161
|
+
def test_6_03
|
|
162
|
+
assert_equal( 1, X.ann.x1[:a] )
|
|
163
|
+
assert_equal( 2, X.ann.x1[:b] )
|
|
164
|
+
end
|
|
165
|
+
def test_6_04
|
|
166
|
+
assert_equal( 1, X.ann.x1.a )
|
|
167
|
+
assert_equal( 2, X.ann.x1.b )
|
|
168
|
+
end
|
|
169
|
+
def test_6_05
|
|
170
|
+
assert_equal( {}, X.ann.x2 )
|
|
171
|
+
assert_equal( nil, X.ann.x1.r )
|
|
172
|
+
end
|
|
173
|
+
end
|
|
174
|
+
|
|
175
|
+
class TestAnnotation7 < Test::Unit::TestCase
|
|
176
|
+
class X
|
|
177
|
+
def x ; end
|
|
178
|
+
ann :x, :z=>1
|
|
179
|
+
end
|
|
180
|
+
class Y < X ; end
|
|
181
|
+
|
|
182
|
+
def test_7_04
|
|
183
|
+
assert_equal(1, X.ann(:x)[:z])
|
|
184
|
+
assert_equal(nil, Y.ann(:x)[:z])
|
|
185
|
+
assert_equal(1, Y.ann(:x).z)
|
|
186
|
+
end
|
|
187
|
+
def test_7_05
|
|
188
|
+
assert_equal(1, X.ann.x[:z])
|
|
189
|
+
assert_equal(nil, Y.ann.x[:z])
|
|
190
|
+
assert_equal(1, Y.ann.x.z)
|
|
191
|
+
end
|
|
192
|
+
def test_7_06
|
|
193
|
+
Y.ann.x.z = 2
|
|
194
|
+
assert_equal(2, Y.ann.x.z)
|
|
195
|
+
end
|
|
196
|
+
end
|
|
197
|
+
|
|
198
|
+
class TestAnnotation8 < Test::Unit::TestCase
|
|
199
|
+
class X
|
|
200
|
+
def n ; end
|
|
201
|
+
ann :n, :v=>1
|
|
202
|
+
ann :n, :p=>3
|
|
203
|
+
end
|
|
204
|
+
class Y < X
|
|
205
|
+
ann :n, :b=>2
|
|
206
|
+
end
|
|
207
|
+
|
|
208
|
+
def test_08_01
|
|
209
|
+
assert_equal(2, Y.ann(:n)[:b])
|
|
210
|
+
assert_equal(nil, Y.ann(:n)[:v])
|
|
211
|
+
assert_equal(1, Y.ann(:n).v)
|
|
212
|
+
end
|
|
213
|
+
def test_08_02
|
|
214
|
+
assert_equal(2, Y.ann(:n).b)
|
|
215
|
+
end
|
|
216
|
+
def test_08_03
|
|
217
|
+
assert_equal(2, Y.ann.n.b)
|
|
218
|
+
end
|
|
219
|
+
end
|
|
220
|
+
|
|
221
|
+
class TestAnnotation9 < Test::Unit::TestCase
|
|
222
|
+
module M
|
|
223
|
+
ann :a, String
|
|
224
|
+
ann :b, :foo=>3
|
|
225
|
+
end
|
|
226
|
+
|
|
227
|
+
def test_09_01
|
|
228
|
+
assert_equal( String, M.ann.a[:class] )
|
|
229
|
+
end
|
|
230
|
+
def test_09_02
|
|
231
|
+
assert_equal( String, M.ann.a.class )
|
|
232
|
+
end
|
|
233
|
+
def test_09_03
|
|
234
|
+
assert_equal(3, M.ann.b.foo)
|
|
235
|
+
end
|
|
236
|
+
end
|
|
237
|
+
|
|
238
|
+
class TestAnnotation10 < Test::Unit::TestCase
|
|
239
|
+
class C
|
|
240
|
+
ann :self, :mod => 'YES'
|
|
241
|
+
end
|
|
242
|
+
def test_10_01
|
|
243
|
+
assert_equal( 'YES', C.ann.self.mod )
|
|
244
|
+
end
|
|
245
|
+
end
|
|
246
|
+
|
|
247
|
+
# class TestAnnotation10 < Test::Unit::TestCase
|
|
248
|
+
# module M
|
|
249
|
+
# ann :this, :koko => []
|
|
250
|
+
# ann.this.koko! << 1
|
|
251
|
+
# end
|
|
252
|
+
# class C1
|
|
253
|
+
# #ann :this, :koko => []
|
|
254
|
+
# include M
|
|
255
|
+
# ann.this.koko! << 2
|
|
256
|
+
# ann.this.koko! << 3
|
|
257
|
+
# end
|
|
258
|
+
# class C2
|
|
259
|
+
# include M
|
|
260
|
+
# ann.this.koko! << 4
|
|
261
|
+
# end
|
|
262
|
+
#
|
|
263
|
+
# def test_10_01
|
|
264
|
+
# assert_equal( [1], M.ann.this.koko )
|
|
265
|
+
# end
|
|
266
|
+
# def test_10_02
|
|
267
|
+
# assert_equal( [1,2,3], C1.ann.this.koko )
|
|
268
|
+
# end
|
|
269
|
+
# def test_10_03
|
|
270
|
+
# assert_equal( [1,4], C2.ann.this.koko )
|
|
271
|
+
# end
|
|
272
|
+
# end
|
|
273
|
+
|
|
274
|
+
# class TC07 < Test::Unit::TestCase
|
|
275
|
+
# class K
|
|
276
|
+
# ann self, :oid => 'key'
|
|
277
|
+
# ann :w, String
|
|
278
|
+
# end
|
|
279
|
+
#
|
|
280
|
+
# def test_07_001
|
|
281
|
+
# assert_equal( String, K.ann.w.class )
|
|
282
|
+
# end
|
|
283
|
+
#
|
|
284
|
+
# def test_07_002
|
|
285
|
+
# assert_equal( 'key', K.ann.self.oid )
|
|
286
|
+
# end
|
|
287
|
+
#
|
|
288
|
+
# def test_07_003
|
|
289
|
+
# #assert_equal( K.ann.self, K.ann(:self) )
|
|
290
|
+
# #assert_equal( K.ann(K), K.annotation )
|
|
291
|
+
# #assert_equal( K.ann.self.to_h, K.ann(K).to_h )
|
|
292
|
+
# #assert_equal( K.ann.self, K.ann(K) )
|
|
293
|
+
# end
|
|
294
|
+
# end
|
|
295
|
+
#
|
|
296
|
+
|
|
297
|
+
# class TestAnnotation7 < Test::Unit::TestCase
|
|
298
|
+
|
|
299
|
+
# class X
|
|
300
|
+
# def x ; end
|
|
301
|
+
# ann :x, :z=>1
|
|
302
|
+
# end
|
|
303
|
+
# class Y < X ; end
|
|
304
|
+
#
|
|
305
|
+
# def test_7_01
|
|
306
|
+
# assert( Y.annotated?(:x) )
|
|
307
|
+
# end
|
|
308
|
+
# def test_7_02
|
|
309
|
+
# assert_equal( [:x1], Y.annotated_methods )
|
|
310
|
+
# end
|
|
311
|
+
# def test_7_03
|
|
312
|
+
# assert_equal( 1, Y.ann(:x).inheritance )
|
|
313
|
+
# assert_equal( 1, Y.ann(:x) )
|
|
314
|
+
# end
|
|
315
|
+
# end
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
|
metadata
CHANGED
|
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
|
|
|
3
3
|
specification_version: 1
|
|
4
4
|
name: facets
|
|
5
5
|
version: !ruby/object:Gem::Version
|
|
6
|
-
version: 1.8.
|
|
7
|
-
date: 2007-
|
|
6
|
+
version: 1.8.20
|
|
7
|
+
date: 2007-02-06 00:00:00 -05:00
|
|
8
8
|
summary: If Godzilla were a Programmer's Library
|
|
9
9
|
require_paths:
|
|
10
10
|
- lib
|
|
@@ -28,17 +28,472 @@ cert_chain:
|
|
|
28
28
|
authors:
|
|
29
29
|
- Thomas Sawyer <transfire@gmail.com>
|
|
30
30
|
files:
|
|
31
|
+
- test
|
|
32
|
+
- work
|
|
33
|
+
- demo
|
|
34
|
+
- doc
|
|
35
|
+
- lib
|
|
36
|
+
- data
|
|
31
37
|
- setup.rb
|
|
32
38
|
- PROJECT
|
|
33
39
|
- README
|
|
34
40
|
- VERSION
|
|
41
|
+
- COPYING
|
|
35
42
|
- Rakefile
|
|
43
|
+
- test/lib
|
|
44
|
+
- test/special
|
|
45
|
+
- test/lib/facets
|
|
46
|
+
- test/lib/facets/more
|
|
47
|
+
- test/lib/facets/core
|
|
48
|
+
- test/lib/facets/yore
|
|
49
|
+
- test/lib/facets/more/test_infinity.rb
|
|
50
|
+
- test/lib/facets/more/test_timer.rb
|
|
51
|
+
- test/lib/facets/more/test_bytes.rb
|
|
52
|
+
- test/lib/facets/more/test_tagiterator.rb
|
|
53
|
+
- test/lib/facets/more/test_methodfilter.rb
|
|
54
|
+
- test/lib/facets/more/test_enumerablepass.rb
|
|
55
|
+
- test/lib/facets/more/test_classmethods.rb
|
|
56
|
+
- test/lib/facets/more/test_tuple.rb
|
|
57
|
+
- test/lib/facets/more/test_uninheritable.rb
|
|
58
|
+
- test/lib/facets/more/test_typecast.rb
|
|
59
|
+
- test/lib/facets/more/test_xoxo.rb
|
|
60
|
+
- test/lib/facets/more/test_units.rb
|
|
61
|
+
- test/lib/facets/more/test_recorder.rb
|
|
62
|
+
- test/lib/facets/more/test_lisp.rb
|
|
63
|
+
- test/lib/facets/more/test_nilcomparable.rb
|
|
64
|
+
- test/lib/facets/more/test_coroutine.rb
|
|
65
|
+
- test/lib/facets/more/test_methodprobe.rb
|
|
66
|
+
- test/lib/facets/more/test_basicobject.rb
|
|
67
|
+
- test/lib/facets/more/test_json.rb
|
|
68
|
+
- test/lib/facets/more/test_multiton.rb
|
|
69
|
+
- test/lib/facets/more/test_htmlbuilder.rb
|
|
70
|
+
- test/lib/facets/more/test_buildingblock.rb
|
|
71
|
+
- test/lib/facets/more/test_lisp_format.rb
|
|
72
|
+
- test/lib/facets/more/test_mathconstants.rb
|
|
73
|
+
- test/lib/facets/more/test_elementor.rb
|
|
74
|
+
- test/lib/facets/more/test_promoteself.rb
|
|
75
|
+
- test/lib/facets/more/test_ann.rb
|
|
76
|
+
- test/lib/facets/more/test_crypt.rb
|
|
77
|
+
- test/lib/facets/more/test_nackclass.rb
|
|
78
|
+
- test/lib/facets/more/test_inheritor.rb
|
|
79
|
+
- test/lib/facets/more/test_opencascade.rb
|
|
80
|
+
- test/lib/facets/more/test_dictionary.rb
|
|
81
|
+
- test/lib/facets/more/test_binaryreader.rb
|
|
82
|
+
- test/lib/facets/more/test_autoarray.rb
|
|
83
|
+
- test/lib/facets/more/test_xmlbuilder.rb
|
|
84
|
+
- test/lib/facets/more/test_preinitialize.rb
|
|
85
|
+
- test/lib/facets/more/test_multipliers.rb
|
|
86
|
+
- test/lib/facets/more/test_overload.rb
|
|
87
|
+
- test/lib/facets/more/test_syncarray.rb
|
|
88
|
+
- test/lib/facets/more/test_command.rb
|
|
89
|
+
- test/lib/facets/more/test_functor.rb
|
|
90
|
+
- test/lib/facets/more/test_synchash.rb
|
|
91
|
+
- test/lib/facets/more/test_interval.rb
|
|
92
|
+
- test/lib/facets/more/test_floatstring.rb
|
|
93
|
+
- test/lib/facets/more/test_paramix.rb
|
|
94
|
+
- test/lib/facets/more/test_yamlstruct.rb
|
|
95
|
+
- test/lib/facets/more/test_ann_attr.rb
|
|
96
|
+
- test/lib/facets/more/test_bbcode.rb
|
|
97
|
+
- test/lib/facets/more/test_times.rb
|
|
98
|
+
- test/lib/facets/more/test_instance_intercept.rb
|
|
99
|
+
- test/lib/facets/more/test_ansicode.rb
|
|
100
|
+
- test/lib/facets/more/test_lrucache.rb
|
|
101
|
+
- test/lib/facets/more/test_bitmask.rb
|
|
102
|
+
- test/lib/facets/more/test_cut.rb
|
|
103
|
+
- test/lib/facets/more/test_statichash.rb
|
|
104
|
+
- test/lib/facets/more/test_snapshot.rb
|
|
105
|
+
- test/lib/facets/more/test_xmlhelper.rb
|
|
106
|
+
- test/lib/facets/more/test_pqueue.rb
|
|
107
|
+
- test/lib/facets/more/test_association.rb
|
|
108
|
+
- test/lib/facets/more/test_openhash.rb
|
|
109
|
+
- test/lib/facets/more/test_linkedlist.rb
|
|
110
|
+
- test/lib/facets/more/test_dependency.rb
|
|
111
|
+
- test/lib/facets/more/test_arguments.rb
|
|
112
|
+
- test/lib/facets/more/test_htmlfilter.rb
|
|
113
|
+
- test/lib/facets/more/test_openobject.rb
|
|
114
|
+
- test/lib/facets/core/kernel
|
|
115
|
+
- test/lib/facets/core/hash
|
|
116
|
+
- test/lib/facets/core/range
|
|
117
|
+
- test/lib/facets/core/time
|
|
118
|
+
- test/lib/facets/core/numeric
|
|
119
|
+
- test/lib/facets/core/proc
|
|
120
|
+
- test/lib/facets/core/ostruct
|
|
121
|
+
- test/lib/facets/core/comparable
|
|
122
|
+
- test/lib/facets/core/continuation
|
|
123
|
+
- test/lib/facets/core/date
|
|
124
|
+
- test/lib/facets/core/dir
|
|
125
|
+
- test/lib/facets/core/enumerable
|
|
126
|
+
- test/lib/facets/core/file
|
|
127
|
+
- test/lib/facets/core/module
|
|
128
|
+
- test/lib/facets/core/matchdata
|
|
129
|
+
- test/lib/facets/core/regexp
|
|
130
|
+
- test/lib/facets/core/integer
|
|
131
|
+
- test/lib/facets/core/class
|
|
132
|
+
- test/lib/facets/core/float
|
|
133
|
+
- test/lib/facets/core/symbol
|
|
134
|
+
- test/lib/facets/core/string
|
|
135
|
+
- test/lib/facets/core/nilclass
|
|
136
|
+
- test/lib/facets/core/binding
|
|
137
|
+
- test/lib/facets/core/array
|
|
138
|
+
- test/lib/facets/core/kernel/test_called.rb
|
|
139
|
+
- test/lib/facets/core/kernel/test_to_b.rb
|
|
140
|
+
- test/lib/facets/core/kernel/test_object_hexid.rb
|
|
141
|
+
- test/lib/facets/core/kernel/test_set_with.rb
|
|
142
|
+
- test/lib/facets/core/kernel/test_with_accessor.rb
|
|
143
|
+
- test/lib/facets/core/kernel/test_constant.rb
|
|
144
|
+
- test/lib/facets/core/kernel/test_uri.rb
|
|
145
|
+
- test/lib/facets/core/kernel/test_call_stack.rb
|
|
146
|
+
- test/lib/facets/core/kernel/test_this.rb
|
|
147
|
+
- test/lib/facets/core/kernel/test_require_all.rb
|
|
148
|
+
- test/lib/facets/core/kernel/test_instance_exec.rb
|
|
149
|
+
- test/lib/facets/core/kernel/test_method.rb
|
|
150
|
+
- test/lib/facets/core/kernel/test_demo.rb
|
|
151
|
+
- test/lib/facets/core/kernel/test_get_by_id.rb
|
|
152
|
+
- test/lib/facets/core/kernel/test_object_class.rb
|
|
153
|
+
- test/lib/facets/core/kernel/test_resc.rb
|
|
154
|
+
- test/lib/facets/core/kernel/test_to_bool.rb
|
|
155
|
+
- test/lib/facets/core/kernel/test_supermethod.rb
|
|
156
|
+
- test/lib/facets/core/kernel/test___class__.rb
|
|
157
|
+
- test/lib/facets/core/kernel/test_singleton.rb
|
|
158
|
+
- test/lib/facets/core/kernel/test_as.rb
|
|
159
|
+
- test/lib/facets/core/kernel/test_require_esc.rb
|
|
160
|
+
- test/lib/facets/core/kernel/test_to_data.rb
|
|
161
|
+
- test/lib/facets/core/kernel/test_assign_with.rb
|
|
162
|
+
- test/lib/facets/core/kernel/test_send_as.rb
|
|
163
|
+
- test/lib/facets/core/kernel/test_set_from.rb
|
|
164
|
+
- test/lib/facets/core/kernel/test_val.rb
|
|
165
|
+
- test/lib/facets/core/kernel/test_super_at.rb
|
|
166
|
+
- test/lib/facets/core/kernel/test_singleton_class.rb
|
|
167
|
+
- test/lib/facets/core/kernel/test_bool.rb
|
|
168
|
+
- test/lib/facets/core/kernel/test_silently.rb
|
|
169
|
+
- test/lib/facets/core/kernel/test_methods.rb
|
|
170
|
+
- test/lib/facets/core/kernel/test_fn.rb
|
|
171
|
+
- test/lib/facets/core/kernel/test_in.rb
|
|
172
|
+
- test/lib/facets/core/kernel/test_with.rb
|
|
173
|
+
- test/lib/facets/core/kernel/test_bug.rb
|
|
174
|
+
- test/lib/facets/core/kernel/test_here.rb
|
|
175
|
+
- test/lib/facets/core/kernel/test_callee.rb
|
|
176
|
+
- test/lib/facets/core/kernel/test_new.rb
|
|
177
|
+
- test/lib/facets/core/kernel/test_maybe.rb
|
|
178
|
+
- test/lib/facets/core/kernel/test_assign_from.rb
|
|
179
|
+
- test/lib/facets/core/kernel/test_deep_copy.rb
|
|
180
|
+
- test/lib/facets/core/kernel/test_copy.rb
|
|
181
|
+
- test/lib/facets/core/kernel/test_metaclass.rb
|
|
182
|
+
- test/lib/facets/core/kernel/test_meta_class.rb
|
|
183
|
+
- test/lib/facets/core/kernel/test_instance_class.rb
|
|
184
|
+
- test/lib/facets/core/kernel/test_qua_class.rb
|
|
185
|
+
- test/lib/facets/core/hash/test_collate.rb
|
|
186
|
+
- test/lib/facets/core/hash/test_each_with_index.rb
|
|
187
|
+
- test/lib/facets/core/hash/test_swapkey.rb
|
|
188
|
+
- test/lib/facets/core/hash/test_op_lshift.rb
|
|
189
|
+
- test/lib/facets/core/hash/test_op_fetch.rb
|
|
190
|
+
- test/lib/facets/core/hash/test_to_h.rb
|
|
191
|
+
- test/lib/facets/core/hash/test_assert_has_only_keys.rb
|
|
192
|
+
- test/lib/facets/core/hash/test_normalize_keys.rb
|
|
193
|
+
- test/lib/facets/core/hash/test_replace_each.rb
|
|
194
|
+
- test/lib/facets/core/hash/test_traverse.rb
|
|
195
|
+
- test/lib/facets/core/hash/test_to_ostruct_recurse.rb
|
|
196
|
+
- test/lib/facets/core/hash/test_shuffle.rb
|
|
197
|
+
- test/lib/facets/core/hash/test_has_keys.rb
|
|
198
|
+
- test/lib/facets/core/hash/test_graph.rb
|
|
199
|
+
- test/lib/facets/core/hash/test_at.rb
|
|
200
|
+
- test/lib/facets/core/hash/test_update_values.rb
|
|
201
|
+
- test/lib/facets/core/hash/test_update_each.rb
|
|
202
|
+
- test/lib/facets/core/hash/test_each_with_key.rb
|
|
203
|
+
- test/lib/facets/core/hash/test_stringify_keys.rb
|
|
204
|
+
- test/lib/facets/core/hash/test_has_only_keys.rb
|
|
205
|
+
- test/lib/facets/core/hash/test_swap.rb
|
|
206
|
+
- test/lib/facets/core/hash/test_update_keys.rb
|
|
207
|
+
- test/lib/facets/core/hash/test_rand_value.rb
|
|
208
|
+
- test/lib/facets/core/hash/test_assert_has_keys.rb
|
|
209
|
+
- test/lib/facets/core/hash/test_alias.rb
|
|
210
|
+
- test/lib/facets/core/hash/test_rand_key.rb
|
|
211
|
+
- test/lib/facets/core/hash/test_rand_pair.rb
|
|
212
|
+
- test/lib/facets/core/hash/test_slice.rb
|
|
213
|
+
- test/lib/facets/core/hash/test_rekey.rb
|
|
214
|
+
- test/lib/facets/core/hash/test_to_ostruct.rb
|
|
215
|
+
- test/lib/facets/core/hash/test_weave.rb
|
|
216
|
+
- test/lib/facets/core/hash/test_symbolize_keys.rb
|
|
217
|
+
- test/lib/facets/core/hash/test_inverse.rb
|
|
218
|
+
- test/lib/facets/core/hash/self
|
|
219
|
+
- test/lib/facets/core/hash/self/test_zipnew.rb
|
|
220
|
+
- test/lib/facets/core/range/test_to_range.rb
|
|
221
|
+
- test/lib/facets/core/range/test_within.rb
|
|
222
|
+
- test/lib/facets/core/range/test_to_r.rb
|
|
223
|
+
- test/lib/facets/core/range/test_umbrella.rb
|
|
224
|
+
- test/lib/facets/core/time/test_to_date.rb
|
|
225
|
+
- test/lib/facets/core/time/test_to_time.rb
|
|
226
|
+
- test/lib/facets/core/time/test_stamp.rb
|
|
227
|
+
- test/lib/facets/core/time/test_to_s.rb
|
|
228
|
+
- test/lib/facets/core/time/test_change.rb
|
|
229
|
+
- test/lib/facets/core/time/test_elapse.rb
|
|
230
|
+
- test/lib/facets/core/numeric/test_approx.rb
|
|
231
|
+
- test/lib/facets/core/numeric/test_succ.rb
|
|
232
|
+
- test/lib/facets/core/numeric/test_to_b.rb
|
|
233
|
+
- test/lib/facets/core/numeric/test_ceil_multiple.rb
|
|
234
|
+
- test/lib/facets/core/numeric/test_distance.rb
|
|
235
|
+
- test/lib/facets/core/proc/test_to_method.rb
|
|
236
|
+
- test/lib/facets/core/proc/test_compose.rb
|
|
237
|
+
- test/lib/facets/core/proc/test_op_mul.rb
|
|
238
|
+
- test/lib/facets/core/ostruct/test_instance_delegate.rb
|
|
239
|
+
- test/lib/facets/core/ostruct/test___update__.rb
|
|
240
|
+
- test/lib/facets/core/ostruct/test_op_fetch.rb
|
|
241
|
+
- test/lib/facets/core/comparable/test_cmp.rb
|
|
242
|
+
- test/lib/facets/core/comparable/test_at_least.rb
|
|
243
|
+
- test/lib/facets/core/comparable/test_clip.rb
|
|
244
|
+
- test/lib/facets/core/continuation/self
|
|
245
|
+
- test/lib/facets/core/continuation/self/test_create.rb
|
|
246
|
+
- test/lib/facets/core/date/test_days_of_month.rb
|
|
247
|
+
- test/lib/facets/core/date/test_to_date.rb
|
|
248
|
+
- test/lib/facets/core/date/test_to_time.rb
|
|
249
|
+
- test/lib/facets/core/date/test_stamp.rb
|
|
250
|
+
- test/lib/facets/core/date/test_to_s.rb
|
|
251
|
+
- test/lib/facets/core/date/test_days_in_month.rb
|
|
252
|
+
- test/lib/facets/core/dir/self
|
|
253
|
+
- test/lib/facets/core/dir/self/test_ascend.rb
|
|
254
|
+
- test/lib/facets/core/dir/self/test_ancestor.rb
|
|
255
|
+
- test/lib/facets/core/enumerable/test_each_combination.rb
|
|
256
|
+
- test/lib/facets/core/enumerable/test_each_slice.rb
|
|
257
|
+
- test/lib/facets/core/enumerable/test_probability.rb
|
|
258
|
+
- test/lib/facets/core/enumerable/test_one.rb
|
|
259
|
+
- test/lib/facets/core/enumerable/test_cross.rb
|
|
260
|
+
- test/lib/facets/core/enumerable/test_to_h.rb
|
|
261
|
+
- test/lib/facets/core/enumerable/test_every.rb
|
|
262
|
+
- test/lib/facets/core/enumerable/test_ideal_entropy.rb
|
|
263
|
+
- test/lib/facets/core/enumerable/test_each_by.rb
|
|
264
|
+
- test/lib/facets/core/enumerable/test_collect_with_index.rb
|
|
265
|
+
- test/lib/facets/core/enumerable/test_compact_collect.rb
|
|
266
|
+
- test/lib/facets/core/enumerable/test_graph.rb
|
|
267
|
+
- test/lib/facets/core/enumerable/test_each_unique_pair.rb
|
|
268
|
+
- test/lib/facets/core/enumerable/test_partition_by.rb
|
|
269
|
+
- test/lib/facets/core/enumerable/test_each_pair.rb
|
|
270
|
+
- test/lib/facets/core/enumerable/test_occur.rb
|
|
271
|
+
- test/lib/facets/core/enumerable/test_find_collisions.rb
|
|
272
|
+
- test/lib/facets/core/enumerable/test_eachn.rb
|
|
273
|
+
- test/lib/facets/core/enumerable/test_count.rb
|
|
274
|
+
- test/lib/facets/core/enumerable/test_filter_collect.rb
|
|
275
|
+
- test/lib/facets/core/enumerable/test_commonality.rb
|
|
276
|
+
- test/lib/facets/core/enumerable/test_none.rb
|
|
277
|
+
- test/lib/facets/core/enumerable/test_entropy.rb
|
|
278
|
+
- test/lib/facets/core/enumerable/test_frequency.rb
|
|
279
|
+
- test/lib/facets/core/enumerable/test_op_pow.rb
|
|
280
|
+
- test/lib/facets/core/enumerable/test_uniq_by.rb
|
|
281
|
+
- test/lib/facets/core/enumerable/test_ew.rb
|
|
282
|
+
- test/lib/facets/core/enumerable/test_permutation.rb
|
|
283
|
+
- test/lib/facets/core/enumerable/self
|
|
284
|
+
- test/lib/facets/core/enumerable/test_cart.rb
|
|
285
|
+
- test/lib/facets/core/enumerable/self/test_combinations.rb
|
|
286
|
+
- test/lib/facets/core/enumerable/self/test_cross.rb
|
|
287
|
+
- test/lib/facets/core/enumerable/self/test_cart.rb
|
|
288
|
+
- test/lib/facets/core/file/self
|
|
289
|
+
- test/lib/facets/core/file/self/test_open_as_string.rb
|
|
290
|
+
- test/lib/facets/core/file/self/test_create.rb
|
|
291
|
+
- test/lib/facets/core/file/self/test_split_all.rb
|
|
292
|
+
- test/lib/facets/core/file/self/test_read_list.rb
|
|
293
|
+
- test/lib/facets/core/file/self/test_sanitize.rb
|
|
294
|
+
- test/lib/facets/core/module/test_on_included.rb
|
|
295
|
+
- test/lib/facets/core/module/test_ancestor.rb
|
|
296
|
+
- test/lib/facets/core/module/test_integrate.rb
|
|
297
|
+
- test/lib/facets/core/module/test_redirect_method.rb
|
|
298
|
+
- test/lib/facets/core/module/test_initializer.rb
|
|
299
|
+
- test/lib/facets/core/module/test_sort_on.rb
|
|
300
|
+
- test/lib/facets/core/module/test_redef.rb
|
|
301
|
+
- test/lib/facets/core/module/test_shadow_method.rb
|
|
302
|
+
- test/lib/facets/core/module/test_nodef.rb
|
|
303
|
+
- test/lib/facets/core/module/test_modspace.rb
|
|
304
|
+
- test/lib/facets/core/module/test_clone_using.rb
|
|
305
|
+
- test/lib/facets/core/module/test_revisal.rb
|
|
306
|
+
- test/lib/facets/core/module/test_include_as.rb
|
|
307
|
+
- test/lib/facets/core/module/test_nesting.rb
|
|
308
|
+
- test/lib/facets/core/module/test_rename.rb
|
|
309
|
+
- test/lib/facets/core/module/test_this.rb
|
|
310
|
+
- test/lib/facets/core/module/test_wrap_method.rb
|
|
311
|
+
- test/lib/facets/core/module/test_dirname.rb
|
|
312
|
+
- test/lib/facets/core/module/test_equate_on.rb
|
|
313
|
+
- test/lib/facets/core/module/test_alias_method_chain.rb
|
|
314
|
+
- test/lib/facets/core/module/test_redefine_method.rb
|
|
315
|
+
- test/lib/facets/core/module/test_instance_methods.rb
|
|
316
|
+
- test/lib/facets/core/module/test_namespace.rb
|
|
317
|
+
- test/lib/facets/core/module/test_remove.rb
|
|
318
|
+
- test/lib/facets/core/module/test_rename_method.rb
|
|
319
|
+
- test/lib/facets/core/module/test_redirect.rb
|
|
320
|
+
- test/lib/facets/core/module/test_abstract.rb
|
|
321
|
+
- test/lib/facets/core/module/test_class_extension.rb
|
|
322
|
+
- test/lib/facets/core/module/test_memoize.rb
|
|
323
|
+
- test/lib/facets/core/module/test_alias_module_function.rb
|
|
324
|
+
- test/lib/facets/core/module/test_wrap.rb
|
|
325
|
+
- test/lib/facets/core/module/test_by_name.rb
|
|
326
|
+
- test/lib/facets/core/module/test_basename.rb
|
|
327
|
+
- test/lib/facets/core/module/test_new.rb
|
|
328
|
+
- test/lib/facets/core/module/self
|
|
329
|
+
- test/lib/facets/core/module/test_attr_tester.rb
|
|
330
|
+
- test/lib/facets/core/module/self/test_op_add.rb
|
|
331
|
+
- test/lib/facets/core/matchdata/test_match.rb
|
|
332
|
+
- test/lib/facets/core/matchdata/test_matchtree.rb
|
|
333
|
+
- test/lib/facets/core/regexp/test_to_regexp.rb
|
|
334
|
+
- test/lib/facets/core/regexp/test_arity.rb
|
|
335
|
+
- test/lib/facets/core/regexp/test_to_re.rb
|
|
336
|
+
- test/lib/facets/core/integer/test_factorial.rb
|
|
337
|
+
- test/lib/facets/core/integer/test_ordinal.rb
|
|
338
|
+
- test/lib/facets/core/integer/test_of.rb
|
|
339
|
+
- test/lib/facets/core/integer/test_times_collect.rb
|
|
340
|
+
- test/lib/facets/core/integer/test_multiple.rb
|
|
341
|
+
- test/lib/facets/core/class/test_unix_path.rb
|
|
342
|
+
- test/lib/facets/core/class/test_cattr.rb
|
|
343
|
+
- test/lib/facets/core/class/test_remove_descendents.rb
|
|
344
|
+
- test/lib/facets/core/class/test_descendents.rb
|
|
345
|
+
- test/lib/facets/core/class/test_method_name.rb
|
|
346
|
+
- test/lib/facets/core/float/test_round_to.rb
|
|
347
|
+
- test/lib/facets/core/float/test_round_at.rb
|
|
348
|
+
- test/lib/facets/core/symbol/test_capitalize.rb
|
|
349
|
+
- test/lib/facets/core/symbol/test_camelcase.rb
|
|
350
|
+
- test/lib/facets/core/symbol/test_succ.rb
|
|
351
|
+
- test/lib/facets/core/symbol/test_not.rb
|
|
352
|
+
- test/lib/facets/core/symbol/test_upcase.rb
|
|
353
|
+
- test/lib/facets/core/symbol/test_downcase.rb
|
|
354
|
+
- test/lib/facets/core/symbol/test_pad.rb
|
|
355
|
+
- test/lib/facets/core/symbol/test_capitalized.rb
|
|
356
|
+
- test/lib/facets/core/symbol/test_to_proc.rb
|
|
357
|
+
- test/lib/facets/core/symbol/test_to_const.rb
|
|
358
|
+
- test/lib/facets/core/symbol/test_camelize.rb
|
|
359
|
+
- test/lib/facets/core/symbol/test_underscore.rb
|
|
360
|
+
- test/lib/facets/core/symbol/test_to_str.rb
|
|
361
|
+
- test/lib/facets/core/string/test_word_filter.rb
|
|
362
|
+
- test/lib/facets/core/string/test_upcase.rb
|
|
363
|
+
- test/lib/facets/core/string/test_align_center.rb
|
|
364
|
+
- test/lib/facets/core/string/test_natcmp.rb
|
|
365
|
+
- test/lib/facets/core/string/test_to_b.rb
|
|
366
|
+
- test/lib/facets/core/string/test_soundex.rb
|
|
367
|
+
- test/lib/facets/core/string/test_shuffle.rb
|
|
368
|
+
- test/lib/facets/core/string/test_nchar.rb
|
|
369
|
+
- test/lib/facets/core/string/test_divide.rb
|
|
370
|
+
- test/lib/facets/core/string/test_pop.rb
|
|
371
|
+
- test/lib/facets/core/string/test_mscan.rb
|
|
372
|
+
- test/lib/facets/core/string/test_pot.rb
|
|
373
|
+
- test/lib/facets/core/string/test_last.rb
|
|
374
|
+
- test/lib/facets/core/string/test_rand_index.rb
|
|
375
|
+
- test/lib/facets/core/string/test_regesc.rb
|
|
376
|
+
- test/lib/facets/core/string/test_camelcase.rb
|
|
377
|
+
- test/lib/facets/core/string/test_shift.rb
|
|
378
|
+
- test/lib/facets/core/string/test_similarity.rb
|
|
379
|
+
- test/lib/facets/core/string/test_push.rb
|
|
380
|
+
- test/lib/facets/core/string/test_line_wrap.rb
|
|
381
|
+
- test/lib/facets/core/string/test_humanize.rb
|
|
382
|
+
- test/lib/facets/core/string/test_unshift.rb
|
|
383
|
+
- test/lib/facets/core/string/test_indent.rb
|
|
384
|
+
- test/lib/facets/core/string/test_to_a.rb
|
|
385
|
+
- test/lib/facets/core/string/test_singular.rb
|
|
386
|
+
- test/lib/facets/core/string/test_lowercase.rb
|
|
387
|
+
- test/lib/facets/core/string/test_first.rb
|
|
388
|
+
- test/lib/facets/core/string/test_modulize.rb
|
|
389
|
+
- test/lib/facets/core/string/test_to_const.rb
|
|
390
|
+
- test/lib/facets/core/string/test_each_word.rb
|
|
391
|
+
- test/lib/facets/core/string/test_words.rb
|
|
392
|
+
- test/lib/facets/core/string/test_index_all.rb
|
|
393
|
+
- test/lib/facets/core/string/test_chars.rb
|
|
394
|
+
- test/lib/facets/core/string/test_pathize.rb
|
|
395
|
+
- test/lib/facets/core/string/test_to_proc.rb
|
|
396
|
+
- test/lib/facets/core/string/test_shatter.rb
|
|
397
|
+
- test/lib/facets/core/string/test_margin.rb
|
|
398
|
+
- test/lib/facets/core/string/test_to_date.rb
|
|
399
|
+
- test/lib/facets/core/string/test_unpack.rb
|
|
400
|
+
- test/lib/facets/core/string/test_fold.rb
|
|
401
|
+
- test/lib/facets/core/string/test_blank.rb
|
|
402
|
+
- test/lib/facets/core/string/test_methodize.rb
|
|
403
|
+
- test/lib/facets/core/string/test_camelize.rb
|
|
404
|
+
- test/lib/facets/core/string/test_whitespace.rb
|
|
405
|
+
- test/lib/facets/core/string/test_quote.rb
|
|
406
|
+
- test/lib/facets/core/string/test_to_time.rb
|
|
407
|
+
- test/lib/facets/core/string/test_demodulize.rb
|
|
408
|
+
- test/lib/facets/core/string/test_dresner.rb
|
|
409
|
+
- test/lib/facets/core/string/test_unix_crypt.rb
|
|
410
|
+
- test/lib/facets/core/string/test_word_wrap.rb
|
|
411
|
+
- test/lib/facets/core/string/test_rand_byte.rb
|
|
412
|
+
- test/lib/facets/core/string/test_to_re.rb
|
|
413
|
+
- test/lib/facets/core/string/test_bracket.rb
|
|
414
|
+
- test/lib/facets/core/string/test_cmp.rb
|
|
415
|
+
- test/lib/facets/core/string/test_range_all.rb
|
|
416
|
+
- test/lib/facets/core/string/test_range_of_line.rb
|
|
417
|
+
- test/lib/facets/core/string/test_capitalized.rb
|
|
418
|
+
- test/lib/facets/core/string/test_range.rb
|
|
419
|
+
- test/lib/facets/core/string/test_each_char.rb
|
|
420
|
+
- test/lib/facets/core/string/test_succ.rb
|
|
421
|
+
- test/lib/facets/core/string/test_downcase.rb
|
|
422
|
+
- test/lib/facets/core/string/test_at_rand.rb
|
|
423
|
+
- test/lib/facets/core/string/test_lines.rb
|
|
424
|
+
- test/lib/facets/core/string/test_basename.rb
|
|
425
|
+
- test/lib/facets/core/string/self
|
|
426
|
+
- test/lib/facets/core/string/test_cleave.rb
|
|
427
|
+
- test/lib/facets/core/string/test_capitalize_all.rb
|
|
428
|
+
- test/lib/facets/core/string/self/test_rand_letter.rb
|
|
429
|
+
- test/lib/facets/core/string/self/test_patterns.rb
|
|
430
|
+
- test/lib/facets/core/string/self/test_interpolate.rb
|
|
431
|
+
- test/lib/facets/core/nilclass/test_empty.rb
|
|
432
|
+
- test/lib/facets/core/nilclass/test_include.rb
|
|
433
|
+
- test/lib/facets/core/nilclass/test_blank.rb
|
|
434
|
+
- test/lib/facets/core/nilclass/test_op_fetch.rb
|
|
435
|
+
- test/lib/facets/core/nilclass/test_to_h.rb
|
|
436
|
+
- test/lib/facets/core/nilclass/test_size.rb
|
|
437
|
+
- test/lib/facets/core/binding/test_call_stack.rb
|
|
438
|
+
- test/lib/facets/core/binding/test_defined.rb
|
|
439
|
+
- test/lib/facets/core/binding/test_local_variables.rb
|
|
440
|
+
- test/lib/facets/core/binding/test_method_name.rb
|
|
441
|
+
- test/lib/facets/core/binding/test_caller.rb
|
|
442
|
+
- test/lib/facets/core/binding/test___LINE__.rb
|
|
443
|
+
- test/lib/facets/core/binding/test_called.rb
|
|
444
|
+
- test/lib/facets/core/binding/test_eval.rb
|
|
445
|
+
- test/lib/facets/core/binding/test_op_fetch.rb
|
|
446
|
+
- test/lib/facets/core/binding/test_self.rb
|
|
447
|
+
- test/lib/facets/core/binding/test_op_store.rb
|
|
448
|
+
- test/lib/facets/core/binding/self
|
|
449
|
+
- test/lib/facets/core/binding/self/test_of_caller.rb
|
|
450
|
+
- test/lib/facets/core/array/test_delete_unless.rb
|
|
451
|
+
- test/lib/facets/core/array/test_select.rb
|
|
452
|
+
- test/lib/facets/core/array/test_to_b.rb
|
|
453
|
+
- test/lib/facets/core/array/test_op_fetch.rb
|
|
454
|
+
- test/lib/facets/core/array/test_to_h.rb
|
|
455
|
+
- test/lib/facets/core/array/test_shuffle.rb
|
|
456
|
+
- test/lib/facets/core/array/test_merge.rb
|
|
457
|
+
- test/lib/facets/core/array/test_pot.rb
|
|
458
|
+
- test/lib/facets/core/array/test_mid.rb
|
|
459
|
+
- test/lib/facets/core/array/test_pull.rb
|
|
460
|
+
- test/lib/facets/core/array/test_rand_index.rb
|
|
461
|
+
- test/lib/facets/core/array/test_delete_values_at.rb
|
|
462
|
+
- test/lib/facets/core/array/test_delete_values.rb
|
|
463
|
+
- test/lib/facets/core/array/test_thru.rb
|
|
464
|
+
- test/lib/facets/core/array/test_to_hash.rb
|
|
465
|
+
- test/lib/facets/core/array/test_pick.rb
|
|
466
|
+
- test/lib/facets/core/array/test_first.rb
|
|
467
|
+
- test/lib/facets/core/array/test_last_index.rb
|
|
468
|
+
- test/lib/facets/core/array/test_range.rb
|
|
469
|
+
- test/lib/facets/core/array/test_rotate.rb
|
|
470
|
+
- test/lib/facets/core/array/test_middle.rb
|
|
471
|
+
- test/lib/facets/core/array/test_pos.rb
|
|
472
|
+
- test/lib/facets/core/array/test_head.rb
|
|
473
|
+
- test/lib/facets/core/array/test_rand_subset.rb
|
|
474
|
+
- test/lib/facets/core/array/test_at_rand.rb
|
|
475
|
+
- test/lib/facets/core/array/test_pad.rb
|
|
476
|
+
- test/lib/facets/yore/test_annotation.rb
|
|
477
|
+
- test/lib/facets/yore/test_annattr.rb
|
|
478
|
+
- test/lib/facets/yore/module
|
|
479
|
+
- test/lib/facets/yore/kernel
|
|
480
|
+
- test/lib/facets/yore/enumerable
|
|
481
|
+
- test/lib/facets/yore/module/test_namespace.rb
|
|
482
|
+
- test/lib/facets/yore/kernel/test_require_facet.rb
|
|
483
|
+
- test/lib/facets/yore/enumerable/test_cross.rb
|
|
36
484
|
- test/special/main_as_module.rb
|
|
485
|
+
- work/misc
|
|
486
|
+
- work/more
|
|
487
|
+
- work/pore
|
|
488
|
+
- work/core
|
|
489
|
+
- work/yore
|
|
37
490
|
- work/README
|
|
38
491
|
- work/TODO
|
|
39
492
|
- work/op_rshift.rb
|
|
40
493
|
- work/hash_open.rb
|
|
494
|
+
- work/bin
|
|
41
495
|
- work/openobject-temp.rb
|
|
496
|
+
- work/misc/calibre
|
|
42
497
|
- work/misc/calibre/ProjectInfo.nilcomparable
|
|
43
498
|
- work/misc/calibre/ProjectInfo.downloader
|
|
44
499
|
- work/misc/calibre/ProjectInfo.reference
|
|
@@ -110,6 +565,7 @@ files:
|
|
|
110
565
|
- work/more/commandrunner.rb
|
|
111
566
|
- work/more/old-tkxml.rb
|
|
112
567
|
- work/more/autohash.rb
|
|
568
|
+
- work/pore/hash
|
|
113
569
|
- work/pore/superann.rb
|
|
114
570
|
- work/pore/sys.rb
|
|
115
571
|
- work/pore/utils.rb
|
|
@@ -117,6 +573,16 @@ files:
|
|
|
117
573
|
- work/pore/autorequire.rb
|
|
118
574
|
- work/pore/basefactory.rb
|
|
119
575
|
- work/pore/hash/each.rb
|
|
576
|
+
- work/core/enumerable
|
|
577
|
+
- work/core/logger
|
|
578
|
+
- work/core/fileutils
|
|
579
|
+
- work/core/kernel
|
|
580
|
+
- work/core/class
|
|
581
|
+
- work/core/module
|
|
582
|
+
- work/core/string
|
|
583
|
+
- work/core/io
|
|
584
|
+
- work/core/binding
|
|
585
|
+
- work/core/array
|
|
120
586
|
- work/core/join_with.rb
|
|
121
587
|
- work/core/enumerable/op_fetch.rb
|
|
122
588
|
- work/core/logger/clean_logger.rb
|
|
@@ -180,6 +646,12 @@ files:
|
|
|
180
646
|
- work/yore/taskable.rb
|
|
181
647
|
- work/bin/minitar
|
|
182
648
|
- work/bin/minitar.rb
|
|
649
|
+
- demo/cuts
|
|
650
|
+
- demo/tkxml
|
|
651
|
+
- demo/io-reactor
|
|
652
|
+
- demo/lisp
|
|
653
|
+
- demo/ansicolor
|
|
654
|
+
- demo/annotation
|
|
183
655
|
- demo/cuts/benchmark.rb
|
|
184
656
|
- demo/cuts/override.rb
|
|
185
657
|
- demo/tkxml/ui.xml
|
|
@@ -189,11 +661,12 @@ files:
|
|
|
189
661
|
- demo/ansicolor/example.rb
|
|
190
662
|
- demo/ansicolor/cdiff.rb
|
|
191
663
|
- demo/annotation/demo_annotation.rb
|
|
192
|
-
- doc/HISTORY.1
|
|
193
664
|
- doc/AUTHORS
|
|
194
|
-
- doc/
|
|
665
|
+
- doc/History
|
|
666
|
+
- doc/ChangeLog
|
|
195
667
|
- doc/LATEST
|
|
196
|
-
-
|
|
668
|
+
- lib/facet
|
|
669
|
+
- lib/facets
|
|
197
670
|
- lib/facets.rb
|
|
198
671
|
- lib/facet/random.rb
|
|
199
672
|
- lib/facet/ostruct.rb
|
|
@@ -202,6 +675,37 @@ files:
|
|
|
202
675
|
- lib/facet/binding.rb
|
|
203
676
|
- lib/facet/inflect.rb
|
|
204
677
|
- lib/facet/string_as_array.rb
|
|
678
|
+
- lib/facet/logger
|
|
679
|
+
- lib/facet/kernel
|
|
680
|
+
- lib/facet/hash
|
|
681
|
+
- lib/facet/range
|
|
682
|
+
- lib/facet/time
|
|
683
|
+
- lib/facet/fileutils
|
|
684
|
+
- lib/facet/numeric
|
|
685
|
+
- lib/facet/proc
|
|
686
|
+
- lib/facet/ostruct
|
|
687
|
+
- lib/facet/comparable
|
|
688
|
+
- lib/facet/gem
|
|
689
|
+
- lib/facet/continuation
|
|
690
|
+
- lib/facet/unboundmethod
|
|
691
|
+
- lib/facet/date
|
|
692
|
+
- lib/facet/dir
|
|
693
|
+
- lib/facet/enumerable
|
|
694
|
+
- lib/facet/file
|
|
695
|
+
- lib/facet/module
|
|
696
|
+
- lib/facet/matchdata
|
|
697
|
+
- lib/facet/regexp
|
|
698
|
+
- lib/facet/pathname
|
|
699
|
+
- lib/facet/integer
|
|
700
|
+
- lib/facet/class
|
|
701
|
+
- lib/facet/config
|
|
702
|
+
- lib/facet/float
|
|
703
|
+
- lib/facet/symbol
|
|
704
|
+
- lib/facet/string
|
|
705
|
+
- lib/facet/nilclass
|
|
706
|
+
- lib/facet/binding
|
|
707
|
+
- lib/facet/array
|
|
708
|
+
- lib/facet/filetest
|
|
205
709
|
- lib/facet/infinity.rb
|
|
206
710
|
- lib/facet/heap.rb
|
|
207
711
|
- lib/facet/lazy.rb
|
|
@@ -464,6 +968,7 @@ files:
|
|
|
464
968
|
- lib/facet/hash/op_or.rb
|
|
465
969
|
- lib/facet/hash/insert.rb
|
|
466
970
|
- lib/facet/hash/pairs_at.rb
|
|
971
|
+
- lib/facet/hash/self
|
|
467
972
|
- lib/facet/hash/self/zipnew.rb
|
|
468
973
|
- lib/facet/hash/self/auto.rb
|
|
469
974
|
- lib/facet/range/to_range.rb
|
|
@@ -476,6 +981,7 @@ files:
|
|
|
476
981
|
- lib/facet/time/to_s.rb
|
|
477
982
|
- lib/facet/time/change.rb
|
|
478
983
|
- lib/facet/time/elapse.rb
|
|
984
|
+
- lib/facet/time/self
|
|
479
985
|
- lib/facet/time/self/stamp.rb
|
|
480
986
|
- lib/facet/time/self/days_extrema.rb
|
|
481
987
|
- lib/facet/fileutils/split_all.rb
|
|
@@ -513,9 +1019,11 @@ files:
|
|
|
513
1019
|
- lib/facet/comparable/cap.rb
|
|
514
1020
|
- lib/facet/comparable/at_least.rb
|
|
515
1021
|
- lib/facet/comparable/clip.rb
|
|
1022
|
+
- lib/facet/gem/self
|
|
516
1023
|
- lib/facet/gem/self/gemspec.rb
|
|
517
1024
|
- lib/facet/gem/self/gempath.rb
|
|
518
1025
|
- lib/facet/gem/self/active.rb
|
|
1026
|
+
- lib/facet/continuation/self
|
|
519
1027
|
- lib/facet/continuation/self/create.rb
|
|
520
1028
|
- lib/facet/unboundmethod/name.rb
|
|
521
1029
|
- lib/facet/date/days_of_month.rb
|
|
@@ -524,14 +1032,15 @@ files:
|
|
|
524
1032
|
- lib/facet/date/stamp.rb
|
|
525
1033
|
- lib/facet/date/to_s.rb
|
|
526
1034
|
- lib/facet/date/days_in_month.rb
|
|
1035
|
+
- lib/facet/dir/self
|
|
527
1036
|
- lib/facet/dir/self/multiglob.rb
|
|
528
1037
|
- lib/facet/dir/self/ascend.rb
|
|
529
1038
|
- lib/facet/dir/self/ancestor.rb
|
|
530
1039
|
- lib/facet/dir/self/ls_r.rb
|
|
531
1040
|
- lib/facet/dir/self/descend.rb
|
|
532
1041
|
- lib/facet/dir/self/recurse.rb
|
|
533
|
-
- lib/facet/dir/self/
|
|
534
|
-
- lib/facet/dir/self/
|
|
1042
|
+
- lib/facet/dir/self/multiglob_r.rb
|
|
1043
|
+
- lib/facet/dir/self/multiglob_with_default.rb
|
|
535
1044
|
- lib/facet/enumerable/each_combination.rb
|
|
536
1045
|
- lib/facet/enumerable/each_slice.rb
|
|
537
1046
|
- lib/facet/enumerable/probability.rb
|
|
@@ -580,9 +1089,11 @@ files:
|
|
|
580
1089
|
- lib/facet/enumerable/permutation.rb
|
|
581
1090
|
- lib/facet/enumerable/injecting.rb
|
|
582
1091
|
- lib/facet/enumerable/cartesian_product.rb
|
|
1092
|
+
- lib/facet/enumerable/self
|
|
583
1093
|
- lib/facet/enumerable/self/cart.rb
|
|
584
1094
|
- lib/facet/enumerable/self/combinations.rb
|
|
585
1095
|
- lib/facet/enumerable/self/cartesian_product.rb
|
|
1096
|
+
- lib/facet/file/self
|
|
586
1097
|
- lib/facet/file/self/open_as_string.rb
|
|
587
1098
|
- lib/facet/file/self/read_binary.rb
|
|
588
1099
|
- lib/facet/file/self/create.rb
|
|
@@ -646,6 +1157,7 @@ files:
|
|
|
646
1157
|
- lib/facet/module/module_load.rb
|
|
647
1158
|
- lib/facet/module/include_function_module.rb
|
|
648
1159
|
- lib/facet/module/module_require.rb
|
|
1160
|
+
- lib/facet/module/self
|
|
649
1161
|
- lib/facet/module/self/op_add.rb
|
|
650
1162
|
- lib/facet/module/self/op_sub.rb
|
|
651
1163
|
- lib/facet/matchdata/matchset.rb
|
|
@@ -704,6 +1216,7 @@ files:
|
|
|
704
1216
|
- lib/facet/symbol/to_str.rb
|
|
705
1217
|
- lib/facet/symbol/to_s.rb
|
|
706
1218
|
- lib/facet/symbol/chomp.rb
|
|
1219
|
+
- lib/facet/symbol/self
|
|
707
1220
|
- lib/facet/symbol/self/generate.rb
|
|
708
1221
|
- lib/facet/string/word_filter.rb
|
|
709
1222
|
- lib/facet/string/upcase.rb
|
|
@@ -739,6 +1252,7 @@ files:
|
|
|
739
1252
|
- lib/facet/string/to_a.rb
|
|
740
1253
|
- lib/facet/string/singular.rb
|
|
741
1254
|
- lib/facet/string/lowercase.rb
|
|
1255
|
+
- lib/facet/string/capitalize_all.rb
|
|
742
1256
|
- lib/facet/string/shell_escape.rb
|
|
743
1257
|
- lib/facet/string/align_right.rb
|
|
744
1258
|
- lib/facet/string/first.rb
|
|
@@ -791,6 +1305,8 @@ files:
|
|
|
791
1305
|
- lib/facet/string/lines.rb
|
|
792
1306
|
- lib/facet/string/basename.rb
|
|
793
1307
|
- lib/facet/string/rewrite.rb
|
|
1308
|
+
- lib/facet/string/cleave.rb
|
|
1309
|
+
- lib/facet/string/self
|
|
794
1310
|
- lib/facet/string/self/rand_letter.rb
|
|
795
1311
|
- lib/facet/string/self/patterns.rb
|
|
796
1312
|
- lib/facet/string/self/random.rb
|
|
@@ -820,6 +1336,7 @@ files:
|
|
|
820
1336
|
- lib/facet/binding/__DIR__.rb
|
|
821
1337
|
- lib/facet/binding/op_store.rb
|
|
822
1338
|
- lib/facet/binding/__FILE__.rb
|
|
1339
|
+
- lib/facet/binding/self
|
|
823
1340
|
- lib/facet/binding/self/of_caller.rb
|
|
824
1341
|
- lib/facet/array/delete_unless.rb
|
|
825
1342
|
- lib/facet/array/select.rb
|
|
@@ -861,7 +1378,12 @@ files:
|
|
|
861
1378
|
- lib/facet/array/combos.rb
|
|
862
1379
|
- lib/facet/array/to_path.rb
|
|
863
1380
|
- lib/facet/array/index.rb
|
|
1381
|
+
- lib/facet/array/pad.rb
|
|
1382
|
+
- lib/facet/filetest/self
|
|
864
1383
|
- lib/facet/filetest/self/root.rb
|
|
1384
|
+
- lib/facets/more
|
|
1385
|
+
- lib/facets/core
|
|
1386
|
+
- lib/facets/yore
|
|
865
1387
|
- lib/facets/sys.rb
|
|
866
1388
|
- lib/facets/automatic.rb
|
|
867
1389
|
- lib/facets/more/infinity.rb
|
|
@@ -973,6 +1495,37 @@ files:
|
|
|
973
1495
|
- lib/facets/more/autoscript.rb
|
|
974
1496
|
- lib/facets/more/htmlfilter.rb
|
|
975
1497
|
- lib/facets/more/consoleutils.rb
|
|
1498
|
+
- lib/facets/core/logger
|
|
1499
|
+
- lib/facets/core/kernel
|
|
1500
|
+
- lib/facets/core/hash
|
|
1501
|
+
- lib/facets/core/range
|
|
1502
|
+
- lib/facets/core/time
|
|
1503
|
+
- lib/facets/core/fileutils
|
|
1504
|
+
- lib/facets/core/numeric
|
|
1505
|
+
- lib/facets/core/proc
|
|
1506
|
+
- lib/facets/core/ostruct
|
|
1507
|
+
- lib/facets/core/comparable
|
|
1508
|
+
- lib/facets/core/gem
|
|
1509
|
+
- lib/facets/core/continuation
|
|
1510
|
+
- lib/facets/core/unboundmethod
|
|
1511
|
+
- lib/facets/core/date
|
|
1512
|
+
- lib/facets/core/dir
|
|
1513
|
+
- lib/facets/core/enumerable
|
|
1514
|
+
- lib/facets/core/file
|
|
1515
|
+
- lib/facets/core/module
|
|
1516
|
+
- lib/facets/core/matchdata
|
|
1517
|
+
- lib/facets/core/regexp
|
|
1518
|
+
- lib/facets/core/pathname
|
|
1519
|
+
- lib/facets/core/integer
|
|
1520
|
+
- lib/facets/core/class
|
|
1521
|
+
- lib/facets/core/config
|
|
1522
|
+
- lib/facets/core/float
|
|
1523
|
+
- lib/facets/core/symbol
|
|
1524
|
+
- lib/facets/core/string
|
|
1525
|
+
- lib/facets/core/nilclass
|
|
1526
|
+
- lib/facets/core/binding
|
|
1527
|
+
- lib/facets/core/array
|
|
1528
|
+
- lib/facets/core/filetest
|
|
976
1529
|
- lib/facets/core/random.rb
|
|
977
1530
|
- lib/facets/core/ostruct.rb
|
|
978
1531
|
- lib/facets/core/nil_as_emptiness.rb
|
|
@@ -1076,6 +1629,7 @@ files:
|
|
|
1076
1629
|
- lib/facets/core/kernel/daemonize.rb
|
|
1077
1630
|
- lib/facets/core/kernel/object_send.rb
|
|
1078
1631
|
- lib/facets/core/kernel/qua_class.rb
|
|
1632
|
+
- lib/facets/core/hash/self
|
|
1079
1633
|
- lib/facets/core/hash/reverse_merge.rb
|
|
1080
1634
|
- lib/facets/core/hash/op_div.rb
|
|
1081
1635
|
- lib/facets/core/hash/collate.rb
|
|
@@ -1139,6 +1693,7 @@ files:
|
|
|
1139
1693
|
- lib/facets/core/range/within.rb
|
|
1140
1694
|
- lib/facets/core/range/to_r.rb
|
|
1141
1695
|
- lib/facets/core/range/umbrella.rb
|
|
1696
|
+
- lib/facets/core/time/self
|
|
1142
1697
|
- lib/facets/core/time/to_date.rb
|
|
1143
1698
|
- lib/facets/core/time/to_time.rb
|
|
1144
1699
|
- lib/facets/core/time/stamp.rb
|
|
@@ -1182,9 +1737,11 @@ files:
|
|
|
1182
1737
|
- lib/facets/core/comparable/cap.rb
|
|
1183
1738
|
- lib/facets/core/comparable/at_least.rb
|
|
1184
1739
|
- lib/facets/core/comparable/clip.rb
|
|
1740
|
+
- lib/facets/core/gem/self
|
|
1185
1741
|
- lib/facets/core/gem/self/gemspec.rb
|
|
1186
1742
|
- lib/facets/core/gem/self/gempath.rb
|
|
1187
1743
|
- lib/facets/core/gem/self/active.rb
|
|
1744
|
+
- lib/facets/core/continuation/self
|
|
1188
1745
|
- lib/facets/core/continuation/self/create.rb
|
|
1189
1746
|
- lib/facets/core/unboundmethod/name.rb
|
|
1190
1747
|
- lib/facets/core/date/days_of_month.rb
|
|
@@ -1193,14 +1750,16 @@ files:
|
|
|
1193
1750
|
- lib/facets/core/date/stamp.rb
|
|
1194
1751
|
- lib/facets/core/date/to_s.rb
|
|
1195
1752
|
- lib/facets/core/date/days_in_month.rb
|
|
1753
|
+
- lib/facets/core/dir/self
|
|
1196
1754
|
- lib/facets/core/dir/self/multiglob.rb
|
|
1197
1755
|
- lib/facets/core/dir/self/ascend.rb
|
|
1198
1756
|
- lib/facets/core/dir/self/ancestor.rb
|
|
1199
1757
|
- lib/facets/core/dir/self/ls_r.rb
|
|
1200
1758
|
- lib/facets/core/dir/self/descend.rb
|
|
1201
1759
|
- lib/facets/core/dir/self/recurse.rb
|
|
1202
|
-
- lib/facets/core/dir/self/
|
|
1203
|
-
- lib/facets/core/dir/self/
|
|
1760
|
+
- lib/facets/core/dir/self/multiglob_r.rb
|
|
1761
|
+
- lib/facets/core/dir/self/multiglob_with_default.rb
|
|
1762
|
+
- lib/facets/core/enumerable/self
|
|
1204
1763
|
- lib/facets/core/enumerable/each_combination.rb
|
|
1205
1764
|
- lib/facets/core/enumerable/each_slice.rb
|
|
1206
1765
|
- lib/facets/core/enumerable/probability.rb
|
|
@@ -1252,6 +1811,7 @@ files:
|
|
|
1252
1811
|
- lib/facets/core/enumerable/self/cart.rb
|
|
1253
1812
|
- lib/facets/core/enumerable/self/combinations.rb
|
|
1254
1813
|
- lib/facets/core/enumerable/self/cartesian_product.rb
|
|
1814
|
+
- lib/facets/core/file/self
|
|
1255
1815
|
- lib/facets/core/file/self/open_as_string.rb
|
|
1256
1816
|
- lib/facets/core/file/self/read_binary.rb
|
|
1257
1817
|
- lib/facets/core/file/self/create.rb
|
|
@@ -1263,6 +1823,7 @@ files:
|
|
|
1263
1823
|
- lib/facets/core/file/self/write.rb
|
|
1264
1824
|
- lib/facets/core/file/self/null.rb
|
|
1265
1825
|
- lib/facets/core/file/self/yaml.rb
|
|
1826
|
+
- lib/facets/core/module/self
|
|
1266
1827
|
- lib/facets/core/module/on_included.rb
|
|
1267
1828
|
- lib/facets/core/module/ancestor.rb
|
|
1268
1829
|
- lib/facets/core/module/integrate.rb
|
|
@@ -1358,6 +1919,7 @@ files:
|
|
|
1358
1919
|
- lib/facets/core/float/approx.rb
|
|
1359
1920
|
- lib/facets/core/float/round_to.rb
|
|
1360
1921
|
- lib/facets/core/float/round_at.rb
|
|
1922
|
+
- lib/facets/core/symbol/self
|
|
1361
1923
|
- lib/facets/core/symbol/capitalize.rb
|
|
1362
1924
|
- lib/facets/core/symbol/camelcase.rb
|
|
1363
1925
|
- lib/facets/core/symbol/succ.rb
|
|
@@ -1374,6 +1936,7 @@ files:
|
|
|
1374
1936
|
- lib/facets/core/symbol/to_s.rb
|
|
1375
1937
|
- lib/facets/core/symbol/chomp.rb
|
|
1376
1938
|
- lib/facets/core/symbol/self/generate.rb
|
|
1939
|
+
- lib/facets/core/string/self
|
|
1377
1940
|
- lib/facets/core/string/word_filter.rb
|
|
1378
1941
|
- lib/facets/core/string/upcase.rb
|
|
1379
1942
|
- lib/facets/core/string/align_center.rb
|
|
@@ -1408,6 +1971,7 @@ files:
|
|
|
1408
1971
|
- lib/facets/core/string/to_a.rb
|
|
1409
1972
|
- lib/facets/core/string/singular.rb
|
|
1410
1973
|
- lib/facets/core/string/lowercase.rb
|
|
1974
|
+
- lib/facets/core/string/capitalize_all.rb
|
|
1411
1975
|
- lib/facets/core/string/shell_escape.rb
|
|
1412
1976
|
- lib/facets/core/string/align_right.rb
|
|
1413
1977
|
- lib/facets/core/string/first.rb
|
|
@@ -1460,6 +2024,7 @@ files:
|
|
|
1460
2024
|
- lib/facets/core/string/lines.rb
|
|
1461
2025
|
- lib/facets/core/string/basename.rb
|
|
1462
2026
|
- lib/facets/core/string/rewrite.rb
|
|
2027
|
+
- lib/facets/core/string/cleave.rb
|
|
1463
2028
|
- lib/facets/core/string/self/rand_letter.rb
|
|
1464
2029
|
- lib/facets/core/string/self/patterns.rb
|
|
1465
2030
|
- lib/facets/core/string/self/random.rb
|
|
@@ -1476,6 +2041,7 @@ files:
|
|
|
1476
2041
|
- lib/facets/core/nilclass/to_h.rb
|
|
1477
2042
|
- lib/facets/core/nilclass/size.rb
|
|
1478
2043
|
- lib/facets/core/nilclass/to_path.rb
|
|
2044
|
+
- lib/facets/core/binding/self
|
|
1479
2045
|
- lib/facets/core/binding/call_stack.rb
|
|
1480
2046
|
- lib/facets/core/binding/defined.rb
|
|
1481
2047
|
- lib/facets/core/binding/local_variables.rb
|
|
@@ -1530,14 +2096,28 @@ files:
|
|
|
1530
2096
|
- lib/facets/core/array/combos.rb
|
|
1531
2097
|
- lib/facets/core/array/to_path.rb
|
|
1532
2098
|
- lib/facets/core/array/index.rb
|
|
2099
|
+
- lib/facets/core/array/pad.rb
|
|
2100
|
+
- lib/facets/core/filetest/self
|
|
1533
2101
|
- lib/facets/core/filetest/self/root.rb
|
|
2102
|
+
- lib/facets/yore/module
|
|
1534
2103
|
- lib/facets/yore/annotation.rb
|
|
1535
2104
|
- lib/facets/yore/annattr.rb
|
|
1536
2105
|
- lib/facets/yore/builderobject.rb
|
|
2106
|
+
- lib/facets/yore/kernel
|
|
2107
|
+
- lib/facets/yore/enumerable
|
|
1537
2108
|
- lib/facets/yore/module/namespace.rb
|
|
1538
2109
|
- lib/facets/yore/module/inject.rb
|
|
1539
2110
|
- lib/facets/yore/kernel/require_facet.rb
|
|
1540
2111
|
- lib/facets/yore/kernel/own.rb
|
|
2112
|
+
- lib/facets/yore/enumerable/cross.rb
|
|
2113
|
+
- data/facets
|
|
2114
|
+
- data/facets/units
|
|
2115
|
+
- data/facets/units/uk
|
|
2116
|
+
- data/facets/units/binary
|
|
2117
|
+
- data/facets/units/us
|
|
2118
|
+
- data/facets/units/currency
|
|
2119
|
+
- data/facets/units/si
|
|
2120
|
+
- data/facets/units/xmethods
|
|
1541
2121
|
- data/facets/units/default.yaml
|
|
1542
2122
|
- data/facets/units/cex.yaml
|
|
1543
2123
|
- data/facets/units/uk.yaml
|