litestream 0.10.0-arm64-linux → 0.10.1-arm64-linux

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: 1c1540b3b1c466370f532f1c33f95ce27b5d346b3349d4f1aa906e1f2f6412e1
4
- data.tar.gz: d10d85083fc5daaf875013e83cd455f5efef913d7716f17a4975ff615623990c
3
+ metadata.gz: 075d7c38a9b7bc6c89a30d35c2d43cd9f715b5cc4c530ff9fa33fe6e32e81cd9
4
+ data.tar.gz: 9ae27b5256f659d4e408983babe271f360f6878fcd950bc9ad92772c22820f52
5
5
  SHA512:
6
- metadata.gz: c695977afcada2e0731a8eca9d4fc933f11b9b3a80959cd7e340edf7298e3dcbeeb35e46e914206f3b4f4f2e2396ec2877e19a67af28493727596da0b5493162
7
- data.tar.gz: 6e2dbacc211c01f4b8d35a0469e46af303bdd06c40a77a9678093e2ec2f28fb92963cddb3f7fc98043857c0e9f33124a18f03309294a7d44bede149de982acb7
6
+ metadata.gz: 56ed1f6a402f05ab6f4756aea106084d94bded335b6581055d7d3c411951527f02d9d1cc6911a889737413a9ef495f1837076edd4a1ade42ae5015dff6a2b4ef
7
+ data.tar.gz: 31fc473b5bacb124e9f9fe4a18158ba695d0e5ba5f77a6f7532466f1c50203a544d532adae6e23ff8384f6a99a0619d7e1c9d5e95bacdfa6851bd3c10d62edd5
@@ -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-linux
6
6
  authors:
7
7
  - Stephen Margheim