facets 2.7.0 → 2.8.0
Sign up to get free protection for your applications and to get access to all the features.
- data/HISTORY.rdoc +135 -294
- data/MANIFEST +40 -91
- data/NOTES +1 -1
- data/README.rdoc +10 -8
- data/Rakefile +11 -34
- data/demo/{hook.rd → hook.rdoc} +2 -0
- data/demo/{scenario_require.rd → scenario_require.rdoc} +3 -0
- data/lib/core/facets-live.rb +7 -5
- data/lib/core/facets.rb +379 -359
- data/lib/core/facets/array/conjoin.rb +2 -2
- data/lib/core/facets/array/pad.rb +1 -1
- data/lib/core/facets/array/recursively.rb +2 -2
- data/lib/core/facets/array/splice.rb +1 -1
- data/lib/core/facets/binding/caller.rb +2 -4
- data/lib/core/facets/comparable/comparable.rb +2 -2
- data/lib/core/facets/dir/ascend.rb +3 -0
- data/lib/core/facets/dir/recurse.rb +4 -0
- data/lib/core/facets/duplicable.rb +6 -8
- data/lib/core/facets/enumerable/count.rb +22 -13
- data/lib/core/facets/enumerable/map_detect.rb +28 -0
- data/lib/core/facets/enumerable/mash.rb +13 -5
- data/lib/core/facets/enumerable/per.rb +3 -1
- data/lib/core/facets/hash/count.rb +14 -0
- data/lib/core/facets/hash/data.rb +14 -0
- data/lib/core/facets/kernel/__method__.rb +1 -1
- data/lib/core/facets/kernel/d.rb +9 -8
- data/lib/core/facets/kernel/eigenclass.rb +20 -0
- data/lib/core/facets/kernel/extend.rb +10 -0
- data/lib/core/facets/kernel/instance_class.rb +1 -0
- data/lib/core/facets/kernel/instance_variables.rb +6 -6
- data/lib/core/facets/kernel/meta_alias.rb +18 -0
- data/lib/core/facets/kernel/meta_class.rb +17 -0
- data/lib/core/facets/kernel/meta_def.rb +18 -0
- data/lib/core/facets/kernel/meta_eval.rb +18 -0
- data/lib/core/facets/kernel/object_hexid.rb +21 -6
- data/lib/core/facets/kernel/object_state.rb +4 -2
- data/lib/core/facets/kernel/populate.rb +3 -1
- data/lib/core/facets/kernel/with.rb +1 -1
- data/lib/core/facets/metaid.rb +6 -93
- data/lib/core/facets/module/class_def.rb +2 -0
- data/lib/core/facets/module/extend.rb +10 -11
- data/lib/core/facets/module/is.rb +5 -5
- data/lib/core/facets/module/module_def.rb +31 -0
- data/lib/core/facets/string/camelcase.rb +14 -12
- data/lib/core/facets/string/cleanlines.rb +35 -0
- data/lib/core/facets/string/edit_distance.rb +62 -0
- data/lib/core/facets/string/indent.rb +86 -4
- data/lib/core/facets/string/index_all.rb +24 -0
- data/lib/core/facets/string/lines.rb +3 -6
- data/lib/core/facets/string/margin.rb +2 -1
- data/lib/core/facets/string/newlines.rb +35 -0
- data/lib/core/facets/string/op_div.rb +14 -0
- data/lib/core/facets/string/range.rb +2 -22
- data/lib/core/facets/string/range_all.rb +1 -0
- data/lib/core/facets/string/range_of_line.rb +1 -0
- data/lib/core/facets/string/similarity.rb +92 -0
- data/lib/core/facets/string/start_with.rb +6 -6
- data/lib/core/facets/string/titlecase.rb +1 -1
- data/lib/more/facets/basicobject.rb +16 -15
- data/lib/more/facets/blankslate.rb +8 -0
- data/lib/more/facets/class_extend.rb +126 -1
- data/lib/more/facets/continuation.rb +53 -54
- data/lib/more/facets/dictionary.rb +9 -63
- data/lib/more/facets/erb.rb +63 -0
- data/lib/more/facets/filelist.rb +5 -5
- data/lib/more/facets/hashbuilder.rb +101 -0
- data/lib/more/facets/inheritor.rb +36 -45
- data/lib/more/facets/ini.rb +267 -0
- data/lib/more/facets/instance_eval.rb +4 -4
- data/lib/more/facets/ioredirect.rb +7 -60
- data/lib/more/facets/linkedlist.rb +195 -0
- data/lib/more/facets/matcher.rb +140 -0
- data/lib/more/facets/memoizer.rb +64 -0
- data/lib/more/facets/methodspace.rb +9 -4
- data/lib/more/facets/module/class_extend.rb +2 -121
- data/lib/more/facets/ostruct.rb +9 -9
- data/lib/more/facets/pathlist.rb +1 -9
- data/lib/more/facets/pathname.rb +11 -4
- data/lib/more/facets/plugin_manager.rb +50 -0
- data/lib/more/facets/random.rb +25 -3
- data/lib/more/facets/roman.rb +174 -0
- data/lib/more/facets/semaphore.rb +92 -0
- data/lib/more/facets/shellwords.rb +21 -48
- data/lib/more/facets/succ.rb +1 -1
- data/meta/{modified → released} +0 -0
- data/meta/repository +1 -0
- data/meta/suite +1 -0
- data/meta/version +1 -1
- data/script/conflicts +63 -0
- data/script/methods +49 -0
- data/test/core/binding/test_caller.rb +11 -4
- data/test/core/enumerable/test_count.rb +19 -10
- data/test/core/enumerable/test_map_detect.rb +75 -0
- data/test/core/enumerable/test_take.rb +1 -1
- data/test/core/kernel/test_object_hexid.rb +2 -1
- data/test/core/proc/test_to_method.rb +1 -1
- data/test/core/string/test_cleanlines.rb +11 -0
- data/test/core/string/test_indent.rb +66 -4
- data/test/core/string/test_lines.rb +2 -1
- data/test/core/string/test_newlines.rb +13 -0
- data/test/core/time/test_change.rb +1 -1
- data/test/core/time/test_stamp.rb +4 -7
- data/test/core/unboundmethod/test_name.rb +1 -1
- data/test/more/test_basicobject.rb +1 -20
- data/test/more/test_class_extend.rb +7 -0
- data/test/more/test_continuation.rb +8 -6
- data/test/more/test_inheritor.rb +12 -6
- data/test/more/test_random.rb +19 -10
- data/test/more/test_shellwords.rb +33 -0
- metadata +60 -31
- data/TODO +0 -5
- data/doc/README.core +0 -102
- data/doc/README.more +0 -61
- data/doc/manual/about.rb +0 -47
- data/doc/manual/annotations.rdoc +0 -60
- data/doc/manual/associations.rdoc +0 -55
- data/doc/manual/blockups.rdoc +0 -101
- data/doc/manual/capsule.rdoc +0 -34
- data/doc/manual/command.rdoc +0 -177
- data/doc/manual/core.rdoc +0 -37
- data/doc/manual/faq.rdoc +0 -32
- data/doc/manual/typecast.html +0 -112
- data/lib/more/facets/capsule.rb +0 -258
- data/lib/more/facets/coroutine.rb +0 -159
- data/lib/more/facets/enumerablepass.rb +0 -3
- data/lib/more/facets/fileable.rb +0 -162
- data/lib/more/facets/progressbar.rb +0 -253
- data/lib/more/facets/recorder.rb +0 -108
- data/meta/releases +0 -14
- data/test/more/test_coroutine.rb +0 -46
@@ -9,7 +9,7 @@ class Test_UnboundMethod_Name < 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
|
|
@@ -1,6 +1,4 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
require 'facets/basicobject.rb'
|
1
|
+
require 'facets/basicobject'
|
4
2
|
require 'test/unit'
|
5
3
|
|
6
4
|
class TestBasicObject < Test::Unit::TestCase
|
@@ -12,23 +10,6 @@ class TestBasicObject < Test::Unit::TestCase
|
|
12
10
|
@a = A.new
|
13
11
|
end
|
14
12
|
|
15
|
-
#def test_001
|
16
|
-
#assert( ! @a.object_class.method_defined?( :id ) )
|
17
|
-
#assert( ! @a.object_class.method_defined?( :class ) )
|
18
|
-
#end
|
19
|
-
|
20
|
-
def test_has_underscore_methods
|
21
|
-
assert( @a.__id__ )
|
22
|
-
assert( @a.__send__(:__id__) )
|
23
|
-
#assert( @a.object_class.method_defined?( :object_self ) )
|
24
|
-
#assert( @a.object_class.method_defined?( :dup ) )
|
25
|
-
#assert( @a.object_class.method_defined?( :as ) )
|
26
|
-
end
|
27
|
-
|
28
|
-
#def test_003
|
29
|
-
# assert_equal( A, @a.object_self.class )
|
30
|
-
#end
|
31
|
-
|
32
13
|
def test_ignore_new_kernel_methods
|
33
14
|
Kernel.module_eval { def xxx ; end }
|
34
15
|
assert_raises(NoMethodError) { @a.xxx }
|
@@ -8,6 +8,8 @@ class TC_ClassExtension < Test::Unit::TestCase
|
|
8
8
|
# fixture
|
9
9
|
|
10
10
|
module N
|
11
|
+
def instance_method; end
|
12
|
+
|
11
13
|
class_extend do
|
12
14
|
def n ; 43 ; end
|
13
15
|
def s ; self ; end
|
@@ -52,6 +54,11 @@ class TC_ClassExtension < Test::Unit::TestCase
|
|
52
54
|
assert_equal( 44, Z.n )
|
53
55
|
assert_equal( Z, Z.s )
|
54
56
|
end
|
57
|
+
def test_06
|
58
|
+
assert_equal( ['instance_method'], N.instance_methods.map{ |m| m.to_s } )
|
59
|
+
result = (N.methods - N.instance_methods - Object.instance_methods - Module.methods).map{ |m| m.to_s }.sort
|
60
|
+
assert_equal( ['append_features', 'n', 's'], result)
|
61
|
+
end
|
55
62
|
|
56
63
|
end
|
57
64
|
|
@@ -1,12 +1,14 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
require 'facets/continuation.rb'
|
1
|
+
require 'facets/continuation'
|
4
2
|
require 'test/unit'
|
5
3
|
|
6
|
-
|
4
|
+
if defined?(Continuation)
|
5
|
+
|
6
|
+
class TC_Continuation < Test::Unit::TestCase
|
7
|
+
|
8
|
+
def test_create
|
9
|
+
assert_nothing_raised { c, r = Continuation.create }
|
10
|
+
end
|
7
11
|
|
8
|
-
def test_Continuation_create
|
9
|
-
assert_nothing_raised { c, r = Continuation.create }
|
10
12
|
end
|
11
13
|
|
12
14
|
end
|
data/test/more/test_inheritor.rb
CHANGED
@@ -18,10 +18,12 @@ require 'test/unit'
|
|
18
18
|
|
19
19
|
class TC_Inheritor_02 < Test::Unit::TestCase
|
20
20
|
class C
|
21
|
-
inheritor :koko, [
|
21
|
+
inheritor :koko, [], :+
|
22
|
+
koko! << 1
|
22
23
|
end
|
23
24
|
class D < C
|
24
|
-
inheritor :koko, [
|
25
|
+
inheritor :koko, [], :+
|
26
|
+
koko! << 2
|
25
27
|
end
|
26
28
|
|
27
29
|
def test_02_001
|
@@ -40,7 +42,8 @@ end
|
|
40
42
|
|
41
43
|
class TC_Inheritor_03 < Test::Unit::TestCase
|
42
44
|
class C
|
43
|
-
inheritor :koko, [
|
45
|
+
inheritor :koko, [], :+
|
46
|
+
koko! << 1
|
44
47
|
end
|
45
48
|
class D < C
|
46
49
|
end
|
@@ -61,14 +64,17 @@ end
|
|
61
64
|
|
62
65
|
class TC_Inheritor_04 < Test::Unit::TestCase
|
63
66
|
class X
|
64
|
-
inheritor :x, {
|
67
|
+
inheritor :x, {}, :merge
|
68
|
+
x![:a] = 1
|
65
69
|
end
|
66
70
|
module M
|
67
|
-
inheritor :x, {
|
71
|
+
inheritor :x, {}, :merge
|
72
|
+
x![:b] = 2
|
68
73
|
end
|
69
74
|
class Y < X
|
70
75
|
include M
|
71
|
-
inheritor :x, {
|
76
|
+
inheritor :x, {}, :merge
|
77
|
+
x![:c] = 3
|
72
78
|
end
|
73
79
|
|
74
80
|
def test_04_001
|
data/test/more/test_random.rb
CHANGED
@@ -11,6 +11,16 @@ class TestKernelRandom < Test::Unit::TestCase
|
|
11
11
|
|
12
12
|
end
|
13
13
|
|
14
|
+
class TestRangeRandom < Test::Unit::TestCase
|
15
|
+
|
16
|
+
def test_at_rand
|
17
|
+
r = (1..4)
|
18
|
+
20.times{ assert_nothing_raised{ r.at_rand } }
|
19
|
+
20.times{ assert( r.include?( r.at_rand ) ) }
|
20
|
+
end
|
21
|
+
|
22
|
+
end
|
23
|
+
|
14
24
|
class TestArrayRandom < Test::Unit::TestCase
|
15
25
|
|
16
26
|
def test_at_rand
|
@@ -125,16 +135,15 @@ class TestStringRandom < Test::Unit::TestCase
|
|
125
135
|
end
|
126
136
|
|
127
137
|
def test_rand_byte
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
assert( s = 'a' || s = 'b' )
|
138
|
+
2.times do
|
139
|
+
s = 'ab'
|
140
|
+
r = s.rand_byte
|
141
|
+
if RUBY_VERSION > '1.9'
|
142
|
+
assert( r == 'a' || r == 'b' )
|
143
|
+
else
|
144
|
+
assert( r == 97 || r == 98 )
|
145
|
+
end
|
146
|
+
end
|
138
147
|
end
|
139
148
|
|
140
149
|
def test_shuffle
|
@@ -0,0 +1,33 @@
|
|
1
|
+
require 'facets/shellwords'
|
2
|
+
require 'test/unit'
|
3
|
+
|
4
|
+
class TestShellwords < Test::Unit::TestCase
|
5
|
+
|
6
|
+
def test_array_shellwords_1
|
7
|
+
e = ["a", "b"]
|
8
|
+
a = ["a", "b"].shellwords
|
9
|
+
assert_equal(e, a)
|
10
|
+
end
|
11
|
+
|
12
|
+
def test_array_shellwords_2
|
13
|
+
e = ["-d", "a", "b"]
|
14
|
+
a = ["a", "b", {:d=>true}].shellwords
|
15
|
+
assert_equal(e, a)
|
16
|
+
end
|
17
|
+
|
18
|
+
def test_hash_shellwords_1
|
19
|
+
e = ['--debug']
|
20
|
+
a = {:debug=>true}.shellwords
|
21
|
+
assert_equal(e, a)
|
22
|
+
end
|
23
|
+
|
24
|
+
def test_hash_shellwords_2
|
25
|
+
e = ['--name="jim"', '--debug']
|
26
|
+
a = {:debug=>true, :name=>"jim"}.shellwords
|
27
|
+
a.each do |x|
|
28
|
+
assert(e.include?(x))
|
29
|
+
end
|
30
|
+
end
|
31
|
+
|
32
|
+
end
|
33
|
+
|
metadata
CHANGED
@@ -1,20 +1,32 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: facets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
-
- facets-universal@rubyforge.org
|
8
7
|
- Thomas Sawyer <transfire@gmail.com>
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
11
|
|
13
|
-
date: 2009-
|
12
|
+
date: 2009-11-11 00:00:00 -05:00
|
14
13
|
default_executable:
|
15
14
|
dependencies: []
|
16
15
|
|
17
|
-
description:
|
16
|
+
description: |-
|
17
|
+
Facets is the single largest collection of core extension methods
|
18
|
+
and standard class additions available for the Ruby programming
|
19
|
+
language.
|
20
|
+
|
21
|
+
Premium Core Extensions and Standard Additions.
|
22
|
+
Facets is a large collection of core extension methods
|
23
|
+
and standard additions for the Ruby programming language.
|
24
|
+
The core extensions are unique by virtue of thier atomicity.
|
25
|
+
Methods are stored in small, tightly related collections,
|
26
|
+
allowing for highly granular control of requirements.
|
27
|
+
The modules include a variety of useful classes, mixins
|
28
|
+
and microframeworks, from the Functor to a complete
|
29
|
+
Annotations system.
|
18
30
|
email: facets-universal@rubyforge.org
|
19
31
|
executables: []
|
20
32
|
|
@@ -25,24 +37,12 @@ extra_rdoc_files:
|
|
25
37
|
- HISTORY.rdoc
|
26
38
|
- MANIFEST
|
27
39
|
- NOTES
|
28
|
-
- TODO
|
29
40
|
- README.rdoc
|
30
41
|
- AUTHORS
|
31
42
|
- COPYING
|
32
43
|
files:
|
33
|
-
- demo/hook.
|
34
|
-
- demo/scenario_require.
|
35
|
-
- doc/README.core
|
36
|
-
- doc/README.more
|
37
|
-
- doc/manual/about.rb
|
38
|
-
- doc/manual/annotations.rdoc
|
39
|
-
- doc/manual/associations.rdoc
|
40
|
-
- doc/manual/blockups.rdoc
|
41
|
-
- doc/manual/capsule.rdoc
|
42
|
-
- doc/manual/command.rdoc
|
43
|
-
- doc/manual/core.rdoc
|
44
|
-
- doc/manual/faq.rdoc
|
45
|
-
- doc/manual/typecast.html
|
44
|
+
- demo/hook.rdoc
|
45
|
+
- demo/scenario_require.rdoc
|
46
46
|
- lib/core/facets/array/combination.rb
|
47
47
|
- lib/core/facets/array/conjoin.rb
|
48
48
|
- lib/core/facets/array/delete.rb
|
@@ -120,6 +120,7 @@ files:
|
|
120
120
|
- lib/core/facets/enumerable/graph.rb
|
121
121
|
- lib/core/facets/enumerable/group_by.rb
|
122
122
|
- lib/core/facets/enumerable/inject.rb
|
123
|
+
- lib/core/facets/enumerable/map_detect.rb
|
123
124
|
- lib/core/facets/enumerable/map_send.rb
|
124
125
|
- lib/core/facets/enumerable/map_with_index.rb
|
125
126
|
- lib/core/facets/enumerable/mash.rb
|
@@ -160,6 +161,8 @@ files:
|
|
160
161
|
- lib/core/facets/hash/at.rb
|
161
162
|
- lib/core/facets/hash/autonew.rb
|
162
163
|
- lib/core/facets/hash/collate.rb
|
164
|
+
- lib/core/facets/hash/count.rb
|
165
|
+
- lib/core/facets/hash/data.rb
|
163
166
|
- lib/core/facets/hash/dearray_values.rb
|
164
167
|
- lib/core/facets/hash/delete.rb
|
165
168
|
- lib/core/facets/hash/diff.rb
|
@@ -225,8 +228,10 @@ files:
|
|
225
228
|
- lib/core/facets/kernel/d.rb
|
226
229
|
- lib/core/facets/kernel/deep_copy.rb
|
227
230
|
- lib/core/facets/kernel/demo.rb
|
231
|
+
- lib/core/facets/kernel/eigenclass.rb
|
228
232
|
- lib/core/facets/kernel/equate.rb
|
229
233
|
- lib/core/facets/kernel/ergo.rb
|
234
|
+
- lib/core/facets/kernel/extend.rb
|
230
235
|
- lib/core/facets/kernel/extension.rb
|
231
236
|
- lib/core/facets/kernel/here.rb
|
232
237
|
- lib/core/facets/kernel/identical.rb
|
@@ -237,6 +242,10 @@ files:
|
|
237
242
|
- lib/core/facets/kernel/instance_send.rb
|
238
243
|
- lib/core/facets/kernel/instance_variables.rb
|
239
244
|
- lib/core/facets/kernel/maybe.rb
|
245
|
+
- lib/core/facets/kernel/meta_alias.rb
|
246
|
+
- lib/core/facets/kernel/meta_class.rb
|
247
|
+
- lib/core/facets/kernel/meta_def.rb
|
248
|
+
- lib/core/facets/kernel/meta_eval.rb
|
240
249
|
- lib/core/facets/kernel/method.rb
|
241
250
|
- lib/core/facets/kernel/not_nil.rb
|
242
251
|
- lib/core/facets/kernel/object_class.rb
|
@@ -274,6 +283,7 @@ files:
|
|
274
283
|
- lib/core/facets/module/basename.rb
|
275
284
|
- lib/core/facets/module/can.rb
|
276
285
|
- lib/core/facets/module/class.rb
|
286
|
+
- lib/core/facets/module/class_def.rb
|
277
287
|
- lib/core/facets/module/conflict.rb
|
278
288
|
- lib/core/facets/module/extend.rb
|
279
289
|
- lib/core/facets/module/include_function_module.rb
|
@@ -283,6 +293,7 @@ files:
|
|
283
293
|
- lib/core/facets/module/is.rb
|
284
294
|
- lib/core/facets/module/methodize.rb
|
285
295
|
- lib/core/facets/module/modspace.rb
|
296
|
+
- lib/core/facets/module/module_def.rb
|
286
297
|
- lib/core/facets/module/module_load.rb
|
287
298
|
- lib/core/facets/module/module_require.rb
|
288
299
|
- lib/core/facets/module/nesting.rb
|
@@ -329,17 +340,20 @@ files:
|
|
329
340
|
- lib/core/facets/string/capitalized.rb
|
330
341
|
- lib/core/facets/string/chars.rb
|
331
342
|
- lib/core/facets/string/chomp.rb
|
343
|
+
- lib/core/facets/string/cleanlines.rb
|
332
344
|
- lib/core/facets/string/cleave.rb
|
333
345
|
- lib/core/facets/string/compress_lines.rb
|
334
346
|
- lib/core/facets/string/contains.rb
|
335
347
|
- lib/core/facets/string/divide.rb
|
336
348
|
- lib/core/facets/string/each_char.rb
|
337
349
|
- lib/core/facets/string/each_word.rb
|
350
|
+
- lib/core/facets/string/edit_distance.rb
|
338
351
|
- lib/core/facets/string/end_with.rb
|
339
352
|
- lib/core/facets/string/expand_tab.rb
|
340
353
|
- lib/core/facets/string/file.rb
|
341
354
|
- lib/core/facets/string/fold.rb
|
342
355
|
- lib/core/facets/string/indent.rb
|
356
|
+
- lib/core/facets/string/index_all.rb
|
343
357
|
- lib/core/facets/string/interpolate.rb
|
344
358
|
- lib/core/facets/string/line_wrap.rb
|
345
359
|
- lib/core/facets/string/lines.rb
|
@@ -350,12 +364,17 @@ files:
|
|
350
364
|
- lib/core/facets/string/mscan.rb
|
351
365
|
- lib/core/facets/string/natcmp.rb
|
352
366
|
- lib/core/facets/string/nchar.rb
|
367
|
+
- lib/core/facets/string/newlines.rb
|
368
|
+
- lib/core/facets/string/op_div.rb
|
353
369
|
- lib/core/facets/string/op_sub.rb
|
354
370
|
- lib/core/facets/string/outdent.rb
|
355
371
|
- lib/core/facets/string/pathize.rb
|
356
372
|
- lib/core/facets/string/range.rb
|
373
|
+
- lib/core/facets/string/range_all.rb
|
374
|
+
- lib/core/facets/string/range_of_line.rb
|
357
375
|
- lib/core/facets/string/rewrite.rb
|
358
376
|
- lib/core/facets/string/shatter.rb
|
377
|
+
- lib/core/facets/string/similarity.rb
|
359
378
|
- lib/core/facets/string/snakecase.rb
|
360
379
|
- lib/core/facets/string/splice.rb
|
361
380
|
- lib/core/facets/string/start_with.rb
|
@@ -410,22 +429,19 @@ files:
|
|
410
429
|
- lib/more/facets/autoreload.rb
|
411
430
|
- lib/more/facets/basicobject.rb
|
412
431
|
- lib/more/facets/blankslate.rb
|
413
|
-
- lib/more/facets/capsule.rb
|
414
432
|
- lib/more/facets/cgi.rb
|
415
433
|
- lib/more/facets/class_extend.rb
|
416
434
|
- lib/more/facets/cloneable.rb
|
417
435
|
- lib/more/facets/continuation.rb
|
418
|
-
- lib/more/facets/coroutine.rb
|
419
436
|
- lib/more/facets/daemonize.rb
|
420
437
|
- lib/more/facets/date.rb
|
421
438
|
- lib/more/facets/dictionary.rb
|
422
439
|
- lib/more/facets/duration.rb
|
423
440
|
- lib/more/facets/enumargs.rb
|
424
|
-
- lib/more/facets/enumerablepass.rb
|
425
441
|
- lib/more/facets/enumerator.rb
|
426
442
|
- lib/more/facets/equitable.rb
|
443
|
+
- lib/more/facets/erb.rb
|
427
444
|
- lib/more/facets/expirable.rb
|
428
|
-
- lib/more/facets/fileable.rb
|
429
445
|
- lib/more/facets/filelist.rb
|
430
446
|
- lib/more/facets/fileutils/head.rb
|
431
447
|
- lib/more/facets/fileutils/safe_ln.rb
|
@@ -436,14 +452,19 @@ files:
|
|
436
452
|
- lib/more/facets/fileutils/which.rb
|
437
453
|
- lib/more/facets/fileutils.rb
|
438
454
|
- lib/more/facets/getoptlong.rb
|
455
|
+
- lib/more/facets/hashbuilder.rb
|
439
456
|
- lib/more/facets/hook.rb
|
440
457
|
- lib/more/facets/inheritor.rb
|
458
|
+
- lib/more/facets/ini.rb
|
441
459
|
- lib/more/facets/instance_eval.rb
|
442
460
|
- lib/more/facets/instance_function.rb
|
443
461
|
- lib/more/facets/instantiable.rb
|
444
462
|
- lib/more/facets/ioredirect.rb
|
463
|
+
- lib/more/facets/linkedlist.rb
|
445
464
|
- lib/more/facets/main.rb
|
465
|
+
- lib/more/facets/matcher.rb
|
446
466
|
- lib/more/facets/memoize.rb
|
467
|
+
- lib/more/facets/memoizer.rb
|
447
468
|
- lib/more/facets/methodspace.rb
|
448
469
|
- lib/more/facets/module/attr.rb
|
449
470
|
- lib/more/facets/module/attr_tester.rb
|
@@ -467,14 +488,15 @@ files:
|
|
467
488
|
- lib/more/facets/pathlist.rb
|
468
489
|
- lib/more/facets/pathname.rb
|
469
490
|
- lib/more/facets/platform.rb
|
491
|
+
- lib/more/facets/plugin_manager.rb
|
470
492
|
- lib/more/facets/preinitialize.rb
|
471
|
-
- lib/more/facets/progressbar.rb
|
472
493
|
- lib/more/facets/random.rb
|
473
494
|
- lib/more/facets/rbconfig.rb
|
474
495
|
- lib/more/facets/rbsystem.rb
|
475
|
-
- lib/more/facets/recorder.rb
|
476
496
|
- lib/more/facets/reference.rb
|
477
497
|
- lib/more/facets/registerable.rb
|
498
|
+
- lib/more/facets/roman.rb
|
499
|
+
- lib/more/facets/semaphore.rb
|
478
500
|
- lib/more/facets/set.rb
|
479
501
|
- lib/more/facets/shellwords.rb
|
480
502
|
- lib/more/facets/stash.rb
|
@@ -495,13 +517,16 @@ files:
|
|
495
517
|
- meta/homepage
|
496
518
|
- meta/license
|
497
519
|
- meta/loadpath
|
498
|
-
- meta/modified
|
499
520
|
- meta/package
|
500
|
-
- meta/
|
521
|
+
- meta/released
|
522
|
+
- meta/repository
|
501
523
|
- meta/sitemap
|
502
524
|
- meta/slogan
|
525
|
+
- meta/suite
|
503
526
|
- meta/summary
|
504
527
|
- meta/version
|
528
|
+
- script/conflicts
|
529
|
+
- script/methods
|
505
530
|
- test/core/array/test_combination.rb
|
506
531
|
- test/core/array/test_delete.rb
|
507
532
|
- test/core/array/test_index.rb
|
@@ -547,6 +572,7 @@ files:
|
|
547
572
|
- test/core/enumerable/test_frequency.rb
|
548
573
|
- test/core/enumerable/test_group_by.rb
|
549
574
|
- test/core/enumerable/test_inject.rb
|
575
|
+
- test/core/enumerable/test_map_detect.rb
|
550
576
|
- test/core/enumerable/test_mash.rb
|
551
577
|
- test/core/enumerable/test_modulate.rb
|
552
578
|
- test/core/enumerable/test_none.rb
|
@@ -669,6 +695,7 @@ files:
|
|
669
695
|
- test/core/string/test_camelcase.rb
|
670
696
|
- test/core/string/test_capitalized.rb
|
671
697
|
- test/core/string/test_chars.rb
|
698
|
+
- test/core/string/test_cleanlines.rb
|
672
699
|
- test/core/string/test_cleave.rb
|
673
700
|
- test/core/string/test_divide.rb
|
674
701
|
- test/core/string/test_each_char.rb
|
@@ -686,6 +713,7 @@ files:
|
|
686
713
|
- test/core/string/test_mscan.rb
|
687
714
|
- test/core/string/test_natcmp.rb
|
688
715
|
- test/core/string/test_nchar.rb
|
716
|
+
- test/core/string/test_newlines.rb
|
689
717
|
- test/core/string/test_op_sub.rb
|
690
718
|
- test/core/string/test_outdent.rb
|
691
719
|
- test/core/string/test_pathize.rb
|
@@ -734,7 +762,6 @@ files:
|
|
734
762
|
- test/more/test_class_extend.rb
|
735
763
|
- test/more/test_cloneable.rb
|
736
764
|
- test/more/test_continuation.rb
|
737
|
-
- test/more/test_coroutine.rb
|
738
765
|
- test/more/test_date.rb
|
739
766
|
- test/more/test_dictionary.rb
|
740
767
|
- test/more/test_enumargs.rb
|
@@ -753,6 +780,7 @@ files:
|
|
753
780
|
- test/more/test_partial.rb
|
754
781
|
- test/more/test_random.rb
|
755
782
|
- test/more/test_recorder.rb
|
783
|
+
- test/more/test_shellwords.rb
|
756
784
|
- test/more/test_succ.rb
|
757
785
|
- test/more/test_thread.rb
|
758
786
|
- test/more/test_timer.rb
|
@@ -761,7 +789,6 @@ files:
|
|
761
789
|
- Rakefile
|
762
790
|
- HISTORY.rdoc
|
763
791
|
- NOTES
|
764
|
-
- TODO
|
765
792
|
- README.rdoc
|
766
793
|
- AUTHORS
|
767
794
|
- COPYING
|
@@ -772,9 +799,8 @@ licenses: []
|
|
772
799
|
|
773
800
|
post_install_message:
|
774
801
|
rdoc_options:
|
775
|
-
- --inline-source
|
776
802
|
- --title
|
777
|
-
-
|
803
|
+
- Facets API
|
778
804
|
require_paths:
|
779
805
|
- lib/core
|
780
806
|
- lib/more
|
@@ -845,6 +871,7 @@ test_files:
|
|
845
871
|
- test/core/enumerable/test_frequency.rb
|
846
872
|
- test/core/enumerable/test_group_by.rb
|
847
873
|
- test/core/enumerable/test_inject.rb
|
874
|
+
- test/core/enumerable/test_map_detect.rb
|
848
875
|
- test/core/enumerable/test_mash.rb
|
849
876
|
- test/core/enumerable/test_modulate.rb
|
850
877
|
- test/core/enumerable/test_none.rb
|
@@ -967,6 +994,7 @@ test_files:
|
|
967
994
|
- test/core/string/test_camelcase.rb
|
968
995
|
- test/core/string/test_capitalized.rb
|
969
996
|
- test/core/string/test_chars.rb
|
997
|
+
- test/core/string/test_cleanlines.rb
|
970
998
|
- test/core/string/test_cleave.rb
|
971
999
|
- test/core/string/test_divide.rb
|
972
1000
|
- test/core/string/test_each_char.rb
|
@@ -984,6 +1012,7 @@ test_files:
|
|
984
1012
|
- test/core/string/test_mscan.rb
|
985
1013
|
- test/core/string/test_natcmp.rb
|
986
1014
|
- test/core/string/test_nchar.rb
|
1015
|
+
- test/core/string/test_newlines.rb
|
987
1016
|
- test/core/string/test_op_sub.rb
|
988
1017
|
- test/core/string/test_outdent.rb
|
989
1018
|
- test/core/string/test_pathize.rb
|
@@ -1032,7 +1061,6 @@ test_files:
|
|
1032
1061
|
- test/more/test_class_extend.rb
|
1033
1062
|
- test/more/test_cloneable.rb
|
1034
1063
|
- test/more/test_continuation.rb
|
1035
|
-
- test/more/test_coroutine.rb
|
1036
1064
|
- test/more/test_date.rb
|
1037
1065
|
- test/more/test_dictionary.rb
|
1038
1066
|
- test/more/test_enumargs.rb
|
@@ -1051,6 +1079,7 @@ test_files:
|
|
1051
1079
|
- test/more/test_partial.rb
|
1052
1080
|
- test/more/test_random.rb
|
1053
1081
|
- test/more/test_recorder.rb
|
1082
|
+
- test/more/test_shellwords.rb
|
1054
1083
|
- test/more/test_succ.rb
|
1055
1084
|
- test/more/test_thread.rb
|
1056
1085
|
- test/more/test_timer.rb
|