xqsr3 0.38.1 → 0.38.2

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.
Files changed (59) hide show
  1. checksums.yaml +5 -5
  2. data/examples/count_word_frequencies.md +1 -1
  3. data/examples/count_word_frequencies.rb +1 -1
  4. data/lib/xqsr3/array_utilities/join_with_or.rb +9 -10
  5. data/lib/xqsr3/command_line_utilities/map_option_string.rb +9 -10
  6. data/lib/xqsr3/containers/frequency_map.rb +8 -7
  7. data/lib/xqsr3/containers/multi_map.rb +8 -7
  8. data/lib/xqsr3/conversion/bool_parser.rb +8 -9
  9. data/lib/xqsr3/conversion/integer_parser.rb +8 -9
  10. data/lib/xqsr3/diagnostics/exception_utilities.rb +9 -8
  11. data/lib/xqsr3/diagnostics/exceptions/with_cause.rb +11 -7
  12. data/lib/xqsr3/diagnostics/inspect_builder.rb +8 -8
  13. data/lib/xqsr3/doc_.rb +8 -8
  14. data/lib/xqsr3/extensions/enumerable/collect_with_index.rb +8 -7
  15. data/lib/xqsr3/extensions/enumerable/detect_map.rb +8 -8
  16. data/lib/xqsr3/extensions/enumerable/unique.rb +3 -3
  17. data/lib/xqsr3/extensions/io/writelines.rb +8 -8
  18. data/lib/xqsr3/extensions/kernel/integer.rb +8 -8
  19. data/lib/xqsr3/extensions/kernel/raise_with_options.rb +9 -8
  20. data/lib/xqsr3/extensions/string/map_option_string.rb +0 -1
  21. data/lib/xqsr3/extensions/string/quote_if.rb +0 -1
  22. data/lib/xqsr3/extensions/string/to_bool.rb +0 -1
  23. data/lib/xqsr3/extensions/string/truncate.rb +0 -1
  24. data/lib/xqsr3/extensions/test/unit/assert_eql.rb +2 -2
  25. data/lib/xqsr3/extensions/test/unit/assert_false.rb +1 -2
  26. data/lib/xqsr3/extensions/test/unit/assert_not.rb +0 -1
  27. data/lib/xqsr3/extensions/test/unit/assert_not_eql.rb +2 -2
  28. data/lib/xqsr3/extensions/test/unit/assert_raise_with_message.rb +0 -1
  29. data/lib/xqsr3/extensions/test/unit/assert_subclass_of.rb +0 -1
  30. data/lib/xqsr3/extensions/test/unit/assert_superclass_of.rb +0 -1
  31. data/lib/xqsr3/extensions/test/unit/assert_true.rb +1 -2
  32. data/lib/xqsr3/extensions/test/unit/assert_type_has_instance_methods.rb +0 -2
  33. data/lib/xqsr3/hash_utilities/deep_transform.rb +11 -11
  34. data/lib/xqsr3/hash_utilities/key_matching.rb +8 -8
  35. data/lib/xqsr3/internal_/test_unit_version_.rb +45 -3
  36. data/lib/xqsr3/io/writelines.rb +8 -8
  37. data/lib/xqsr3/quality/parameter_checking.rb +105 -105
  38. data/lib/xqsr3/string_utilities/ends_with.rb +8 -8
  39. data/lib/xqsr3/string_utilities/nil_if_empty.rb +8 -9
  40. data/lib/xqsr3/string_utilities/nil_if_whitespace.rb +9 -9
  41. data/lib/xqsr3/string_utilities/quote_if.rb +8 -9
  42. data/lib/xqsr3/string_utilities/starts_with.rb +8 -8
  43. data/lib/xqsr3/string_utilities/to_symbol.rb +8 -8
  44. data/lib/xqsr3/string_utilities/truncate.rb +8 -9
  45. data/lib/xqsr3/version.rb +9 -10
  46. data/test/performance/frequency_map.rb +1 -15
  47. data/test/scratch/test_assert_raise_with_message.rb +1 -2
  48. data/test/unit/array_utilities/tc_join_with_or.rb +0 -2
  49. data/test/unit/containers/tc_frequency_map.rb +56 -3
  50. data/test/unit/containers/tc_multi_map.rb +56 -5
  51. data/test/unit/conversion/tc_integer_parser.rb +1 -1
  52. data/test/unit/conversion/tc_to_bool.rb +1 -1
  53. data/test/unit/extensions/hash/tc_hash.rb +1 -1
  54. data/test/unit/extensions/hash/tc_slice.rb +1 -1
  55. data/test/unit/extensions/object/tc_inspect.rb +1 -1
  56. data/test/unit/io/tc_writelines.rb +0 -2
  57. data/test/unit/quality/tc_parameter_checking.rb +1 -1
  58. data/test/unit/string_utilities/tc_truncate.rb +1 -1
  59. metadata +6 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 893916b4985f2cf4aacd3880f28d9199b3137f49
4
- data.tar.gz: d611a888f54fc3d6bee966a040530637bdfe2423
2
+ SHA256:
3
+ metadata.gz: c48e07ee8ea8be5920c2fb02b227dfe0c8af895c6e257de99868608d34eed42e
4
+ data.tar.gz: 1f1c1563a264faabe4c6b569b95669cead6a79f87ce41f10e8f9a83676ea168d
5
5
  SHA512:
6
- metadata.gz: 222348a3e0621835acbb5df342e2625eb6f6c7d355b59e9aded4e105e3acdbfe27a13cff0af939964ecde0eab65f16a5bebd8560afb71781a653c98ba981cc0b
7
- data.tar.gz: efd82ceb69653fcc88954b3fb03267d3719e00642de1c7a2de564fe008751e0476be9625da6037af8bdcc1aecbf242ceced924f29403858a9d5a3b8eff861391
6
+ metadata.gz: added1f222ca39d06266bf71a00b65e51fbc1c9cca5250bbf41f786a55f78ec62d3100c87e82947644301e6c8263af493aa169e1a35dbf8a5dfe193fce9bb871
7
+ data.tar.gz: d3fc5c37fbc541bc0bc862593e5966fb5a8187b344c176017907dc1bbe22489d1c84510a96c95097c0a4d40c26b6ea6deedfd77a39be3c9616af342373baf8af
@@ -8,7 +8,7 @@ Simple example illustrating use of ``FrequencyMap`` class.
8
8
 
9
9
  ```ruby
10
10
 
11
- #!/usr/bin/env ruby
11
+ #! /usr/bin/env ruby
12
12
 
13
13
  # examples/count_word_frequencies.rb
14
14
 
@@ -1,4 +1,4 @@
1
- #!/usr/bin/env ruby
1
+ #! /usr/bin/env ruby
2
2
 
3
3
  # examples/count_word_frequencies.rb
4
4
 
@@ -1,18 +1,18 @@
1
1
 
2
2
  # ######################################################################## #
3
- # File: lib/xqsr3/array_utilities/join_with_or.rb
3
+ # File: lib/xqsr3/array_utilities/join_with_or.rb
4
4
  #
5
- # Purpose: Definition of the ::Xqsr3::ArrayUtilities::JoinWithOr
6
- # module
5
+ # Purpose: Definition of the Xqsr3::ArrayUtilities::JoinWithOr module
7
6
  #
8
- # Created: 7th December 2017
9
- # Updated: 12th April 2019
7
+ # Created: 7th December 2017
8
+ # Updated: 11th December 2023
10
9
  #
11
- # Home: http://github.com/synesissoftware/xqsr3
10
+ # Home: http://github.com/synesissoftware/xqsr3
12
11
  #
13
- # Author: Matthew Wilson
12
+ # Author: Matthew Wilson
14
13
  #
15
- # Copyright (c) 2017, Matthew Wilson and Synesis Software
14
+ # Copyright (c) 2019-2023, Matthew Wilson and Synesis Information Systems
15
+ # Copyright (c) 2017-2019, Matthew Wilson and Synesis Software
16
16
  # All rights reserved.
17
17
  #
18
18
  # Redistribution and use in source and binary forms, with or without
@@ -26,7 +26,7 @@
26
26
  # notice, this list of conditions and the following disclaimer in the
27
27
  # documentation and/or other materials provided with the distribution.
28
28
  #
29
- # * Neither the names of the copyright holder nor the names of its
29
+ # * Neither the names of the copyright holders nor the names of its
30
30
  # contributors may be used to endorse or promote products derived from
31
31
  # this software without specific prior written permission.
32
32
  #
@@ -111,4 +111,3 @@ end # module Xqsr3
111
111
 
112
112
  # ############################## end of file ############################# #
113
113
 
114
-
@@ -1,18 +1,18 @@
1
1
 
2
2
  # ######################################################################## #
3
- # File: lib/xqsr3/command_line_utilities/map_option_string.rb
3
+ # File: lib/xqsr3/command_line_utilities/map_option_string.rb
4
4
  #
5
- # Purpose: Definition of the
6
- # ::Xqsr3::CommandLineUtilities::MapOptionString module
5
+ # Purpose: Definition of the Xqsr3::CommandLineUtilities::MapOptionString
6
+ # module
7
7
  #
8
- # Created: 15th April 2016
9
- # Updated: 19th July 2022
8
+ # Created: 15th April 2016
9
+ # Updated: 11th December 2023
10
10
  #
11
- # Home: http://github.com/synesissoftware/xqsr3
11
+ # Home: http://github.com/synesissoftware/xqsr3
12
12
  #
13
- # Author: Matthew Wilson
13
+ # Author: Matthew Wilson
14
14
  #
15
- # Copyright (c) 2019-2022, Matthew Wilson and Synesis Information Systems
15
+ # Copyright (c) 2019-2023, Matthew Wilson and Synesis Information Systems
16
16
  # Copyright (c) 2016-2019, Matthew Wilson and Synesis Software
17
17
  # All rights reserved.
18
18
  #
@@ -27,7 +27,7 @@
27
27
  # notice, this list of conditions and the following disclaimer in the
28
28
  # documentation and/or other materials provided with the distribution.
29
29
  #
30
- # * Neither the names of the copyright holder nor the names of its
30
+ # * Neither the names of the copyright holders nor the names of its
31
31
  # contributors may be used to endorse or promote products derived from
32
32
  # this software without specific prior written permission.
33
33
  #
@@ -150,4 +150,3 @@ end # module Xqsr3
150
150
 
151
151
  # ############################## end of file ############################# #
152
152
 
153
-
@@ -1,16 +1,17 @@
1
1
 
2
2
  # ######################################################################## #
3
- # File: lib/xqsr3/containers/frequency_map.rb
3
+ # File: lib/xqsr3/containers/frequency_map.rb
4
4
  #
5
- # Purpose: FrequencyMap container
5
+ # Purpose: FrequencyMap container
6
6
  #
7
- # Created: 28th January 2005
8
- # Updated: 15th April 2019
7
+ # Created: 28th January 2005
8
+ # Updated: 11th December 2023
9
9
  #
10
- # Home: http://github.com/synesissoftware/xqsr3
10
+ # Home: http://github.com/synesissoftware/xqsr3
11
11
  #
12
- # Author: Matthew Wilson
12
+ # Author: Matthew Wilson
13
13
  #
14
+ # Copyright (c) 2019-2023, Matthew Wilson and Synesis Information Systems
14
15
  # Copyright (c) 2005-2019, Matthew Wilson and Synesis Software
15
16
  # All rights reserved.
16
17
  #
@@ -25,7 +26,7 @@
25
26
  # notice, this list of conditions and the following disclaimer in the
26
27
  # documentation and/or other materials provided with the distribution.
27
28
  #
28
- # * Neither the names of the copyright holder nor the names of its
29
+ # * Neither the names of the copyright holders nor the names of its
29
30
  # contributors may be used to endorse or promote products derived from
30
31
  # this software without specific prior written permission.
31
32
  #
@@ -1,16 +1,17 @@
1
1
 
2
2
  # ######################################################################## #
3
- # File: lib/xqsr3/containers/multi_map.rb
3
+ # File: lib/xqsr3/containers/multi_map.rb
4
4
  #
5
- # Purpose: multimap container
5
+ # Purpose: multimap container
6
6
  #
7
- # Created: 21st March 2007
8
- # Updated: 15th April 2019
7
+ # Created: 21st March 2007
8
+ # Updated: 11th December 2023
9
9
  #
10
- # Home: http://github.com/synesissoftware/xqsr3
10
+ # Home: http://github.com/synesissoftware/xqsr3
11
11
  #
12
- # Author: Matthew Wilson
12
+ # Author: Matthew Wilson
13
13
  #
14
+ # Copyright (c) 2019-2023, Matthew Wilson and Synesis Information Systems
14
15
  # Copyright (c) 2007-2019, Matthew Wilson and Synesis Software
15
16
  # All rights reserved.
16
17
  #
@@ -25,7 +26,7 @@
25
26
  # notice, this list of conditions and the following disclaimer in the
26
27
  # documentation and/or other materials provided with the distribution.
27
28
  #
28
- # * Neither the names of the copyright holder nor the names of its
29
+ # * Neither the names of the copyright holders nor the names of its
29
30
  # contributors may be used to endorse or promote products derived from
30
31
  # this software without specific prior written permission.
31
32
  #
@@ -1,17 +1,17 @@
1
1
 
2
2
  # ######################################################################## #
3
- # File: lib/xqsr3/conversion/bool_parser.rb
3
+ # File: lib/xqsr3/conversion/bool_parser.rb
4
4
  #
5
- # Purpose: Definition of the ::Xqsr3::Conversion::BoolParser
6
- # module
5
+ # Purpose: Definition of the Xqsr3::Conversion::BoolParser module
7
6
  #
8
- # Created: 3rd June 2017
9
- # Updated: 12th April 2019
7
+ # Created: 3rd June 2017
8
+ # Updated: 11th December 2023
10
9
  #
11
- # Home: http://github.com/synesissoftware/xqsr3
10
+ # Home: http://github.com/synesissoftware/xqsr3
12
11
  #
13
- # Author: Matthew Wilson
12
+ # Author: Matthew Wilson
14
13
  #
14
+ # Copyright (c) 2019-2023, Matthew Wilson and Synesis Information Systems
15
15
  # Copyright (c) 2017-2019, Matthew Wilson and Synesis Software
16
16
  # All rights reserved.
17
17
  #
@@ -26,7 +26,7 @@
26
26
  # notice, this list of conditions and the following disclaimer in the
27
27
  # documentation and/or other materials provided with the distribution.
28
28
  #
29
- # * Neither the names of the copyright holder nor the names of its
29
+ # * Neither the names of the copyright holders nor the names of its
30
30
  # contributors may be used to endorse or promote products derived from
31
31
  # this software without specific prior written permission.
32
32
  #
@@ -113,4 +113,3 @@ end # module Xqsr3
113
113
 
114
114
  # ############################## end of file ############################# #
115
115
 
116
-
@@ -1,17 +1,17 @@
1
1
 
2
2
  # ######################################################################## #
3
- # File: lib/xqsr3/conversion/integer_parser.rb
3
+ # File: lib/xqsr3/conversion/integer_parser.rb
4
4
  #
5
- # Purpose: Definition of the ::Xqsr3::Conversion::IntegerParser
6
- # module
5
+ # Purpose: Definition of the Xqsr3::Conversion::IntegerParser module
7
6
  #
8
- # Created: 21st November 2017
9
- # Updated: 15th April 2019
7
+ # Created: 21st November 2017
8
+ # Updated: 11th December 2023
10
9
  #
11
- # Home: http://github.com/synesissoftware/xqsr3
10
+ # Home: http://github.com/synesissoftware/xqsr3
12
11
  #
13
- # Author: Matthew Wilson
12
+ # Author: Matthew Wilson
14
13
  #
14
+ # Copyright (c) 2019-2023, Matthew Wilson and Synesis Information Systems
15
15
  # Copyright (c) 2017-2019, Matthew Wilson and Synesis Software
16
16
  # All rights reserved.
17
17
  #
@@ -26,7 +26,7 @@
26
26
  # notice, this list of conditions and the following disclaimer in the
27
27
  # documentation and/or other materials provided with the distribution.
28
28
  #
29
- # * Neither the names of the copyright holder nor the names of its
29
+ # * Neither the names of the copyright holders nor the names of its
30
30
  # contributors may be used to endorse or promote products derived from
31
31
  # this software without specific prior written permission.
32
32
  #
@@ -184,4 +184,3 @@ end # module Xqsr3
184
184
 
185
185
  # ############################## end of file ############################# #
186
186
 
187
-
@@ -1,17 +1,18 @@
1
1
 
2
2
  # ######################################################################## #
3
- # File: lib/xqsr3/diagnostics/exception_utilities.rb
3
+ # File: lib/xqsr3/diagnostics/exception_utilities.rb
4
4
  #
5
- # Purpose: Definition of the ExceptionUtilities module
5
+ # Purpose: Definition of the ExceptionUtilities module
6
6
  #
7
- # Created: 12th February 2015
8
- # Updated: 2nd August 2017
7
+ # Created: 12th February 2015
8
+ # Updated: 11th December 2023
9
9
  #
10
- # Home: http://github.com/synesissoftware/xqsr3
10
+ # Home: http://github.com/synesissoftware/xqsr3
11
11
  #
12
- # Author: Matthew Wilson
12
+ # Author: Matthew Wilson
13
13
  #
14
- # Copyright (c) 2015-2017, Matthew Wilson and Synesis Software
14
+ # Copyright (c) 2019-2023, Matthew Wilson and Synesis Information Systems
15
+ # Copyright (c) 2015-2019, Matthew Wilson and Synesis Software
15
16
  # All rights reserved.
16
17
  #
17
18
  # Redistribution and use in source and binary forms, with or without
@@ -25,7 +26,7 @@
25
26
  # notice, this list of conditions and the following disclaimer in the
26
27
  # documentation and/or other materials provided with the distribution.
27
28
  #
28
- # * Neither the names of the copyright holder nor the names of its
29
+ # * Neither the names of the copyright holders nor the names of its
29
30
  # contributors may be used to endorse or promote products derived from
30
31
  # this software without specific prior written permission.
31
32
  #
@@ -1,16 +1,17 @@
1
1
 
2
2
  # ######################################################################## #
3
- # File: lib/xqsr3/diagnostics/exceptions/with_cause.rb
3
+ # File: lib/xqsr3/diagnostics/exceptions/with_cause.rb
4
4
  #
5
- # Purpose: Definition of the WithCause inclusion module
5
+ # Purpose: Definition of the WithCause inclusion module
6
6
  #
7
- # Created: 16th December 2017
8
- # Updated: 12th April 2019
7
+ # Created: 16th December 2017
8
+ # Updated: 11th December 2023
9
9
  #
10
- # Home: http://github.com/synesissoftware/xqsr3
10
+ # Home: http://github.com/synesissoftware/xqsr3
11
11
  #
12
- # Author: Matthew Wilson
12
+ # Author: Matthew Wilson
13
13
  #
14
+ # Copyright (c) 2019-2023, Matthew Wilson and Synesis Information Systems
14
15
  # Copyright (c) 2017-2019, Matthew Wilson and Synesis Software
15
16
  # All rights reserved.
16
17
  #
@@ -25,7 +26,7 @@
25
26
  # notice, this list of conditions and the following disclaimer in the
26
27
  # documentation and/or other materials provided with the distribution.
27
28
  #
28
- # * Neither the names of the copyright holder nor the names of its
29
+ # * Neither the names of the copyright holders nor the names of its
29
30
  # contributors may be used to endorse or promote products derived from
30
31
  # this software without specific prior written permission.
31
32
  #
@@ -202,3 +203,6 @@ end
202
203
  end # module Exceptions
203
204
  end # module Diagnostics
204
205
  end # module Xqsr3
206
+
207
+ # ############################## end of file ############################# #
208
+
@@ -1,16 +1,17 @@
1
1
 
2
2
  # ######################################################################## #
3
- # File: lib/xqsr3/diagnostics/inspect_builder.rb
3
+ # File: lib/xqsr3/diagnostics/inspect_builder.rb
4
4
  #
5
- # Purpose: ::Xqsr3::Diagnostics::InspectBuilder module
5
+ # Purpose: ::Xqsr3::Diagnostics::InspectBuilder module
6
6
  #
7
- # Created: 4th September 2018
8
- # Updated: 12th April 2019
7
+ # Created: 4th September 2018
8
+ # Updated: 11th December 2023
9
9
  #
10
- # Home: http://github.com/synesissoftware/xqsr3
10
+ # Home: http://github.com/synesissoftware/xqsr3
11
11
  #
12
- # Author: Matthew Wilson
12
+ # Author: Matthew Wilson
13
13
  #
14
+ # Copyright (c) 2019-2023, Matthew Wilson and Synesis Information Systems
14
15
  # Copyright (c) 2018-2019, Matthew Wilson and Synesis Software
15
16
  # All rights reserved.
16
17
  #
@@ -25,7 +26,7 @@
25
26
  # notice, this list of conditions and the following disclaimer in the
26
27
  # documentation and/or other materials provided with the distribution.
27
28
  #
28
- # * Neither the names of the copyright holder nor the names of its
29
+ # * Neither the names of the copyright holders nor the names of its
29
30
  # contributors may be used to endorse or promote products derived from
30
31
  # this software without specific prior written permission.
31
32
  #
@@ -173,4 +174,3 @@ end # module Xqsr3
173
174
 
174
175
  # ############################## end of file ############################# #
175
176
 
176
-
data/lib/xqsr3/doc_.rb CHANGED
@@ -1,16 +1,17 @@
1
1
 
2
2
  # ######################################################################## #
3
- # File: lib/xqsr3/doc_.rb
3
+ # File: lib/xqsr3/doc_.rb
4
4
  #
5
- # Purpose: Documentation of the ::Xqsr3 modules
5
+ # Purpose: Documentation of the ::Xqsr3 modules
6
6
  #
7
- # Created: 10th June 2016
8
- # Updated: 12th April 2019
7
+ # Created: 10th June 2016
8
+ # Updated: 11th December 2023
9
9
  #
10
- # Home: http://github.com/synesissoftware/xqsr3
10
+ # Home: http://github.com/synesissoftware/xqsr3
11
11
  #
12
- # Author: Matthew Wilson
12
+ # Author: Matthew Wilson
13
13
  #
14
+ # Copyright (c) 2019-2023, Matthew Wilson and Synesis Information Systems
14
15
  # Copyright (c) 2016-2019, Matthew Wilson and Synesis Software
15
16
  # All rights reserved.
16
17
  #
@@ -25,7 +26,7 @@
25
26
  # notice, this list of conditions and the following disclaimer in the
26
27
  # documentation and/or other materials provided with the distribution.
27
28
  #
28
- # * Neither the names of the copyright holder nor the names of its
29
+ # * Neither the names of the copyright holders nor the names of its
29
30
  # contributors may be used to endorse or promote products derived from
30
31
  # this software without specific prior written permission.
31
32
  #
@@ -242,4 +243,3 @@ end # module Test
242
243
 
243
244
  # ############################## end of file ############################# #
244
245
 
245
-
@@ -1,16 +1,17 @@
1
1
 
2
2
  # ######################################################################## #
3
- # File: lib/xqsr3/extensions/enumerable/collect_with_index.rb
3
+ # File: lib/xqsr3/extensions/enumerable/collect_with_index.rb
4
4
  #
5
- # Purpose: Adds a collect_with_index() method to the Enumerable module
5
+ # Purpose: Adds a collect_with_index() method to the Enumerable module
6
6
  #
7
- # Created: 24th October 2010
8
- # Updated: 12th April 2019
7
+ # Created: 24th October 2010
8
+ # Updated: 11th December 2023
9
9
  #
10
- # Home: http://github.com/synesissoftware/xqsr3
10
+ # Home: http://github.com/synesissoftware/xqsr3
11
11
  #
12
- # Author: Matthew Wilson
12
+ # Author: Matthew Wilson
13
13
  #
14
+ # Copyright (c) 2019-2023, Matthew Wilson and Synesis Information Systems
14
15
  # Copyright (c) 2010-2019, Matthew Wilson and Synesis Software
15
16
  # All rights reserved.
16
17
  #
@@ -25,7 +26,7 @@
25
26
  # notice, this list of conditions and the following disclaimer in the
26
27
  # documentation and/or other materials provided with the distribution.
27
28
  #
28
- # * Neither the names of the copyright holder nor the names of its
29
+ # * Neither the names of the copyright holders nor the names of its
29
30
  # contributors may be used to endorse or promote products derived from
30
31
  # this software without specific prior written permission.
31
32
  #
@@ -1,16 +1,17 @@
1
1
 
2
2
  # ######################################################################## #
3
- # File: lib/xqsr3/extensions/enumerable/detect_map.rb
3
+ # File: lib/xqsr3/extensions/enumerable/detect_map.rb
4
4
  #
5
- # Purpose: ::Enumerable#detect_map extension
5
+ # Purpose: ::Enumerable#detect_map extension
6
6
  #
7
- # Created: 3rd December 2017
8
- # Updated: 12th April 2019
7
+ # Created: 3rd December 2017
8
+ # Updated: 11th December 2023
9
9
  #
10
- # Home: http://github.com/synesissoftware/xqsr3
10
+ # Home: http://github.com/synesissoftware/xqsr3
11
11
  #
12
- # Author: Matthew Wilson
12
+ # Author: Matthew Wilson
13
13
  #
14
+ # Copyright (c) 2019-2023, Matthew Wilson and Synesis Information Systems
14
15
  # Copyright (c) 2017-2019, Matthew Wilson and Synesis Software
15
16
  # All rights reserved.
16
17
  #
@@ -25,7 +26,7 @@
25
26
  # notice, this list of conditions and the following disclaimer in the
26
27
  # documentation and/or other materials provided with the distribution.
27
28
  #
28
- # * Neither the names of the copyright holder nor the names of its
29
+ # * Neither the names of the copyright holders nor the names of its
29
30
  # contributors may be used to endorse or promote products derived from
30
31
  # this software without specific prior written permission.
31
32
  #
@@ -93,4 +94,3 @@ end # module Enumerable
93
94
 
94
95
  # ############################## end of file ############################# #
95
96
 
96
-
@@ -7,9 +7,9 @@
7
7
  # Created: 5th March 2007
8
8
  # Updated: 12th April 2019
9
9
  #
10
- # Home: http://github.com/synesissoftware/xqsr3
10
+ # Home: http://github.com/synesissoftware/xqsr3
11
11
  #
12
- # Author: Matthew Wilson
12
+ # Author: Matthew Wilson
13
13
  #
14
14
  # Copyright (c) 2007-2019, Matthew Wilson and Synesis Software
15
15
  # All rights reserved.
@@ -25,7 +25,7 @@
25
25
  # notice, this list of conditions and the following disclaimer in the
26
26
  # documentation and/or other materials provided with the distribution.
27
27
  #
28
- # * Neither the names of the copyright holder nor the names of its
28
+ # * Neither the names of the copyright holders nor the names of its
29
29
  # contributors may be used to endorse or promote products derived from
30
30
  # this software without specific prior written permission.
31
31
  #
@@ -1,16 +1,17 @@
1
1
 
2
2
  # ######################################################################## #
3
- # File: lib/xqsr3/extensions/io/writelines.rb
3
+ # File: lib/xqsr3/extensions/io/writelines.rb
4
4
  #
5
- # Purpose: Adds a writelines() method to the IO class
5
+ # Purpose: Adds a writelines() method to the IO class
6
6
  #
7
- # Created: 13th April 2007
8
- # Updated: 31st October 2019
7
+ # Created: 13th April 2007
8
+ # Updated: 11th December 2023
9
9
  #
10
- # Home: http://github.com/synesissoftware/xqsr3
10
+ # Home: http://github.com/synesissoftware/xqsr3
11
11
  #
12
- # Author: Matthew Wilson
12
+ # Author: Matthew Wilson
13
13
  #
14
+ # Copyright (c) 2019-2023, Matthew Wilson and Synesis Information Systems
14
15
  # Copyright (c) 2007-2019, Matthew Wilson and Synesis Software
15
16
  # All rights reserved.
16
17
  #
@@ -25,7 +26,7 @@
25
26
  # notice, this list of conditions and the following disclaimer in the
26
27
  # documentation and/or other materials provided with the distribution.
27
28
  #
28
- # * Neither the names of the copyright holder nor the names of its
29
+ # * Neither the names of the copyright holders nor the names of its
29
30
  # contributors may be used to endorse or promote products derived from
30
31
  # this software without specific prior written permission.
31
32
  #
@@ -95,4 +96,3 @@ end # class IO
95
96
 
96
97
  # ############################## end of file ############################# #
97
98
 
98
-
@@ -1,16 +1,17 @@
1
1
 
2
2
  # ######################################################################## #
3
- # File: lib/xqsr3/extensions/kernel/integer.rb
3
+ # File: lib/xqsr3/extensions/kernel/integer.rb
4
4
  #
5
- # Purpose: Adds a Integer 'overload' to the Kernel module
5
+ # Purpose: Adds a Integer 'overload' to the Kernel module
6
6
  #
7
- # Created: 21st November 2017
8
- # Updated: 12th April 2019
7
+ # Created: 21st November 2017
8
+ # Updated: 11th December 2023
9
9
  #
10
- # Home: http://github.com/synesissoftware/xqsr3
10
+ # Home: http://github.com/synesissoftware/xqsr3
11
11
  #
12
- # Author: Matthew Wilson
12
+ # Author: Matthew Wilson
13
13
  #
14
+ # Copyright (c) 2019-2023, Matthew Wilson and Synesis Information Systems
14
15
  # Copyright (c) 2017-2019, Matthew Wilson and Synesis Software
15
16
  # All rights reserved.
16
17
  #
@@ -25,7 +26,7 @@
25
26
  # notice, this list of conditions and the following disclaimer in the
26
27
  # documentation and/or other materials provided with the distribution.
27
28
  #
28
- # * Neither the names of the copyright holder nor the names of its
29
+ # * Neither the names of the copyright holders nor the names of its
29
30
  # contributors may be used to endorse or promote products derived from
30
31
  # this software without specific prior written permission.
31
32
  #
@@ -79,4 +80,3 @@ end # module Kernel
79
80
 
80
81
  # ############################## end of file ############################# #
81
82
 
82
-
@@ -1,17 +1,18 @@
1
1
 
2
2
  # ######################################################################## #
3
- # File: lib/xqsr3/extensions/kernel/raise_with_options.rb
3
+ # File: lib/xqsr3/extensions/kernel/raise_with_options.rb
4
4
  #
5
- # Purpose: Adds a raise_with_options() method to the Kernel module
5
+ # Purpose: Adds a raise_with_options() method to the Kernel module
6
6
  #
7
- # Created: 12th February 2015
8
- # Updated: 22nd June 2017
7
+ # Created: 12th February 2015
8
+ # Updated: 11th December 2023
9
9
  #
10
- # Home: http://github.com/synesissoftware/xqsr3
10
+ # Home: http://github.com/synesissoftware/xqsr3
11
11
  #
12
- # Author: Matthew Wilson
12
+ # Author: Matthew Wilson
13
13
  #
14
- # Copyright (c) 2015-2017, Matthew Wilson and Synesis Software
14
+ # Copyright (c) 2019-2023, Matthew Wilson and Synesis Information Systems
15
+ # Copyright (c) 2015-2019, Matthew Wilson and Synesis Software
15
16
  # All rights reserved.
16
17
  #
17
18
  # Redistribution and use in source and binary forms, with or without
@@ -25,7 +26,7 @@
25
26
  # notice, this list of conditions and the following disclaimer in the
26
27
  # documentation and/or other materials provided with the distribution.
27
28
  #
28
- # * Neither the names of the copyright holder nor the names of its
29
+ # * Neither the names of the copyright holders nor the names of its
29
30
  # contributors may be used to endorse or promote products derived from
30
31
  # this software without specific prior written permission.
31
32
  #
@@ -14,4 +14,3 @@ class NilClass
14
14
  end
15
15
  end
16
16
 
17
-
@@ -6,4 +6,3 @@ class String
6
6
  include ::Xqsr3::StringUtilities::QuoteIf
7
7
  end # class String
8
8
 
9
-
@@ -13,4 +13,3 @@ class String
13
13
  end
14
14
  end # class String
15
15
 
16
-
@@ -6,4 +6,3 @@ class String
6
6
  include ::Xqsr3::StringUtilities::Truncate
7
7
  end # class String
8
8
 
9
-
@@ -6,7 +6,8 @@ module Assertions
6
6
 
7
7
  unless respond_to? :assert_eql
8
8
 
9
- # Assert that +expected+ and +actual+ have the same hash key
9
+ # Assert that +expected+ and +actual+ have the same hash key, as
10
+ # evaluated by the instance method +eq?+
10
11
  def assert_eql(expected, actual, failure_message = '')
11
12
 
12
13
  assert expected.eql?(actual), failure_message
@@ -17,4 +18,3 @@ end # class Assertions
17
18
  end # module Unit
18
19
  end # module Test
19
20
 
20
-