recls-ruby 2.11.0.3 → 2.12.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
  SHA256:
3
- metadata.gz: a8e873d6eb17ecbb29d8e5a639dbf6522dc4c864cee5d2144911dbff5212c536
4
- data.tar.gz: 91c4acbd074216ae5796743cb36938fc2dd69e09e1d818c93e5b74090aab27f4
3
+ metadata.gz: b7ad41cfec6d08d5ba41ef9c6bc47f5b151d61a232f9f7a04ce389ca49487f51
4
+ data.tar.gz: 9cb9cff1104388001437470dbd6cb82566313f78d82b0a5b323689573f57f5d9
5
5
  SHA512:
6
- metadata.gz: 03ac72c5b8a5ef038026ec7357a76f4244eb4994f4c9d57dfc7bf2205f005e686c6456b57e17f4eff9d54cef38b2a14be8562dc30c123326e0137b3ef7e898b9
7
- data.tar.gz: 91f36cab3f89d3198c3f63d29d5d53c64ffba07d0018768701524157c1d5abe8a3dae859e1d95663728b4dc7d3c3b4de0493743fc0f4a34d5da7f81b5327f8a1
6
+ metadata.gz: 5c61cd03d38a8d459d9bbfc3f150e0fed22182abef92da86dd135040690088f070d69f55cfa3ccf4312f7d1b122d921eb72b48e2137fa8801e1360d29aec4dfe
7
+ data.tar.gz: fb1603cbf0f8ffd86c1c679ac08f0d5bf5c770d8d4348a24b74bab1e5440b28f6f35a7e8ef4368252eaf9ab0d5f081935814ebd48ade0c26939340a964b748e0
@@ -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
- end # module Recls
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
- module Recls
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
- # The string sequence used to separate names in paths, e.g. "/" on UNIX
76
- PATH_NAME_SEPARATOR = Recls::Ximpl::OS::PATH_NAME_SEPARATOR
76
+ # Indicates whether the operating system is a variant of Windows
77
+ def self.windows?
77
78
 
78
- # The string sequence used to separate paths, e.g. ":" on UNIX
79
- PATH_SEPARATOR = Recls::Ximpl::OS::PATH_SEPARATOR
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
@@ -46,7 +46,7 @@ class Object; end # :nodoc:
46
46
  module Recls
47
47
 
48
48
  # Current version of the recls.Ruby library
49
- VERSION = '2.11.0.3'
49
+ VERSION = '2.12.0.1'
50
50
 
51
51
  private
52
52
  # @!visibility private
@@ -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 =~ /(mswin|mingw|bccwin|wince)/i) ? true : false
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
 
@@ -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
 
@@ -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
 
@@ -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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: recls-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.11.0.3
4
+ version: 2.12.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Wilson