facets 2.4.0 → 2.4.1
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/CHANGES +14 -6
- data/MANIFEST +35 -18
- data/NOTES +5 -15
- data/README +1 -11
- data/doc/{History.txt → history.rdoc} +0 -0
- data/doc/html/api/core/created.rid +1 -1
- data/doc/html/api/core/files/CHANGES.html +20 -4
- data/doc/html/api/core/files/NOTES.html +44 -15
- data/doc/html/api/more/created.rid +1 -1
- data/doc/html/api/more/files/CHANGES.html +20 -4
- data/doc/html/api/more/files/NOTES.html +46 -15
- data/doc/html/changes.html +19 -3
- data/doc/html/notes.html +43 -14
- data/doc/notes.rdoc +9 -0
- data/lib/facets/basex.rb +37 -0
- data/lib/facets/basicobject.rb +2 -2
- data/lib/facets/date.rb +16 -4
- data/lib/facets/exception.rb +1 -0
- data/lib/facets/exception/suppress.rb +21 -0
- data/lib/facets/hash/argumentize.rb +2 -1
- data/lib/facets/kernel.rb +9 -2
- data/lib/facets/kernel/__class__.rb +9 -0
- data/lib/facets/kernel/__get__.rb +10 -0
- data/lib/facets/kernel/__set__.rb +1 -0
- data/lib/facets/kernel/instance_assign.rb +41 -0
- data/lib/facets/kernel/instance_class.rb +24 -0
- data/lib/facets/kernel/instance_send.rb +7 -0
- data/lib/facets/kernel/instance_variables.rb +99 -0
- data/lib/facets/kernel/object_class.rb +10 -0
- data/lib/facets/kernel/object_hexid.rb +12 -0
- data/lib/facets/kernel/{object.rb → object_send.rb} +0 -21
- data/lib/facets/kernel/silence.rb +25 -19
- data/lib/facets/kernel/suppress.rb +18 -0
- data/lib/facets/module.rb +3 -0
- data/lib/facets/module/basename.rb +31 -0
- data/lib/facets/module/modspace.rb +22 -0
- data/lib/facets/module/nesting.rb +0 -66
- data/lib/facets/module/spacename.rb +25 -0
- data/lib/facets/net/smtp_tls.rb +5 -8
- data/lib/facets/openhash.rb +1 -0
- data/lib/facets/openobject.rb +2 -1
- data/lib/facets/paramix.rb +187 -0
- data/lib/facets/platform.rb +192 -0
- data/lib/facets/recorder.rb +1 -1
- data/lib/facets/string.rb +12 -0
- data/lib/facets/string/to_time.rb +1 -23
- data/lib/facets/style.rb +145 -64
- data/lib/facets/time.rb +5 -0
- data/lib/facets/time/to_time.rb +14 -0
- data/log/{Changelog-0.txt → changelog-0.rdoc} +0 -0
- data/log/{Changelog-1.txt → changelog-1.rdoc} +0 -0
- data/log/{Changelog.txt → changelog.rdoc} +18 -0
- data/log/{Fixme.txt → fixme.rdoc} +3 -3
- data/log/testlog.txt +645 -0
- data/log/{Todo.txt → todo.rdoc} +80 -89
- data/meta/project.yaml +14 -10
- data/meta/version +1 -1
- data/script/conflicts +28 -3
- data/script/methods +32 -43
- data/test/kernel/{test_instance.rb → test_instance_assign.rb} +2 -10
- data/test/kernel/test_instance_class.rb +12 -0
- data/test/kernel/{test_object.rb → test_object_class.rb} +2 -9
- data/test/kernel/test_object_hexid.rb +12 -0
- data/test/module/test_basename.rb +11 -0
- data/test/module/test_modspace.rb +13 -0
- data/test/module/test_nesting.rb +0 -17
- data/test/module/test_spacename.rb +14 -0
- data/test/test_date.rb +12 -0
- data/test/test_style.rb +1 -1
- data/test/{string → time}/test_to_time.rb +1 -9
- metadata +46 -26
- data/lib/facets/behavior.rb +0 -104
- data/lib/facets/kernel/instance.rb +0 -73
- data/lib/facets/string/stylize.rb +0 -73
- data/lib/facets/string/underscore.rb +0 -28
- data/log/Testlog.txt +0 -205
- data/meta/corelibs +0 -49
- data/test/string/test_stylize.rb +0 -52
- data/test/string/test_underscore.rb +0 -13
data/lib/facets/behavior.rb
DELETED
@@ -1,104 +0,0 @@
|
|
1
|
-
# = Behavior
|
2
|
-
#
|
3
|
-
# Create temporary extensions.
|
4
|
-
#
|
5
|
-
# == Authors
|
6
|
-
#
|
7
|
-
# * Nobuyoshi Nakada
|
8
|
-
#
|
9
|
-
# == Todo
|
10
|
-
#
|
11
|
-
# * What was it? Something about selector namespaces...
|
12
|
-
#
|
13
|
-
# == Copyright
|
14
|
-
#
|
15
|
-
# Copyright (c) 2005 Nobuyoshi Nakada
|
16
|
-
#
|
17
|
-
# Ruby License
|
18
|
-
#
|
19
|
-
# This module is free software. You may use, modify, and/or redistribute this
|
20
|
-
# software under the same terms as Ruby.
|
21
|
-
#
|
22
|
-
# This program is distributed in the hope that it will be useful, but WITHOUT
|
23
|
-
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
|
24
|
-
# FOR A PARTICULAR PURPOSE.
|
25
|
-
|
26
|
-
|
27
|
-
# = Beahvior
|
28
|
-
#
|
29
|
-
# Behavior class is used to encapsulates a behavior.
|
30
|
-
#
|
31
|
-
# nil.behaving(:to_nil) do
|
32
|
-
# "1"
|
33
|
-
# end
|
34
|
-
#
|
35
|
-
# TODO: This behavior library needs improvement. If we can
|
36
|
-
# refine it enough and it proves solid, this would
|
37
|
-
# make a good candidate for core.
|
38
|
-
|
39
|
-
class Behavior < Module
|
40
|
-
#
|
41
|
-
def define(behavior, &body)
|
42
|
-
if body
|
43
|
-
define_method(behavior, &body)
|
44
|
-
else
|
45
|
-
behavior.each do |behavior, body|
|
46
|
-
if body
|
47
|
-
define_method(behavior, &body)
|
48
|
-
elsif body.nil?
|
49
|
-
remove_method(behavior)
|
50
|
-
else
|
51
|
-
undef_method(behavior)
|
52
|
-
end
|
53
|
-
end
|
54
|
-
end
|
55
|
-
end
|
56
|
-
end
|
57
|
-
|
58
|
-
module Kernel
|
59
|
-
|
60
|
-
def behaviors
|
61
|
-
@_behaviors
|
62
|
-
end
|
63
|
-
|
64
|
-
#
|
65
|
-
#
|
66
|
-
#
|
67
|
-
# CREDIT: Nobuyoshi Nakada
|
68
|
-
|
69
|
-
def behaving(behavior, &body)
|
70
|
-
unless @_behaviors
|
71
|
-
extend(@_behaviors = Behavior.new)
|
72
|
-
end
|
73
|
-
@_behaviors.define(behavior, &body)
|
74
|
-
end
|
75
|
-
end
|
76
|
-
|
77
|
-
|
78
|
-
# OLD IMPLEMENTATION
|
79
|
-
|
80
|
-
=begin
|
81
|
-
class Behavior < Module
|
82
|
-
def initialize(behavior, &body)
|
83
|
-
if body
|
84
|
-
define_method(behavior, &body)
|
85
|
-
else
|
86
|
-
behavior.each do |behavior, body|
|
87
|
-
if body
|
88
|
-
define_method(behavior, &body)
|
89
|
-
elsif body.nil?
|
90
|
-
remove_method(behavior)
|
91
|
-
else
|
92
|
-
undef_method(behavior)
|
93
|
-
end
|
94
|
-
end
|
95
|
-
end
|
96
|
-
end
|
97
|
-
end
|
98
|
-
|
99
|
-
module Kernel
|
100
|
-
def behaving(behavior, &body)
|
101
|
-
extend(Behavior.new(behavior, &body))
|
102
|
-
end
|
103
|
-
end
|
104
|
-
=end
|
@@ -1,73 +0,0 @@
|
|
1
|
-
module Kernel
|
2
|
-
# Kernel extension prefixed by instance_ which provide
|
3
|
-
# internal (eg private) access to the object.
|
4
|
-
# Kernel extension using instance_ prefix which is beneficial
|
5
|
-
# to separation of metaprogramming from general programming.
|
6
|
-
# object_ methods, in contrast to the instance_ methods,
|
7
|
-
# do not access internal state.
|
8
|
-
|
9
|
-
# Private send. Why isn't #send called instance_send in the first place?
|
10
|
-
alias_method :instance_send, :send
|
11
|
-
|
12
|
-
# Easy access to an object qua class, otherwise known
|
13
|
-
# as the object's metaclass or singleton class. This
|
14
|
-
# implemnetation alwasy returns the class, even if a
|
15
|
-
# block is provided to eval against it.
|
16
|
-
#
|
17
|
-
# It is what it is.
|
18
|
-
#
|
19
|
-
# CREDIT: Trans
|
20
|
-
|
21
|
-
def instance_class(&block)
|
22
|
-
(class << self; self; end).module_eval(&block) if block
|
23
|
-
(class << self; self; end)
|
24
|
-
end
|
25
|
-
|
26
|
-
# Return instance variable values in an array.
|
27
|
-
#
|
28
|
-
# class X
|
29
|
-
# def initialize(a,b)
|
30
|
-
# @a, @b = a, b
|
31
|
-
# end
|
32
|
-
# end
|
33
|
-
#
|
34
|
-
# x = X.new(1,2)
|
35
|
-
#
|
36
|
-
# x.instance_values #=> [1,2]
|
37
|
-
#
|
38
|
-
# CREDIT: David Heinemeier Hansson
|
39
|
-
|
40
|
-
def instance_values
|
41
|
-
instance_variables.inject({}) do |values, name|
|
42
|
-
values[name[1..-1]] = instance_variable_get(name)
|
43
|
-
values
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
|
-
# Set instance variables using a hash.
|
48
|
-
#
|
49
|
-
# instance_assign('@a'=>1, '@b'=>2)
|
50
|
-
# @a #=> 1
|
51
|
-
# @b #=> 2
|
52
|
-
#
|
53
|
-
#--
|
54
|
-
# TODO: Should is also accept class variables? (eg. @@a)
|
55
|
-
# TODO: Should instance_assign be named instance_variable_assign?
|
56
|
-
#++
|
57
|
-
|
58
|
-
def instance_assign(hargs)
|
59
|
-
hargs.each do |k,v|
|
60
|
-
k = "@#{k}" if k !~ /^@/
|
61
|
-
instance_variable_set(k, v)
|
62
|
-
end
|
63
|
-
return self
|
64
|
-
end
|
65
|
-
|
66
|
-
# Shadow method for instance_variable_get.
|
67
|
-
alias_method :__get__, :instance_variable_get
|
68
|
-
|
69
|
-
# Shadow method for instance_variable_set.
|
70
|
-
alias_method :__set__, :instance_variable_set
|
71
|
-
|
72
|
-
end
|
73
|
-
|
@@ -1,73 +0,0 @@
|
|
1
|
-
class String
|
2
|
-
|
3
|
-
# Like camelcase, but also converts '/' to '::'.
|
4
|
-
#
|
5
|
-
# By default camelcase convert to UpperCamelCase, If an argument
|
6
|
-
# is set to +false+, then camelcase will produce lowerCamelCase.
|
7
|
-
#
|
8
|
-
# +camelcase+ also converts '/' to '::' which is useful for converting
|
9
|
-
# paths to namespaces.
|
10
|
-
#
|
11
|
-
# Examples
|
12
|
-
# "camel_case".modulize #=> "CamelCase"
|
13
|
-
# "camel/case".modulize #=> "Camel::Case"
|
14
|
-
#
|
15
|
-
def modulize
|
16
|
-
str = dup
|
17
|
-
str.gsub!(/__(.?)/){ "::#{$1.upcase}" }
|
18
|
-
str.gsub!(/\/(.?)/){ "::#{$1.upcase}" }
|
19
|
-
str.gsub!(/(?:_+)([a-z])/){ $1.upcase }
|
20
|
-
str.gsub!(/(^|\s+)([a-z])/){ $1 + $2.upcase }
|
21
|
-
str
|
22
|
-
end
|
23
|
-
|
24
|
-
# Just like snakecase. Makes an underscored form from the expression
|
25
|
-
# in the string, but also changes '::' to '/' to convert namespaces
|
26
|
-
# to paths.
|
27
|
-
#
|
28
|
-
# Examples
|
29
|
-
# "SuperMan".pathize #=> "super_man"
|
30
|
-
# "SuperMan::Errors".pathize #=> "super_man/errors
|
31
|
-
#
|
32
|
-
def pathize
|
33
|
-
gsub(/::/, '/').
|
34
|
-
gsub(/([A-Z]+)([A-Z][a-z])/,'\1_\2').
|
35
|
-
gsub(/([a-z\d])([A-Z])/,'\1_\2').
|
36
|
-
tr("-", "_").
|
37
|
-
downcase
|
38
|
-
end
|
39
|
-
|
40
|
-
# Just like snakecase. Makes an underscored form from the expression
|
41
|
-
# in the string, but also changes '::' to '/' to convert namespaces
|
42
|
-
# to paths.
|
43
|
-
#
|
44
|
-
# Examples
|
45
|
-
# "SuperMan".methodize #=> "super_man"
|
46
|
-
# "SuperMan::Errors".methodize #=> "super_man__errors
|
47
|
-
#
|
48
|
-
def methodize
|
49
|
-
gsub(/\//, '__').
|
50
|
-
gsub(/::/, '__').
|
51
|
-
gsub(/([A-Z]+)([A-Z][a-z])/,'\1_\2').
|
52
|
-
gsub(/([a-z\d])([A-Z])/,'\1_\2').
|
53
|
-
tr("-", "_").
|
54
|
-
downcase
|
55
|
-
end
|
56
|
-
|
57
|
-
# Replaces underscores with spaces and capitalizes word.
|
58
|
-
#
|
59
|
-
def humanize
|
60
|
-
self.gsub(/_/, " ").capitalize
|
61
|
-
end
|
62
|
-
|
63
|
-
# Titleize.
|
64
|
-
#
|
65
|
-
# "this is a string".titlecase
|
66
|
-
# => "This Is A String"
|
67
|
-
#
|
68
|
-
def titleize
|
69
|
-
gsub(/\b\w/){$&.upcase}
|
70
|
-
end
|
71
|
-
|
72
|
-
end
|
73
|
-
|
@@ -1,28 +0,0 @@
|
|
1
|
-
class String
|
2
|
-
|
3
|
-
# TODO: Best definition of String#underscore and it's inverse?
|
4
|
-
|
5
|
-
# This is the Rails terminology for #pathize.
|
6
|
-
#
|
7
|
-
# Examples
|
8
|
-
# "ThisIsHelpful".underscore #=> "this_is_helpful"
|
9
|
-
#
|
10
|
-
#alias_method :underscore, :snakecase
|
11
|
-
|
12
|
-
# Converts spaces into underscores.
|
13
|
-
#
|
14
|
-
# Examples
|
15
|
-
# "This Is Helpful".underscore #=> "This_Is_Helpful"
|
16
|
-
#
|
17
|
-
def underscore
|
18
|
-
gsub(' ', '_') #.capitalize
|
19
|
-
end
|
20
|
-
|
21
|
-
# Replaces underscores with spaces and capitalizes word.
|
22
|
-
#
|
23
|
-
def space
|
24
|
-
gsub('_', ' ').capitalize
|
25
|
-
end
|
26
|
-
|
27
|
-
end
|
28
|
-
|
data/log/Testlog.txt
DELETED
@@ -1,205 +0,0 @@
|
|
1
|
-
= Solo Test @ Mon Mar 24 19:21:57 -0400 2008
|
2
|
-
|
3
|
-
TEST FILE TESTS ASSERTIONS FAILURES ERRORS
|
4
|
-
test/integer/test_of.rb 2 2 0 0 [PASS]
|
5
|
-
test/integer/test_factorial.rb 1 5 0 0 [PASS]
|
6
|
-
test/integer/test_ordinal.rb 1 4 0 0 [PASS]
|
7
|
-
test/integer/test_bitmask.rb 6 21 0 0 [PASS]
|
8
|
-
test/integer/test_multiple.rb 1 4 0 0 [PASS]
|
9
|
-
test/test_syncarray.rb 1 1 0 0 [PASS]
|
10
|
-
test/test_crypt.rb 2 8 0 0 [PASS]
|
11
|
-
test/test_metaid.rb 4 4 0 0 [PASS]
|
12
|
-
test/test_bytes.rb 12 18 0 0 [PASS]
|
13
|
-
test/test_infinity.rb 4 16 0 0 [PASS]
|
14
|
-
test/symbol/test_generate.rb 2 4 0 0 [PASS]
|
15
|
-
test/symbol/test_chomp.rb 2 2 0 0 [PASS]
|
16
|
-
test/symbol/test_not.rb 1 2 0 0 [PASS]
|
17
|
-
test/test_1stclassmethod.rb 2 3 0 0 [PASS]
|
18
|
-
test/test_typecast.rb 6 6 0 0 [PASS]
|
19
|
-
test/test_buildable.rb 2 2 0 0 [PASS]
|
20
|
-
test/test_instantise.rb 2 2 0 0 [PASS]
|
21
|
-
test/test_openobject.rb 13 29 0 0 [PASS]
|
22
|
-
test/test_equatable.rb 1 3 0 0 [PASS]
|
23
|
-
test/test_uri.rb 4 4 0 0 [PASS]
|
24
|
-
test/test_opencascade.rb 7 109 0 0 [PASS]
|
25
|
-
test/test_multipliers.rb 21 21 0 0 [PASS]
|
26
|
-
test/test_autoarray.rb 0 0 0 0 [PASS]
|
27
|
-
test/test_random.rb 20 260 0 0 [PASS]
|
28
|
-
test/test_basicobject.rb 7 13 0 0 [PASS]
|
29
|
-
test/test_boolean.rb 8 35 0 0 [PASS]
|
30
|
-
test/test_continuation.rb 1 1 0 0 [PASS]
|
31
|
-
test/test_prototype.rb 2 4 0 0 [PASS]
|
32
|
-
test/test_ostruct.rb 13 41 0 0 [PASS]
|
33
|
-
test/numeric/test_distance.rb 1 3 0 0 [PASS]
|
34
|
-
test/numeric/test_round.rb 4 8 0 0 [PASS]
|
35
|
-
test/numeric/test_approx.rb 1 3 0 0 [PASS]
|
36
|
-
test/test_elementwise.rb 2 8 0 0 [PASS]
|
37
|
-
test/test_class_extension.rb 5 9 0 0 [PASS]
|
38
|
-
test/binding/test_defined.rb 1 1 0 0 [PASS]
|
39
|
-
test/binding/test_self.rb 1 1 0 0 [PASS]
|
40
|
-
test/binding/test_caller.rb 7 7 0 0 [PASS]
|
41
|
-
test/binding/test_local_variables.rb 1 1 0 0 [PASS]
|
42
|
-
test/binding/test_opvars.rb 2 3 0 0 [PASS]
|
43
|
-
test/test_thread.rb 3 3 0 0 [PASS]
|
44
|
-
test/test_date.rb 8 8 0 0 [PASS]
|
45
|
-
test/test_dependency.rb 4 4 0 0 [PASS]
|
46
|
-
test/proc/test_bind.rb 1 100 0 0 [PASS]
|
47
|
-
test/proc/test_to_method.rb 2 6 0 0 [PASS]
|
48
|
-
test/proc/test_curry.rb 2 3 0 0 [PASS]
|
49
|
-
test/proc/test_compose.rb 2 4 0 0 [PASS]
|
50
|
-
test/proc/test_partial.rb 3 3 0 0 [PASS]
|
51
|
-
test/range/test_overlap.rb 2 2 0 0 [PASS]
|
52
|
-
test/range/test_combine.rb 2 2 0 0 [PASS]
|
53
|
-
test/range/test_to_r.rb 2 2 0 0 [PASS]
|
54
|
-
test/range/test_within.rb 5 15 0 0 [PASS]
|
55
|
-
test/test_ruby/symbol/test_succ.rb 1 3 0 0 [PASS]
|
56
|
-
test/test_ruby/kernel/test_tap.rb 2 2 0 0 [PASS]
|
57
|
-
test/test_ruby/array/test_combination.rb 2 2 0 0 [PASS]
|
58
|
-
test/test_ruby/array/test_product.rb 1 1 0 0 [PASS]
|
59
|
-
test/test_ruby/array/test_permutation.rb 1 1 0 0 [PASS]
|
60
|
-
test/test_times.rb 13 13 0 0 [PASS]
|
61
|
-
test/test_binreadable.rb 4 13 0 0 [PASS]
|
62
|
-
test/file/test_file.rb 9 9 0 0 [PASS]
|
63
|
-
test/test_cloneable.rb 2 6 0 0 [PASS]
|
64
|
-
test/test_inheritor.rb 20 23 0 0 [PASS]
|
65
|
-
test/test_uninheritable.rb 1 2 0 0 [PASS]
|
66
|
-
test/test_timer.rb 3 8 0 0 [PASS]
|
67
|
-
test/test_annotations.rb 16 22 0 0 [PASS]
|
68
|
-
test/test_recorder.rb 1 1 0 0 [PASS]
|
69
|
-
test/test_ruby.rb 21 441 0 0 [PASS]
|
70
|
-
test/hash/test_collate.rb 2 12 0 0 [PASS]
|
71
|
-
test/hash/test_keys.rb 3 5 0 0 [PASS]
|
72
|
-
test/hash/test_inverse.rb 1 3 0 0 [PASS]
|
73
|
-
test/hash/test_stringify_keys.rb 2 4 0 0 [PASS]
|
74
|
-
test/hash/test_rekey2.rb 5 10 0 0 [PASS]
|
75
|
-
test/hash/test_delete.rb 3 3 0 0 [PASS]
|
76
|
-
test/hash/test_symbolize_keys.rb 2 4 0 0 [PASS]
|
77
|
-
test/hash/test_weave.rb 1 1 0 0 [PASS]
|
78
|
-
test/hash/test_alias.rb 1 3 0 0 [PASS]
|
79
|
-
test/hash/test_update.rb 5 5 0 0 [PASS]
|
80
|
-
test/hash/test_swap.rb 1 1 0 0 [PASS]
|
81
|
-
test/hash/test_at.rb 1 2 0 0 [PASS]
|
82
|
-
test/hash/test_op.rb 5 5 0 0 [PASS]
|
83
|
-
test/hash/test_select.rb 1 12 0 0 [PASS]
|
84
|
-
test/hash/test_autonew.rb 1 0 0 0 [PASS]
|
85
|
-
test/hash/test_insert.rb 1 2 0 0 [PASS]
|
86
|
-
test/hash/test_traverse.rb 2 3 0 0 [PASS]
|
87
|
-
test/hash/test_zipnew.rb 1 1 0 0 [PASS]
|
88
|
-
test/hash/test_mash.rb 2 2 0 0 [PASS]
|
89
|
-
test/hash/test_merge.rb 1 1 0 0 [PASS]
|
90
|
-
test/hash/test_rekey.rb 4 14 0 0 [PASS]
|
91
|
-
test/kernel/test_val.rb 3 6 0 0 [PASS]
|
92
|
-
test/kernel/test_not_nil.rb 1 4 0 0 [PASS]
|
93
|
-
test/kernel/test_resc.rb 1 2 0 0 [PASS]
|
94
|
-
test/kernel/test_attr_singleton.rb 3 8 0 0 [PASS]
|
95
|
-
test/kernel/test_constant.rb 1 4 0 0 [PASS]
|
96
|
-
test/kernel/test_populate.rb 3 9 0 0 [PASS]
|
97
|
-
test/kernel/test_callstack.rb 1 1 0 0 [PASS]
|
98
|
-
test/kernel/test_silence.rb 1 1 0 0 [PASS]
|
99
|
-
test/kernel/test_instance.rb 2 4 0 0 [PASS]
|
100
|
-
test/kernel/test_in.rb 1 2 0 0 [PASS]
|
101
|
-
test/kernel/test_object.rb 3 3 0 0 [PASS]
|
102
|
-
test/kernel/test_returning.rb 1 1 0 0 [PASS]
|
103
|
-
test/kernel/test_here.rb 1 1 0 0 [PASS]
|
104
|
-
test/kernel/test_deepcopy.rb 1 1 0 0 [PASS]
|
105
|
-
test/kernel/test_as.rb 4 5 0 0 [PASS]
|
106
|
-
test/test_tuple.rb 6 11 0 0 [PASS]
|
107
|
-
test/comparable/test_cmp.rb 3 11 0 0 [PASS]
|
108
|
-
test/comparable/test_comparable.rb 1 5 0 0 [PASS]
|
109
|
-
test/comparable/test_bound.rb 4 22 0 0 [PASS]
|
110
|
-
test/test_classmethods.rb 5 9 0 0 [PASS]
|
111
|
-
test/test_association.rb 3 4 0 0 [PASS]
|
112
|
-
test/test_blank.rb 1 2 0 0 [PASS]
|
113
|
-
test/test_command.rb 3 3 0 0 [PASS]
|
114
|
-
test/test_bbcode.rb 2 2 0 0 [PASS]
|
115
|
-
test/enumerable/test_uniq_by.rb 1 1 0 0 [PASS]
|
116
|
-
test/enumerable/test_occur.rb 1 4 0 0 [PASS]
|
117
|
-
test/enumerable/test_inject.rb 2 2 0 0 [PASS]
|
118
|
-
test/enumerable/test_probability.rb 5 9 0 0 [PASS]
|
119
|
-
test/enumerable/test_cluster_by.rb 2 3 0 0 [PASS]
|
120
|
-
test/enumerable/test_each_by.rb 7 7 0 0 [PASS]
|
121
|
-
test/enumerable/test_collect.rb 2 2 0 0 [PASS]
|
122
|
-
test/enumerable/test_mash.rb 5 5 0 0 [PASS]
|
123
|
-
test/test_memoize.rb 3 3 0 0 [PASS]
|
124
|
-
test/test_interval.rb 36 36 0 0 [PASS]
|
125
|
-
test/test_getoptlong.rb 1 2 0 0 [PASS]
|
126
|
-
test/test_snapshot.rb 1 3 0 0 [PASS]
|
127
|
-
test/test_succ.rb 3 16 0 0 [PASS]
|
128
|
-
test/test_style.rb 8 15 0 0 [PASS]
|
129
|
-
test/test_coroutine.rb 1 1 0 0 [PASS]
|
130
|
-
test/string/test_subtract.rb 1 3 0 0 [PASS]
|
131
|
-
test/string/test_natcmp.rb 1 5 0 0 [PASS]
|
132
|
-
test/string/test_words.rb 10 18 0 0 [PASS]
|
133
|
-
test/string/test_camelcase.rb 3 7 0 0 [PASS]
|
134
|
-
test/string/test_nchar.rb 1 4 0 0 [PASS]
|
135
|
-
test/string/test_underscore.rb 1 1 0 0 [PASS]
|
136
|
-
test/string/test_cleave.rb 4 9 0 0 [PASS]
|
137
|
-
test/string/test_capitalized.rb 3 3 0 0 [PASS]
|
138
|
-
test/string/test_titlecase.rb 1 1 0 0 [PASS]
|
139
|
-
test/string/test_fold.rb 2 2 0 0 [PASS]
|
140
|
-
test/string/test_line_wrap.rb 1 2 0 0 [PASS]
|
141
|
-
test/string/test_to_time.rb 2 6 0 0 [PASS]
|
142
|
-
test/string/test_to_re.rb 3 9 0 0 [PASS]
|
143
|
-
test/string/test_range.rb 3 5 0 0 [PASS]
|
144
|
-
test/string/test_stylize.rb 4 12 0 0 [PASS]
|
145
|
-
test/string/test_align.rb 3 3 0 0 [PASS]
|
146
|
-
test/string/test_xor.rb 1 1 0 0 [PASS]
|
147
|
-
test/string/test_divide.rb 1 1 0 0 [PASS]
|
148
|
-
test/string/test_snakecase.rb 1 4 0 0 [PASS]
|
149
|
-
test/string/test_shatter.rb 1 1 0 0 [PASS]
|
150
|
-
test/string/test_interpolate.rb 1 1 0 0 [PASS]
|
151
|
-
test/string/test_tab.rb 15 129 0 0 [PASS]
|
152
|
-
test/string/test_mscan.rb 1 4 0 0 [PASS]
|
153
|
-
test/string/test_bracket.rb 7 22 0 0 [PASS]
|
154
|
-
test/test_overload.rb 10 12 0 0 [PASS]
|
155
|
-
test/module/test_nesting.rb 4 9 0 0 [PASS]
|
156
|
-
test/module/test_ancestor.rb 1 1 0 0 [PASS]
|
157
|
-
test/module/test_alias.rb 2 2 0 0 [PASS]
|
158
|
-
test/module/test_op.rb 3 11 0 0 [PASS]
|
159
|
-
test/module/test_revise.rb 11 15 0 0 [PASS]
|
160
|
-
test/module/test_abstract.rb 2 2 0 0 [PASS]
|
161
|
-
test/module/test_clone.rb 3 7 0 0 [PASS]
|
162
|
-
test/module/test_pathize.rb 1 1 0 0 [PASS]
|
163
|
-
test/test_elementor.rb 5 8 0 0 [PASS]
|
164
|
-
test/test_to_hash.rb 5 5 0 0 [PASS]
|
165
|
-
test/test_enumerablepass.rb 8 7 0 0 [PASS]
|
166
|
-
test/time/test_stamp.rb 2 2 0 0 [PASS]
|
167
|
-
test/time/test_change.rb 1 1 0 0 [PASS]
|
168
|
-
test/time/test_elapse.rb 1 1 0 0 [PASS]
|
169
|
-
test/test_ansicode.rb 2 2 0 0 [PASS]
|
170
|
-
test/test_dictionary.rb 11 31 0 0 [PASS]
|
171
|
-
test/dir/test_descend.rb 1 4 0 0 [PASS]
|
172
|
-
test/dir/test_ascend.rb 2 7 0 0 [PASS]
|
173
|
-
test/dir/test_multiglob.rb 2 2 0 0 [PASS]
|
174
|
-
test/dir/test_parent.rb 1 1 0 0 [PASS]
|
175
|
-
test/dir/test_recurse.rb 2 2 0 0 [PASS]
|
176
|
-
test/test_lrucache.rb 1 0 0 0 [PASS]
|
177
|
-
test/test_xoxo.rb 26 28 0 0 [PASS]
|
178
|
-
test/test_instantiable.rb 2 2 0 0 [PASS]
|
179
|
-
test/filetest/test_filetest.rb 1 1 0 0 [PASS]
|
180
|
-
test/class/test_descendents.rb 1 1 0 0 [PASS]
|
181
|
-
test/test_functor.rb 2 9 0 0 [PASS]
|
182
|
-
test/test_linkedlist.rb 1 20 0 0 [PASS]
|
183
|
-
test/array/test_product.rb 1 1 0 0 [PASS]
|
184
|
-
test/array/test_delete.rb 3 7 0 0 [PASS]
|
185
|
-
test/array/test_stackable.rb 2 4 0 0 [PASS]
|
186
|
-
test/array/test_select.rb 1 1 0 0 [PASS]
|
187
|
-
test/array/test_only.rb 1 4 0 0 [PASS]
|
188
|
-
test/array/test_indexable.rb 14 28 0 0 [PASS]
|
189
|
-
test/array/test_pad.rb 4 4 0 0 [PASS]
|
190
|
-
test/array/test_merge.rb 2 2 0 0 [PASS]
|
191
|
-
test/array/test_rotate.rb 2 4 0 0 [PASS]
|
192
|
-
test/test_methodspace.rb 6 6 0 0 [PASS]
|
193
|
-
test/test_synchash.rb 1 1 0 0 [PASS]
|
194
|
-
test/test_arguments.rb 6 10 0 0 [PASS]
|
195
|
-
test/regexp/test_to_re.rb 2 2 0 0 [PASS]
|
196
|
-
test/regexp/test_arity.rb 1 4 0 0 [PASS]
|
197
|
-
test/matchdata/test_matchset.rb 3 3 0 0 [PASS]
|
198
|
-
test/matchdata/test_match.rb 1 1 0 0 [PASS]
|
199
|
-
test/test_multiton.rb 6 16 0 0 [PASS]
|
200
|
-
test/exception/test_exception.rb 1 1 0 0 [PASS]
|
201
|
-
test/test_advisable.rb 2 4 0 0 [PASS]
|
202
|
-
test/test_cattr.rb 4 8 0 0 [PASS]
|
203
|
-
TOTAL 732 2248 0 0
|
204
|
-
|
205
|
-
|