litestream 0.10.0-x86_64-darwin → 0.10.1-x86_64-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: 40caaac876c83fb253b5be358ee51822a27788fd789531f058c6945014716726
4
- data.tar.gz: 49650381680cb1f359c5945e1b7d9b38dca95cfdd446fad0a0534a357ea7686d
3
+ metadata.gz: 37fd7024ba49aa32e9cabe581ecd1c07e331d772a29d3ff279cdd9013e73a1e8
4
+ data.tar.gz: '05593724c96a1c44dfb21388cad95ada4dcca6a2b4e8eb1d8f8f2de95e22e807'
5
5
  SHA512:
6
- metadata.gz: 53bddbe69e324e5bf376192578b4a34d9e0a7780e8cb08692e06e0419bd7bded4058597f51a1fc8e8d4909d3f57bf11e3fb1a2d25c025823a21520b0522b2196
7
- data.tar.gz: a0a1392997dd3f2aa69a6a7805b7838f1b87e84b7e23bdc1ccf5c84a689b5da66e327ff7a0126502ec7a3db9fb9746f5c31db8b0a3796472f5ae916039f67b32
6
+ metadata.gz: b234eb976dd92b197e03ab26ac46824781f799aca1de20437012672c655c84584fe61083c3730eb1bda13e4ba90b13154d20cb7ec8491a5da4cbbb4556a418ae
7
+ data.tar.gz: '0581ca12552a8a75239fbae033faead1dafdf205837a58a80779bb56389374816b0a5c9ee6aadcb67761ad23cb509fe95fc51ff6a8aca2977fd8d8eb7d9eb797'
@@ -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-darwin
6
6
  authors:
7
7
  - Stephen Margheim