facets 2.4.2 → 2.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/AUTHORS +1 -1
- data/CHANGES +25 -5
- data/MANIFEST +67 -34
- data/METADATA +2 -2
- data/NEWS +54 -46
- data/doc/news/NEWS-2.4.0 +52 -0
- data/doc/rdoc/core/classes/Array.html +198 -198
- data/doc/rdoc/core/classes/Binding.html +86 -192
- data/doc/rdoc/core/classes/Class.html +136 -136
- data/doc/rdoc/core/classes/Comparable.html +45 -45
- data/doc/rdoc/core/classes/Dir.html +64 -64
- data/doc/rdoc/core/classes/Enumerable.html +287 -281
- data/doc/rdoc/core/classes/Exception.html +16 -16
- data/doc/rdoc/core/classes/FalseClass.html +8 -8
- data/doc/rdoc/core/classes/File.html +100 -100
- data/doc/rdoc/core/classes/FileTest.html +8 -8
- data/doc/rdoc/core/classes/Float.html +32 -32
- data/doc/rdoc/core/classes/Friend.html +8 -8
- data/doc/rdoc/core/classes/Functor.html +12 -12
- data/doc/rdoc/core/classes/Hash.html +439 -847
- data/doc/rdoc/{more → core}/classes/Indexable.html +115 -115
- data/doc/rdoc/core/classes/InstanceVariables.html +88 -88
- data/doc/rdoc/core/classes/Integer.html +142 -142
- data/doc/rdoc/core/classes/Kernel.html +602 -600
- data/doc/rdoc/core/classes/Lazy/Promise.html +1 -1
- data/doc/rdoc/core/classes/MatchData.html +30 -30
- data/doc/rdoc/core/classes/Module.html +379 -327
- data/doc/rdoc/core/classes/NilClass.html +32 -32
- data/doc/rdoc/core/classes/Numeric.html +46 -46
- data/doc/rdoc/core/classes/Object.html +4 -4
- data/doc/rdoc/core/classes/Proc.html +46 -134
- data/doc/rdoc/core/classes/Range.html +60 -60
- data/doc/rdoc/core/classes/Regexp.html +28 -28
- data/doc/rdoc/{more → core}/classes/Stackable.html +38 -38
- data/doc/rdoc/core/classes/String.html +844 -504
- data/doc/rdoc/core/classes/Symbol.html +62 -62
- data/doc/rdoc/core/classes/Time.html +112 -112
- data/doc/rdoc/core/classes/TrueClass.html +8 -8
- data/doc/rdoc/core/classes/UnboundMethod.html +22 -22
- data/doc/rdoc/core/created.rid +1 -1
- data/doc/rdoc/core/files/lib/core/facets/array_rb.html +4 -1
- data/doc/rdoc/core/files/lib/core/facets/binding_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/boolean_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/class/methodize_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/class/pathize_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/class_rb.html +5 -1
- data/doc/rdoc/core/files/lib/core/facets/dir_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/{class/to_methodname_rb.html → enumerable/commonality_rb.html} +4 -4
- data/doc/rdoc/core/files/lib/core/facets/enumerable/entropy_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/{class/to_pathname_rb.html → enumerable/frequency_rb.html} +4 -4
- data/doc/rdoc/core/files/lib/core/facets/enumerable/probability_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/enumerable_rb.html +6 -2
- data/doc/rdoc/core/files/lib/core/facets/file_rb.html +2 -1
- data/doc/rdoc/core/files/lib/core/facets/hash_rb.html +7 -1
- data/doc/rdoc/{more/files/lib/more → core/files/lib/core}/facets/indexable_rb.html +2 -2
- data/doc/rdoc/core/files/lib/core/facets/kernel/require_all_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel/require_local_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/kernel_rb.html +15 -2
- data/doc/rdoc/core/files/lib/core/facets/module/integrate_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/module/methodize_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/module/module_load_rb.html +1 -1
- data/doc/rdoc/core/files/lib/core/facets/module/pathize_rb.html +5 -1
- data/doc/rdoc/core/files/lib/core/facets/module/redefine_method_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module/redirect_method_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module/rename_method_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module/revise_rb.html +8 -1
- data/doc/rdoc/core/files/lib/core/facets/module/wrap_method_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/module_rb.html +8 -5
- data/doc/rdoc/core/files/lib/core/facets/numeric_rb.html +2 -1
- data/doc/rdoc/core/files/lib/core/facets/proc_rb.html +3 -5
- data/doc/rdoc/{more/files/lib/more → core/files/lib/core}/facets/stackable_rb.html +3 -4
- data/doc/rdoc/core/files/lib/core/facets/string/each_word_rb.html +96 -0
- data/doc/rdoc/core/files/lib/core/facets/{module/clone_rb.html → string/methodize_rb.html} +4 -4
- data/doc/rdoc/core/files/lib/core/facets/{kernel/load_rb.html → string/pathize_rb.html} +4 -4
- data/doc/rdoc/core/files/lib/core/facets/string/word_wrap_rb.html +92 -0
- data/doc/rdoc/core/files/lib/core/facets/string/words_rb.html +1 -5
- data/doc/rdoc/core/files/lib/core/facets/string_rb.html +8 -3
- data/doc/rdoc/core/files/lib/core/facets/symbol_rb.html +2 -1
- data/doc/rdoc/core/fr_class_index.html +2 -3
- data/doc/rdoc/core/fr_file_index.html +36 -16
- data/doc/rdoc/core/fr_method_index.html +778 -784
- data/doc/rdoc/lore/created.rid +1 -1
- data/doc/rdoc/more/classes/ANSICode.html +66 -66
- data/doc/rdoc/more/classes/Advisable.html +37 -37
- data/doc/rdoc/more/classes/Advisable/Method.html +20 -20
- data/doc/rdoc/more/classes/Archive/Tar/Minitar.html +27 -27
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Input.html +28 -28
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Output.html +19 -19
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Reader.html +31 -31
- data/doc/rdoc/more/classes/Archive/Tar/Minitar/Writer.html +33 -33
- data/doc/rdoc/more/classes/Association.html +28 -28
- data/doc/rdoc/more/classes/Association/Kernel.html +8 -8
- data/doc/rdoc/more/classes/Autoarray.html +12 -12
- data/doc/rdoc/more/classes/BBCode.html +34 -34
- data/doc/rdoc/more/classes/BaseX.html +16 -16
- data/doc/rdoc/more/classes/BiCrypt.html +67 -67
- data/doc/rdoc/more/classes/BigDuration.html +30 -30
- data/doc/rdoc/more/classes/BinReadable.html +85 -85
- data/doc/rdoc/more/classes/BinReadable/ByteOrder.html +25 -25
- data/doc/rdoc/more/classes/Binding.html +201 -0
- data/doc/rdoc/more/classes/Buildable.html +4 -4
- data/doc/rdoc/more/classes/BuildingBlock.html +32 -32
- data/doc/rdoc/more/classes/CLI.html +108 -0
- data/doc/rdoc/more/classes/CLI/Arguments.html +76 -76
- data/doc/rdoc/more/classes/CLI/Command.html +22 -22
- data/doc/rdoc/more/classes/CLI/NoCommandError.html +4 -4
- data/doc/rdoc/more/classes/CLI/NoOptionError.html +4 -4
- data/doc/rdoc/more/classes/CacheDecorator.html +21 -21
- data/doc/rdoc/more/classes/Capsule.html +41 -41
- data/doc/rdoc/more/classes/Chain.html +17 -17
- data/doc/rdoc/more/classes/Cloneable.html +4 -4
- data/doc/rdoc/more/classes/ConsoleUtils.html +18 -18
- data/doc/rdoc/more/classes/Coroutine.html +28 -28
- data/doc/rdoc/more/classes/Crypt.html +16 -16
- data/doc/rdoc/more/classes/CssFilter.html +45 -45
- data/doc/rdoc/more/classes/CssTree.html +8 -8
- data/doc/rdoc/more/classes/Dictionary.html +228 -228
- data/doc/rdoc/more/classes/DictionaryMatcher.html +38 -38
- data/doc/rdoc/more/classes/DictionaryMatcher/MatchData.html +4 -4
- data/doc/rdoc/more/classes/Downloader.html +56 -56
- data/doc/rdoc/more/classes/Duration.html +68 -68
- data/doc/rdoc/more/classes/Enumerable.html +44 -44
- data/doc/rdoc/more/classes/Enumerable/Elementor.html +16 -16
- data/doc/rdoc/more/classes/Enumerable/Enumerator.html +4 -4
- data/doc/rdoc/more/classes/EnumerablePass.html +15 -15
- data/doc/rdoc/more/classes/Equatable.html +16 -16
- data/doc/rdoc/more/classes/EventHook.html +8 -8
- data/doc/rdoc/more/classes/Expirable.html +17 -17
- data/doc/rdoc/more/classes/FileList.html +125 -125
- data/doc/rdoc/more/classes/FileShell.html +147 -147
- data/doc/rdoc/more/classes/Fileable.html +14 -14
- data/doc/rdoc/more/classes/Fileable/DSL.html +41 -41
- data/doc/rdoc/more/classes/Hash.html +306 -14
- data/doc/rdoc/more/classes/Hash2Xml.html +4 -4
- data/doc/rdoc/more/classes/HtmlFilter.html +9 -9
- data/doc/rdoc/more/classes/IORedirect.html +19 -19
- data/doc/rdoc/more/classes/InfinityClass.html +36 -36
- data/doc/rdoc/more/classes/InfinityClass/Numeric.html +23 -23
- data/doc/rdoc/more/classes/Ini.html +37 -37
- data/doc/rdoc/more/classes/Instantiable.html +9 -9
- data/doc/rdoc/more/classes/Instantise.html +8 -8
- data/doc/rdoc/more/classes/Interval.html +187 -187
- data/doc/rdoc/more/classes/It.html +12 -12
- data/doc/rdoc/more/classes/Kernel.html +77 -77
- data/doc/rdoc/more/classes/LRUCache.html +38 -38
- data/doc/rdoc/more/classes/LinkedList.html +68 -68
- data/doc/rdoc/more/classes/LinkedList/Node.html +4 -4
- data/doc/rdoc/{core → more}/classes/MissingArgument.html +1 -2
- data/doc/rdoc/more/classes/Module.html +171 -171
- data/doc/rdoc/more/classes/Multiton.html +12 -12
- data/doc/rdoc/more/classes/Multiton/MetaMethods.html +28 -28
- data/doc/rdoc/more/classes/Net/SMTP.html +19 -19
- data/doc/rdoc/more/classes/NullClass.html +24 -24
- data/doc/rdoc/more/classes/ObjectReflection.html +12 -12
- data/doc/rdoc/more/classes/OpEsc.html +5 -5
- data/doc/rdoc/more/classes/OpenCascade.html +4 -4
- data/doc/rdoc/more/classes/OpenCollection.html +8 -8
- data/doc/rdoc/more/classes/OpenHash.html +9 -9
- data/doc/rdoc/more/classes/OpenObject.html +95 -95
- data/doc/rdoc/more/classes/PQueue.html +84 -84
- data/doc/rdoc/more/classes/Paramix.html +11 -11
- data/doc/rdoc/more/classes/Paramix/Delegator.html +16 -16
- data/doc/rdoc/more/classes/PathList.html +8 -8
- data/doc/rdoc/more/classes/PathList/Finder.html +8 -8
- data/doc/rdoc/more/classes/Platform.html +46 -46
- data/doc/rdoc/more/classes/Pool.html +18 -18
- data/doc/rdoc/more/classes/Proc.html +48 -4
- data/doc/rdoc/more/classes/ProgressBar.html +52 -52
- data/doc/rdoc/more/classes/Prototype.html +28 -28
- data/doc/rdoc/more/classes/RWDelegator.html +16 -16
- data/doc/rdoc/more/classes/Random.html +9 -9
- data/doc/rdoc/more/classes/Random/Array.html +37 -37
- data/doc/rdoc/more/classes/Random/Hash.html +52 -52
- data/doc/rdoc/more/classes/Random/Object.html +4 -4
- data/doc/rdoc/more/classes/Random/String.html +34 -34
- data/doc/rdoc/more/classes/Random/String/Self.html +9 -9
- data/doc/rdoc/more/classes/Recorder.html +16 -16
- data/doc/rdoc/more/classes/Reference.html +19 -19
- data/doc/rdoc/more/classes/Registerable.html +13 -13
- data/doc/rdoc/more/classes/Semaphore.html +36 -36
- data/doc/rdoc/more/classes/Settings.html +28 -28
- data/doc/rdoc/more/classes/Settings/Setting.html +13 -13
- data/doc/rdoc/more/classes/Settings/SettingCollection.html +4 -4
- data/doc/rdoc/more/classes/SimpleStringIO.html +8 -8
- data/doc/rdoc/more/classes/Snapshot.html +16 -16
- data/doc/rdoc/more/classes/Snapshot/ValueHolder.html +12 -12
- data/doc/rdoc/more/classes/String/Style.html +113 -113
- data/doc/rdoc/{core → more}/classes/String/Words.html +78 -78
- data/doc/rdoc/more/classes/Struct.html +8 -8
- data/doc/rdoc/more/classes/SyncArray.html +4 -4
- data/doc/rdoc/more/classes/SyncHash.html +4 -4
- data/doc/rdoc/more/classes/SyncHash/Delegator.html +28 -28
- data/doc/rdoc/more/classes/SyncHash/Inheritor.html +28 -28
- data/doc/rdoc/more/classes/System.html +253 -253
- data/doc/rdoc/more/classes/Timer.html +48 -48
- data/doc/rdoc/more/classes/Timer/Dummy.html +9 -9
- data/doc/rdoc/more/classes/TracePoint.html +64 -62
- data/doc/rdoc/more/classes/Tuple.html +170 -170
- data/doc/rdoc/more/classes/TypeCast/Class.html +4 -4
- data/doc/rdoc/more/classes/TypeCast/Object.html +4 -4
- data/doc/rdoc/more/classes/Uninheritable.html +6 -6
- data/doc/rdoc/more/classes/UploadUtils.html +49 -49
- data/doc/rdoc/more/classes/VersionNumber.html +53 -53
- data/doc/rdoc/more/classes/Weekdays.html +28 -28
- data/doc/rdoc/more/classes/XOXO.html +9 -9
- data/doc/rdoc/more/classes/ZipUtils.html +58 -58
- data/doc/rdoc/more/classes/ZipUtils/DryRun.html +28 -28
- data/doc/rdoc/more/classes/ZipUtils/NoWrite.html +28 -28
- data/doc/rdoc/more/classes/ZipUtils/Verbose.html +28 -28
- data/doc/rdoc/more/created.rid +1 -1
- data/doc/rdoc/more/files/lib/more/facets/ansicode_rb.html +1 -1
- data/doc/rdoc/{core/files/lib/core → more/files/lib/more}/facets/binding/opvars_rb.html +2 -2
- data/doc/rdoc/{core/files/lib/core → more/files/lib/more}/facets/hash/stringify_keys_rb.html +2 -2
- data/doc/rdoc/{core/files/lib/core → more/files/lib/more}/facets/hash/symbolize_keys_rb.html +2 -2
- data/doc/rdoc/{core/files/lib/core/facets/proc → more/files/lib/more/facets}/partial_rb.html +8 -7
- data/doc/rdoc/more/files/lib/more/facets/snapshot_rb.html +2 -2
- data/doc/rdoc/more/files/lib/more/facets/string/words_rb.html +96 -0
- data/doc/rdoc/more/files/lib/more/facets/tracepoint_rb.html +13 -8
- data/doc/rdoc/more/fr_class_index.html +4 -2
- data/doc/rdoc/more/fr_file_index.html +9 -2
- data/doc/rdoc/more/fr_method_index.html +1013 -1009
- data/doc/ri/CLI/cdesc-CLI.yaml +7 -2
- data/doc/ri/Enumerable/probability-i.yaml +1 -1
- data/doc/ri/Module/append_features-i.yaml +4 -3
- data/doc/ri/Module/cdesc-Module.yaml +4 -3
- data/doc/ri/Module/methodize-i.yaml +14 -0
- data/doc/ri/Module/redefine_method-i.yaml +1 -1
- data/doc/ri/Module/redirect_method-i.yaml +3 -1
- data/doc/ri/Module/rename_method-i.yaml +1 -1
- data/doc/ri/created.rid +1 -1
- data/lib/core/facets/array.rb +3 -0
- data/lib/core/facets/binding.rb +0 -1
- data/lib/core/facets/class.rb +4 -4
- data/lib/core/facets/class/{to_methodname.rb → methodize.rb} +5 -2
- data/lib/core/facets/class/pathize.rb +14 -0
- data/lib/core/facets/enumerable.rb +5 -2
- data/lib/core/facets/enumerable/commonality.rb +33 -0
- data/lib/core/facets/enumerable/entropy.rb +37 -0
- data/lib/core/facets/enumerable/frequency.rb +18 -0
- data/lib/core/facets/enumerable/probability.rb +1 -98
- data/lib/core/facets/file.rb +1 -1
- data/lib/core/facets/hash.rb +6 -0
- data/lib/{more → core}/facets/indexable.rb +0 -0
- data/lib/core/facets/kernel.rb +15 -1
- data/lib/core/facets/kernel/require_all.rb +21 -0
- data/lib/core/facets/kernel/{load.rb → require_local.rb} +6 -23
- data/lib/core/facets/module.rb +7 -3
- data/lib/core/facets/module/integrate.rb +2 -0
- data/lib/core/facets/module/methodize.rb +14 -0
- data/lib/core/facets/module/pathize.rb +10 -7
- data/lib/core/facets/module/redefine_method.rb +35 -0
- data/lib/core/facets/module/redirect_method.rb +45 -0
- data/lib/core/facets/module/rename_method.rb +20 -0
- data/lib/core/facets/module/revise.rb +7 -113
- data/lib/core/facets/module/wrap_method.rb +28 -0
- data/lib/core/facets/numeric.rb +1 -1
- data/lib/core/facets/proc.rb +2 -3
- data/lib/{more → core}/facets/stackable.rb +0 -0
- data/lib/core/facets/string.rb +8 -6
- data/lib/core/facets/string/each_word.rb +13 -0
- data/lib/core/facets/string/methodize.rb +12 -0
- data/lib/core/facets/string/pathize.rb +12 -0
- data/lib/core/facets/string/word_wrap.rb +34 -0
- data/lib/core/facets/string/words.rb +6 -167
- data/lib/core/facets/symbol.rb +1 -0
- data/lib/more/facets/ansicode.rb +4 -4
- data/lib/{core → more}/facets/binding/opvars.rb +0 -0
- data/lib/{core → more}/facets/hash/stringify_keys.rb +0 -0
- data/lib/{core → more}/facets/hash/symbolize_keys.rb +5 -6
- data/lib/{core/facets/proc → more/facets}/partial.rb +0 -0
- data/lib/more/facets/string/words.rb +173 -0
- data/test/core/dir/test_multiglob.rb +1 -0
- data/test/core/dir/test_recurse.rb +1 -0
- data/test/core/enumerable/test_commonality.rb +15 -0
- data/test/core/enumerable/test_entropy.rb +15 -0
- data/test/core/enumerable/test_frequency.rb +11 -0
- data/test/core/enumerable/test_probability.rb +1 -34
- data/test/core/string/test_each_word.rb +14 -0
- data/test/core/string/test_fold.rb +1 -1
- data/test/core/string/test_word_wrap.rb +35 -0
- data/test/core/string/test_words.rb +12 -61
- data/test/more/test_command.rb +7 -9
- data/test/more/test_paramix.rb +4 -1
- data/test/{core/proc → more}/test_partial.rb +1 -1
- metadata +75 -38
- data/doc/rdoc/core/classes/Module/CloneExtensions.html +0 -287
- data/doc/ri/Module/CloneExtensions/cdesc-CloneExtensions.yaml +0 -20
- data/doc/ri/Module/CloneExtensions/clone_removing-i.yaml +0 -14
- data/doc/ri/Module/CloneExtensions/clone_renaming-i.yaml +0 -14
- data/doc/ri/Module/CloneExtensions/clone_using-i.yaml +0 -14
- data/lib/core/facets/class/to_pathname.rb +0 -12
- data/lib/core/facets/module/clone.rb +0 -57
- data/test/core/module/test_clone.rb +0 -45
@@ -0,0 +1,15 @@
|
|
1
|
+
require 'facets/enumerable/commonality.rb'
|
2
|
+
require 'test/unit'
|
3
|
+
|
4
|
+
class Test_Enumerable_Commonality < Test::Unit::TestCase
|
5
|
+
|
6
|
+
def test_commonality
|
7
|
+
a = [1,2,2,3,3,3]
|
8
|
+
r = { 2 => [2,2], 3 => [3,3,3] }
|
9
|
+
assert_equal( r, a.commonality )
|
10
|
+
a = [1,2,2,3,3,3]
|
11
|
+
r = {false=>[1, 2, 2], true=>[3, 3, 3]}
|
12
|
+
assert_equal( r, a.commonality { |x| x > 2 } )
|
13
|
+
end
|
14
|
+
|
15
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
require 'facets/enumerable/entropy.rb'
|
2
|
+
require 'test/unit'
|
3
|
+
|
4
|
+
class Test_Enumerable_Entropy < Test::Unit::TestCase
|
5
|
+
|
6
|
+
def test_entropy
|
7
|
+
assert_equal( 1.0, %w{ a b }.entropy )
|
8
|
+
end
|
9
|
+
|
10
|
+
def test_ideal_entropy
|
11
|
+
assert_equal( 1.0, %w{ a b }.ideal_entropy )
|
12
|
+
assert_equal( 2.0, %w{ a a b b }.ideal_entropy )
|
13
|
+
end
|
14
|
+
|
15
|
+
end
|
@@ -0,0 +1,11 @@
|
|
1
|
+
require 'facets/enumerable/frequency.rb'
|
2
|
+
require 'test/unit'
|
3
|
+
|
4
|
+
class Test_Enumerable_Frequency < Test::Unit::TestCase
|
5
|
+
|
6
|
+
def test_frequency
|
7
|
+
assert_equal( {'a'=>1,'b'=>1}, %w{a b}.frequency )
|
8
|
+
assert_equal( {'tom'=>1,'boy'=>1}, %w{tom boy}.frequency )
|
9
|
+
end
|
10
|
+
|
11
|
+
end
|
@@ -1,44 +1,11 @@
|
|
1
|
-
# Test for facets/enumerable/probability
|
2
|
-
|
3
1
|
require 'facets/enumerable/probability.rb'
|
4
2
|
require 'test/unit'
|
5
3
|
|
6
|
-
class
|
7
|
-
|
8
|
-
def test_entropy
|
9
|
-
assert_equal( 1.0, %w{ a b }.entropy )
|
10
|
-
end
|
11
|
-
|
12
|
-
def test_ideal_entropy
|
13
|
-
assert_equal( 1.0, %w{ a b }.ideal_entropy )
|
14
|
-
assert_equal( 2.0, %w{ a a b b }.ideal_entropy )
|
15
|
-
end
|
4
|
+
class Test_Enumerable_Probability < Test::Unit::TestCase
|
16
5
|
|
17
6
|
def test_probability
|
18
7
|
assert_equal( {'a'=>0.5,'b'=>0.5}, %w{a b}.probability )
|
19
8
|
assert_equal( {'tom'=>0.5,'boy'=>0.5}, %w{tom boy}.probability )
|
20
9
|
end
|
21
10
|
|
22
|
-
def test_frequency
|
23
|
-
assert_equal( {'a'=>1,'b'=>1}, %w{a b}.frequency )
|
24
|
-
assert_equal( {'tom'=>1,'boy'=>1}, %w{tom boy}.frequency )
|
25
|
-
end
|
26
|
-
|
27
|
-
def test_commonality
|
28
|
-
a = [1,2,2,3,3,3]
|
29
|
-
r = { 2 => [2,2], 3 => [3,3,3] }
|
30
|
-
assert_equal( r, a.commonality )
|
31
|
-
a = [1,2,2,3,3,3]
|
32
|
-
r = {false=>[1, 2, 2], true=>[3, 3, 3]}
|
33
|
-
assert_equal( r, a.commonality { |x| x > 2 } )
|
34
|
-
end
|
35
|
-
|
36
|
-
# def test_collisions
|
37
|
-
# a = [1,2,2,3,3,3]
|
38
|
-
# assert_equal( [2,3], a.collisions )
|
39
|
-
# a = [1,2,2,3,3,3]
|
40
|
-
# r = {false=>[1, 2, 2], true=>[3, 3, 3]}
|
41
|
-
# assert_equal( r, a.collisions { |x| x > 2 } )
|
42
|
-
# end
|
43
|
-
|
44
11
|
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
require 'facets/string/each_word.rb'
|
2
|
+
require 'test/unit'
|
3
|
+
|
4
|
+
class Test_String_EachWord < Test::Unit::TestCase
|
5
|
+
|
6
|
+
def test_each_word
|
7
|
+
a = []
|
8
|
+
i = "this is a test"
|
9
|
+
i.each_word{ |w| a << w }
|
10
|
+
assert_equal( ['this', 'is', 'a', 'test'], a )
|
11
|
+
end
|
12
|
+
|
13
|
+
end
|
14
|
+
|
@@ -0,0 +1,35 @@
|
|
1
|
+
require 'facets/string/word_wrap.rb'
|
2
|
+
require 'test/unit'
|
3
|
+
|
4
|
+
class Test_String_WordWrap < Test::Unit::TestCase
|
5
|
+
|
6
|
+
def test_word_wrap
|
7
|
+
assert_equal "abcde\n12345\nxyzwu\n", "abcde 12345 xyzwu".word_wrap(5)
|
8
|
+
assert_equal "abcd\n1234\nxyzw\n", "abcd 1234 xyzw".word_wrap(4)
|
9
|
+
assert_equal "abc\n123\n", "abc 123".word_wrap(4)
|
10
|
+
assert_equal "abc \n123\n", "abc 123".word_wrap(4)
|
11
|
+
assert_equal "abc \n123\n", "abc 123".word_wrap(4)
|
12
|
+
end
|
13
|
+
|
14
|
+
def test_word_wrap!
|
15
|
+
w = "abcde 12345 xyzwu" ; w.word_wrap!(5)
|
16
|
+
assert_equal("abcde\n12345\nxyzwu\n", w)
|
17
|
+
w = "abcd 1234 xyzw" ; w.word_wrap!(4)
|
18
|
+
assert_equal("abcd\n1234\nxyzw\n", w)
|
19
|
+
w = "abc 123" ; w.word_wrap!(4)
|
20
|
+
assert_equal "abc\n123\n", w
|
21
|
+
w = "abc 123" ; w.word_wrap!(4)
|
22
|
+
assert_equal("abc \n123\n", w)
|
23
|
+
w = "abc 123" ; w.word_wrap!(4)
|
24
|
+
assert_equal("abc \n123\n", w)
|
25
|
+
end
|
26
|
+
|
27
|
+
# def test_word_wrap
|
28
|
+
# assert_equal "abcde-\n12345-\nxyzwu\n", "abcde12345xyzwu".word_wrap(6,2)
|
29
|
+
# assert_equal "abcd-\n1234-\nxyzw\n", "abcd1234xyzw".word_wrap(5,2)
|
30
|
+
# assert_equal "abc \n123\n", "abc 123".word_wrap(4,2)
|
31
|
+
# assert_equal "abc \n123\n", "abc 123".word_wrap(4,2)
|
32
|
+
# assert_equal "abc \n123\n", "abc 123".word_wrap(4,2)
|
33
|
+
# end
|
34
|
+
|
35
|
+
end
|
@@ -1,61 +1,7 @@
|
|
1
1
|
require 'facets/string/words.rb'
|
2
2
|
require 'test/unit'
|
3
3
|
|
4
|
-
class
|
5
|
-
|
6
|
-
def test_word_filter
|
7
|
-
s = "this is a test"
|
8
|
-
n = s.word_filter{ |w| "#{w}1" }
|
9
|
-
assert_equal( 'this1 is1 a1 test1', n )
|
10
|
-
end
|
11
|
-
|
12
|
-
def test_word_filter!
|
13
|
-
s = "this is a test"
|
14
|
-
s.word_filter!{ |w| "#{w}1" }
|
15
|
-
assert_equal( 'this1 is1 a1 test1', s )
|
16
|
-
end
|
17
|
-
|
18
|
-
|
19
|
-
def test_fold_1
|
20
|
-
s = "This is\na test.\n\nIt clumps\nlines of text."
|
21
|
-
o = "This is a test.\n\nIt clumps lines of text."
|
22
|
-
assert_equal( o, s.fold )
|
23
|
-
end
|
24
|
-
|
25
|
-
def test_fold_2
|
26
|
-
s = "This is\na test.\n\n This is pre.\n Leave alone.\n\nIt clumps\nlines of text."
|
27
|
-
o = "This is a test.\n\n This is pre.\n Leave alone.\n\nIt clumps lines of text."
|
28
|
-
assert_equal( o, s.fold(true) )
|
29
|
-
end
|
30
|
-
|
31
|
-
def test_word_wrap
|
32
|
-
assert_equal "abcde\n12345\nxyzwu\n", "abcde 12345 xyzwu".word_wrap(5)
|
33
|
-
assert_equal "abcd\n1234\nxyzw\n", "abcd 1234 xyzw".word_wrap(4)
|
34
|
-
assert_equal "abc\n123\n", "abc 123".word_wrap(4)
|
35
|
-
assert_equal "abc \n123\n", "abc 123".word_wrap(4)
|
36
|
-
assert_equal "abc \n123\n", "abc 123".word_wrap(4)
|
37
|
-
end
|
38
|
-
|
39
|
-
def test_word_wrap!
|
40
|
-
w = "abcde 12345 xyzwu" ; w.word_wrap!(5)
|
41
|
-
assert_equal("abcde\n12345\nxyzwu\n", w)
|
42
|
-
w = "abcd 1234 xyzw" ; w.word_wrap!(4)
|
43
|
-
assert_equal("abcd\n1234\nxyzw\n", w)
|
44
|
-
w = "abc 123" ; w.word_wrap!(4)
|
45
|
-
assert_equal "abc\n123\n", w
|
46
|
-
w = "abc 123" ; w.word_wrap!(4)
|
47
|
-
assert_equal("abc \n123\n", w)
|
48
|
-
w = "abc 123" ; w.word_wrap!(4)
|
49
|
-
assert_equal("abc \n123\n", w)
|
50
|
-
end
|
51
|
-
|
52
|
-
# def test_word_wrap
|
53
|
-
# assert_equal "abcde-\n12345-\nxyzwu\n", "abcde12345xyzwu".word_wrap(6,2)
|
54
|
-
# assert_equal "abcd-\n1234-\nxyzw\n", "abcd1234xyzw".word_wrap(5,2)
|
55
|
-
# assert_equal "abc \n123\n", "abc 123".word_wrap(4,2)
|
56
|
-
# assert_equal "abc \n123\n", "abc 123".word_wrap(4,2)
|
57
|
-
# assert_equal "abc \n123\n", "abc 123".word_wrap(4,2)
|
58
|
-
# end
|
4
|
+
class Test_String_Words < Test::Unit::TestCase
|
59
5
|
|
60
6
|
def test_words_01
|
61
7
|
x = "a b c\nd e"
|
@@ -72,11 +18,16 @@ class TestStringWords < Test::Unit::TestCase
|
|
72
18
|
assert_equal( ['ab','cd','ef-gh'], x.words )
|
73
19
|
end
|
74
20
|
|
75
|
-
def
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
21
|
+
#def test_word_filter
|
22
|
+
# s = "this is a test"
|
23
|
+
# n = s.word_filter{ |w| "#{w}1" }
|
24
|
+
# assert_equal( 'this1 is1 a1 test1', n )
|
25
|
+
#end
|
26
|
+
|
27
|
+
#def test_word_filter!
|
28
|
+
# s = "this is a test"
|
29
|
+
# s.word_filter!{ |w| "#{w}1" }
|
30
|
+
# assert_equal( 'this1 is1 a1 test1', s )
|
31
|
+
#end
|
81
32
|
|
82
33
|
end
|
data/test/more/test_command.rb
CHANGED
@@ -1,9 +1,5 @@
|
|
1
|
-
# Test for facets/advice.rb
|
2
|
-
|
3
|
-
require 'test/unit'
|
4
1
|
require 'facets/command'
|
5
|
-
|
6
|
-
include Console
|
2
|
+
require 'test/unit'
|
7
3
|
|
8
4
|
class TC_Command_Simple < Test::Unit::TestCase
|
9
5
|
|
@@ -11,7 +7,7 @@ class TC_Command_Simple < Test::Unit::TestCase
|
|
11
7
|
# Test simple, single funciton command.
|
12
8
|
#
|
13
9
|
|
14
|
-
class SimpleCommand < Command
|
10
|
+
class SimpleCommand < CLI::Command
|
15
11
|
|
16
12
|
def call
|
17
13
|
"hello"
|
@@ -31,7 +27,7 @@ end
|
|
31
27
|
|
32
28
|
class TC_Command_Dispatch < Test::Unit::TestCase
|
33
29
|
|
34
|
-
class ComplexCommand < Command
|
30
|
+
class ComplexCommand < CLI::Command
|
35
31
|
|
36
32
|
def sink
|
37
33
|
"sink"
|
@@ -55,11 +51,13 @@ end
|
|
55
51
|
|
56
52
|
class TC_Command_Subcommand < Test::Unit::TestCase
|
57
53
|
|
58
|
-
|
54
|
+
include Console
|
55
|
+
|
56
|
+
class SubCommand < CLI::Command
|
59
57
|
def call ; 'submarine' ; end
|
60
58
|
end
|
61
59
|
|
62
|
-
class ComplexCommand < Command
|
60
|
+
class ComplexCommand < CLI::Command
|
63
61
|
subcommand :submariner, SubCommand
|
64
62
|
end
|
65
63
|
|
data/test/more/test_paramix.rb
CHANGED
@@ -160,7 +160,10 @@ class TC_Paramix_04 < Test::Unit::TestCase
|
|
160
160
|
end
|
161
161
|
|
162
162
|
def test_ancestors
|
163
|
-
|
163
|
+
assert(X.ancestors.include?(X))
|
164
|
+
assert(X.ancestors.include?(O))
|
165
|
+
assert(X.ancestors.include?(Object))
|
166
|
+
assert(X.ancestors.include?(Kernel))
|
164
167
|
end
|
165
168
|
|
166
169
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: facets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors: []
|
7
7
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-08-
|
12
|
+
date: 2008-08-13 00:00:00 -04:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|
@@ -101,8 +101,6 @@ files:
|
|
101
101
|
- doc/rdoc/core/fr_file_index.html
|
102
102
|
- doc/rdoc/core/classes
|
103
103
|
- doc/rdoc/core/classes/Lazy.html
|
104
|
-
- doc/rdoc/core/classes/String
|
105
|
-
- doc/rdoc/core/classes/String/Words.html
|
106
104
|
- doc/rdoc/core/classes/String.html
|
107
105
|
- doc/rdoc/core/classes/Dir.html
|
108
106
|
- doc/rdoc/core/classes/Numeric.html
|
@@ -111,11 +109,11 @@ files:
|
|
111
109
|
- doc/rdoc/core/classes/Array.html
|
112
110
|
- doc/rdoc/core/classes/FileTest.html
|
113
111
|
- doc/rdoc/core/classes/FalseClass.html
|
114
|
-
- doc/rdoc/core/classes/MissingArgument.html
|
115
112
|
- doc/rdoc/core/classes/InstanceVariables.html
|
116
113
|
- doc/rdoc/core/classes/Comparable.html
|
117
114
|
- doc/rdoc/core/classes/Integer.html
|
118
115
|
- doc/rdoc/core/classes/NilClass.html
|
116
|
+
- doc/rdoc/core/classes/Stackable.html
|
119
117
|
- doc/rdoc/core/classes/Hash.html
|
120
118
|
- doc/rdoc/core/classes/Kernel.html
|
121
119
|
- doc/rdoc/core/classes/Proc.html
|
@@ -133,12 +131,11 @@ files:
|
|
133
131
|
- doc/rdoc/core/classes/Lazy/PromiseSafe.html
|
134
132
|
- doc/rdoc/core/classes/Lazy/Promise.html
|
135
133
|
- doc/rdoc/core/classes/TrueClass.html
|
134
|
+
- doc/rdoc/core/classes/Indexable.html
|
136
135
|
- doc/rdoc/core/classes/Range.html
|
137
136
|
- doc/rdoc/core/classes/Regexp.html
|
138
137
|
- doc/rdoc/core/classes/Module.html
|
139
138
|
- doc/rdoc/core/classes/Time.html
|
140
|
-
- doc/rdoc/core/classes/Module
|
141
|
-
- doc/rdoc/core/classes/Module/CloneExtensions.html
|
142
139
|
- doc/rdoc/core/classes/File.html
|
143
140
|
- doc/rdoc/core/rdoc-style.css
|
144
141
|
- doc/rdoc/core/files
|
@@ -173,6 +170,7 @@ files:
|
|
173
170
|
- doc/rdoc/core/files/lib/core/facets/nilclass/to_f_rb.html
|
174
171
|
- doc/rdoc/core/files/lib/core/facets/proc_rb.html
|
175
172
|
- doc/rdoc/core/files/lib/core/facets/boolean_rb.html
|
173
|
+
- doc/rdoc/core/files/lib/core/facets/stackable_rb.html
|
176
174
|
- doc/rdoc/core/files/lib/core/facets/numeric
|
177
175
|
- doc/rdoc/core/files/lib/core/facets/numeric/round_rb.html
|
178
176
|
- doc/rdoc/core/files/lib/core/facets/numeric/distance_rb.html
|
@@ -182,7 +180,6 @@ files:
|
|
182
180
|
- doc/rdoc/core/files/lib/core/facets/binding/self_rb.html
|
183
181
|
- doc/rdoc/core/files/lib/core/facets/binding/caller_rb.html
|
184
182
|
- doc/rdoc/core/files/lib/core/facets/binding/eval_rb.html
|
185
|
-
- doc/rdoc/core/files/lib/core/facets/binding/opvars_rb.html
|
186
183
|
- doc/rdoc/core/files/lib/core/facets/binding/defined_rb.html
|
187
184
|
- doc/rdoc/core/files/lib/core/facets/binding/local_variables_rb.html
|
188
185
|
- doc/rdoc/core/files/lib/core/facets/class_rb.html
|
@@ -190,7 +187,6 @@ files:
|
|
190
187
|
- doc/rdoc/core/files/lib/core/facets/float/round_rb.html
|
191
188
|
- doc/rdoc/core/files/lib/core/facets/proc
|
192
189
|
- doc/rdoc/core/files/lib/core/facets/proc/update_rb.html
|
193
|
-
- doc/rdoc/core/files/lib/core/facets/proc/partial_rb.html
|
194
190
|
- doc/rdoc/core/files/lib/core/facets/proc/bind_rb.html
|
195
191
|
- doc/rdoc/core/files/lib/core/facets/proc/curry_rb.html
|
196
192
|
- doc/rdoc/core/files/lib/core/facets/proc/to_method_rb.html
|
@@ -229,12 +225,10 @@ files:
|
|
229
225
|
- doc/rdoc/core/files/lib/core/facets/hash/zipnew_rb.html
|
230
226
|
- doc/rdoc/core/files/lib/core/facets/hash/autonew_rb.html
|
231
227
|
- doc/rdoc/core/files/lib/core/facets/hash/traverse_rb.html
|
232
|
-
- doc/rdoc/core/files/lib/core/facets/hash/stringify_keys_rb.html
|
233
228
|
- doc/rdoc/core/files/lib/core/facets/hash/op_rb.html
|
234
229
|
- doc/rdoc/core/files/lib/core/facets/hash/join_rb.html
|
235
230
|
- doc/rdoc/core/files/lib/core/facets/hash/insert_rb.html
|
236
231
|
- doc/rdoc/core/files/lib/core/facets/hash/inverse_rb.html
|
237
|
-
- doc/rdoc/core/files/lib/core/facets/hash/symbolize_keys_rb.html
|
238
232
|
- doc/rdoc/core/files/lib/core/facets/hash/diff_rb.html
|
239
233
|
- doc/rdoc/core/files/lib/core/facets/hash/recursive_merge_rb.html
|
240
234
|
- doc/rdoc/core/files/lib/core/facets/hash/to_h_rb.html
|
@@ -243,7 +237,6 @@ files:
|
|
243
237
|
- doc/rdoc/core/files/lib/core/facets/hash/to_struct_rb.html
|
244
238
|
- doc/rdoc/core/files/lib/core/facets/blank_rb.html
|
245
239
|
- doc/rdoc/core/files/lib/core/facets/kernel
|
246
|
-
- doc/rdoc/core/files/lib/core/facets/kernel/load_rb.html
|
247
240
|
- doc/rdoc/core/files/lib/core/facets/kernel/not_nil_rb.html
|
248
241
|
- doc/rdoc/core/files/lib/core/facets/kernel/object_class_rb.html
|
249
242
|
- doc/rdoc/core/files/lib/core/facets/kernel/suppress_rb.html
|
@@ -261,6 +254,7 @@ files:
|
|
261
254
|
- doc/rdoc/core/files/lib/core/facets/kernel/with_rb.html
|
262
255
|
- doc/rdoc/core/files/lib/core/facets/kernel/singleton_class_rb.html
|
263
256
|
- doc/rdoc/core/files/lib/core/facets/kernel/__set___rb.html
|
257
|
+
- doc/rdoc/core/files/lib/core/facets/kernel/require_all_rb.html
|
264
258
|
- doc/rdoc/core/files/lib/core/facets/kernel/instance_assign_rb.html
|
265
259
|
- doc/rdoc/core/files/lib/core/facets/kernel/__callee___rb.html
|
266
260
|
- doc/rdoc/core/files/lib/core/facets/kernel/try_rb.html
|
@@ -275,6 +269,7 @@ files:
|
|
275
269
|
- doc/rdoc/core/files/lib/core/facets/kernel/tap_rb.html
|
276
270
|
- doc/rdoc/core/files/lib/core/facets/kernel/populate_rb.html
|
277
271
|
- doc/rdoc/core/files/lib/core/facets/kernel/resc_rb.html
|
272
|
+
- doc/rdoc/core/files/lib/core/facets/kernel/require_local_rb.html
|
278
273
|
- doc/rdoc/core/files/lib/core/facets/kernel/returning_rb.html
|
279
274
|
- doc/rdoc/core/files/lib/core/facets/kernel/ask_rb.html
|
280
275
|
- doc/rdoc/core/files/lib/core/facets/kernel/complete_rb.html
|
@@ -292,9 +287,11 @@ files:
|
|
292
287
|
- doc/rdoc/core/files/lib/core/facets/functor_rb.html
|
293
288
|
- doc/rdoc/core/files/lib/core/facets/unboundmethod_rb.html
|
294
289
|
- doc/rdoc/core/files/lib/core/facets/enumerable
|
290
|
+
- doc/rdoc/core/files/lib/core/facets/enumerable/commonality_rb.html
|
295
291
|
- doc/rdoc/core/files/lib/core/facets/enumerable/mode_rb.html
|
296
292
|
- doc/rdoc/core/files/lib/core/facets/enumerable/mash_rb.html
|
297
293
|
- doc/rdoc/core/files/lib/core/facets/enumerable/collect_rb.html
|
294
|
+
- doc/rdoc/core/files/lib/core/facets/enumerable/frequency_rb.html
|
298
295
|
- doc/rdoc/core/files/lib/core/facets/enumerable/accumulate_rb.html
|
299
296
|
- doc/rdoc/core/files/lib/core/facets/enumerable/split_rb.html
|
300
297
|
- doc/rdoc/core/files/lib/core/facets/enumerable/duplicates_rb.html
|
@@ -303,6 +300,7 @@ files:
|
|
303
300
|
- doc/rdoc/core/files/lib/core/facets/enumerable/probability_rb.html
|
304
301
|
- doc/rdoc/core/files/lib/core/facets/enumerable/sum_rb.html
|
305
302
|
- doc/rdoc/core/files/lib/core/facets/enumerable/uniq_by_rb.html
|
303
|
+
- doc/rdoc/core/files/lib/core/facets/enumerable/entropy_rb.html
|
306
304
|
- doc/rdoc/core/files/lib/core/facets/enumerable/occur_rb.html
|
307
305
|
- doc/rdoc/core/files/lib/core/facets/enumerable/cluster_by_rb.html
|
308
306
|
- doc/rdoc/core/files/lib/core/facets/enumerable/each_by_rb.html
|
@@ -315,6 +313,7 @@ files:
|
|
315
313
|
- doc/rdoc/core/files/lib/core/facets/regexp_rb.html
|
316
314
|
- doc/rdoc/core/files/lib/core/facets/string
|
317
315
|
- doc/rdoc/core/files/lib/core/facets/string/rewrite_rb.html
|
316
|
+
- doc/rdoc/core/files/lib/core/facets/string/pathize_rb.html
|
318
317
|
- doc/rdoc/core/files/lib/core/facets/string/align_rb.html
|
319
318
|
- doc/rdoc/core/files/lib/core/facets/string/chomp_rb.html
|
320
319
|
- doc/rdoc/core/files/lib/core/facets/string/nchar_rb.html
|
@@ -324,6 +323,7 @@ files:
|
|
324
323
|
- doc/rdoc/core/files/lib/core/facets/string/snakecase_rb.html
|
325
324
|
- doc/rdoc/core/files/lib/core/facets/string/capitalized_rb.html
|
326
325
|
- doc/rdoc/core/files/lib/core/facets/string/cleave_rb.html
|
326
|
+
- doc/rdoc/core/files/lib/core/facets/string/word_wrap_rb.html
|
327
327
|
- doc/rdoc/core/files/lib/core/facets/string/to_re_rb.html
|
328
328
|
- doc/rdoc/core/files/lib/core/facets/string/shatter_rb.html
|
329
329
|
- doc/rdoc/core/files/lib/core/facets/string/start_with_rb.html
|
@@ -333,12 +333,14 @@ files:
|
|
333
333
|
- doc/rdoc/core/files/lib/core/facets/string/end_with_rb.html
|
334
334
|
- doc/rdoc/core/files/lib/core/facets/string/subtract_rb.html
|
335
335
|
- doc/rdoc/core/files/lib/core/facets/string/titlecase_rb.html
|
336
|
+
- doc/rdoc/core/files/lib/core/facets/string/methodize_rb.html
|
336
337
|
- doc/rdoc/core/files/lib/core/facets/string/line_wrap_rb.html
|
337
338
|
- doc/rdoc/core/files/lib/core/facets/string/chars_rb.html
|
338
339
|
- doc/rdoc/core/files/lib/core/facets/string/bytes_rb.html
|
339
340
|
- doc/rdoc/core/files/lib/core/facets/string/interpolate_rb.html
|
340
341
|
- doc/rdoc/core/files/lib/core/facets/string/camelcase_rb.html
|
341
342
|
- doc/rdoc/core/files/lib/core/facets/string/range_rb.html
|
343
|
+
- doc/rdoc/core/files/lib/core/facets/string/each_word_rb.html
|
342
344
|
- doc/rdoc/core/files/lib/core/facets/string/xor_rb.html
|
343
345
|
- doc/rdoc/core/files/lib/core/facets/string/bracket_rb.html
|
344
346
|
- doc/rdoc/core/files/lib/core/facets/string/each_char_rb.html
|
@@ -351,20 +353,25 @@ files:
|
|
351
353
|
- doc/rdoc/core/files/lib/core/facets/module/alias_rb.html
|
352
354
|
- doc/rdoc/core/files/lib/core/facets/module/basename_rb.html
|
353
355
|
- doc/rdoc/core/files/lib/core/facets/module/ancestor_rb.html
|
354
|
-
- doc/rdoc/core/files/lib/core/facets/module/clone_rb.html
|
355
356
|
- doc/rdoc/core/files/lib/core/facets/module/module_load_rb.html
|
356
357
|
- doc/rdoc/core/files/lib/core/facets/module/instance_methods_rb.html
|
358
|
+
- doc/rdoc/core/files/lib/core/facets/module/redirect_method_rb.html
|
357
359
|
- doc/rdoc/core/files/lib/core/facets/module/can_rb.html
|
360
|
+
- doc/rdoc/core/files/lib/core/facets/module/rename_method_rb.html
|
358
361
|
- doc/rdoc/core/files/lib/core/facets/module/class_rb.html
|
359
362
|
- doc/rdoc/core/files/lib/core/facets/module/abstract_rb.html
|
363
|
+
- doc/rdoc/core/files/lib/core/facets/module/redefine_method_rb.html
|
360
364
|
- doc/rdoc/core/files/lib/core/facets/module/spacename_rb.html
|
365
|
+
- doc/rdoc/core/files/lib/core/facets/module/methodize_rb.html
|
361
366
|
- doc/rdoc/core/files/lib/core/facets/module/is_rb.html
|
362
367
|
- doc/rdoc/core/files/lib/core/facets/module/op_rb.html
|
363
368
|
- doc/rdoc/core/files/lib/core/facets/module/prepend_rb.html
|
369
|
+
- doc/rdoc/core/files/lib/core/facets/module/wrap_method_rb.html
|
364
370
|
- doc/rdoc/core/files/lib/core/facets/module/nesting_rb.html
|
365
371
|
- doc/rdoc/core/files/lib/core/facets/module/include_function_module_rb.html
|
366
372
|
- doc/rdoc/core/files/lib/core/facets/module/revise_rb.html
|
367
373
|
- doc/rdoc/core/files/lib/core/facets/module/conflict_rb.html
|
374
|
+
- doc/rdoc/core/files/lib/core/facets/module/integrate_rb.html
|
368
375
|
- doc/rdoc/core/files/lib/core/facets/integer_rb.html
|
369
376
|
- doc/rdoc/core/files/lib/core/facets/filetest_rb.html
|
370
377
|
- doc/rdoc/core/files/lib/core/facets/range_rb.html
|
@@ -396,9 +403,9 @@ files:
|
|
396
403
|
- doc/rdoc/core/files/lib/core/facets/filetest
|
397
404
|
- doc/rdoc/core/files/lib/core/facets/filetest/root_rb.html
|
398
405
|
- doc/rdoc/core/files/lib/core/facets/class
|
399
|
-
- doc/rdoc/core/files/lib/core/facets/class/
|
400
|
-
- doc/rdoc/core/files/lib/core/facets/class/to_pathname_rb.html
|
406
|
+
- doc/rdoc/core/files/lib/core/facets/class/pathize_rb.html
|
401
407
|
- doc/rdoc/core/files/lib/core/facets/class/to_proc_rb.html
|
408
|
+
- doc/rdoc/core/files/lib/core/facets/class/methodize_rb.html
|
402
409
|
- doc/rdoc/core/files/lib/core/facets/class/prepend_rb.html
|
403
410
|
- doc/rdoc/core/files/lib/core/facets/class/subclasses_rb.html
|
404
411
|
- doc/rdoc/core/files/lib/core/facets/class/descendents_rb.html
|
@@ -431,6 +438,7 @@ files:
|
|
431
438
|
- doc/rdoc/core/files/lib/core/facets/exception
|
432
439
|
- doc/rdoc/core/files/lib/core/facets/exception/suppress_rb.html
|
433
440
|
- doc/rdoc/core/files/lib/core/facets/exception/detail_rb.html
|
441
|
+
- doc/rdoc/core/files/lib/core/facets/indexable_rb.html
|
434
442
|
- doc/rdoc/core/fr_class_index.html
|
435
443
|
- doc/rdoc/core/index.html
|
436
444
|
- doc/rdoc/core/created.rid
|
@@ -444,6 +452,7 @@ files:
|
|
444
452
|
- doc/rdoc/more/classes/Archive.html
|
445
453
|
- doc/rdoc/more/classes/String
|
446
454
|
- doc/rdoc/more/classes/String/Style.html
|
455
|
+
- doc/rdoc/more/classes/String/Words.html
|
447
456
|
- doc/rdoc/more/classes/BuildingBlock.html
|
448
457
|
- doc/rdoc/more/classes/DictionaryMatcher
|
449
458
|
- doc/rdoc/more/classes/DictionaryMatcher/MatchData.html
|
@@ -469,10 +478,12 @@ files:
|
|
469
478
|
- doc/rdoc/more/classes/ZipUtils/Verbose.html
|
470
479
|
- doc/rdoc/more/classes/ZipUtils/DryRun.html
|
471
480
|
- doc/rdoc/more/classes/OpenCascade.html
|
481
|
+
- doc/rdoc/more/classes/MissingArgument.html
|
472
482
|
- doc/rdoc/more/classes/Net.html
|
473
483
|
- doc/rdoc/more/classes/Hash2Xml.html
|
474
484
|
- doc/rdoc/more/classes/OpEsc.html
|
475
485
|
- doc/rdoc/more/classes/Dictionary.html
|
486
|
+
- doc/rdoc/more/classes/CLI.html
|
476
487
|
- doc/rdoc/more/classes/PathList.html
|
477
488
|
- doc/rdoc/more/classes/NullClass.html
|
478
489
|
- doc/rdoc/more/classes/Chain.html
|
@@ -487,7 +498,6 @@ files:
|
|
487
498
|
- doc/rdoc/more/classes/CssTree.html
|
488
499
|
- doc/rdoc/more/classes/Ini.html
|
489
500
|
- doc/rdoc/more/classes/OpenCollection.html
|
490
|
-
- doc/rdoc/more/classes/Stackable.html
|
491
501
|
- doc/rdoc/more/classes/Hash.html
|
492
502
|
- doc/rdoc/more/classes/Autoarray.html
|
493
503
|
- doc/rdoc/more/classes/Kernel.html
|
@@ -502,6 +512,7 @@ files:
|
|
502
512
|
- doc/rdoc/more/classes/Instantiable.html
|
503
513
|
- doc/rdoc/more/classes/ObjectReflection.html
|
504
514
|
- doc/rdoc/more/classes/Crypt.html
|
515
|
+
- doc/rdoc/more/classes/Binding.html
|
505
516
|
- doc/rdoc/more/classes/Downloader.html
|
506
517
|
- doc/rdoc/more/classes/LRUCache.html
|
507
518
|
- doc/rdoc/more/classes/CLI
|
@@ -556,7 +567,6 @@ files:
|
|
556
567
|
- doc/rdoc/more/classes/It.html
|
557
568
|
- doc/rdoc/more/classes/Timer
|
558
569
|
- doc/rdoc/more/classes/Timer/Dummy.html
|
559
|
-
- doc/rdoc/more/classes/Indexable.html
|
560
570
|
- doc/rdoc/more/classes/VersionNumber.html
|
561
571
|
- doc/rdoc/more/classes/Coroutine.html
|
562
572
|
- doc/rdoc/more/classes/Duration.html
|
@@ -645,16 +655,18 @@ files:
|
|
645
655
|
- doc/rdoc/more/files/lib/more/facets/ziputils_rb.html
|
646
656
|
- doc/rdoc/more/files/lib/more/facets/chain_rb.html
|
647
657
|
- doc/rdoc/more/files/lib/more/facets/xmlhash_rb.html
|
658
|
+
- doc/rdoc/more/files/lib/more/facets/partial_rb.html
|
648
659
|
- doc/rdoc/more/files/lib/more/facets/cachedecorator_rb.html
|
649
660
|
- doc/rdoc/more/files/lib/more/facets/bicrypt_rb.html
|
650
661
|
- doc/rdoc/more/files/lib/more/facets/synchash_rb.html
|
651
|
-
- doc/rdoc/more/files/lib/more/facets/stackable_rb.html
|
652
662
|
- doc/rdoc/more/files/lib/more/facets/recorder_rb.html
|
653
663
|
- doc/rdoc/more/files/lib/more/facets/eventhook_rb.html
|
654
664
|
- doc/rdoc/more/files/lib/more/facets/pool_rb.html
|
655
665
|
- doc/rdoc/more/files/lib/more/facets/progressbar_rb.html
|
656
666
|
- doc/rdoc/more/files/lib/more/facets/htmlfilter_rb.html
|
657
667
|
- doc/rdoc/more/files/lib/more/facets/reflection_rb.html
|
668
|
+
- doc/rdoc/more/files/lib/more/facets/binding
|
669
|
+
- doc/rdoc/more/files/lib/more/facets/binding/opvars_rb.html
|
658
670
|
- doc/rdoc/more/files/lib/more/facets/nullclass_rb.html
|
659
671
|
- doc/rdoc/more/files/lib/more/facets/duration_rb.html
|
660
672
|
- doc/rdoc/more/files/lib/more/facets/times_rb.html
|
@@ -672,6 +684,9 @@ files:
|
|
672
684
|
- doc/rdoc/more/files/lib/more/facets/rwdelegator_rb.html
|
673
685
|
- doc/rdoc/more/files/lib/more/facets/succ_rb.html
|
674
686
|
- doc/rdoc/more/files/lib/more/facets/nilstatus_rb.html
|
687
|
+
- doc/rdoc/more/files/lib/more/facets/hash
|
688
|
+
- doc/rdoc/more/files/lib/more/facets/hash/stringify_keys_rb.html
|
689
|
+
- doc/rdoc/more/files/lib/more/facets/hash/symbolize_keys_rb.html
|
675
690
|
- doc/rdoc/more/files/lib/more/facets/kernel
|
676
691
|
- doc/rdoc/more/files/lib/more/facets/kernel/meta_rb.html
|
677
692
|
- doc/rdoc/more/files/lib/more/facets/nackclass_rb.html
|
@@ -693,6 +708,8 @@ files:
|
|
693
708
|
- doc/rdoc/more/files/lib/more/facets/style_rb.html
|
694
709
|
- doc/rdoc/more/files/lib/more/facets/syncarray_rb.html
|
695
710
|
- doc/rdoc/more/files/lib/more/facets/autoreload_rb.html
|
711
|
+
- doc/rdoc/more/files/lib/more/facets/string
|
712
|
+
- doc/rdoc/more/files/lib/more/facets/string/words_rb.html
|
696
713
|
- doc/rdoc/more/files/lib/more/facets/inheritor_rb.html
|
697
714
|
- doc/rdoc/more/files/lib/more/facets/coroutine_rb.html
|
698
715
|
- doc/rdoc/more/files/lib/more/facets/instantise_rb.html
|
@@ -719,12 +736,12 @@ files:
|
|
719
736
|
- doc/rdoc/more/files/lib/more/facets/fileshell_rb.html
|
720
737
|
- doc/rdoc/more/files/lib/more/facets/crypt_rb.html
|
721
738
|
- doc/rdoc/more/files/lib/more/facets/opencascade_rb.html
|
722
|
-
- doc/rdoc/more/files/lib/more/facets/indexable_rb.html
|
723
739
|
- doc/rdoc/more/fr_class_index.html
|
724
740
|
- doc/rdoc/more/index.html
|
725
741
|
- doc/rdoc/more/created.rid
|
726
742
|
- doc/rdoc/more/fr_method_index.html
|
727
743
|
- doc/news
|
744
|
+
- doc/news/NEWS-2.4.0
|
728
745
|
- doc/ri
|
729
746
|
- doc/ri/NackClass
|
730
747
|
- doc/ri/NackClass/cdesc-NackClass.yaml
|
@@ -2324,6 +2341,7 @@ files:
|
|
2324
2341
|
- doc/ri/Module/class_load-i.yaml
|
2325
2342
|
- doc/ri/Module/wrap_method-i.yaml
|
2326
2343
|
- doc/ri/Module/modspace-i.yaml
|
2344
|
+
- doc/ri/Module/methodize-i.yaml
|
2327
2345
|
- doc/ri/Module/%2b-i.yaml
|
2328
2346
|
- doc/ri/Module/wrap-i.yaml
|
2329
2347
|
- doc/ri/Module/attr_writer%21-i.yaml
|
@@ -2353,11 +2371,6 @@ files:
|
|
2353
2371
|
- doc/ri/Module/alias_tester-i.yaml
|
2354
2372
|
- doc/ri/Module/revisal-i.yaml
|
2355
2373
|
- doc/ri/Module/overload-i.yaml
|
2356
|
-
- doc/ri/Module/CloneExtensions
|
2357
|
-
- doc/ri/Module/CloneExtensions/clone_renaming-i.yaml
|
2358
|
-
- doc/ri/Module/CloneExtensions/clone_removing-i.yaml
|
2359
|
-
- doc/ri/Module/CloneExtensions/clone_using-i.yaml
|
2360
|
-
- doc/ri/Module/CloneExtensions/cdesc-CloneExtensions.yaml
|
2361
2374
|
- doc/ri/Module/alias_accessor-i.yaml
|
2362
2375
|
- doc/ri/Module/alias_writer%21-i.yaml
|
2363
2376
|
- doc/ri/Module/attr_reader%3f-i.yaml
|
@@ -2490,7 +2503,6 @@ files:
|
|
2490
2503
|
- test/core/proc/test_to_method.rb
|
2491
2504
|
- test/core/proc/test_curry.rb
|
2492
2505
|
- test/core/proc/test_compose.rb
|
2493
|
-
- test/core/proc/test_partial.rb
|
2494
2506
|
- test/core/range
|
2495
2507
|
- test/core/range/test_overlap.rb
|
2496
2508
|
- test/core/range/test_combine.rb
|
@@ -2546,12 +2558,15 @@ files:
|
|
2546
2558
|
- test/core/enumerable
|
2547
2559
|
- test/core/enumerable/test_uniq_by.rb
|
2548
2560
|
- test/core/enumerable/test_none.rb
|
2561
|
+
- test/core/enumerable/test_frequency.rb
|
2549
2562
|
- test/core/enumerable/test_occur.rb
|
2550
2563
|
- test/core/enumerable/test_inject.rb
|
2564
|
+
- test/core/enumerable/test_entropy.rb
|
2551
2565
|
- test/core/enumerable/test_modulate.rb
|
2552
2566
|
- test/core/enumerable/test_probability.rb
|
2553
2567
|
- test/core/enumerable/test_cluster_by.rb
|
2554
2568
|
- test/core/enumerable/test_group_by.rb
|
2569
|
+
- test/core/enumerable/test_commonality.rb
|
2555
2570
|
- test/core/enumerable/test_count.rb
|
2556
2571
|
- test/core/enumerable/test_each_by.rb
|
2557
2572
|
- test/core/enumerable/test_collect.rb
|
@@ -2576,6 +2591,7 @@ files:
|
|
2576
2591
|
- test/core/string/test_chars.rb
|
2577
2592
|
- test/core/string/test_align.rb
|
2578
2593
|
- test/core/string/test_lines.rb
|
2594
|
+
- test/core/string/test_word_wrap.rb
|
2579
2595
|
- test/core/string/test_xor.rb
|
2580
2596
|
- test/core/string/test_divide.rb
|
2581
2597
|
- test/core/string/test_snakecase.rb
|
@@ -2583,6 +2599,7 @@ files:
|
|
2583
2599
|
- test/core/string/test_interpolate.rb
|
2584
2600
|
- test/core/string/test_tab.rb
|
2585
2601
|
- test/core/string/test_mscan.rb
|
2602
|
+
- test/core/string/test_each_word.rb
|
2586
2603
|
- test/core/string/test_bracket.rb
|
2587
2604
|
- test/core/module
|
2588
2605
|
- test/core/module/test_spacename.rb
|
@@ -2594,7 +2611,6 @@ files:
|
|
2594
2611
|
- test/core/module/test_op.rb
|
2595
2612
|
- test/core/module/test_revise.rb
|
2596
2613
|
- test/core/module/test_abstract.rb
|
2597
|
-
- test/core/module/test_clone.rb
|
2598
2614
|
- test/core/module/test_pathize.rb
|
2599
2615
|
- test/core/time
|
2600
2616
|
- test/core/time/test_to_date.rb
|
@@ -2690,6 +2706,7 @@ files:
|
|
2690
2706
|
- test/more/test_instantiable.rb
|
2691
2707
|
- test/more/test_functor.rb
|
2692
2708
|
- test/more/test_linkedlist.rb
|
2709
|
+
- test/more/test_partial.rb
|
2693
2710
|
- test/more/test_methodspace.rb
|
2694
2711
|
- test/more/test_synchash.rb
|
2695
2712
|
- test/more/test_arguments.rb
|
@@ -2782,6 +2799,7 @@ files:
|
|
2782
2799
|
- lib/core/facets/numeric/distance.rb
|
2783
2800
|
- lib/core/facets/numeric/round.rb
|
2784
2801
|
- lib/core/facets/numeric/approx.rb
|
2802
|
+
- lib/core/facets/indexable.rb
|
2785
2803
|
- lib/core/facets/module.rb
|
2786
2804
|
- lib/core/facets/binding
|
2787
2805
|
- lib/core/facets/binding/caller.rb
|
@@ -2789,14 +2807,12 @@ files:
|
|
2789
2807
|
- lib/core/facets/binding/self.rb
|
2790
2808
|
- lib/core/facets/binding/local_variables.rb
|
2791
2809
|
- lib/core/facets/binding/defined.rb
|
2792
|
-
- lib/core/facets/binding/opvars.rb
|
2793
2810
|
- lib/core/facets/float
|
2794
2811
|
- lib/core/facets/float/round.rb
|
2795
2812
|
- lib/core/facets/hash.rb
|
2796
2813
|
- lib/core/facets/proc
|
2797
2814
|
- lib/core/facets/proc/update.rb
|
2798
2815
|
- lib/core/facets/proc/curry.rb
|
2799
|
-
- lib/core/facets/proc/partial.rb
|
2800
2816
|
- lib/core/facets/proc/compose.rb
|
2801
2817
|
- lib/core/facets/proc/to_method.rb
|
2802
2818
|
- lib/core/facets/proc/bind.rb
|
@@ -2826,7 +2842,6 @@ files:
|
|
2826
2842
|
- lib/core/facets/hash/autonew.rb
|
2827
2843
|
- lib/core/facets/hash/recursively.rb
|
2828
2844
|
- lib/core/facets/hash/except.rb
|
2829
|
-
- lib/core/facets/hash/stringify_keys.rb
|
2830
2845
|
- lib/core/facets/hash/keys.rb
|
2831
2846
|
- lib/core/facets/hash/merge.rb
|
2832
2847
|
- lib/core/facets/hash/traverse.rb
|
@@ -2843,7 +2858,6 @@ files:
|
|
2843
2858
|
- lib/core/facets/hash/weave.rb
|
2844
2859
|
- lib/core/facets/hash/swap.rb
|
2845
2860
|
- lib/core/facets/hash/to_struct.rb
|
2846
|
-
- lib/core/facets/hash/symbolize_keys.rb
|
2847
2861
|
- lib/core/facets/hash/join.rb
|
2848
2862
|
- lib/core/facets/hash/slice.rb
|
2849
2863
|
- lib/core/facets/hash/to_h.rb
|
@@ -2870,6 +2884,7 @@ files:
|
|
2870
2884
|
- lib/core/facets/kernel/not_nil.rb
|
2871
2885
|
- lib/core/facets/kernel/deep_copy.rb
|
2872
2886
|
- lib/core/facets/kernel/silence.rb
|
2887
|
+
- lib/core/facets/kernel/require_all.rb
|
2873
2888
|
- lib/core/facets/kernel/resc.rb
|
2874
2889
|
- lib/core/facets/kernel/instance_variables.rb
|
2875
2890
|
- lib/core/facets/kernel/instance_assign.rb
|
@@ -2879,7 +2894,6 @@ files:
|
|
2879
2894
|
- lib/core/facets/kernel/__method__.rb
|
2880
2895
|
- lib/core/facets/kernel/instance_class.rb
|
2881
2896
|
- lib/core/facets/kernel/instance_exec.rb
|
2882
|
-
- lib/core/facets/kernel/load.rb
|
2883
2897
|
- lib/core/facets/kernel/attr_singleton.rb
|
2884
2898
|
- lib/core/facets/kernel/p.rb
|
2885
2899
|
- lib/core/facets/kernel/singleton_class.rb
|
@@ -2889,6 +2903,7 @@ files:
|
|
2889
2903
|
- lib/core/facets/kernel/populate.rb
|
2890
2904
|
- lib/core/facets/kernel/val.rb
|
2891
2905
|
- lib/core/facets/kernel/constant.rb
|
2906
|
+
- lib/core/facets/kernel/require_local.rb
|
2892
2907
|
- lib/core/facets/kernel/__callee__.rb
|
2893
2908
|
- lib/core/facets/kernel/respond.rb
|
2894
2909
|
- lib/core/facets/kernel/in.rb
|
@@ -2903,8 +2918,10 @@ files:
|
|
2903
2918
|
- lib/core/facets/enumerable/group_by.rb
|
2904
2919
|
- lib/core/facets/enumerable/sum.rb
|
2905
2920
|
- lib/core/facets/enumerable/mode.rb
|
2921
|
+
- lib/core/facets/enumerable/commonality.rb
|
2906
2922
|
- lib/core/facets/enumerable/occur.rb
|
2907
2923
|
- lib/core/facets/enumerable/collect.rb
|
2924
|
+
- lib/core/facets/enumerable/frequency.rb
|
2908
2925
|
- lib/core/facets/enumerable/divide.rb
|
2909
2926
|
- lib/core/facets/enumerable/inject.rb
|
2910
2927
|
- lib/core/facets/enumerable/duplicates.rb
|
@@ -2913,6 +2930,7 @@ files:
|
|
2913
2930
|
- lib/core/facets/enumerable/accumulate.rb
|
2914
2931
|
- lib/core/facets/enumerable/mash.rb
|
2915
2932
|
- lib/core/facets/enumerable/modulate.rb
|
2933
|
+
- lib/core/facets/enumerable/entropy.rb
|
2916
2934
|
- lib/core/facets/enumerable/split.rb
|
2917
2935
|
- lib/core/facets/enumerable/map_send.rb
|
2918
2936
|
- lib/core/facets/enumerable/probability.rb
|
@@ -2928,8 +2946,10 @@ files:
|
|
2928
2946
|
- lib/core/facets/string/start_with.rb
|
2929
2947
|
- lib/core/facets/string/camelcase.rb
|
2930
2948
|
- lib/core/facets/string/lines.rb
|
2949
|
+
- lib/core/facets/string/word_wrap.rb
|
2931
2950
|
- lib/core/facets/string/align.rb
|
2932
2951
|
- lib/core/facets/string/tab.rb
|
2952
|
+
- lib/core/facets/string/methodize.rb
|
2933
2953
|
- lib/core/facets/string/range.rb
|
2934
2954
|
- lib/core/facets/string/snakecase.rb
|
2935
2955
|
- lib/core/facets/string/each_char.rb
|
@@ -2939,6 +2959,7 @@ files:
|
|
2939
2959
|
- lib/core/facets/string/natcmp.rb
|
2940
2960
|
- lib/core/facets/string/bytes.rb
|
2941
2961
|
- lib/core/facets/string/subtract.rb
|
2962
|
+
- lib/core/facets/string/pathize.rb
|
2942
2963
|
- lib/core/facets/string/titlecase.rb
|
2943
2964
|
- lib/core/facets/string/words.rb
|
2944
2965
|
- lib/core/facets/string/interpolate.rb
|
@@ -2953,13 +2974,17 @@ files:
|
|
2953
2974
|
- lib/core/facets/string/nchar.rb
|
2954
2975
|
- lib/core/facets/string/xor.rb
|
2955
2976
|
- lib/core/facets/string/end_with.rb
|
2977
|
+
- lib/core/facets/string/each_word.rb
|
2956
2978
|
- lib/core/facets/module
|
2957
2979
|
- lib/core/facets/module/alias.rb
|
2958
2980
|
- lib/core/facets/module/prepend.rb
|
2959
2981
|
- lib/core/facets/module/ancestor.rb
|
2982
|
+
- lib/core/facets/module/redirect_method.rb
|
2983
|
+
- lib/core/facets/module/methodize.rb
|
2960
2984
|
- lib/core/facets/module/conflict.rb
|
2961
2985
|
- lib/core/facets/module/can.rb
|
2962
2986
|
- lib/core/facets/module/include_function_module.rb
|
2987
|
+
- lib/core/facets/module/redefine_method.rb
|
2963
2988
|
- lib/core/facets/module/op.rb
|
2964
2989
|
- lib/core/facets/module/pathize.rb
|
2965
2990
|
- lib/core/facets/module/instance_methods.rb
|
@@ -2969,9 +2994,11 @@ files:
|
|
2969
2994
|
- lib/core/facets/module/class.rb
|
2970
2995
|
- lib/core/facets/module/modspace.rb
|
2971
2996
|
- lib/core/facets/module/abstract.rb
|
2972
|
-
- lib/core/facets/module/
|
2997
|
+
- lib/core/facets/module/rename_method.rb
|
2998
|
+
- lib/core/facets/module/integrate.rb
|
2973
2999
|
- lib/core/facets/module/revise.rb
|
2974
3000
|
- lib/core/facets/module/spacename.rb
|
3001
|
+
- lib/core/facets/module/wrap_method.rb
|
2975
3002
|
- lib/core/facets/module/basename.rb
|
2976
3003
|
- lib/core/facets/proc.rb
|
2977
3004
|
- lib/core/facets/array.rb
|
@@ -2999,9 +3026,9 @@ files:
|
|
2999
3026
|
- lib/core/facets/filetest/root.rb
|
3000
3027
|
- lib/core/facets/class
|
3001
3028
|
- lib/core/facets/class/prepend.rb
|
3002
|
-
- lib/core/facets/class/
|
3029
|
+
- lib/core/facets/class/methodize.rb
|
3003
3030
|
- lib/core/facets/class/subclasses.rb
|
3004
|
-
- lib/core/facets/class/
|
3031
|
+
- lib/core/facets/class/pathize.rb
|
3005
3032
|
- lib/core/facets/class/descendents.rb
|
3006
3033
|
- lib/core/facets/class/to_proc.rb
|
3007
3034
|
- lib/core/facets/callstack.rb
|
@@ -3022,6 +3049,7 @@ files:
|
|
3022
3049
|
- lib/core/facets/array/splice.rb
|
3023
3050
|
- lib/core/facets/array/stackable.rb
|
3024
3051
|
- lib/core/facets/array/pad.rb
|
3052
|
+
- lib/core/facets/stackable.rb
|
3025
3053
|
- lib/core/facets/kernel.rb
|
3026
3054
|
- lib/core/facets/regexp
|
3027
3055
|
- lib/core/facets/regexp/to_re.rb
|
@@ -3079,10 +3107,11 @@ files:
|
|
3079
3107
|
- lib/more/facets/ansicode.rb
|
3080
3108
|
- lib/more/facets/bicrypt.rb
|
3081
3109
|
- lib/more/facets/version.rb
|
3082
|
-
- lib/more/facets/indexable.rb
|
3083
3110
|
- lib/more/facets/multipliers.rb
|
3084
3111
|
- lib/more/facets/basex.rb
|
3085
3112
|
- lib/more/facets/typecast.rb
|
3113
|
+
- lib/more/facets/binding
|
3114
|
+
- lib/more/facets/binding/opvars.rb
|
3086
3115
|
- lib/more/facets/association.rb
|
3087
3116
|
- lib/more/facets/nullclass.rb
|
3088
3117
|
- lib/more/facets/cachedecorator.rb
|
@@ -3097,10 +3126,14 @@ files:
|
|
3097
3126
|
- lib/more/facets/reference.rb
|
3098
3127
|
- lib/more/facets/attr.rb
|
3099
3128
|
- lib/more/facets/settings.rb
|
3129
|
+
- lib/more/facets/hash
|
3130
|
+
- lib/more/facets/hash/stringify_keys.rb
|
3131
|
+
- lib/more/facets/hash/symbolize_keys.rb
|
3100
3132
|
- lib/more/facets/kernel
|
3101
3133
|
- lib/more/facets/kernel/meta.rb
|
3102
3134
|
- lib/more/facets/heap.rb
|
3103
3135
|
- lib/more/facets/prototype.rb
|
3136
|
+
- lib/more/facets/partial.rb
|
3104
3137
|
- lib/more/facets/filelist.rb
|
3105
3138
|
- lib/more/facets/1stclassmethod.rb
|
3106
3139
|
- lib/more/facets/overload.rb
|
@@ -3116,6 +3149,7 @@ files:
|
|
3116
3149
|
- lib/more/facets/tuple.rb
|
3117
3150
|
- lib/more/facets/uploadutils.rb
|
3118
3151
|
- lib/more/facets/string
|
3152
|
+
- lib/more/facets/string/words.rb
|
3119
3153
|
- lib/more/facets/instantise.rb
|
3120
3154
|
- lib/more/facets/rbsystem.rb
|
3121
3155
|
- lib/more/facets/style.rb
|
@@ -3138,7 +3172,6 @@ files:
|
|
3138
3172
|
- lib/more/facets/ini.rb
|
3139
3173
|
- lib/more/facets/uninheritable.rb
|
3140
3174
|
- lib/more/facets/enumerablepass.rb
|
3141
|
-
- lib/more/facets/stackable.rb
|
3142
3175
|
- lib/more/facets/snapshot.rb
|
3143
3176
|
- lib/more/facets/minitar.rb
|
3144
3177
|
- lib/more/facets/paramix.rb
|
@@ -3224,7 +3257,6 @@ test_files:
|
|
3224
3257
|
- test/core/proc/test_to_method.rb
|
3225
3258
|
- test/core/proc/test_curry.rb
|
3226
3259
|
- test/core/proc/test_compose.rb
|
3227
|
-
- test/core/proc/test_partial.rb
|
3228
3260
|
- test/core/range
|
3229
3261
|
- test/core/range/test_overlap.rb
|
3230
3262
|
- test/core/range/test_combine.rb
|
@@ -3280,12 +3312,15 @@ test_files:
|
|
3280
3312
|
- test/core/enumerable
|
3281
3313
|
- test/core/enumerable/test_uniq_by.rb
|
3282
3314
|
- test/core/enumerable/test_none.rb
|
3315
|
+
- test/core/enumerable/test_frequency.rb
|
3283
3316
|
- test/core/enumerable/test_occur.rb
|
3284
3317
|
- test/core/enumerable/test_inject.rb
|
3318
|
+
- test/core/enumerable/test_entropy.rb
|
3285
3319
|
- test/core/enumerable/test_modulate.rb
|
3286
3320
|
- test/core/enumerable/test_probability.rb
|
3287
3321
|
- test/core/enumerable/test_cluster_by.rb
|
3288
3322
|
- test/core/enumerable/test_group_by.rb
|
3323
|
+
- test/core/enumerable/test_commonality.rb
|
3289
3324
|
- test/core/enumerable/test_count.rb
|
3290
3325
|
- test/core/enumerable/test_each_by.rb
|
3291
3326
|
- test/core/enumerable/test_collect.rb
|
@@ -3310,6 +3345,7 @@ test_files:
|
|
3310
3345
|
- test/core/string/test_chars.rb
|
3311
3346
|
- test/core/string/test_align.rb
|
3312
3347
|
- test/core/string/test_lines.rb
|
3348
|
+
- test/core/string/test_word_wrap.rb
|
3313
3349
|
- test/core/string/test_xor.rb
|
3314
3350
|
- test/core/string/test_divide.rb
|
3315
3351
|
- test/core/string/test_snakecase.rb
|
@@ -3317,6 +3353,7 @@ test_files:
|
|
3317
3353
|
- test/core/string/test_interpolate.rb
|
3318
3354
|
- test/core/string/test_tab.rb
|
3319
3355
|
- test/core/string/test_mscan.rb
|
3356
|
+
- test/core/string/test_each_word.rb
|
3320
3357
|
- test/core/string/test_bracket.rb
|
3321
3358
|
- test/core/module
|
3322
3359
|
- test/core/module/test_spacename.rb
|
@@ -3328,7 +3365,6 @@ test_files:
|
|
3328
3365
|
- test/core/module/test_op.rb
|
3329
3366
|
- test/core/module/test_revise.rb
|
3330
3367
|
- test/core/module/test_abstract.rb
|
3331
|
-
- test/core/module/test_clone.rb
|
3332
3368
|
- test/core/module/test_pathize.rb
|
3333
3369
|
- test/core/time
|
3334
3370
|
- test/core/time/test_to_date.rb
|
@@ -3424,6 +3460,7 @@ test_files:
|
|
3424
3460
|
- test/more/test_instantiable.rb
|
3425
3461
|
- test/more/test_functor.rb
|
3426
3462
|
- test/more/test_linkedlist.rb
|
3463
|
+
- test/more/test_partial.rb
|
3427
3464
|
- test/more/test_methodspace.rb
|
3428
3465
|
- test/more/test_synchash.rb
|
3429
3466
|
- test/more/test_arguments.rb
|