xqsr3 0.33.0 → 0.33.0.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: '0873ccfa9e001a7bb29a4ef649e0f8859034943c'
4
- data.tar.gz: 4ad53d843bf50bee3de784cd0d4f5a4c3a805ca2
3
+ metadata.gz: 3019cb877ecda9311d4afe377ec6306a7f6876fc
4
+ data.tar.gz: 409bb6b065da77c14040ec06744722500db91bee
5
5
  SHA512:
6
- metadata.gz: 82bc550fbd48138ad719681c51eb82e6075a4878772154eb9daa190e78c745b70e0ace321e9c700fcaadbaec8eb7b707a484ac6e93e0fd531b777aa0b0a0be6e
7
- data.tar.gz: f00c2be6e62d527c21ff3283004a1c0acdeccb65faec73af41fe74f471ef301bd3b7ac6fc23c6c1a107f4e7f5f09872dad5be0b50d6dcbe7ad00111743829721
6
+ metadata.gz: a7b02266f7106e8adad0f301114f9bb32f55bbd9f2746b18d9155f30f2ac1bf8975f87070e22c21af3a74ca32e8bd5f7e302920f5109c1531d4bd8553f6ce76a
7
+ data.tar.gz: 50517156c5db87de6c786fdc0b7f0d63ce0188cf1d66bfa4a9a9148fae7e9e496ef846e03cfb2ce20b2bc44c1f296913868447326a10bbd2519399619d8cab2c
@@ -6,7 +6,7 @@
6
6
  # ::Xqsr3::CommandLineUtilities::MapOptionString module
7
7
  #
8
8
  # Created: 15th April 2016
9
- # Updated: 12th April 2019
9
+ # Updated: 15th April 2019
10
10
  #
11
11
  # Home: http://github.com/synesissoftware/xqsr3
12
12
  #
@@ -69,7 +69,8 @@ module MapOptionString
69
69
  end
70
70
 
71
71
  private
72
- module MapOptionString_Helper_ # :nodoc:
72
+ # @!visibility private
73
+ module MapOptionString_Helper_ # :nodoc: all
73
74
 
74
75
  def self.map_option_string_with_options_ s, option_strings, options
75
76
 
@@ -6,7 +6,7 @@
6
6
  # module
7
7
  #
8
8
  # Created: 21st November 2017
9
- # Updated: 12th April 2019
9
+ # Updated: 15th April 2019
10
10
  #
11
11
  # Home: http://github.com/synesissoftware/xqsr3
12
12
  #
@@ -58,7 +58,8 @@ module Conversion
58
58
  module IntegerParser
59
59
 
60
60
  private
61
- module IntegerParser_Helper_ # :nodoc:
61
+ # @!visibility private
62
+ module IntegerParser_Helper_ # :nodoc: all
62
63
 
63
64
  if Kernel.respond_to?(:xqsr3_Integer_original_method)
64
65
 
@@ -1,9 +1,13 @@
1
1
 
2
2
  require 'xqsr3/internal_/test_unit_version_'
3
3
 
4
+ # :stopdoc:
5
+
4
6
  module Xqsr3
5
- module Internal_ # :nodoc:
6
- module X_assert_raise_with_message_ # :nodoc:
7
+ # @!visibility private
8
+ module Internal_ # :nodoc: all
9
+ # @!visibility private
10
+ module X_assert_raise_with_message_ # :nodoc: all
7
11
 
8
12
  if TestUnitVersion_.is_at_least? [ 3, 0, 8 ]
9
13
 
@@ -17,6 +21,8 @@ end # module X_assert_raise_with_message_
17
21
  end # module Internal_
18
22
  end # module Xqsr3
19
23
 
24
+ # :startdoc:
25
+
20
26
  module Test
21
27
  module Unit
22
28
 
@@ -27,6 +33,16 @@ module Assertions
27
33
  # Asserts that the attached block raises an exception of one of the
28
34
  # exceptions defined by +type_spec+ and/or has a message matching
29
35
  # +message_spec+
36
+ #
37
+ # === Signature
38
+ #
39
+ # * *Parameters:*
40
+ # - +type_spec+ (String, Regexp, [String], [Regexp], nil) Specification of type expectation(s)
41
+ # - +message_spec+ (String, Regexp, [String], [Regexp], nil) Specification of message expectation(s)
42
+ # - +failure_message+ (String, nil) Optional message to be used if the matching fails
43
+ #
44
+ # * *Block*
45
+ # A required block containing code that is expected to raise an exception
30
46
  def assert_raise_with_message(type_spec, message_spec, failure_message = nil, &block)
31
47
 
32
48
  unless block_given?
@@ -97,4 +113,6 @@ end # class Assertions
97
113
  end # module Unit
98
114
  end # module Test
99
115
 
116
+ # ############################## end of file ############################# #
117
+
100
118
 
@@ -25,6 +25,7 @@ begin
25
25
  # :startdoc:
26
26
  rescue LoadError
27
27
 
28
+ # :stopdoc:
28
29
  # @!visibility private
29
30
  module Xqsr3
30
31
  # @!visibility private
@@ -134,4 +135,6 @@ end # module Xqsr3
134
135
 
135
136
  # :startdoc:
136
137
 
138
+ # ############################## end of file ############################# #
139
+
137
140
 
@@ -6,7 +6,7 @@
6
6
  # module
7
7
  #
8
8
  # Created: 13th April 2016
9
- # Updated: 12th April 2019
9
+ # Updated: 15th April 2019
10
10
  #
11
11
  # Home: http://github.com/synesissoftware/xqsr3
12
12
  #
@@ -59,7 +59,8 @@ module StringUtilities
59
59
  module EndsWith
60
60
 
61
61
  private
62
- module EndsWith_Helper_ # :nodoc:
62
+ # @!visibility private
63
+ module EndsWith_Helper_ # :nodoc: all
63
64
 
64
65
  def self.string_ends_with_helper_ s, prefix # :nodoc:
65
66
 
@@ -6,7 +6,7 @@
6
6
  # module
7
7
  #
8
8
  # Created: 25th January 2018
9
- # Updated: 12th April 2019
9
+ # Updated: 15th April 2019
10
10
  #
11
11
  # Home: http://github.com/synesissoftware/xqsr3
12
12
  #
@@ -59,7 +59,8 @@ module StringUtilities
59
59
  module NilIfEmpty
60
60
 
61
61
  private
62
- module NilIfEmpty_Helper_ # :nodoc:
62
+ # @!visibility private
63
+ module NilIfEmpty_Helper_ # :nodoc: all
63
64
 
64
65
  def self.string_nil_if_empty_array_ s # :nodoc:
65
66
 
@@ -6,7 +6,7 @@
6
6
  # module
7
7
  #
8
8
  # Created: 25th January 2018
9
- # Updated: 12th April 2019
9
+ # Updated: 15th April 2019
10
10
  #
11
11
  # Home: http://github.com/synesissoftware/xqsr3
12
12
  #
@@ -59,7 +59,8 @@ module StringUtilities
59
59
  module NilIfWhitespace
60
60
 
61
61
  private
62
- module NilIfWhitespace_Helper_ # :nodoc:
62
+ # @!visibility private
63
+ module NilIfWhitespace_Helper_ # :nodoc: all
63
64
 
64
65
  def self.string_nil_if_whitespace_array_ s # :nodoc:
65
66
 
@@ -6,7 +6,7 @@
6
6
  # module
7
7
  #
8
8
  # Created: 3rd June 2017
9
- # Updated: 12th April 2019
9
+ # Updated: 15th April 2019
10
10
  #
11
11
  # Home: http://github.com/synesissoftware/xqsr3
12
12
  #
@@ -58,7 +58,8 @@ module StringUtilities
58
58
  module QuoteIf
59
59
 
60
60
  private
61
- module QuoteIf_Helper_ # :nodoc:
61
+ # @!visibility private
62
+ module QuoteIf_Helper_ # :nodoc: all
62
63
 
63
64
  def self.string_quote_if_array_ s, options # :nodoc:
64
65
 
@@ -6,7 +6,7 @@
6
6
  # module
7
7
  #
8
8
  # Created: 13th April 2016
9
- # Updated: 12th April 2019
9
+ # Updated: 15th April 2019
10
10
  #
11
11
  # Home: http://github.com/synesissoftware/xqsr3
12
12
  #
@@ -59,7 +59,8 @@ module StringUtilities
59
59
  module StartsWith
60
60
 
61
61
  private
62
- module StartsWith_Helper_ # :nodoc:
62
+ # @!visibility private
63
+ module StartsWith_Helper_ # :nodoc: all
63
64
 
64
65
  def self.string_starts_with_helper_ s, prefix # :nodoc:
65
66
 
@@ -6,7 +6,7 @@
6
6
  # module
7
7
  #
8
8
  # Created: 14th April 2016
9
- # Updated: 12th April 2019
9
+ # Updated: 15th April 2019
10
10
  #
11
11
  # Home: http://github.com/synesissoftware/xqsr3
12
12
  #
@@ -59,7 +59,8 @@ module StringUtilities
59
59
  module ToSymbol
60
60
 
61
61
  private
62
- module ToSymbol_Helper_ # :nodoc:
62
+ # @!visibility private
63
+ module ToSymbol_Helper_ # :nodoc: all
63
64
 
64
65
  module Constants # :nodoc:
65
66
 
@@ -6,7 +6,7 @@
6
6
  # module
7
7
  #
8
8
  # Created: 12th April 2018
9
- # Updated: 12th April 2019
9
+ # Updated: 15th April 2019
10
10
  #
11
11
  # Home: http://github.com/synesissoftware/xqsr3
12
12
  #
@@ -59,7 +59,8 @@ module StringUtilities
59
59
  module Truncate
60
60
 
61
61
  private
62
- module Truncate_Helper_ # :nodoc:
62
+ # @!visibility private
63
+ module Truncate_Helper_ # :nodoc: all
63
64
 
64
65
  def self.string_truncate_with_options_ s, width, options # :nodoc:
65
66
 
@@ -50,7 +50,7 @@
50
50
  module Xqsr3
51
51
 
52
52
  # Current version of the Xqsr3 library
53
- VERSION = '0.33.0'
53
+ VERSION = '0.33.0.1'
54
54
 
55
55
  private
56
56
  VERSION_PARTS_ = VERSION.split(/[.]/).collect { |n| n.to_i } # :nodoc:
@@ -678,7 +678,6 @@ class Test_Xqsr3_Containers_MultiMap < Test::Unit::TestCase
678
678
  mm1 = MultiMap.new
679
679
 
680
680
  mm1.push :abc, 1, 2, 3
681
- #$stderr.puts "mm1(#{mm1.class})=#{mm1}"
682
681
 
683
682
  assert_equal [ :abc, 1, :abc, 2, :abc, 3 ], mm1.flatten
684
683
 
@@ -686,17 +685,14 @@ class Test_Xqsr3_Containers_MultiMap < Test::Unit::TestCase
686
685
 
687
686
  mm2.push :abc, 4, 5
688
687
  mm2.push :def, 'a'
689
- #$stderr.puts "mm2(#{mm2.class})=#{mm2}"
690
688
 
691
689
  mm1.strict_merge! mm2
692
- #$stderr.puts "mm1(#{mm1.class})=#{mm1}"
693
690
 
694
691
  h = Hash.new
695
692
 
696
693
  h.store :ghi, 'x'
697
694
 
698
695
  mm1.strict_merge! h
699
- #$stderr.puts "mm1(#{mm1.class})=#{mm1}"
700
696
 
701
697
  assert_equal [ :abc, 4, :abc, 5, :def, 'a', :ghi, 'x' ], mm1.flatten
702
698
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xqsr3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.33.0
4
+ version: 0.33.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Wilson