litestream 0.10.0-arm64-darwin → 0.10.1-arm64-darwin

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 15a1ea585a0e1ae9ca1147f6ebd7295b45eb541ba3c970a6e14d2a964e5ee981
4
- data.tar.gz: 79082c5d185a269c0e4936378f3a8130bea49b678aa25f41e322c5e8c24ce283
3
+ metadata.gz: 5f2caa2b2e63963632a7ec3570b59a7a84279a2e0ad57ea7a6db2f8c3ebac9d6
4
+ data.tar.gz: 94fbda64410547a7f2a3db2322b82da726d6f8371b0af60e327491e6fd6ecf80
5
5
  SHA512:
6
- metadata.gz: c262dfc0ef8795256ff240d955d547a1461a26a9b2aaef1cfb6b84a231a96ca7c403f3c674129fe5629fba6ec2a03173383ca590865f0ce3c85c0e2058ccaec0
7
- data.tar.gz: b6603ee285fa3eaeb7b17cbd9ae0a156d7e31e96d6cfa580cf99389cdbac578ab06510596c41ca44f1426c3d403ced1c392d8d76a38cc1e6a397da4386d2efae
6
+ metadata.gz: 360bd7fcce7fd80fad68d9d919c296179387fa256ef6053a0fde73a79268794412be9ce9173aa59e71a9a7aca55a90a7a28ac7ff212dc30e7c037dee9fb1b108
7
+ data.tar.gz: c69677583387ba5f317e78ffac77e4ed2395794bc0d15e356b64993a48e293c417b2c73fc52623262775c60fd67bf42cbc310b8aebde9780725e20ebdad75ee8
@@ -1,3 +1,3 @@
1
1
  module Litestream
2
- VERSION = "0.10.0"
2
+ VERSION = "0.10.1"
3
3
  end
data/lib/litestream.rb CHANGED
@@ -39,7 +39,9 @@ module Litestream
39
39
  backup = SQLite3::Database.new(backup_path)
40
40
  result = backup.execute("SELECT 1 FROM _litestream_verification WHERE uuid = ? LIMIT 1", sentinel) # => [[1]] || []
41
41
 
42
- raise VerificationFailure, "Verification failed, sentinel not found" if result.empty?
42
+ raise VerificationFailure, "Verification failed for `#{database_path}`" if result.empty?
43
+
44
+ true
43
45
  ensure
44
46
  database.execute("DELETE FROM _litestream_verification WHERE uuid = ?", sentinel)
45
47
  database.close
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: litestream
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.0
4
+ version: 0.10.1
5
5
  platform: arm64-darwin
6
6
  authors:
7
7
  - Stephen Margheim