clonefile 0.5.2 → 0.5.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/clonefile.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0741c2679bfdb55e5e48822ef998222300f5f74303aa2fcd91c5480f1bee1ca0
|
4
|
+
data.tar.gz: 70d041dfb34857aefd36ccc97138ca32ec0412b9c28bfa560d3ae787ffec565f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10ca0bbbd98d636d676a7bd1f4afbed808326baa54c9f6aad0d1faab7a9461a9fc6f8d8a26f7c880baa9d9b75a361631c9bd45bbdf93451afe1a2488313eab47
|
7
|
+
data.tar.gz: 69694f1c39ece9e7ff3a5acffdbcca803dd4087f31d5fbb4f7af88e318add47f897f525504a6b2a59794cb08ab055e0dcbaf842cffcf8ef8ac86433a2304a16a
|
data/lib/clonefile.rb
CHANGED
@@ -31,7 +31,7 @@ module Clonefile
|
|
31
31
|
# Clones src to dest path. Falls back to a regular copy if unsupported.
|
32
32
|
def self.auto(src, dest)
|
33
33
|
always(src, dest)
|
34
|
-
rescue UnsupportedPlatform, Errno::ENOTSUP, Errno::EXDEV
|
34
|
+
rescue UnsupportedPlatform, Errno::EINVAL, Errno::ENOTSUP, Errno::EXDEV
|
35
35
|
FileUtils.cp(src, dest)
|
36
36
|
end
|
37
37
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: clonefile
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Daniel Aleksandersen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Copy files using reflink/cloned extents on supported file systems. Supports
|
14
14
|
Linux and macOS.
|