libpath-ruby 0.2.2.2 → 0.2.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/libpath/exceptions/malformed_name_exception.rb +4 -4
- data/lib/libpath/form/unix.rb +4 -4
- data/lib/libpath/form/windows.rb +4 -4
- data/lib/libpath/path/unix.rb +4 -4
- data/lib/libpath/path/windows.rb +5 -5
- data/lib/libpath/util/unix.rb +4 -4
- data/lib/libpath/util/windows.rb +4 -4
- data/lib/libpath/version.rb +2 -2
- data/test/unit/exceptions/tc_malformed_name_exception.rb +2 -2
- data/test/unit/path/tc_path.rb +0 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8996094361fb92d0b95118bea46f4e1652000d3ed54e5008895df5a7260bbd00
|
4
|
+
data.tar.gz: 613922a5a2d51de42327585ce3f23a0ebcb6f3d19d1b1066e3c9a54832412af9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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:
|
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
|
|
data/lib/libpath/form/unix.rb
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
# Purpose: LibPath::Form::Unix module
|
6
6
|
#
|
7
7
|
# Created: 8th January 2019
|
8
|
-
# Updated:
|
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
|
data/lib/libpath/form/windows.rb
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
# Purpose: LibPath::Form::Windows module
|
6
6
|
#
|
7
7
|
# Created: 8th January 2019
|
8
|
-
# Updated:
|
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
|
data/lib/libpath/path/unix.rb
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
# Purpose: LibPath::Path::Unix module
|
6
6
|
#
|
7
7
|
# Created: 21st January 2019
|
8
|
-
# Updated:
|
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
|
|
data/lib/libpath/path/windows.rb
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
# Purpose: LibPath::Path::Windows module
|
6
6
|
#
|
7
7
|
# Created: 21st January 2019
|
8
|
-
# Updated:
|
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,
|
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
|
data/lib/libpath/util/unix.rb
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
# Purpose: LibPath::Util::Unix module
|
6
6
|
#
|
7
7
|
# Created: 14th January 2019
|
8
|
-
# Updated:
|
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
|
data/lib/libpath/util/windows.rb
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
# Purpose: LibPath::Util::Windows module
|
6
6
|
#
|
7
7
|
# Created: 10th January 2019
|
8
|
-
# Updated:
|
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
|
data/lib/libpath/version.rb
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
# Purpose: Version for libpath.Ruby library
|
5
5
|
#
|
6
6
|
# Created: 8th January 2019
|
7
|
-
# Updated:
|
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.
|
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
|
27
|
-
assert_match
|
26
|
+
assert_match(/abc.*def/, mnx.name)
|
27
|
+
assert_match(/malformed name 'abc.*def'/, mnx.message)
|
28
28
|
end
|
29
29
|
end
|
30
30
|
|
data/test/unit/path/tc_path.rb
CHANGED
@@ -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.
|
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-
|
11
|
+
date: 2024-04-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: xqsr3
|