facets 2.5.0 → 2.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (191) hide show
  1. data/AUTHORS +1 -1
  2. data/CHANGES +28 -45
  3. data/MANIFEST +35 -4
  4. data/README +3 -14
  5. data/RELEASE +36 -70
  6. data/VERSION +1 -1
  7. data/doc/archive/RELEASE-2.5.0 +83 -0
  8. data/doc/log/basic_stats/index.html +4 -4
  9. data/doc/log/changelog.html +509 -2
  10. data/doc/log/changelog.txt +130 -1522
  11. data/doc/rdoc/core/classes/Array.html +366 -141
  12. data/doc/rdoc/core/classes/Binding.html +45 -45
  13. data/doc/rdoc/core/classes/Class.html +38 -38
  14. data/doc/rdoc/core/classes/Comparable.html +26 -26
  15. data/doc/rdoc/core/classes/Enumerable.html +174 -170
  16. data/doc/rdoc/core/classes/Enumerable/Enumerator.html +130 -0
  17. data/doc/rdoc/core/classes/Enumerator.html +132 -0
  18. data/doc/rdoc/core/classes/Exception.html +8 -8
  19. data/doc/rdoc/core/classes/File.html +58 -58
  20. data/doc/rdoc/core/classes/FileTest.html +4 -4
  21. data/doc/rdoc/core/classes/Float.html +8 -8
  22. data/doc/rdoc/core/classes/Functor.html +12 -12
  23. data/doc/rdoc/core/classes/Hash.html +447 -263
  24. data/doc/rdoc/core/classes/Indexable.html +110 -110
  25. data/doc/rdoc/core/classes/Integer.html +2 -2
  26. data/doc/rdoc/core/classes/Kernel.html +329 -329
  27. data/doc/rdoc/core/classes/Lazy/Promise.html +1 -1
  28. data/doc/rdoc/core/classes/MatchData.html +15 -15
  29. data/doc/rdoc/core/classes/Module.html +176 -157
  30. data/doc/rdoc/core/classes/NilClass.html +23 -23
  31. data/doc/rdoc/core/classes/Numeric.html +27 -27
  32. data/doc/rdoc/core/classes/Object.html +8 -8
  33. data/doc/rdoc/core/classes/ObjectSpace.html +5 -5
  34. data/doc/rdoc/core/classes/Proc.html +22 -22
  35. data/doc/rdoc/core/classes/Regexp.html +1 -1
  36. data/doc/rdoc/core/classes/Stackable.html +31 -31
  37. data/doc/rdoc/core/classes/String.html +332 -291
  38. data/doc/rdoc/core/classes/Symbol.html +1 -1
  39. data/doc/rdoc/core/classes/TrueClass.html +8 -8
  40. data/doc/rdoc/core/classes/UnboundMethod.html +18 -13
  41. data/doc/rdoc/core/created.rid +1 -1
  42. data/doc/rdoc/core/files/README.html +7 -29
  43. data/doc/rdoc/core/files/lib/core/facets/array/product_rb.html +1 -1
  44. data/doc/rdoc/core/files/lib/core/facets/enumerable/collect_rb.html +10 -1
  45. data/doc/rdoc/core/files/lib/core/facets/enumerable/compact_map_rb.html +92 -0
  46. data/doc/rdoc/core/files/lib/core/facets/enumerable/map_with_index_rb.html +92 -0
  47. data/doc/rdoc/core/files/lib/core/facets/enumerable/split_rb.html +1 -1
  48. data/doc/rdoc/core/files/lib/core/facets/hash/collate_rb.html +1 -1
  49. data/doc/rdoc/core/files/lib/core/facets/hash/group_by_value_rb.html +92 -0
  50. data/doc/rdoc/core/files/lib/core/facets/hash/new_with_rb.html +92 -0
  51. data/doc/rdoc/core/files/lib/core/facets/module/conflict_rb.html +1 -1
  52. data/doc/rdoc/core/files/lib/core/facets/module/extend_rb.html +92 -0
  53. data/doc/rdoc/core/files/lib/core/facets/string/align_rb.html +1 -1
  54. data/doc/rdoc/core/files/lib/core/facets/string/file_rb.html +96 -0
  55. data/doc/rdoc/core/files/lib/core/facets/string/xor_rb.html +1 -1
  56. data/doc/rdoc/core/files/lib/core/facets/to_hash_rb.html +5 -1
  57. data/doc/rdoc/core/files/lib/core/facets/unboundmethod/name_rb.html +1 -1
  58. data/doc/rdoc/core/fr_class_index.html +2 -0
  59. data/doc/rdoc/core/fr_file_index.html +6 -0
  60. data/doc/rdoc/core/fr_method_index.html +386 -373
  61. data/doc/rdoc/lore/classes/OpenStruct.html +6 -4
  62. data/doc/rdoc/lore/created.rid +1 -1
  63. data/doc/rdoc/lore/files/README.html +7 -29
  64. data/doc/rdoc/lore/files/lib/lore/facets/ostruct_rb.html +1 -1
  65. data/doc/rdoc/more/classes/ANSICode.html +66 -66
  66. data/doc/rdoc/more/classes/Advisable.html +37 -37
  67. data/doc/rdoc/more/classes/Advisable/Method.html +20 -20
  68. data/doc/rdoc/more/classes/Archive/Tar/Minitar.html +27 -27
  69. data/doc/rdoc/more/classes/Archive/Tar/Minitar/Input.html +28 -28
  70. data/doc/rdoc/more/classes/Archive/Tar/Minitar/Output.html +19 -19
  71. data/doc/rdoc/more/classes/Archive/Tar/Minitar/Reader.html +31 -31
  72. data/doc/rdoc/more/classes/Archive/Tar/Minitar/Writer.html +33 -33
  73. data/doc/rdoc/more/classes/Association.html +67 -53
  74. data/doc/rdoc/more/classes/Association/Kernel.html +11 -12
  75. data/doc/rdoc/more/classes/BBCode.html +36 -36
  76. data/doc/rdoc/more/classes/BaseX.html +16 -16
  77. data/doc/rdoc/more/classes/BiCrypt.html +67 -67
  78. data/doc/rdoc/more/classes/BinReadable.html +85 -85
  79. data/doc/rdoc/more/classes/BinReadable/ByteOrder.html +25 -25
  80. data/doc/rdoc/more/classes/Binding.html +8 -8
  81. data/doc/rdoc/more/classes/Buildable.html +4 -4
  82. data/doc/rdoc/more/classes/Cloneable.html +4 -4
  83. data/doc/rdoc/more/classes/ConsoleUtils.html +18 -18
  84. data/doc/rdoc/more/classes/Crypt.html +16 -16
  85. data/doc/rdoc/more/classes/CssTree.html +8 -8
  86. data/doc/rdoc/more/classes/Dictionary.html +52 -45
  87. data/doc/rdoc/more/classes/Enumerable.html +50 -50
  88. data/doc/rdoc/more/classes/Enumerable/Elementor.html +16 -16
  89. data/doc/rdoc/more/classes/Enumerable/Enumerator.html +4 -4
  90. data/doc/rdoc/more/classes/Enumerable/Filterable.html +30 -30
  91. data/doc/rdoc/more/classes/EnumerablePass.html +15 -15
  92. data/doc/rdoc/more/classes/Equatable.html +16 -16
  93. data/doc/rdoc/more/classes/Expirable.html +17 -17
  94. data/doc/rdoc/more/classes/Fileable.html +14 -14
  95. data/doc/rdoc/more/classes/Fileable/DSL.html +41 -41
  96. data/doc/rdoc/more/classes/Hash2Xml.html +4 -4
  97. data/doc/rdoc/more/classes/Hook.html +162 -0
  98. data/doc/rdoc/more/classes/HtmlFilter.html +9 -9
  99. data/doc/rdoc/more/classes/Instantiable.html +9 -9
  100. data/doc/rdoc/more/classes/Instantize.html +8 -8
  101. data/doc/rdoc/more/classes/Interval.html +187 -187
  102. data/doc/rdoc/more/classes/It.html +12 -12
  103. data/doc/rdoc/more/classes/Matcher.html +38 -38
  104. data/doc/rdoc/more/classes/Matcher/MatchData.html +4 -4
  105. data/doc/rdoc/more/classes/Memoizer.html +21 -21
  106. data/doc/rdoc/more/classes/Multiton.html +12 -12
  107. data/doc/rdoc/more/classes/Multiton/MetaMethods.html +28 -28
  108. data/doc/rdoc/more/classes/Net/SMTP.html +8 -8
  109. data/doc/rdoc/more/classes/OpEsc.html +5 -5
  110. data/doc/rdoc/more/classes/OpenCascade.html +4 -4
  111. data/doc/rdoc/more/classes/OpenHash.html +9 -9
  112. data/doc/rdoc/more/classes/OpenStructable.html +36 -36
  113. data/doc/rdoc/more/classes/PQueue.html +84 -84
  114. data/doc/rdoc/more/classes/Paramix.html +16 -16
  115. data/doc/rdoc/more/classes/Paramix/Delegator.html +16 -16
  116. data/doc/rdoc/more/classes/RWDelegator.html +16 -16
  117. data/doc/rdoc/more/classes/Random.html +5 -5
  118. data/doc/rdoc/more/classes/Random/Array.html +37 -37
  119. data/doc/rdoc/more/classes/Random/Hash.html +52 -52
  120. data/doc/rdoc/more/classes/Random/Object.html +4 -4
  121. data/doc/rdoc/more/classes/Random/String.html +34 -34
  122. data/doc/rdoc/more/classes/Random/String/Self.html +9 -9
  123. data/doc/rdoc/more/classes/Registerable.html +13 -13
  124. data/doc/rdoc/more/classes/Stash.html +28 -28
  125. data/doc/rdoc/more/classes/String/Mask.html +72 -72
  126. data/doc/rdoc/more/classes/String/Words.html +31 -31
  127. data/doc/rdoc/more/classes/System.html +253 -253
  128. data/doc/rdoc/more/classes/Timer.html +48 -48
  129. data/doc/rdoc/more/classes/Timer/Dummy.html +9 -9
  130. data/doc/rdoc/more/classes/Tuple.html +170 -170
  131. data/doc/rdoc/more/classes/TypeCast/Class.html +4 -4
  132. data/doc/rdoc/more/classes/TypeCast/Object.html +4 -4
  133. data/doc/rdoc/more/classes/Uninheritable.html +6 -6
  134. data/doc/rdoc/more/classes/X.html +117 -0
  135. data/doc/rdoc/more/classes/XOXO.html +11 -11
  136. data/doc/rdoc/more/classes/ZipUtils.html +88 -88
  137. data/doc/rdoc/more/classes/ZipUtils/DryRun.html +68 -68
  138. data/doc/rdoc/more/classes/ZipUtils/NoWrite.html +68 -68
  139. data/doc/rdoc/more/classes/ZipUtils/Verbose.html +60 -60
  140. data/doc/rdoc/more/created.rid +1 -1
  141. data/doc/rdoc/more/files/README.html +7 -29
  142. data/doc/rdoc/more/files/lib/more/facets/association_rb.html +1 -1
  143. data/doc/rdoc/more/files/lib/more/facets/dictionary_rb.html +1 -1
  144. data/doc/rdoc/more/files/lib/more/facets/hook_rb.html +96 -0
  145. data/doc/rdoc/more/files/lib/more/facets/paramix_rb.html +1 -1
  146. data/doc/rdoc/more/files/lib/more/facets/xoxo_rb.html +2 -2
  147. data/doc/rdoc/more/fr_class_index.html +2 -0
  148. data/doc/rdoc/more/fr_file_index.html +1 -0
  149. data/doc/rdoc/more/fr_method_index.html +686 -681
  150. data/lib/core/facets/array/product.rb +6 -23
  151. data/lib/core/facets/enumerable/collect.rb +3 -53
  152. data/lib/core/facets/enumerable/compact_map.rb +35 -0
  153. data/lib/core/facets/enumerable/map_with_index.rb +23 -0
  154. data/lib/core/facets/enumerable/split.rb +3 -3
  155. data/lib/core/facets/hash/collate.rb +45 -14
  156. data/lib/core/facets/hash/group_by_value.rb +65 -0
  157. data/lib/core/facets/hash/new_with.rb +15 -0
  158. data/lib/core/facets/module/extend.rb +11 -0
  159. data/lib/core/facets/string/align.rb +19 -18
  160. data/lib/core/facets/string/file.rb +17 -0
  161. data/lib/core/facets/string/xor.rb +9 -3
  162. data/lib/core/facets/to_hash.rb +274 -17
  163. data/lib/core/facets/unboundmethod/name.rb +4 -2
  164. data/lib/lore/facets/ostruct.rb +3 -0
  165. data/lib/more/facets/association.rb +28 -12
  166. data/lib/more/facets/dictionary.rb +10 -4
  167. data/lib/more/facets/hook.rb +65 -0
  168. data/lib/more/facets/paramix.rb +5 -5
  169. data/meta/abstract +13 -0
  170. data/meta/authors +1 -0
  171. data/meta/contact +1 -0
  172. data/meta/contributors +48 -0
  173. data/meta/created +1 -0
  174. data/meta/homepage +1 -0
  175. data/meta/license +1 -0
  176. data/meta/loadpath +3 -0
  177. data/meta/releases +14 -0
  178. data/meta/slogan +1 -0
  179. data/meta/summary +1 -0
  180. data/task/test.rake +116 -18
  181. data/test/core/array/test_product.rb +0 -6
  182. data/test/core/binding/test_local_variables.rb +9 -3
  183. data/test/core/enumerable/test_split.rb +19 -0
  184. data/test/core/module/test_conflict.rb +8 -3
  185. data/test/core/test_to_hash.rb +152 -0
  186. data/test/core/unboundmethod/test_arguments.rb +1 -1
  187. data/test/core/unboundmethod/test_name.rb +2 -2
  188. metadata +39 -8
  189. data/doc/log/bstats/stats.html +0 -39
  190. data/doc/log/stats.html +0 -25
  191. data/test/more/test_to_hash.rb +0 -58
@@ -0,0 +1,152 @@
1
+ require 'facets/to_hash.rb'
2
+ require 'test/unit'
3
+
4
+
5
+ class TestArrayConversion < Test::Unit::TestCase
6
+
7
+ def test_to_h
8
+ a = [1,2,3,4]
9
+ x = {1=>2,3=>4}
10
+ assert_equal(x, a.to_h)
11
+ end
12
+
13
+ #def test_to_h_odd_number_of_entries
14
+ # assert_raise(ArgumentError) { [[1,:a],:b].to_h }
15
+ #end
16
+
17
+ def test_to_h_flat
18
+ a = [[1,2],3,4,5]
19
+ x = {1=>2,3=>4,5=>nil}
20
+ assert_equal(x, a.to_h_flat)
21
+ end
22
+
23
+ def test_to_h_splat
24
+ a = [1,2,3,4,[5,6]]
25
+ x = { 1=>2, 3=>4, [5,6]=>nil }
26
+ assert_equal(x, a.to_h_splat)
27
+ end
28
+
29
+ def test_to_h_assoc
30
+ a = [[:a,1],[:b,2],[:c],:d,[:a,5]]
31
+ x = {:a=>[5],:b=>[2],:c=>[],:d=>[]}
32
+ assert_equal(x, a.to_h_assoc)
33
+ end
34
+
35
+ def test_to_h_multi
36
+ a = [[:a,1],[:b,2],[:c],:d,[:a,5]]
37
+ x = {:a=>[1,5],:b=>[2],:c=>[],:d=>[]}
38
+ assert_equal(x, a.to_h_multi)
39
+ end
40
+
41
+ #def test_to_h_assoc_arrayed
42
+ # a = [[:a,1,2],[:b,3,4],[:c,5,6]]
43
+ # x = { :a=>[1,2], :b=>[3,4], :c=>[5,6] }
44
+ # assert_equal(x, a.to_h(true))
45
+ #end
46
+
47
+ #def test_to_hash
48
+ # a = [:a,:b,:c]
49
+ # assert_equal( { 0=>:a, 1=>:b, 2=>:c }, a.to_hash )
50
+ #end
51
+
52
+ def test_to_h_assoc_dispatched
53
+ a = [:a, 1, [:b, 2, :c]]
54
+ assert_equal(a.to_h_assoc, a.to_h(:assoc))
55
+ end
56
+
57
+ def test_to_h_flat_dispatched
58
+ a = [:a, 1, [:b, 2, :c]]
59
+ assert_equal(a.to_h_flat, a.to_h(:flat))
60
+ end
61
+
62
+ def test_to_h_multi_dispatched
63
+ a = [:a, 1, [:b, 2, :c]]
64
+ assert_equal(a.to_h_multi, a.to_h(:multi))
65
+ end
66
+
67
+ def test_to_h_splat_dispatched
68
+ a = [:a, 1, [:b, 2, :c]]
69
+ assert_equal(a.to_h_splat, a.to_h(:splat))
70
+ end
71
+
72
+ end
73
+
74
+
75
+ class TestEnumerableConversion < Test::Unit::TestCase
76
+
77
+ def test_to_h
78
+ a = [[1,:a],[2,:b],[3,:c]]
79
+ x = {1=>:a, 2=>:b, 3=>:c}
80
+ assert_equal(x, a.to_h )
81
+ end
82
+
83
+ def test_to_h_flat
84
+ a = [1,2,[3,4]]
85
+ x = {1=>2, 3=>4}
86
+ assert_equal(x, a.to_h_flat)
87
+ end
88
+
89
+ def test_to_h_multi
90
+ a = [[:a,1,2],[:b,3,4],[:c,5,6]]
91
+ x = {:a=>[1,2], :b=>[3,4], :c=>[5,6]}
92
+ assert_equal(x, a.to_h_multi)
93
+ end
94
+
95
+ #def test_to_h_arrayed_flat
96
+ # a = [1,2,3]
97
+ # x = {1=>[],2=>[],3=>[]}
98
+ # assert_equal(x, a.to_h(true))
99
+ #end
100
+
101
+ #def test_to_hash
102
+ # a = [:a,:b,:c]
103
+ # assert_equal( { 0=>:a, 1=>:b, 2=>:c }, a.to_hash )
104
+ #end
105
+
106
+ end
107
+
108
+
109
+ class TestHashConversion < Test::Unit::TestCase
110
+
111
+ def test_to_h
112
+ a = { :a => 1, :b => 2, :c => 3 }
113
+ assert_equal( a, a.to_h )
114
+ end
115
+
116
+ def test_dearray_values
117
+ h = { :a=>[1], :b=>[1,2], :c=>3, :d=>[] }
118
+ x = { :a=>1, :b=>1, :c=>3, :d=>nil }
119
+ assert_equal(x, h.dearray_values)
120
+ end
121
+
122
+ def test_dearray_singluar_values
123
+ h = { :a=>[1], :b=>[1,2], :c=>3, :d=>[] }
124
+ x = { :a=>1, :b=>[1,2], :c=>3, :d=>nil }
125
+ assert_equal(x, h.dearray_singluar_values )
126
+ end
127
+
128
+ end
129
+
130
+
131
+ class TestNilClassConversion < Test::Unit::TestCase
132
+
133
+ def test_to_h
134
+ assert_equal( {}, nil.to_h )
135
+ end
136
+
137
+ end
138
+
139
+
140
+ class TestEnumeratorConversion < Test::Unit::TestCase
141
+
142
+ def test_to_h
143
+ e1 = [[1,:a],[2,:b],[3,:c]].to_enum
144
+ e2 = [1,2,3,4].to_enum
145
+ e3 = [:a,1,:b].to_enum
146
+ assert_equal( { 1=>:a, 2=>:b, 3=>:c }, e1.to_h )
147
+ assert_equal( {1=>2, 3=>4}, e2.to_h)
148
+ assert_equal( {:a=>1,:b=>nil}, e3.to_h)
149
+ end
150
+
151
+ end
152
+
@@ -1,6 +1,6 @@
1
1
  require 'facets/unboundmethod/arguments'
2
2
 
3
- class Test_UnboundMethod < Test::Unit::TestCase
3
+ class Test_UnboundMethod_Arguments < Test::Unit::TestCase
4
4
 
5
5
  class X
6
6
  def foo(a, b); end
@@ -1,6 +1,6 @@
1
1
  require 'facets/unboundmethod/name'
2
2
 
3
- class Test_UnboundMethod < Test::Unit::TestCase
3
+ class Test_UnboundMethod_Name < Test::Unit::TestCase
4
4
 
5
5
  class X
6
6
  def foo; end
@@ -9,7 +9,7 @@ class Test_UnboundMethod < Test::Unit::TestCase
9
9
  def test_name
10
10
  meth = X.instance_method(:foo)
11
11
  assert_equal("foo", meth.name)
12
- end
12
+ end if RUBY_VERSION < "1.9" # UnboundMethod#name is defined already in 1.9.
13
13
 
14
14
  end
15
15
 
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.5.0
4
+ version: 2.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - facets-universal@rubyforge.org
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2008-11-27 00:00:00 -05:00
13
+ date: 2009-03-05 00:00:00 -05:00
14
14
  default_executable:
15
15
  dependencies: []
16
16
 
@@ -32,9 +32,11 @@ extra_rdoc_files:
32
32
  files:
33
33
  - doc
34
34
  - lib
35
+ - meta
35
36
  - task
36
37
  - test
37
38
  - Rakefile
39
+ - MANIFEST
38
40
  - CHANGES
39
41
  - RELEASE
40
42
  - README
@@ -139,6 +141,7 @@ files:
139
141
  - doc/rdoc/core/classes/FileTest.html
140
142
  - doc/rdoc/core/classes/FalseClass.html
141
143
  - doc/rdoc/core/classes/InstanceVariables.html
144
+ - doc/rdoc/core/classes/Enumerator.html
142
145
  - doc/rdoc/core/classes/Comparable.html
143
146
  - doc/rdoc/core/classes/Integer.html
144
147
  - doc/rdoc/core/classes/NilClass.html
@@ -161,12 +164,14 @@ files:
161
164
  - doc/rdoc/core/classes/Range.html
162
165
  - doc/rdoc/core/classes/ObjectSpace.html
163
166
  - doc/rdoc/core/classes/Regexp.html
167
+ - doc/rdoc/core/classes/Enumerable
164
168
  - doc/rdoc/core/classes/Module.html
165
169
  - doc/rdoc/core/classes/Time.html
166
170
  - doc/rdoc/core/classes/File.html
167
171
  - doc/rdoc/core/classes/Lazy/Future.html
168
172
  - doc/rdoc/core/classes/Lazy/PromiseSafe.html
169
173
  - doc/rdoc/core/classes/Lazy/Promise.html
174
+ - doc/rdoc/core/classes/Enumerable/Enumerator.html
170
175
  - doc/rdoc/core/files/doc
171
176
  - doc/rdoc/core/files/README.html
172
177
  - doc/rdoc/core/files/lib
@@ -317,6 +322,7 @@ files:
317
322
  - doc/rdoc/core/files/lib/core/facets/hash/insert_rb.html
318
323
  - doc/rdoc/core/files/lib/core/facets/hash/inverse_rb.html
319
324
  - doc/rdoc/core/files/lib/core/facets/hash/op_and_rb.html
325
+ - doc/rdoc/core/files/lib/core/facets/hash/group_by_value_rb.html
320
326
  - doc/rdoc/core/files/lib/core/facets/hash/symbolize_keys_rb.html
321
327
  - doc/rdoc/core/files/lib/core/facets/hash/diff_rb.html
322
328
  - doc/rdoc/core/files/lib/core/facets/hash/op_mul_rb.html
@@ -325,6 +331,7 @@ files:
325
331
  - doc/rdoc/core/files/lib/core/facets/hash/to_h_rb.html
326
332
  - doc/rdoc/core/files/lib/core/facets/hash/at_rb.html
327
333
  - doc/rdoc/core/files/lib/core/facets/hash/to_options_rb.html
334
+ - doc/rdoc/core/files/lib/core/facets/hash/new_with_rb.html
328
335
  - doc/rdoc/core/files/lib/core/facets/hash/swap_rb.html
329
336
  - doc/rdoc/core/files/lib/core/facets/hash/to_struct_rb.html
330
337
  - doc/rdoc/core/files/lib/core/facets/kernel/not_nil_rb.html
@@ -399,7 +406,9 @@ files:
399
406
  - doc/rdoc/core/files/lib/core/facets/enumerable/cluster_by_rb.html
400
407
  - doc/rdoc/core/files/lib/core/facets/enumerable/each_by_rb.html
401
408
  - doc/rdoc/core/files/lib/core/facets/enumerable/modulate_rb.html
409
+ - doc/rdoc/core/files/lib/core/facets/enumerable/compact_map_rb.html
402
410
  - doc/rdoc/core/files/lib/core/facets/enumerable/count_rb.html
411
+ - doc/rdoc/core/files/lib/core/facets/enumerable/map_with_index_rb.html
403
412
  - doc/rdoc/core/files/lib/core/facets/enumerable/none_rb.html
404
413
  - doc/rdoc/core/files/lib/core/facets/enumerable/one_rb.html
405
414
  - doc/rdoc/core/files/lib/core/facets/enumerable/divide_rb.html
@@ -444,6 +453,7 @@ files:
444
453
  - doc/rdoc/core/files/lib/core/facets/string/indent_rb.html
445
454
  - doc/rdoc/core/files/lib/core/facets/string/each_char_rb.html
446
455
  - doc/rdoc/core/files/lib/core/facets/string/outdent_rb.html
456
+ - doc/rdoc/core/files/lib/core/facets/string/file_rb.html
447
457
  - doc/rdoc/core/files/lib/core/facets/string/words_rb.html
448
458
  - doc/rdoc/core/files/lib/core/facets/string/margin_rb.html
449
459
  - doc/rdoc/core/files/lib/core/facets/string/splice_rb.html
@@ -462,6 +472,7 @@ files:
462
472
  - doc/rdoc/core/files/lib/core/facets/module/abstract_rb.html
463
473
  - doc/rdoc/core/files/lib/core/facets/module/alias_accessor_rb.html
464
474
  - doc/rdoc/core/files/lib/core/facets/module/redefine_method_rb.html
475
+ - doc/rdoc/core/files/lib/core/facets/module/extend_rb.html
465
476
  - doc/rdoc/core/files/lib/core/facets/module/alias_module_function_rb.html
466
477
  - doc/rdoc/core/files/lib/core/facets/module/spacename_rb.html
467
478
  - doc/rdoc/core/files/lib/core/facets/module/methodize_rb.html
@@ -581,6 +592,7 @@ files:
581
592
  - doc/rdoc/more/classes/Duration
582
593
  - doc/rdoc/more/classes/TracePoint.html
583
594
  - doc/rdoc/more/classes/ProgressBar.html
595
+ - doc/rdoc/more/classes/X.html
584
596
  - doc/rdoc/more/classes/SimpleStringIO.html
585
597
  - doc/rdoc/more/classes/OpenHash.html
586
598
  - doc/rdoc/more/classes/ANSICode.html
@@ -641,6 +653,7 @@ files:
641
653
  - doc/rdoc/more/classes/HtmlFilter.html
642
654
  - doc/rdoc/more/classes/Module.html
643
655
  - doc/rdoc/more/classes/Archive
656
+ - doc/rdoc/more/classes/Hook.html
644
657
  - doc/rdoc/more/classes/Fileable.html
645
658
  - doc/rdoc/more/classes/Interval.html
646
659
  - doc/rdoc/more/classes/BaseX.html
@@ -755,6 +768,7 @@ files:
755
768
  - doc/rdoc/more/files/lib/more/facets/openhash_rb.html
756
769
  - doc/rdoc/more/files/lib/more/facets/semaphore_rb.html
757
770
  - doc/rdoc/more/files/lib/more/facets/snapshot_rb.html
771
+ - doc/rdoc/more/files/lib/more/facets/hook_rb.html
758
772
  - doc/rdoc/more/files/lib/more/facets/random_rb.html
759
773
  - doc/rdoc/more/files/lib/more/facets/net
760
774
  - doc/rdoc/more/files/lib/more/facets/infinity_rb.html
@@ -829,6 +843,7 @@ files:
829
843
  - doc/archive/RELEASE-2.1.0
830
844
  - doc/archive/RELEASE-2.2.1
831
845
  - doc/archive/RELEASE-2.4.4
846
+ - doc/archive/RELEASE-2.5.0
832
847
  - doc/archive/RELEASE-2.1.1
833
848
  - doc/archive/RELEASE-2.1.3
834
849
  - doc/archive/RELEASE-2.4.5
@@ -836,11 +851,8 @@ files:
836
851
  - doc/log/basic_stats
837
852
  - doc/log/changelog.html
838
853
  - doc/log/changelog.txt
839
- - doc/log/stats.html
840
- - doc/log/bstats
841
854
  - doc/log/testlog.txt
842
855
  - doc/log/basic_stats/index.html
843
- - doc/log/bstats/stats.html
844
856
  - lib/lore
845
857
  - lib/core
846
858
  - lib/more
@@ -986,6 +998,7 @@ files:
986
998
  - lib/core/facets/file/split_all.rb
987
999
  - lib/core/facets/file/rewrite.rb
988
1000
  - lib/core/facets/file/read.rb
1001
+ - lib/core/facets/hash/new_with.rb
989
1002
  - lib/core/facets/hash/zipnew.rb
990
1003
  - lib/core/facets/hash/update_values.rb
991
1004
  - lib/core/facets/hash/alias.rb
@@ -1018,6 +1031,7 @@ files:
1018
1031
  - lib/core/facets/hash/to_struct.rb
1019
1032
  - lib/core/facets/hash/symbolize_keys.rb
1020
1033
  - lib/core/facets/hash/join.rb
1034
+ - lib/core/facets/hash/group_by_value.rb
1021
1035
  - lib/core/facets/hash/replace_each.rb
1022
1036
  - lib/core/facets/hash/slice.rb
1023
1037
  - lib/core/facets/hash/to_h.rb
@@ -1102,9 +1116,12 @@ files:
1102
1116
  - lib/core/facets/enumerable/split.rb
1103
1117
  - lib/core/facets/enumerable/map_send.rb
1104
1118
  - lib/core/facets/enumerable/probability.rb
1119
+ - lib/core/facets/enumerable/map_with_index.rb
1105
1120
  - lib/core/facets/enumerable/count.rb
1106
1121
  - lib/core/facets/enumerable/each_by.rb
1122
+ - lib/core/facets/enumerable/compact_map.rb
1107
1123
  - lib/core/facets/string/shatter.rb
1124
+ - lib/core/facets/string/file.rb
1108
1125
  - lib/core/facets/string/to_re.rb
1109
1126
  - lib/core/facets/string/fold.rb
1110
1127
  - lib/core/facets/string/start_with.rb
@@ -1171,6 +1188,7 @@ files:
1171
1188
  - lib/core/facets/module/integrate.rb
1172
1189
  - lib/core/facets/module/alias_method_chain.rb
1173
1190
  - lib/core/facets/module/revise.rb
1191
+ - lib/core/facets/module/extend.rb
1174
1192
  - lib/core/facets/module/spacename.rb
1175
1193
  - lib/core/facets/module/wrap_method.rb
1176
1194
  - lib/core/facets/module/basename.rb
@@ -1293,6 +1311,7 @@ files:
1293
1311
  - lib/more/facets/ioredirect.rb
1294
1312
  - lib/more/facets/duplicable.rb
1295
1313
  - lib/more/facets/pool.rb
1314
+ - lib/more/facets/hook.rb
1296
1315
  - lib/more/facets/blankslate.rb
1297
1316
  - lib/more/facets/capsule.rb
1298
1317
  - lib/more/facets/tuple.rb
@@ -1337,6 +1356,17 @@ files:
1337
1356
  - lib/more/facets/kernel/meta.rb
1338
1357
  - lib/more/facets/string/words.rb
1339
1358
  - lib/more/facets/string/mask.rb
1359
+ - meta/created
1360
+ - meta/homepage
1361
+ - meta/summary
1362
+ - meta/abstract
1363
+ - meta/releases
1364
+ - meta/contributors
1365
+ - meta/license
1366
+ - meta/authors
1367
+ - meta/slogan
1368
+ - meta/loadpath
1369
+ - meta/contact
1340
1370
  - task/methods
1341
1371
  - task/test.rake
1342
1372
  - task/conflicts
@@ -1369,6 +1399,7 @@ files:
1369
1399
  - test/core/enumerable
1370
1400
  - test/core/string
1371
1401
  - test/core/module
1402
+ - test/core/test_to_hash.rb
1372
1403
  - test/core/time
1373
1404
  - test/core/dir
1374
1405
  - test/core/filetest
@@ -1479,6 +1510,7 @@ files:
1479
1510
  - test/core/enumerable/test_entropy.rb
1480
1511
  - test/core/enumerable/test_modulate.rb
1481
1512
  - test/core/enumerable/test_probability.rb
1513
+ - test/core/enumerable/test_split.rb
1482
1514
  - test/core/enumerable/test_cluster_by.rb
1483
1515
  - test/core/enumerable/test_group_by.rb
1484
1516
  - test/core/enumerable/test_commonality.rb
@@ -1629,7 +1661,6 @@ files:
1629
1661
  - test/more/test_coroutine.rb
1630
1662
  - test/more/test_overload.rb
1631
1663
  - test/more/test_elementor.rb
1632
- - test/more/test_to_hash.rb
1633
1664
  - test/more/test_enumerablepass.rb
1634
1665
  - test/more/test_ansicode.rb
1635
1666
  - test/more/test_dictionary.rb
@@ -1644,7 +1675,6 @@ files:
1644
1675
  - test/more/test_paramix.rb
1645
1676
  - test/more/test_multiton.rb
1646
1677
  - test/more/test_advisable.rb
1647
- - MANIFEST
1648
1678
  has_rdoc: true
1649
1679
  homepage: http://facets.rubyforge.org
1650
1680
  post_install_message:
@@ -1685,6 +1715,7 @@ test_files:
1685
1715
  - test/lore/test_ostruct.rb
1686
1716
  - test/lore/test_date.rb
1687
1717
  - test/core/test_metaid.rb
1718
+ - test/core/test_to_hash.rb
1688
1719
  - test/core/integer/test_of.rb
1689
1720
  - test/core/integer/test_factorial.rb
1690
1721
  - test/core/integer/test_even.rb
@@ -1787,6 +1818,7 @@ test_files:
1787
1818
  - test/core/enumerable/test_entropy.rb
1788
1819
  - test/core/enumerable/test_modulate.rb
1789
1820
  - test/core/enumerable/test_probability.rb
1821
+ - test/core/enumerable/test_split.rb
1790
1822
  - test/core/enumerable/test_cluster_by.rb
1791
1823
  - test/core/enumerable/test_group_by.rb
1792
1824
  - test/core/enumerable/test_commonality.rb
@@ -1937,7 +1969,6 @@ test_files:
1937
1969
  - test/more/test_coroutine.rb
1938
1970
  - test/more/test_overload.rb
1939
1971
  - test/more/test_elementor.rb
1940
- - test/more/test_to_hash.rb
1941
1972
  - test/more/test_enumerablepass.rb
1942
1973
  - test/more/test_ansicode.rb
1943
1974
  - test/more/test_dictionary.rb
@@ -1,39 +0,0 @@
1
-
2
- <html>
3
- <head>
4
- <title>Facets Code Statistics</title>
5
- <style>
6
- h2{margin: 5px 0;}
7
- table{width: 95%;}
8
- th{background: #dcc;}
9
- td{padding: 5px;}
10
- .basic_stats{margin: 0 auto; width: 800px;}
11
- </style>
12
- <link rel="stylesheet" type="text/css" href="stats.css"/>
13
- </head>
14
- <body>
15
- <div class="basic_stats">
16
- <h1>Facets -- Basic Code Statistics</h1>
17
- <table class="counts" border="1">
18
- <tr><th colspan="9"><h2>Counts</h2></th></tr>
19
- <tr><th>TYPE</th><th>Total</th><th>Code</th><th>-%-</th><th>Docs</th><th>-%-</th><th>Blank</th><th>-%-</th><th>Files</th></tr>
20
- <tr><th>Source</th><td>30306</td><td>12352</td><td>40%</td><td>13225</td><td>43%</td><td>4638</td><td>15%</td><td>456</td></tr>
21
- <tr><th>Test</th><td>8842</td><td>6273</td><td>20%</td><td>529</td><td>1%</td><td>2040</td><td>6%</td><td>271</td></tr>
22
- <tr><th>Total</th><td>39148</td><td>18625</td><td>47%</td><td>13754</td><td>35%</td><td>6678</td><td>17%</td><td>727</td></tr>
23
- </table>
24
- <br/>
25
- <table class="ratios" border="1">
26
- <tr><th colspan="6"><h2>Ratios</h2></th></tr>
27
- <tr><th>x:1</th><th>Code</th><th>Docs</th><th>Blank</th><th>Test</th><th>Total</th></tr>
28
- <tr><th>Code</th><td> 1.0</td><td> 0.9</td><td> 2.7</td><td> 1.4</td><td> 0.4</td></tr>
29
- <tr><th>Docs</th><td> 1.1</td><td> 1.0</td><td> 2.9</td><td> 1.5</td><td> 0.4</td></tr>
30
- <tr><th>Blank</th><td> 0.4</td><td> 0.4</td><td> 1.0</td><td> 0.5</td><td> 0.2</td></tr>
31
- <tr><th>Test</th><td> 0.7</td><td> 0.7</td><td> 1.9</td><td> 1.0</td><td> 0.3</td></tr>
32
- <tr><th>Total</th><td> 2.5</td><td> 2.3</td><td> 6.5</td><td> 3.4</td><td> 1.0</td></tr>
33
- </table>
34
- <br/>
35
- <div class="date">Sun Nov 09 18:33:01 -0500 2008</div>
36
- </div>
37
- </body>
38
- </html>
39
-