recls-ruby 2.11.0 → 2.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/lib/recls/recls.rb +8 -1
- data/lib/recls/version.rb +2 -2
- data/lib/recls/ximpl/os.rb +3 -2
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: adf1c9d879c34d01328e9426fb4232a9ca54bdcbbf97b95fa4bf08a91281b1fe
|
4
|
+
data.tar.gz: 7447488d2bdb53b2df2b7d387ff82a4091220a0553cb001a868a86321dfd49aa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 33695196ec35f93cbfd5937d6997a461bb1485e2ad4ef5b8728ad002fd30048d4dd804ba13217f9a60e78df986708edb3db66e17b087d6d023e7923f71aa350f
|
7
|
+
data.tar.gz: 471f1adcba4b1c8171ab2781dc4c57f7fac86b59954dc82292d545fb5ae2e4f2123d568a18fbb2f56559a7028fe40740a8288f4f5c49a1c1fe802c654a9304b6
|
data/lib/recls/recls.rb
CHANGED
@@ -4,10 +4,11 @@
|
|
4
4
|
# Purpose: Main source file for recls library
|
5
5
|
#
|
6
6
|
# Created: 19th July 2012
|
7
|
-
# Updated:
|
7
|
+
# Updated: 6th April 2021
|
8
8
|
#
|
9
9
|
# Author: Matthew Wilson
|
10
10
|
#
|
11
|
+
# Copyright (c) 2019-2021, Matthew Wilson and Synesis Information Systems
|
11
12
|
# Copyright (c) 2012-2019, Matthew Wilson and Synesis Software
|
12
13
|
# All rights reserved.
|
13
14
|
#
|
@@ -76,6 +77,12 @@ module Recls
|
|
76
77
|
|
77
78
|
# The string sequence used to separate paths, e.g. ":" on UNIX
|
78
79
|
PATH_SEPARATOR = Recls::Ximpl::OS::PATH_SEPARATOR
|
80
|
+
|
81
|
+
# Indicates whether the operating system is a variant of Windows
|
82
|
+
def self.windows?
|
83
|
+
|
84
|
+
Recls::Ximpl::OS::OS_IS_WINDOWS
|
85
|
+
end
|
79
86
|
end # module Recls
|
80
87
|
|
81
88
|
require 'recls/obsolete'
|
data/lib/recls/version.rb
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
# Purpose: Version for recls library
|
5
5
|
#
|
6
6
|
# Created: 14th February 2014
|
7
|
-
# Updated:
|
7
|
+
# Updated: 6th April 2021
|
8
8
|
#
|
9
9
|
# Author: Matthew Wilson
|
10
10
|
#
|
@@ -45,7 +45,7 @@ class Object; end # :nodoc:
|
|
45
45
|
module Recls
|
46
46
|
|
47
47
|
# Current version of the recls.Ruby library
|
48
|
-
VERSION = '2.
|
48
|
+
VERSION = '2.12.0'
|
49
49
|
|
50
50
|
private
|
51
51
|
VERSION_PARTS_ = VERSION.split(/[.]/).collect { |n| n.to_i } # :nodoc:
|
data/lib/recls/ximpl/os.rb
CHANGED
@@ -5,10 +5,11 @@
|
|
5
5
|
# recls library.
|
6
6
|
#
|
7
7
|
# Created: 16th February 2014
|
8
|
-
# Updated:
|
8
|
+
# Updated: 6th April 2021
|
9
9
|
#
|
10
10
|
# Author: Matthew Wilson
|
11
11
|
#
|
12
|
+
# Copyright (c) 2019-2021, Matthew Wilson and Synesis Information Systems
|
12
13
|
# Copyright (c) 2012-2019, Matthew Wilson and Synesis Software
|
13
14
|
# All rights reserved.
|
14
15
|
#
|
@@ -49,7 +50,7 @@ module Recls # :nodoc:
|
|
49
50
|
module OS # :nodoc: all
|
50
51
|
|
51
52
|
# @!visibility private
|
52
|
-
OS_IS_WINDOWS = (RUBY_PLATFORM =~ /(
|
53
|
+
OS_IS_WINDOWS = (RUBY_PLATFORM =~ /(bccwin|cygwin|mingw|mswin|wince)/i) ? true : false
|
53
54
|
|
54
55
|
# @!visibility private
|
55
56
|
PATH_NAME_SEPARATOR = OS_IS_WINDOWS ? '\\' : '/'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: recls-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Wilson
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-04-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: xqsr3
|
@@ -24,8 +24,9 @@ dependencies:
|
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0.31'
|
27
|
-
description:
|
28
|
-
|
27
|
+
description: 'RECursive LS for Ruby
|
28
|
+
|
29
|
+
'
|
29
30
|
email: matthew@synesis.com.au
|
30
31
|
executables: []
|
31
32
|
extensions: []
|
@@ -82,7 +83,7 @@ homepage: http://github.com/synesissoftware/recls.Ruby
|
|
82
83
|
licenses:
|
83
84
|
- BSD-3-Clause
|
84
85
|
metadata: {}
|
85
|
-
post_install_message:
|
86
|
+
post_install_message:
|
86
87
|
rdoc_options: []
|
87
88
|
require_paths:
|
88
89
|
- lib
|
@@ -97,9 +98,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
97
98
|
- !ruby/object:Gem::Version
|
98
99
|
version: '0'
|
99
100
|
requirements: []
|
100
|
-
|
101
|
-
|
102
|
-
signing_key:
|
101
|
+
rubygems_version: 3.1.4
|
102
|
+
signing_key:
|
103
103
|
specification_version: 4
|
104
104
|
summary: recls.Ruby
|
105
105
|
test_files: []
|