libpath-ruby 0.2.2.2 → 0.2.2.3

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
  SHA256:
3
- metadata.gz: d8d3cc14d04488f50a0709403ba13a04673f5436cf2193c329ca213d632098f1
4
- data.tar.gz: 19d2d08adfe48b6461ec32a4e4b4d40dfd4eb6c4c3e8852f92926f2aad9c744c
3
+ metadata.gz: 8996094361fb92d0b95118bea46f4e1652000d3ed54e5008895df5a7260bbd00
4
+ data.tar.gz: 613922a5a2d51de42327585ce3f23a0ebcb6f3d19d1b1066e3c9a54832412af9
5
5
  SHA512:
6
- metadata.gz: e08138e7acbdf52e0d8e2ceac3bc3d71eb7b421cf79c92258a6091659f02e8ed9c23754549c15b51daf8ffbb229392aff47413d022a9c1bb02c1eb034e3aa90a
7
- data.tar.gz: b7ce9f16572ee000607d5844bd6268b00744ea2739ff531ddcefb167a6b795756f18d0224680e2f127eb3fec8639c2085a4e5cbca149cebe77604a56b5497956
6
+ metadata.gz: ab2efbb8ace8b969c0d2f79bc42058a512aa6633d710e8fa3108f3400fbffc8b5d10bd76e30cb64234815524c9d32b3e4dac50aa6702b8175803764da204efd4
7
+ data.tar.gz: 227a0622eab1ea0da0d0d27ee7913fc7114c4ae00fcbd2ffc872eafcfd6017759d9b97a9597f59029223d63610ace45205c240db4a0f9d59dc988653d3333421
@@ -5,7 +5,7 @@
5
5
  # Purpose: MalformedNameException class
6
6
  #
7
7
  # Created: 30th January 2019
8
- # Updated: 7th April 2024
8
+ # Updated: 13th April 2024
9
9
  #
10
10
  # Home: http://github.com/synesissoftware/libpath.Ruby
11
11
  #
@@ -45,12 +45,12 @@
45
45
  # ######################################################################## #
46
46
 
47
47
 
48
- =begin
49
- =end
50
-
51
48
  require 'libpath/exceptions/libpath_base_exception'
52
49
 
53
50
 
51
+ =begin
52
+ =end
53
+
54
54
  module LibPath
55
55
  module Exceptions
56
56
 
@@ -5,7 +5,7 @@
5
5
  # Purpose: LibPath::Form::Unix module
6
6
  #
7
7
  # Created: 8th January 2019
8
- # Updated: 7th April 2024
8
+ # Updated: 13th April 2024
9
9
  #
10
10
  # Home: http://github.com/synesissoftware/libpath.Ruby
11
11
  #
@@ -45,13 +45,13 @@
45
45
  # ######################################################################## #
46
46
 
47
47
 
48
- =begin
49
- =end
50
-
51
48
  require 'libpath/constants/unix'
52
49
  require 'libpath/diagnostics'
53
50
 
54
51
 
52
+ =begin
53
+ =end
54
+
55
55
  module LibPath
56
56
  module Form
57
57
  module Unix
@@ -5,7 +5,7 @@
5
5
  # Purpose: LibPath::Form::Windows module
6
6
  #
7
7
  # Created: 8th January 2019
8
- # Updated: 7th April 2024
8
+ # Updated: 13th April 2024
9
9
  #
10
10
  # Home: http://github.com/synesissoftware/libpath.Ruby
11
11
  #
@@ -45,15 +45,15 @@
45
45
  # ######################################################################## #
46
46
 
47
47
 
48
- =begin
49
- =end
50
-
51
48
  require 'libpath/constants/windows'
52
49
  require 'libpath/diagnostics'
53
50
  require 'libpath/internal_/windows/drive'
54
51
  require 'libpath/internal_/windows/form'
55
52
 
56
53
 
54
+ =begin
55
+ =end
56
+
57
57
  module LibPath
58
58
  module Form
59
59
  module Windows
@@ -5,7 +5,7 @@
5
5
  # Purpose: LibPath::Path::Unix module
6
6
  #
7
7
  # Created: 21st January 2019
8
- # Updated: 7th April 2024
8
+ # Updated: 13th April 2024
9
9
  #
10
10
  # Home: http://github.com/synesissoftware/libpath.Ruby
11
11
  #
@@ -45,14 +45,14 @@
45
45
  # ######################################################################## #
46
46
 
47
47
 
48
- =begin
49
- =end
50
-
51
48
  require 'libpath/diagnostics'
52
49
  require 'libpath/internal_/unix/form'
53
50
  require 'libpath/util/unix'
54
51
 
55
52
 
53
+ =begin
54
+ =end
55
+
56
56
  module LibPath
57
57
  module Path
58
58
 
@@ -5,7 +5,7 @@
5
5
  # Purpose: LibPath::Path::Windows module
6
6
  #
7
7
  # Created: 21st January 2019
8
- # Updated: 7th April 2024
8
+ # Updated: 13th April 2024
9
9
  #
10
10
  # Home: http://github.com/synesissoftware/libpath.Ruby
11
11
  #
@@ -45,14 +45,14 @@
45
45
  # ######################################################################## #
46
46
 
47
47
 
48
- =begin
49
- =end
50
-
51
48
  require 'libpath/diagnostics'
52
49
  require 'libpath/internal_/windows/form'
53
50
  require 'libpath/util/windows'
54
51
 
55
52
 
53
+ =begin
54
+ =end
55
+
56
56
  module LibPath
57
57
  module Path
58
58
 
@@ -100,7 +100,7 @@ module Path
100
100
 
101
101
  splits = _Internal_Form.split_path(abs_path)
102
102
 
103
- _, f1_vol, f2_dir, f3_basename, f4_stem, f5_ext, f6_dir_parts, f7_abs_parts = *splits
103
+ _, f1_vol, f2_dir, f3_basename, f4_stem, f5_ext, f6_dir_parts, _f7_abs_parts = *splits
104
104
 
105
105
  @given_path = path
106
106
  @absolute_path = abs_path
@@ -5,7 +5,7 @@
5
5
  # Purpose: LibPath::Util::Unix module
6
6
  #
7
7
  # Created: 14th January 2019
8
- # Updated: 7th April 2024
8
+ # Updated: 13th April 2024
9
9
  #
10
10
  # Home: http://github.com/synesissoftware/libpath.Ruby
11
11
  #
@@ -45,15 +45,15 @@
45
45
  # ######################################################################## #
46
46
 
47
47
 
48
- =begin
49
- =end
50
-
51
48
  require 'libpath/diagnostics'
52
49
  require 'libpath/form/unix'
53
50
  require 'libpath/internal_/array'
54
51
  require 'libpath/internal_/unix/form'
55
52
 
56
53
 
54
+ =begin
55
+ =end
56
+
57
57
  module LibPath
58
58
  module Util
59
59
  module Unix
@@ -5,7 +5,7 @@
5
5
  # Purpose: LibPath::Util::Windows module
6
6
  #
7
7
  # Created: 10th January 2019
8
- # Updated: 7th April 2024
8
+ # Updated: 13th April 2024
9
9
  #
10
10
  # Home: http://github.com/synesissoftware/libpath.Ruby
11
11
  #
@@ -45,15 +45,15 @@
45
45
  # ######################################################################## #
46
46
 
47
47
 
48
- =begin
49
- =end
50
-
51
48
  require 'libpath/diagnostics'
52
49
  require 'libpath/form/windows'
53
50
  require 'libpath/internal_/array'
54
51
  require 'libpath/internal_/windows/form'
55
52
 
56
53
 
54
+ =begin
55
+ =end
56
+
57
57
  module LibPath
58
58
  module Util
59
59
  module Windows
@@ -4,7 +4,7 @@
4
4
  # Purpose: Version for libpath.Ruby library
5
5
  #
6
6
  # Created: 8th January 2019
7
- # Updated: 7th April 2024
7
+ # Updated: 13th April 2024
8
8
  #
9
9
  # Home: http://github.com/synesissoftware/libpath.Ruby
10
10
  #
@@ -50,7 +50,7 @@
50
50
  module LibPath
51
51
 
52
52
  # Current version of the libpath.Ruby library
53
- VERSION = '0.2.2.2'
53
+ VERSION = '0.2.2.3'
54
54
 
55
55
  private
56
56
  # @!visibility private
@@ -23,8 +23,8 @@ class Test_MalformedNameException < Test::Unit::TestCase
23
23
 
24
24
  assert_not_nil mnx
25
25
  assert_not_nil mnx.name
26
- assert_match /abc.*def/, mnx.name
27
- assert_match /malformed name 'abc.*def'/, mnx.message
26
+ assert_match(/abc.*def/, mnx.name)
27
+ assert_match(/malformed name 'abc.*def'/, mnx.message)
28
28
  end
29
29
  end
30
30
 
@@ -629,7 +629,6 @@ class Test_LibPath_Path_ParsedPath < Test::Unit::TestCase
629
629
  if ::LibPath::Internal_::Platform::Constants::PLATFORM_IS_WINDOWS then
630
630
 
631
631
  pwd = '/some-directory'
632
- srd = '/dir-1/dir-2/'
633
632
 
634
633
  pp = ParsedPath.new('file.ext', pwd: pwd)
635
634
 
@@ -646,7 +645,6 @@ class Test_LibPath_Path_ParsedPath < Test::Unit::TestCase
646
645
  else
647
646
 
648
647
  pwd = '/some-directory'
649
- srd = '/dir-1/dir-2/'
650
648
 
651
649
  pp = ParsedPath.new('file.ext', pwd: pwd)
652
650
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libpath-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2.2
4
+ version: 0.2.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Wilson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-04-07 00:00:00.000000000 Z
11
+ date: 2024-04-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: xqsr3