sys-filesystem 1.5.4 → 1.5.5
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
- checksums.yaml.gz.sig +0 -0
- data/CHANGES.md +6 -0
- data/Rakefile +1 -1
- data/lib/sys/filesystem.rb +1 -1
- data/lib/sys/unix/sys/filesystem.rb +2 -2
- data/lib/sys/windows/sys/filesystem.rb +12 -12
- data/spec/sys_filesystem_shared.rb +1 -1
- data/sys-filesystem.gemspec +1 -1
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bff196a377aeaf2d5983fd6e15877a990c73e3fea18b6b94d7bc6a751d331419
|
|
4
|
+
data.tar.gz: 743b5452bd13840a977045a29a338b9240cfaa9eb0878385dcab66e9384c7335
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 77443aaa680057b9e055a2c570a3fcbd8025f32ebc266d3b6628d775a5a4d5b9cc3dbaadf99d4ba584f8f5badb9ae8665ca9e557403c05efc28dd4358be94f18
|
|
7
|
+
data.tar.gz: b11463a784178cca2068211aa342de4b2e3c65acac6830bdea67b6793214f0f2b9ba0c5dda53a274837d7822201d2d90c89ba92d69dab6d7bf003d6c7fb2a15e
|
checksums.yaml.gz.sig
CHANGED
|
Binary file
|
data/CHANGES.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
## 1.5.5 - 6-Dec-2025
|
|
2
|
+
* Replaced string concatenation operators with addition assignment operators
|
|
3
|
+
since the current code generates a frozen string warning with Ruby 3.4 and
|
|
4
|
+
later.
|
|
5
|
+
* Updated Rakefile to run specs with warnings enabled.
|
|
6
|
+
|
|
1
7
|
## 1.5.4 - 7-Sep-2025
|
|
2
8
|
* Added a fallback check for 64-bit Linux in case the config info doesn't
|
|
3
9
|
include "64" anywhere in it. Thanks go to Chris Hofstaedtler for the
|
data/Rakefile
CHANGED
data/lib/sys/filesystem.rb
CHANGED
|
@@ -16,7 +16,7 @@ module Sys
|
|
|
16
16
|
# return objects of other types. Do not instantiate.
|
|
17
17
|
class Filesystem
|
|
18
18
|
# The version of the sys-filesystem library
|
|
19
|
-
VERSION = '1.5.
|
|
19
|
+
VERSION = '1.5.5'
|
|
20
20
|
|
|
21
21
|
# Stat objects are returned by the Sys::Filesystem.stat method. Here
|
|
22
22
|
# we're adding universal methods.
|
|
@@ -427,18 +427,18 @@ module Sys
|
|
|
427
427
|
#
|
|
428
428
|
def self.get_options(flags)
|
|
429
429
|
str = ''
|
|
430
|
-
str
|
|
431
|
-
str
|
|
432
|
-
str
|
|
433
|
-
str
|
|
434
|
-
str
|
|
435
|
-
str
|
|
436
|
-
str
|
|
437
|
-
str
|
|
438
|
-
str
|
|
439
|
-
str
|
|
440
|
-
str
|
|
441
|
-
str
|
|
430
|
+
str += ' casepres' if CASE_PRESERVED_NAMES & flags > 0
|
|
431
|
+
str += ' casesens' if CASE_SENSITIVE_SEARCH & flags > 0
|
|
432
|
+
str += ' compression' if FILE_COMPRESSION & flags > 0
|
|
433
|
+
str += ' namedstreams' if NAMED_STREAMS & flags > 0
|
|
434
|
+
str += ' pacls' if PERSISTENT_ACLS & flags > 0
|
|
435
|
+
str += ' ro' if READ_ONLY_VOLUME & flags > 0
|
|
436
|
+
str += ' encryption' if SUPPORTS_ENCRYPTION & flags > 0
|
|
437
|
+
str += ' objids' if SUPPORTS_OBJECT_IDS & flags > 0
|
|
438
|
+
str += ' rpoints' if SUPPORTS_REPARSE_POINTS & flags > 0
|
|
439
|
+
str += ' sparse' if SUPPORTS_SPARSE_FILES & flags > 0
|
|
440
|
+
str += ' unicode' if UNICODE_ON_DISK & flags > 0
|
|
441
|
+
str += ' compressed' if VOLUME_IS_COMPRESSED & flags > 0
|
|
442
442
|
|
|
443
443
|
str.tr!(' ', ',')
|
|
444
444
|
str[1..-1] # Ignore the first comma
|
|
@@ -4,7 +4,7 @@ require 'sys-filesystem'
|
|
|
4
4
|
|
|
5
5
|
RSpec.shared_examples Sys::Filesystem do
|
|
6
6
|
example 'version number is set to the expected value' do
|
|
7
|
-
expect(Sys::Filesystem::VERSION).to eq('1.5.
|
|
7
|
+
expect(Sys::Filesystem::VERSION).to eq('1.5.5')
|
|
8
8
|
expect(Sys::Filesystem::VERSION).to be_frozen
|
|
9
9
|
end
|
|
10
10
|
|
data/sys-filesystem.gemspec
CHANGED
|
@@ -2,7 +2,7 @@ require 'rubygems'
|
|
|
2
2
|
|
|
3
3
|
Gem::Specification.new do |spec|
|
|
4
4
|
spec.name = 'sys-filesystem'
|
|
5
|
-
spec.version = '1.5.
|
|
5
|
+
spec.version = '1.5.5'
|
|
6
6
|
spec.author = 'Daniel J. Berger'
|
|
7
7
|
spec.email = 'djberg96@gmail.com'
|
|
8
8
|
spec.homepage = 'https://github.com/djberg96/sys-filesystem'
|
data.tar.gz.sig
CHANGED
|
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
|
Binary file
|