clonefile 0.5.2 → 0.5.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/clonefile.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 74154844480c4ed6edd03c45edaeb62ce07f02b91d2c71f3b6b9c0decf40f5b7
4
- data.tar.gz: b819240d3729bcf476e1e6edb8f631ec5ee64bf497979d251a717a5ac9a28d86
3
+ metadata.gz: 0741c2679bfdb55e5e48822ef998222300f5f74303aa2fcd91c5480f1bee1ca0
4
+ data.tar.gz: 70d041dfb34857aefd36ccc97138ca32ec0412b9c28bfa560d3ae787ffec565f
5
5
  SHA512:
6
- metadata.gz: 27f37f98b4f068aeda64fa65f4a6a7404fb283f515f4938e06992a1137926ce1e05a4b88b61a0147a5e090948d33c7c935143068ceb93c209c94be8d43f518d5
7
- data.tar.gz: f37e5a127e00366b9f38d3ee0aeb2d0c7fe29d8ca99b53a835fb4c8304597e9fa17d7d5f3bb0bd20cf4f5572b275258c32a1a29332fbb780e93ba3c51cd594b2
6
+ metadata.gz: 10ca0bbbd98d636d676a7bd1f4afbed808326baa54c9f6aad0d1faab7a9461a9fc6f8d8a26f7c880baa9d9b75a361631c9bd45bbdf93451afe1a2488313eab47
7
+ data.tar.gz: 69694f1c39ece9e7ff3a5acffdbcca803dd4087f31d5fbb4f7af88e318add47f897f525504a6b2a59794cb08ab055e0dcbaf842cffcf8ef8ac86433a2304a16a
@@ -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.2
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-10-25 00:00:00.000000000 Z
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.