recls-ruby 2.11.0.3 → 2.12.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/recls/obsolete.rb +5 -0
- data/lib/recls/recls.rb +9 -8
- data/lib/recls/version.rb +1 -1
- data/lib/recls/ximpl/os.rb +5 -6
- data/lib/recls/ximpl/unix.rb +3 -4
- data/lib/recls/ximpl/util.rb +3 -4
- data/lib/recls/ximpl/windows.rb +3 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b7ad41cfec6d08d5ba41ef9c6bc47f5b151d61a232f9f7a04ce389ca49487f51
|
4
|
+
data.tar.gz: 9cb9cff1104388001437470dbd6cb82566313f78d82b0a5b323689573f57f5d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c61cd03d38a8d459d9bbfc3f150e0fed22182abef92da86dd135040690088f070d69f55cfa3ccf4312f7d1b122d921eb72b48e2137fa8801e1360d29aec4dfe
|
7
|
+
data.tar.gz: fb1603cbf0f8ffd86c1c679ac08f0d5bf5c770d8d4348a24b74bab1e5440b28f6f35a7e8ef4368252eaf9ab0d5f081935814ebd48ade0c26939340a964b748e0
|
data/lib/recls/obsolete.rb
CHANGED
@@ -43,6 +43,9 @@
|
|
43
43
|
|
44
44
|
if not defined? RECLS_NO_OBSOLETE
|
45
45
|
|
46
|
+
# :stopdoc:
|
47
|
+
|
48
|
+
# @!visibility private
|
46
49
|
module Recls # :nodoc: all
|
47
50
|
|
48
51
|
# @!visibility private
|
@@ -113,6 +116,8 @@ if not defined? RECLS_NO_OBSOLETE
|
|
113
116
|
alias_method :creationTime, :modification_time
|
114
117
|
end
|
115
118
|
end # module Recls
|
119
|
+
|
120
|
+
# :startdoc:
|
116
121
|
end
|
117
122
|
|
118
123
|
|
data/lib/recls/recls.rb
CHANGED
@@ -64,19 +64,20 @@ require 'recls/ximpl/os'
|
|
64
64
|
# - Recls::stat
|
65
65
|
module Recls
|
66
66
|
|
67
|
-
|
67
|
+
# The string sequence used to separate names in paths, e.g. "/" on UNIX
|
68
|
+
PATH_NAME_SEPARATOR = Recls::Ximpl::OS::PATH_NAME_SEPARATOR
|
68
69
|
|
69
|
-
|
70
|
+
# The string sequence used to separate paths, e.g. ";" on Windows
|
71
|
+
PATH_SEPARATOR = Recls::Ximpl::OS::PATH_SEPARATOR
|
70
72
|
|
71
|
-
# Represents the "all" wildcards string for the ambient operating
|
72
|
-
# system
|
73
|
+
# Represents the "all" wildcards string for the ambient operating system
|
73
74
|
WILDCARDS_ALL = Recls::Ximpl::OS::WILDCARDS_ALL
|
74
75
|
|
75
|
-
#
|
76
|
-
|
76
|
+
# Indicates whether the operating system is a variant of Windows
|
77
|
+
def self.windows?
|
77
78
|
|
78
|
-
|
79
|
-
|
79
|
+
Recls::Ximpl::OS::OS_IS_WINDOWS
|
80
|
+
end
|
80
81
|
end # module Recls
|
81
82
|
|
82
83
|
require 'recls/obsolete'
|
data/lib/recls/version.rb
CHANGED
data/lib/recls/ximpl/os.rb
CHANGED
@@ -41,17 +41,18 @@
|
|
41
41
|
=begin
|
42
42
|
=end
|
43
43
|
|
44
|
-
module Recls # :nodoc:
|
45
|
-
|
46
44
|
# :stopdoc:
|
47
45
|
|
46
|
+
# @!visibility private
|
47
|
+
module Recls # :nodoc:
|
48
|
+
|
48
49
|
# @!visibility private
|
49
50
|
module Ximpl # :nodoc: all
|
50
51
|
|
51
52
|
module OS # :nodoc: all
|
52
53
|
|
53
54
|
# @!visibility private
|
54
|
-
OS_IS_WINDOWS = (RUBY_PLATFORM =~ /(
|
55
|
+
OS_IS_WINDOWS = (RUBY_PLATFORM =~ /(bccwin|cygwin|mingw|mswin|wince)/i) ? true : false
|
55
56
|
|
56
57
|
# @!visibility private
|
57
58
|
PATH_NAME_SEPARATOR = OS_IS_WINDOWS ? '\\' : '/'
|
@@ -92,11 +93,9 @@ module Recls # :nodoc:
|
|
92
93
|
end
|
93
94
|
end # module OS
|
94
95
|
end # module Ximpl
|
95
|
-
|
96
|
-
# :startdoc:
|
97
|
-
|
98
96
|
end # module Recls
|
99
97
|
|
98
|
+
# :startdoc:
|
100
99
|
|
101
100
|
# ############################## end of file ############################# #
|
102
101
|
|
data/lib/recls/ximpl/unix.rb
CHANGED
@@ -43,10 +43,10 @@ require 'recls/ximpl/util'
|
|
43
43
|
=begin
|
44
44
|
=end
|
45
45
|
|
46
|
-
module Recls # :nodoc:
|
47
|
-
|
48
46
|
# :stopdoc:
|
49
47
|
|
48
|
+
module Recls # :nodoc:
|
49
|
+
|
50
50
|
# @!visibility private
|
51
51
|
module Ximpl # :nodoc: all
|
52
52
|
|
@@ -88,11 +88,10 @@ module Recls # :nodoc:
|
|
88
88
|
end
|
89
89
|
end # class FileStat
|
90
90
|
end # module Ximpl
|
91
|
+
end # module Recls
|
91
92
|
|
92
93
|
# :startdoc:
|
93
94
|
|
94
|
-
end # module Recls
|
95
|
-
|
96
95
|
|
97
96
|
# ############################## end of file ############################# #
|
98
97
|
|
data/lib/recls/ximpl/util.rb
CHANGED
@@ -46,10 +46,10 @@ require 'pathname'
|
|
46
46
|
=begin
|
47
47
|
=end
|
48
48
|
|
49
|
-
module Recls # :nodoc:
|
50
|
-
|
51
49
|
# :stopdoc:
|
52
50
|
|
51
|
+
module Recls # :nodoc:
|
52
|
+
|
53
53
|
# @!visibility private
|
54
54
|
module Ximpl # :nodoc: all
|
55
55
|
|
@@ -871,11 +871,10 @@ module Recls # :nodoc:
|
|
871
871
|
end
|
872
872
|
end
|
873
873
|
end # module Ximpl
|
874
|
+
end # module Recls
|
874
875
|
|
875
876
|
# :startdoc:
|
876
877
|
|
877
|
-
end # module Recls
|
878
|
-
|
879
878
|
|
880
879
|
# ############################## end of file ############################# #
|
881
880
|
|
data/lib/recls/ximpl/windows.rb
CHANGED
@@ -43,10 +43,10 @@ require 'Win32API'
|
|
43
43
|
=begin
|
44
44
|
=end
|
45
45
|
|
46
|
-
module Recls # :nodoc:
|
47
|
-
|
48
46
|
# :stopdoc:
|
49
47
|
|
48
|
+
module Recls # :nodoc:
|
49
|
+
|
50
50
|
# @!visibility private
|
51
51
|
module Ximpl # :nodoc: all
|
52
52
|
|
@@ -223,11 +223,10 @@ module Recls # :nodoc:
|
|
223
223
|
end
|
224
224
|
end # class FileStat
|
225
225
|
end # module Ximpl
|
226
|
+
end # module Recls
|
226
227
|
|
227
228
|
# :startdoc:
|
228
229
|
|
229
|
-
end # module Recls
|
230
|
-
|
231
230
|
|
232
231
|
# ############################## end of file ############################# #
|
233
232
|
|