recls-ruby 2.11.0.2 → 2.11.0.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 +4 -4
- data/lib/recls/file_search.rb +1 -1
- data/lib/recls/flags.rb +5 -4
- data/lib/recls/version.rb +5 -1
- data/lib/recls/ximpl/os.rb +1 -0
- data/lib/recls/ximpl/unix.rb +1 -0
- data/lib/recls/ximpl/util.rb +1 -0
- data/lib/recls/ximpl/windows.rb +1 -0
- 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: a8e873d6eb17ecbb29d8e5a639dbf6522dc4c864cee5d2144911dbff5212c536
|
4
|
+
data.tar.gz: 91c4acbd074216ae5796743cb36938fc2dd69e09e1d818c93e5b74090aab27f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 03ac72c5b8a5ef038026ec7357a76f4244eb4994f4c9d57dfc7bf2205f005e686c6456b57e17f4eff9d54cef38b2a14be8562dc30c123326e0137b3ef7e898b9
|
7
|
+
data.tar.gz: 91f36cab3f89d3198c3f63d29d5d53c64ffba07d0018768701524157c1d5abe8a3dae859e1d95663728b4dc7d3c3b4de0493743fc0f4a34d5da7f81b5327f8a1
|
data/lib/recls/file_search.rb
CHANGED
data/lib/recls/flags.rb
CHANGED
@@ -53,7 +53,7 @@ module Recls
|
|
53
53
|
LINKS = 0x00000004
|
54
54
|
# Specifies that devices are to be listed
|
55
55
|
DEVICES = 0x00000008
|
56
|
-
# Type mask (combination of Recls::FILES
|
56
|
+
# Type mask (combination of +Recls::FILES+, +Recls::DIRECTORIES+, +Recls::LINKS+, +Recls::DEVICES+)
|
57
57
|
TYPEMASK = 0x000000ff
|
58
58
|
|
59
59
|
# Specifies that hidden items are to be shown and hidden directories are
|
@@ -63,7 +63,7 @@ module Recls
|
|
63
63
|
# [IGNORED] This for compatibility with *recls* libraries written in other languages
|
64
64
|
DIR_PROGRESS = 0x00001000
|
65
65
|
# Causes search to terminate if a directory cannot be entered or an
|
66
|
-
# entry's information cannot be stat()'d
|
66
|
+
# entry's information cannot be +stat()+'d
|
67
67
|
STOP_ON_ACCESS_FAILURE = 0x00002000
|
68
68
|
# [IGNORED] This for compatibility with *recls* libraries written in other languages
|
69
69
|
LINK_COUNT = 0000004000
|
@@ -73,15 +73,16 @@ module Recls
|
|
73
73
|
# Causes search to operate recursively
|
74
74
|
RECURSIVE = 0x00010000
|
75
75
|
private
|
76
|
+
# @!visibility private
|
76
77
|
NO_SEARCH_LINKS = 0x00020000 # :nodoc:
|
77
78
|
public
|
78
79
|
# [IGNORED] In previous versions the Recls::Entry#directory_parts property was not obtained (for performance reasons) unless this flag was specified. In current version the parts are always obtained
|
79
80
|
DIRECTORY_PARTS = 0x00040000
|
80
|
-
# Causes operations (such as Recls::stat()) to obtain a result even when
|
81
|
+
# Causes operations (such as +Recls::stat()+) to obtain a result even when
|
81
82
|
# no corresponding file-system entity does not exist
|
82
83
|
DETAILS_LATER = 0x00080000
|
83
84
|
|
84
|
-
# Causes the Recls::Entry#path and Recls::Entry#search_relative_path
|
85
|
+
# Causes the +Recls::Entry#path+ and +Recls::Entry#search_relative_path+
|
85
86
|
# attributes to contain a trailing path-name-separator for directory
|
86
87
|
# entries
|
87
88
|
MARK_DIRECTORIES = 0x00200000
|
data/lib/recls/version.rb
CHANGED
@@ -46,13 +46,17 @@ class Object; end # :nodoc:
|
|
46
46
|
module Recls
|
47
47
|
|
48
48
|
# Current version of the recls.Ruby library
|
49
|
-
VERSION = '2.11.0.
|
49
|
+
VERSION = '2.11.0.3'
|
50
50
|
|
51
51
|
private
|
52
|
+
# @!visibility private
|
52
53
|
VERSION_PARTS_ = VERSION.split(/[.]/).collect { |n| n.to_i } # :nodoc:
|
53
54
|
public
|
55
|
+
# @!visibility private
|
54
56
|
VERSION_MAJOR = VERSION_PARTS_[0] # :nodoc:
|
57
|
+
# @!visibility private
|
55
58
|
VERSION_MINOR = VERSION_PARTS_[1] # :nodoc:
|
59
|
+
# @!visibility private
|
56
60
|
VERSION_REVISION = VERSION_PARTS_[2] # :nodoc:
|
57
61
|
end # module Recls
|
58
62
|
|
data/lib/recls/ximpl/os.rb
CHANGED
data/lib/recls/ximpl/unix.rb
CHANGED
data/lib/recls/ximpl/util.rb
CHANGED
data/lib/recls/ximpl/windows.rb
CHANGED