quality_extensions 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. data/Readme +6 -6
  2. data/lib/{qualitysmith_extensions → quality_extensions}/array/classify.rb +1 -1
  3. data/lib/{qualitysmith_extensions → quality_extensions}/array/group_by.rb +1 -1
  4. data/lib/{qualitysmith_extensions → quality_extensions}/colored/toggleability.rb +2 -2
  5. data/lib/{qualitysmith_extensions → quality_extensions}/console/command.rb +1 -1
  6. data/lib/quality_extensions/enumerable/select_until.rb +4 -0
  7. data/lib/{qualitysmith_extensions → quality_extensions}/kernel/die.rb +1 -1
  8. data/lib/{qualitysmith_extensions → quality_extensions}/kernel/example_printer.rb +2 -2
  9. data/lib/{qualitysmith_extensions → quality_extensions}/kernel/remove_const.rb +2 -2
  10. data/lib/{qualitysmith_extensions → quality_extensions}/kernel/remove_module.rb +4 -4
  11. data/lib/quality_extensions/kernel/require_local_all.rb +4 -0
  12. data/lib/{qualitysmith_extensions → quality_extensions}/kernel/trap_chain.rb +1 -1
  13. data/lib/{qualitysmith_extensions → quality_extensions}/module/basename.rb +1 -1
  14. data/lib/{qualitysmith_extensions → quality_extensions}/module/bool_attr_accessor.rb +1 -1
  15. data/lib/{qualitysmith_extensions → quality_extensions}/module/class_methods.rb +1 -1
  16. data/lib/{qualitysmith_extensions → quality_extensions}/module/create.rb +6 -6
  17. data/lib/quality_extensions/module/dirname.rb +4 -0
  18. data/lib/{qualitysmith_extensions → quality_extensions}/module/guard_method.rb +3 -3
  19. data/lib/{qualitysmith_extensions → quality_extensions}/module/join.rb +3 -3
  20. data/lib/{qualitysmith_extensions → quality_extensions}/module/malias_method_chain.rb +1 -1
  21. data/lib/quality_extensions/module/module_methods.rb +4 -0
  22. data/lib/{qualitysmith_extensions → quality_extensions}/module/namespace.rb +2 -2
  23. data/lib/{qualitysmith_extensions → quality_extensions}/module/remove_const.rb +3 -3
  24. data/lib/{qualitysmith_extensions → quality_extensions}/object/ancestry_of_method.rb +3 -3
  25. data/lib/{qualitysmith_extensions → quality_extensions}/object/if_else.rb +1 -1
  26. data/lib/{qualitysmith_extensions → quality_extensions}/object/mcall.rb +2 -2
  27. data/lib/{qualitysmith_extensions → quality_extensions}/object/singleton_send.rb +2 -2
  28. data/lib/quality_extensions/string/constantize.rb +4 -0
  29. data/lib/{qualitysmith_extensions → quality_extensions}/string/each_char_with_index.rb +1 -1
  30. data/lib/{qualitysmith_extensions → quality_extensions}/symbol/match.rb +1 -1
  31. data/lib/{qualitysmith_extensions → quality_extensions}/test/difference_highlighting.rb +6 -6
  32. metadata +98 -98
  33. data/lib/qualitysmith_extensions/enumerable/select_until.rb +0 -4
  34. data/lib/qualitysmith_extensions/kernel/require_local_all.rb +0 -4
  35. data/lib/qualitysmith_extensions/module/dirname.rb +0 -4
  36. data/lib/qualitysmith_extensions/module/module_methods.rb +0 -4
  37. data/lib/qualitysmith_extensions/string/constantize.rb +0 -4
  38. /data/lib/{qualitysmith_extensions → quality_extensions}/all.rb +0 -0
  39. /data/lib/{qualitysmith_extensions → quality_extensions}/array/all.rb +0 -0
  40. /data/lib/{qualitysmith_extensions → quality_extensions}/array/average.rb +0 -0
  41. /data/lib/{qualitysmith_extensions → quality_extensions}/array/expand_ranges.rb +0 -0
  42. /data/lib/{qualitysmith_extensions → quality_extensions}/array/sequence.rb +0 -0
  43. /data/lib/{qualitysmith_extensions → quality_extensions}/array/shell_escape.rb +0 -0
  44. /data/lib/{qualitysmith_extensions → quality_extensions}/array/to_a_recursive.rb +0 -0
  45. /data/lib/{qualitysmith_extensions → quality_extensions}/array/to_query_string.rb +0 -0
  46. /data/lib/{qualitysmith_extensions → quality_extensions}/collection_extensions_for_cgi.rb +0 -0
  47. /data/lib/{qualitysmith_extensions → quality_extensions}/console/command.facets.1.8.51.rb +0 -0
  48. /data/lib/{qualitysmith_extensions → quality_extensions}/console/command.facets.1.8.54.rb +0 -0
  49. /data/lib/{qualitysmith_extensions → quality_extensions}/date/all.rb +0 -0
  50. /data/lib/{qualitysmith_extensions → quality_extensions}/date/deprecated.rb +0 -0
  51. /data/lib/{qualitysmith_extensions → quality_extensions}/date/iso8601.rb +0 -0
  52. /data/lib/{qualitysmith_extensions → quality_extensions}/date/month_ranges.rb +0 -0
  53. /data/lib/{qualitysmith_extensions → quality_extensions}/dir/each_child.rb +0 -0
  54. /data/lib/{qualitysmith_extensions → quality_extensions}/enumerable/enum.rb +0 -0
  55. /data/lib/{qualitysmith_extensions → quality_extensions}/enumerable/select_while.rb +0 -0
  56. /data/lib/{qualitysmith_extensions → quality_extensions}/exception/inspect_with_backtrace.rb +0 -0
  57. /data/lib/{qualitysmith_extensions → quality_extensions}/file/exact_match_regexp.rb +0 -0
  58. /data/lib/{qualitysmith_extensions → quality_extensions}/file_test/binary_file.rb +0 -0
  59. /data/lib/{qualitysmith_extensions → quality_extensions}/find/select.rb +0 -0
  60. /data/lib/{qualitysmith_extensions → quality_extensions}/global_variable_set.rb +0 -0
  61. /data/lib/{qualitysmith_extensions → quality_extensions}/hash/all.rb +0 -0
  62. /data/lib/{qualitysmith_extensions → quality_extensions}/hash/to_date.rb +0 -0
  63. /data/lib/{qualitysmith_extensions → quality_extensions}/hash/to_query_string.rb +0 -0
  64. /data/lib/{qualitysmith_extensions → quality_extensions}/kernel/all.rb +0 -0
  65. /data/lib/{qualitysmith_extensions → quality_extensions}/kernel/autoreload.rb +0 -0
  66. /data/lib/{qualitysmith_extensions → quality_extensions}/kernel/backtrace.rb +0 -0
  67. /data/lib/{qualitysmith_extensions → quality_extensions}/kernel/capture_output.rb +0 -0
  68. /data/lib/{qualitysmith_extensions → quality_extensions}/kernel/filter_output.rb +0 -0
  69. /data/lib/{qualitysmith_extensions → quality_extensions}/kernel/require_all.rb +0 -0
  70. /data/lib/{qualitysmith_extensions → quality_extensions}/kernel/require_once.rb +0 -0
  71. /data/lib/{qualitysmith_extensions → quality_extensions}/kernel/simulate_input.rb +0 -0
  72. /data/lib/{qualitysmith_extensions → quality_extensions}/kernel/windows_platform.rb +0 -0
  73. /data/lib/{qualitysmith_extensions → quality_extensions}/module/alias_method.rb +0 -0
  74. /data/lib/{qualitysmith_extensions → quality_extensions}/module/alias_method_chain.rb +0 -0
  75. /data/lib/{qualitysmith_extensions → quality_extensions}/module/ancestry_of_instance_method.rb +0 -0
  76. /data/lib/{qualitysmith_extensions → quality_extensions}/module/attribute_accessors.rb +0 -0
  77. /data/lib/{qualitysmith_extensions → quality_extensions}/module/create_setter.rb +0 -0
  78. /data/lib/{qualitysmith_extensions → quality_extensions}/module/includable_once.rb +0 -0
  79. /data/lib/{qualitysmith_extensions → quality_extensions}/module/parents.rb +0 -0
  80. /data/lib/{qualitysmith_extensions → quality_extensions}/module/split.rb +0 -0
  81. /data/lib/{qualitysmith_extensions → quality_extensions}/month.rb +0 -0
  82. /data/lib/{qualitysmith_extensions → quality_extensions}/mutex/if_available.rb +0 -0
  83. /data/lib/{qualitysmith_extensions → quality_extensions}/object/default.rb +0 -0
  84. /data/lib/{qualitysmith_extensions → quality_extensions}/object/ignore_access.rb +0 -0
  85. /data/lib/{qualitysmith_extensions → quality_extensions}/object/methods.rb +0 -0
  86. /data/lib/{qualitysmith_extensions → quality_extensions}/object/send_if.rb +0 -0
  87. /data/lib/{qualitysmith_extensions → quality_extensions}/object/send_if_not_nil.rb +0 -0
  88. /data/lib/{qualitysmith_extensions → quality_extensions}/regexp/join.rb +0 -0
  89. /data/lib/{qualitysmith_extensions → quality_extensions}/string/all.rb +0 -0
  90. /data/lib/{qualitysmith_extensions → quality_extensions}/string/digits_only.rb +0 -0
  91. /data/lib/{qualitysmith_extensions → quality_extensions}/string/md5.rb +0 -0
  92. /data/lib/{qualitysmith_extensions → quality_extensions}/string/shell_escape.rb +0 -0
  93. /data/lib/{qualitysmith_extensions → quality_extensions}/string/to_underscored_label.rb +0 -0
  94. /data/lib/{qualitysmith_extensions → quality_extensions}/string/with_knowledge_of_color.rb +0 -0
  95. /data/lib/{qualitysmith_extensions → quality_extensions}/symbol/constantize.rb +0 -0
  96. /data/lib/{qualitysmith_extensions → quality_extensions}/template.rb +0 -0
  97. /data/lib/{qualitysmith_extensions → quality_extensions}/test/all.rb +0 -0
  98. /data/lib/{qualitysmith_extensions → quality_extensions}/test/assert_anything.rb +0 -0
  99. /data/lib/{qualitysmith_extensions → quality_extensions}/test/assert_changed.rb +0 -0
  100. /data/lib/{qualitysmith_extensions → quality_extensions}/test/assert_exception.rb +0 -0
  101. /data/lib/{qualitysmith_extensions → quality_extensions}/test/assert_includes.rb +0 -0
  102. /data/lib/{qualitysmith_extensions → quality_extensions}/test/assert_user_error.rb +0 -0
  103. /data/lib/{qualitysmith_extensions → quality_extensions}/time/all.rb +0 -0
  104. /data/lib/{qualitysmith_extensions → quality_extensions}/time/deprecated.rb +0 -0
data/Readme CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [<b>Home page</b>:] http://qualitysmithext.rubyforge.org/
4
4
  [<b>Project site</b>:] http://rubyforge.org/projects/qualitysmithext/
5
- [<b>Gem install</b>:] <tt>gem install qualitysmith_extensions</tt>
5
+ [<b>Gem install</b>:] <tt>gem install quality_extensions</tt>
6
6
  [<b>License</b>:] {Ruby License}[link:files/License.html]
7
7
 
8
8
  == Introduction
@@ -19,12 +19,12 @@ Like Facets, this library contains:
19
19
 
20
20
  == Installation
21
21
 
22
- gem install qualitysmith_extensions
22
+ gem install quality_extensions
23
23
 
24
24
  == Usage
25
25
 
26
26
  require 'rubygems'
27
- gem 'qualitysmith_extensions'
27
+ gem 'quality_extensions'
28
28
 
29
29
  And then <b>include as much or as little as you want</b>.
30
30
 
@@ -32,15 +32,15 @@ Use the handy <tt>all.rb</tt> files to load everything in a particular directory
32
32
 
33
33
  To load everything:
34
34
 
35
- require 'qualitysmith_extensions/all'
35
+ require 'quality_extensions/all'
36
36
 
37
37
  To load everything just for one class:
38
38
 
39
- require 'qualitysmith_extensions/string/all'
39
+ require 'quality_extensions/string/all'
40
40
 
41
41
  To load just an individual method:
42
42
 
43
- require 'qualitysmith_extensions/array/average'
43
+ require 'quality_extensions/array/average'
44
44
 
45
45
 
46
46
  == Running tests
@@ -5,7 +5,7 @@
5
5
  # Submit to Facets?:: Yes!
6
6
  # Developer notes:
7
7
  # * This is the analog in Array to Set#classify (core).
8
- # * Compare to Array#group_by (qualitysmith_extensions), which assumes all elements are arrays (making a "table") and only
8
+ # * Compare to Array#group_by (quality_extensions), which assumes all elements are arrays (making a "table") and only
9
9
  # allows you to do simple classification by the value of a "column". On the other hand, it adds the option to delete that
10
10
  # column from the array, which can be nice, since the classification key in the hash makes it somewhat redundant.
11
11
  #++
@@ -6,7 +6,7 @@
6
6
  # Developer notes:
7
7
  # * Name is too general? Name it something to do with 'tables'?
8
8
  # * group_table_by ?
9
- # * Compare to Array#classify (qualitysmith_extensions), which aims to be more general, letting you classify arrays that are
9
+ # * Compare to Array#classify (quality_extensions), which aims to be more general, letting you classify arrays that are
10
10
  # *not* in "table" form (whose elements are *not* all arrays of equal size and might not even be *arrays*).
11
11
  #++
12
12
 
@@ -11,8 +11,8 @@ gem 'colored'
11
11
  require 'colored'
12
12
  gem 'facets'
13
13
  require 'facets/core/module/alias_method_chain'
14
- gem 'qualitysmith_extensions'
15
- require 'qualitysmith_extensions/module/guard_method'
14
+ gem 'quality_extensions'
15
+ require 'quality_extensions/module/guard_method'
16
16
 
17
17
  class String
18
18
  @@colorize_enabled = true # Default to enabled
@@ -614,7 +614,7 @@ end
614
614
 
615
615
  require 'test/unit'
616
616
  require 'stringio'
617
- require 'qualitysmith_extensions/kernel/capture_output'
617
+ require 'quality_extensions/kernel/capture_output'
618
618
 
619
619
  class TestCommand < Test::Unit::TestCase
620
620
  def setup
@@ -0,0 +1,4 @@
1
+ require 'rubygems'
2
+ # Alias for:
3
+ require 'quality_extensions/enumerable/select_while'
4
+
@@ -21,7 +21,7 @@ end
21
21
  #
22
22
  =begin test
23
23
  require 'rubygems'
24
- require 'qualitysmith_extensions/kernel/capture_output'
24
+ require 'quality_extensions/kernel/capture_output'
25
25
  #require 'facets/core/kernel/require_local'
26
26
  #require_local './capture_output'
27
27
 
@@ -57,8 +57,8 @@ include ExamplePrinter
57
57
  =begin test
58
58
  require 'test/unit'
59
59
  require 'rubygems'
60
- gem 'qualitysmith_extensions'
61
- require 'qualitysmith_extensions/kernel/capture_output'
60
+ gem 'quality_extensions'
61
+ require 'quality_extensions/kernel/capture_output'
62
62
  require 'facets/core/string/margin'
63
63
 
64
64
  class TheTest < Test::Unit::TestCase
@@ -7,8 +7,8 @@
7
7
  #++
8
8
 
9
9
  require 'rubygems'
10
- require 'qualitysmith_extensions/object/ignore_access'
11
- require 'qualitysmith_extensions/module/split'
10
+ require 'quality_extensions/object/ignore_access'
11
+ require 'quality_extensions/module/split'
12
12
  require 'facets/core/module/by_name'
13
13
  require 'facets/core/module/modspace'
14
14
 
@@ -4,12 +4,12 @@
4
4
  # License:: Ruby License
5
5
  # Submit to Facets?:: No.
6
6
  # Developer notes::
7
- # * Deprecated by qualitysmith_extensions/module/remove.rb
7
+ # * Deprecated by quality_extensions/module/remove.rb
8
8
  #++
9
9
 
10
10
  require 'rubygems'
11
- require 'qualitysmith_extensions/object/ignore_access'
12
- require 'qualitysmith_extensions/module/split'
11
+ require 'quality_extensions/object/ignore_access'
12
+ require 'quality_extensions/module/split'
13
13
  require 'facets/core/module/by_name'
14
14
  require 'facets/core/module/modspace'
15
15
 
@@ -49,7 +49,7 @@ end
49
49
  #
50
50
  =begin test
51
51
  require 'test/unit'
52
- require 'qualitysmith_extensions/kernel/remove_const' # Test for compatibility. Just in case the remove_const_before_was_added_to_Kernel alias might have thrown something off.
52
+ require 'quality_extensions/kernel/remove_const' # Test for compatibility. Just in case the remove_const_before_was_added_to_Kernel alias might have thrown something off.
53
53
 
54
54
  # How it would be done *without* this extension:
55
55
  module TestRemoveABC_TheOldWay
@@ -0,0 +1,4 @@
1
+ require 'rubygems'
2
+ # Alias for:
3
+ require 'quality_extensions/kernel/require_all'
4
+
@@ -27,7 +27,7 @@ end
27
27
  #
28
28
  =begin test
29
29
  require 'rubygems'
30
- require 'qualitysmith_extensions/kernel/capture_output'
30
+ require 'quality_extensions/kernel/capture_output'
31
31
  require 'fileutils'
32
32
 
33
33
  class TheTest < Test::Unit::TestCase
@@ -11,7 +11,7 @@
11
11
  require 'rubygems'
12
12
  require 'facets/core/module/basename'
13
13
  require 'facets/core/string/basename'
14
- require 'qualitysmith_extensions/module/namespace'
14
+ require 'quality_extensions/module/namespace'
15
15
 
16
16
  class Module
17
17
  # Gets the basename of a "module path" (the name of the module without any of the namespace modules that it is contained in),
@@ -235,7 +235,7 @@ end
235
235
  =begin test
236
236
  require 'test/unit'
237
237
  require 'rubygems'
238
- require 'qualitysmith_extensions/object/ignore_access'
238
+ require 'quality_extensions/object/ignore_access'
239
239
 
240
240
  #---------------------------------------------------------------------------------------------------
241
241
  # Test that it works for *instances*
@@ -28,7 +28,7 @@ end
28
28
  #
29
29
  =begin test
30
30
  require 'test/unit'
31
- require 'qualitysmith_extensions/test/assert_anything'
31
+ require 'quality_extensions/test/assert_anything'
32
32
  require 'set'
33
33
 
34
34
  module M
@@ -28,9 +28,9 @@ require 'facets/core/hash/assert_has_only_keys'
28
28
  require 'facets/core/hash/reverse_merge'
29
29
  require 'facets/core/kernel/constant'
30
30
  require 'facets/core/symbol/to_proc'
31
- require 'qualitysmith_extensions/module/split'
32
- require 'qualitysmith_extensions/module/basename'
33
- require 'qualitysmith_extensions/module/dirname'
31
+ require 'quality_extensions/module/split'
32
+ require 'quality_extensions/module/basename'
33
+ require 'quality_extensions/module/dirname'
34
34
 
35
35
  class Module
36
36
  # Creates a new module with the specified name. This is essentially the
@@ -136,9 +136,9 @@ end
136
136
  =begin test
137
137
  require 'test/unit'
138
138
  require 'rubygems'
139
- require 'qualitysmith_extensions/module/attribute_accessors'
140
- require 'qualitysmith_extensions/module/namespace'
141
- require 'qualitysmith_extensions/symbol/constantize'
139
+ require 'quality_extensions/module/attribute_accessors'
140
+ require 'quality_extensions/module/namespace'
141
+ require 'quality_extensions/symbol/constantize'
142
142
  require 'facets/core/module/basename'
143
143
 
144
144
  module Namespace
@@ -0,0 +1,4 @@
1
+ require 'rubygems'
2
+ # Alias for:
3
+ require 'quality_extensions/module/namespace'
4
+
@@ -12,11 +12,11 @@
12
12
  #++
13
13
 
14
14
  require 'rubygems'
15
- require 'qualitysmith_extensions/module/attribute_accessors'
15
+ require 'quality_extensions/module/attribute_accessors'
16
16
  require 'facets/core/kernel/require_local'
17
17
  require_local 'bool_attr_accessor'
18
- #require 'qualitysmith_extensions/module/bool_attr_accessor'
19
- require 'qualitysmith_extensions/symbol/match'
18
+ #require 'quality_extensions/module/bool_attr_accessor'
19
+ require 'quality_extensions/symbol/match'
20
20
 
21
21
 
22
22
  class Module
@@ -10,9 +10,9 @@
10
10
 
11
11
  require 'rubygems'
12
12
  require 'facets/core/symbol/to_proc'
13
- require 'qualitysmith_extensions/symbol/constantize'
14
- require 'qualitysmith_extensions/module/namespace' # dirname
15
- require 'qualitysmith_extensions/module/basename'
13
+ require 'quality_extensions/symbol/constantize'
14
+ require 'quality_extensions/module/namespace' # dirname
15
+ require 'quality_extensions/module/basename'
16
16
 
17
17
  class Module
18
18
  # Joins pieces of a "module path" together in the same sense that <tt>File.join</tt> joins pieces of a _filesystem_ path.
@@ -10,7 +10,7 @@
10
10
  require 'rubygems'
11
11
  gem 'facets'
12
12
  require 'facets/core/kernel/singleton_class'
13
- require 'qualitysmith_extensions/module/alias_method_chain'
13
+ require 'quality_extensions/module/alias_method_chain'
14
14
 
15
15
  class Module
16
16
 
@@ -0,0 +1,4 @@
1
+ require 'rubygems'
2
+ # Alias for:
3
+ require 'quality_extensions/module/class_methods'
4
+
@@ -10,8 +10,8 @@
10
10
 
11
11
 
12
12
  require 'rubygems'
13
- require 'qualitysmith_extensions/symbol/constantize'
14
- require 'qualitysmith_extensions/module/split'
13
+ require 'quality_extensions/symbol/constantize'
14
+ require 'quality_extensions/module/split'
15
15
 
16
16
 
17
17
  class Module
@@ -7,8 +7,8 @@
7
7
  #++
8
8
 
9
9
  require 'rubygems'
10
- require 'qualitysmith_extensions/object/ignore_access'
11
- require 'qualitysmith_extensions/module/split'
10
+ require 'quality_extensions/object/ignore_access'
11
+ require 'quality_extensions/module/split'
12
12
  require 'facets/core/module/by_name'
13
13
  require 'facets/core/module/modspace'
14
14
 
@@ -43,7 +43,7 @@ end
43
43
  #
44
44
  =begin test
45
45
  require 'test/unit'
46
- require 'qualitysmith_extensions/kernel/remove_const' # Test for compatibility. Just in case the remove_const_before_was_added_to_Kernel alias might have thrown something off.
46
+ require 'quality_extensions/kernel/remove_const' # Test for compatibility. Just in case the remove_const_before_was_added_to_Kernel alias might have thrown something off.
47
47
 
48
48
  # How it would be done *without* this extension:
49
49
  module TestRemoveABC_TheOldWay
@@ -10,8 +10,8 @@
10
10
  #++
11
11
 
12
12
  require 'rubygems'
13
- require 'qualitysmith_extensions/module/class_methods'
14
- require 'qualitysmith_extensions/module/ancestry_of_instance_method'
13
+ require 'quality_extensions/module/class_methods'
14
+ require 'quality_extensions/module/ancestry_of_instance_method'
15
15
 
16
16
 
17
17
  class Object
@@ -93,7 +93,7 @@ end
93
93
  =begin test
94
94
  require 'test/unit'
95
95
  require 'rubygems'
96
- require 'qualitysmith_extensions/test/assert_anything'
96
+ require 'quality_extensions/test/assert_anything'
97
97
 
98
98
  class Base
99
99
  def it; end
@@ -69,7 +69,7 @@ end
69
69
  require 'test/unit'
70
70
 
71
71
  require 'rubygems'
72
- require 'qualitysmith_extensions/array/average'
72
+ require 'quality_extensions/array/average'
73
73
 
74
74
  class TheTest < Test::Unit::TestCase
75
75
  def test_1
@@ -31,8 +31,8 @@ end
31
31
  =begin test
32
32
  require 'test/unit'
33
33
  require 'rubygems'
34
- require 'qualitysmith_extensions/test/assert_exception'
35
- require 'qualitysmith_extensions/test/assert_includes'
34
+ require 'quality_extensions/test/assert_exception'
35
+ require 'quality_extensions/test/assert_includes'
36
36
  require 'facets/core/module/alias_method_chain'
37
37
 
38
38
 
@@ -94,8 +94,8 @@ end
94
94
  =begin test
95
95
  require 'test/unit'
96
96
  require 'rubygems'
97
- require 'qualitysmith_extensions/test/assert_exception'
98
- require 'qualitysmith_extensions/test/assert_includes'
97
+ require 'quality_extensions/test/assert_exception'
98
+ require 'quality_extensions/test/assert_includes'
99
99
 
100
100
 
101
101
  module MyColorizer
@@ -0,0 +1,4 @@
1
+ require 'rubygems'
2
+ # Alias for:
3
+ require 'quality_extensions/symbol/constantize'
4
+
@@ -7,7 +7,7 @@
7
7
  #++
8
8
 
9
9
  require 'rubygems'
10
- require 'qualitysmith_extensions/enumerable/enum'
10
+ require 'quality_extensions/enumerable/enum'
11
11
 
12
12
  class String
13
13
  def each_char_with_index
@@ -105,7 +105,7 @@ end # unless defined?(Symbol::HasSymbolSupport)
105
105
  =begin test
106
106
  require 'test/unit'
107
107
  require 'rubygems'
108
- require 'qualitysmith_extensions/object/singleton_send'
108
+ require 'quality_extensions/object/singleton_send'
109
109
 
110
110
  class TheTest < Test::Unit::TestCase
111
111
  def test_equal_tilde
@@ -13,12 +13,12 @@ gem 'colored'
13
13
  require 'colored'
14
14
  gem 'facets'
15
15
  require 'facets/core/module/alias_method_chain'
16
- gem 'qualitysmith_extensions', '>=0.0.28'
17
- require 'qualitysmith_extensions/object/send_if'
18
- require 'qualitysmith_extensions/string/each_char_with_index'
19
- require 'qualitysmith_extensions/module/bool_attr_accessor'
20
- require 'qualitysmith_extensions/module/guard_method'
21
- require 'qualitysmith_extensions/colored/toggleability'
16
+ gem 'quality_extensions', '>=0.0.28'
17
+ require 'quality_extensions/object/send_if'
18
+ require 'quality_extensions/string/each_char_with_index'
19
+ require 'quality_extensions/module/bool_attr_accessor'
20
+ require 'quality_extensions/module/guard_method'
21
+ require 'quality_extensions/colored/toggleability'
22
22
 
23
23
  require 'test/unit'
24
24
 
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: quality_extensions
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.1.1
6
+ version: 0.1.2
7
7
  date: 2007-07-18 00:00:00 -07:00
8
8
  summary: A collection of reusable Ruby methods.
9
9
  require_paths:
@@ -29,103 +29,103 @@ post_install_message:
29
29
  authors:
30
30
  - Tyler Rick and others
31
31
  files:
32
- - lib/qualitysmith_extensions/global_variable_set.rb
33
- - lib/qualitysmith_extensions/collection_extensions_for_cgi.rb
34
- - lib/qualitysmith_extensions/template.rb
35
- - lib/qualitysmith_extensions/all.rb
36
- - lib/qualitysmith_extensions/month.rb
37
- - lib/qualitysmith_extensions/test/assert_anything.rb
38
- - lib/qualitysmith_extensions/test/assert_exception.rb
39
- - lib/qualitysmith_extensions/test/assert_user_error.rb
40
- - lib/qualitysmith_extensions/test/assert_changed.rb
41
- - lib/qualitysmith_extensions/test/difference_highlighting.rb
42
- - lib/qualitysmith_extensions/test/all.rb
43
- - lib/qualitysmith_extensions/test/assert_includes.rb
44
- - lib/qualitysmith_extensions/exception/inspect_with_backtrace.rb
45
- - lib/qualitysmith_extensions/colored/toggleability.rb
46
- - lib/qualitysmith_extensions/file_test/binary_file.rb
47
- - lib/qualitysmith_extensions/kernel/autoreload.rb
48
- - lib/qualitysmith_extensions/kernel/require_all.rb
49
- - lib/qualitysmith_extensions/kernel/simulate_input.rb
50
- - lib/qualitysmith_extensions/kernel/die.rb
51
- - lib/qualitysmith_extensions/kernel/require_once.rb
52
- - lib/qualitysmith_extensions/kernel/require_local_all.rb
53
- - lib/qualitysmith_extensions/kernel/example_printer.rb
54
- - lib/qualitysmith_extensions/kernel/all.rb
55
- - lib/qualitysmith_extensions/kernel/filter_output.rb
56
- - lib/qualitysmith_extensions/kernel/backtrace.rb
57
- - lib/qualitysmith_extensions/kernel/capture_output.rb
58
- - lib/qualitysmith_extensions/kernel/remove_module.rb
59
- - lib/qualitysmith_extensions/kernel/windows_platform.rb
60
- - lib/qualitysmith_extensions/kernel/remove_const.rb
61
- - lib/qualitysmith_extensions/kernel/trap_chain.rb
62
- - lib/qualitysmith_extensions/dir/each_child.rb
63
- - lib/qualitysmith_extensions/object/singleton_send.rb
64
- - lib/qualitysmith_extensions/object/mcall.rb
65
- - lib/qualitysmith_extensions/object/ancestry_of_method.rb
66
- - lib/qualitysmith_extensions/object/send_if_not_nil.rb
67
- - lib/qualitysmith_extensions/object/ignore_access.rb
68
- - lib/qualitysmith_extensions/object/methods.rb
69
- - lib/qualitysmith_extensions/object/default.rb
70
- - lib/qualitysmith_extensions/object/send_if.rb
71
- - lib/qualitysmith_extensions/object/if_else.rb
72
- - lib/qualitysmith_extensions/file/exact_match_regexp.rb
73
- - lib/qualitysmith_extensions/date/iso8601.rb
74
- - lib/qualitysmith_extensions/date/deprecated.rb
75
- - lib/qualitysmith_extensions/date/all.rb
76
- - lib/qualitysmith_extensions/date/month_ranges.rb
77
- - lib/qualitysmith_extensions/time/deprecated.rb
78
- - lib/qualitysmith_extensions/time/all.rb
79
- - lib/qualitysmith_extensions/regexp/join.rb
80
- - lib/qualitysmith_extensions/find/select.rb
81
- - lib/qualitysmith_extensions/mutex/if_available.rb
82
- - lib/qualitysmith_extensions/console/command.rb
83
- - lib/qualitysmith_extensions/console/command.facets.1.8.54.rb
84
- - lib/qualitysmith_extensions/console/command.facets.1.8.51.rb
85
- - lib/qualitysmith_extensions/module/guard_method.rb
86
- - lib/qualitysmith_extensions/module/ancestry_of_instance_method.rb
87
- - lib/qualitysmith_extensions/module/split.rb
88
- - lib/qualitysmith_extensions/module/module_methods.rb
89
- - lib/qualitysmith_extensions/module/alias_method.rb
90
- - lib/qualitysmith_extensions/module/namespace.rb
91
- - lib/qualitysmith_extensions/module/malias_method_chain.rb
92
- - lib/qualitysmith_extensions/module/includable_once.rb
93
- - lib/qualitysmith_extensions/module/parents.rb
94
- - lib/qualitysmith_extensions/module/dirname.rb
95
- - lib/qualitysmith_extensions/module/basename.rb
96
- - lib/qualitysmith_extensions/module/create_setter.rb
97
- - lib/qualitysmith_extensions/module/alias_method_chain.rb
98
- - lib/qualitysmith_extensions/module/attribute_accessors.rb
99
- - lib/qualitysmith_extensions/module/create.rb
100
- - lib/qualitysmith_extensions/module/bool_attr_accessor.rb
101
- - lib/qualitysmith_extensions/module/remove_const.rb
102
- - lib/qualitysmith_extensions/module/join.rb
103
- - lib/qualitysmith_extensions/module/class_methods.rb
104
- - lib/qualitysmith_extensions/symbol/constantize.rb
105
- - lib/qualitysmith_extensions/symbol/match.rb
106
- - lib/qualitysmith_extensions/enumerable/select_while.rb
107
- - lib/qualitysmith_extensions/enumerable/select_until.rb
108
- - lib/qualitysmith_extensions/enumerable/enum.rb
109
- - lib/qualitysmith_extensions/hash/to_query_string.rb
110
- - lib/qualitysmith_extensions/hash/all.rb
111
- - lib/qualitysmith_extensions/hash/to_date.rb
112
- - lib/qualitysmith_extensions/array/expand_ranges.rb
113
- - lib/qualitysmith_extensions/array/shell_escape.rb
114
- - lib/qualitysmith_extensions/array/classify.rb
115
- - lib/qualitysmith_extensions/array/to_query_string.rb
116
- - lib/qualitysmith_extensions/array/sequence.rb
117
- - lib/qualitysmith_extensions/array/to_a_recursive.rb
118
- - lib/qualitysmith_extensions/array/all.rb
119
- - lib/qualitysmith_extensions/array/average.rb
120
- - lib/qualitysmith_extensions/array/group_by.rb
121
- - lib/qualitysmith_extensions/string/digits_only.rb
122
- - lib/qualitysmith_extensions/string/shell_escape.rb
123
- - lib/qualitysmith_extensions/string/with_knowledge_of_color.rb
124
- - lib/qualitysmith_extensions/string/md5.rb
125
- - lib/qualitysmith_extensions/string/to_underscored_label.rb
126
- - lib/qualitysmith_extensions/string/constantize.rb
127
- - lib/qualitysmith_extensions/string/all.rb
128
- - lib/qualitysmith_extensions/string/each_char_with_index.rb
32
+ - lib/quality_extensions/global_variable_set.rb
33
+ - lib/quality_extensions/collection_extensions_for_cgi.rb
34
+ - lib/quality_extensions/template.rb
35
+ - lib/quality_extensions/all.rb
36
+ - lib/quality_extensions/month.rb
37
+ - lib/quality_extensions/test/assert_anything.rb
38
+ - lib/quality_extensions/test/assert_exception.rb
39
+ - lib/quality_extensions/test/assert_user_error.rb
40
+ - lib/quality_extensions/test/assert_changed.rb
41
+ - lib/quality_extensions/test/difference_highlighting.rb
42
+ - lib/quality_extensions/test/all.rb
43
+ - lib/quality_extensions/test/assert_includes.rb
44
+ - lib/quality_extensions/exception/inspect_with_backtrace.rb
45
+ - lib/quality_extensions/colored/toggleability.rb
46
+ - lib/quality_extensions/file_test/binary_file.rb
47
+ - lib/quality_extensions/kernel/autoreload.rb
48
+ - lib/quality_extensions/kernel/require_all.rb
49
+ - lib/quality_extensions/kernel/simulate_input.rb
50
+ - lib/quality_extensions/kernel/die.rb
51
+ - lib/quality_extensions/kernel/require_once.rb
52
+ - lib/quality_extensions/kernel/require_local_all.rb
53
+ - lib/quality_extensions/kernel/example_printer.rb
54
+ - lib/quality_extensions/kernel/all.rb
55
+ - lib/quality_extensions/kernel/filter_output.rb
56
+ - lib/quality_extensions/kernel/backtrace.rb
57
+ - lib/quality_extensions/kernel/capture_output.rb
58
+ - lib/quality_extensions/kernel/remove_module.rb
59
+ - lib/quality_extensions/kernel/windows_platform.rb
60
+ - lib/quality_extensions/kernel/remove_const.rb
61
+ - lib/quality_extensions/kernel/trap_chain.rb
62
+ - lib/quality_extensions/dir/each_child.rb
63
+ - lib/quality_extensions/object/singleton_send.rb
64
+ - lib/quality_extensions/object/mcall.rb
65
+ - lib/quality_extensions/object/ancestry_of_method.rb
66
+ - lib/quality_extensions/object/send_if_not_nil.rb
67
+ - lib/quality_extensions/object/ignore_access.rb
68
+ - lib/quality_extensions/object/methods.rb
69
+ - lib/quality_extensions/object/default.rb
70
+ - lib/quality_extensions/object/send_if.rb
71
+ - lib/quality_extensions/object/if_else.rb
72
+ - lib/quality_extensions/file/exact_match_regexp.rb
73
+ - lib/quality_extensions/date/iso8601.rb
74
+ - lib/quality_extensions/date/deprecated.rb
75
+ - lib/quality_extensions/date/all.rb
76
+ - lib/quality_extensions/date/month_ranges.rb
77
+ - lib/quality_extensions/time/deprecated.rb
78
+ - lib/quality_extensions/time/all.rb
79
+ - lib/quality_extensions/regexp/join.rb
80
+ - lib/quality_extensions/find/select.rb
81
+ - lib/quality_extensions/mutex/if_available.rb
82
+ - lib/quality_extensions/console/command.rb
83
+ - lib/quality_extensions/console/command.facets.1.8.54.rb
84
+ - lib/quality_extensions/console/command.facets.1.8.51.rb
85
+ - lib/quality_extensions/module/guard_method.rb
86
+ - lib/quality_extensions/module/ancestry_of_instance_method.rb
87
+ - lib/quality_extensions/module/split.rb
88
+ - lib/quality_extensions/module/module_methods.rb
89
+ - lib/quality_extensions/module/alias_method.rb
90
+ - lib/quality_extensions/module/namespace.rb
91
+ - lib/quality_extensions/module/malias_method_chain.rb
92
+ - lib/quality_extensions/module/includable_once.rb
93
+ - lib/quality_extensions/module/parents.rb
94
+ - lib/quality_extensions/module/dirname.rb
95
+ - lib/quality_extensions/module/basename.rb
96
+ - lib/quality_extensions/module/create_setter.rb
97
+ - lib/quality_extensions/module/alias_method_chain.rb
98
+ - lib/quality_extensions/module/attribute_accessors.rb
99
+ - lib/quality_extensions/module/create.rb
100
+ - lib/quality_extensions/module/bool_attr_accessor.rb
101
+ - lib/quality_extensions/module/remove_const.rb
102
+ - lib/quality_extensions/module/join.rb
103
+ - lib/quality_extensions/module/class_methods.rb
104
+ - lib/quality_extensions/symbol/constantize.rb
105
+ - lib/quality_extensions/symbol/match.rb
106
+ - lib/quality_extensions/enumerable/select_while.rb
107
+ - lib/quality_extensions/enumerable/select_until.rb
108
+ - lib/quality_extensions/enumerable/enum.rb
109
+ - lib/quality_extensions/hash/to_query_string.rb
110
+ - lib/quality_extensions/hash/all.rb
111
+ - lib/quality_extensions/hash/to_date.rb
112
+ - lib/quality_extensions/array/expand_ranges.rb
113
+ - lib/quality_extensions/array/shell_escape.rb
114
+ - lib/quality_extensions/array/classify.rb
115
+ - lib/quality_extensions/array/to_query_string.rb
116
+ - lib/quality_extensions/array/sequence.rb
117
+ - lib/quality_extensions/array/to_a_recursive.rb
118
+ - lib/quality_extensions/array/all.rb
119
+ - lib/quality_extensions/array/average.rb
120
+ - lib/quality_extensions/array/group_by.rb
121
+ - lib/quality_extensions/string/digits_only.rb
122
+ - lib/quality_extensions/string/shell_escape.rb
123
+ - lib/quality_extensions/string/with_knowledge_of_color.rb
124
+ - lib/quality_extensions/string/md5.rb
125
+ - lib/quality_extensions/string/to_underscored_label.rb
126
+ - lib/quality_extensions/string/constantize.rb
127
+ - lib/quality_extensions/string/all.rb
128
+ - lib/quality_extensions/string/each_char_with_index.rb
129
129
  - test/all.rb
130
130
  - Readme
131
131
  test_files:
@@ -1,4 +0,0 @@
1
- require 'rubygems'
2
- # Alias for:
3
- require 'qualitysmith_extensions/enumerable/select_while'
4
-
@@ -1,4 +0,0 @@
1
- require 'rubygems'
2
- # Alias for:
3
- require 'qualitysmith_extensions/kernel/require_all'
4
-
@@ -1,4 +0,0 @@
1
- require 'rubygems'
2
- # Alias for:
3
- require 'qualitysmith_extensions/module/namespace'
4
-
@@ -1,4 +0,0 @@
1
- require 'rubygems'
2
- # Alias for:
3
- require 'qualitysmith_extensions/module/class_methods'
4
-
@@ -1,4 +0,0 @@
1
- require 'rubygems'
2
- # Alias for:
3
- require 'qualitysmith_extensions/symbol/constantize'
4
-