litestream 0.10.0-x86_64-linux → 0.10.1-x86_64-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: d28eb9182123ef597af66d62952888a967c7d5cc836067a2877ff0670725750f
4
- data.tar.gz: f8d60daa348b7c9ee2670b3f4ab51859a4bbcda34e327b05408748e16f54ba47
3
+ metadata.gz: feb8967ef21cccf76f855e07d5f2e09508b3ff7e9188c7c96ec08b51263d76a6
4
+ data.tar.gz: 716742d9bd981b9641b1ee79002196b32d318b565dec1695c20564cb8de621f9
5
5
  SHA512:
6
- metadata.gz: b7f5bfb6d9a02d87b6aa508219c99616a57377806801512dc015c0a5e316d30456519674ca4a6884c112a028123b1a2a3c9fd097043d63d25678c4fb8c3d7ae2
7
- data.tar.gz: 48da27380d5809fc116e188458c4848c53480dff9781709d42853b2372c52904c069c813fd3666cd804ea3a944eeaaabd0799eace6fbc74700791125d97b7519
6
+ metadata.gz: f86209f00eab67b147b5a23679d7db4fa4e6591766a6d040a3c216160579cd3d3b358a759bb25084ff5525f951b28169c067a28ad3b83b12787986e0e74c0215
7
+ data.tar.gz: 8d3567f8ee2f9251b3f1a194cbbcd6a3b6cf18cd69e0a5c6ef8dfd47d85fbbf8b05a73141e3b653f1d136e5472f20df37e36833f66d772251ed5ed34f471ddee
@@ -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: x86_64-linux
6
6
  authors:
7
7
  - Stephen Margheim