litestream 0.5.2-x86_64-darwin → 0.5.3-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: c55fbcde021d0788b2657e3204b9be3242b16bb6967f3f64ad0253d9dfb5ce5b
4
- data.tar.gz: 3662fb2ad383c10c52d8977c90466fb27eeafaec040f49af2f0c202b76486430
3
+ metadata.gz: bf7709fa08c6bf64f0e4c0e128474892b89663de7176c4fcbfd1b70ce8ff102c
4
+ data.tar.gz: 307f121c14f61caf5efb1f5e00bf304fac893822c3f78147341a226e87cabdf8
5
5
  SHA512:
6
- metadata.gz: 93240823fa00f5fb1e613879d33ff1e102987e4c7fec6a83767e77c9bd420aa480785c3cd535470e5b4edb8bc55f369bef30bbaa01da4f2503093995d3f2c75f
7
- data.tar.gz: d77a0e2ead82d599690d05787b84a6a26eb4fe64b9fee74554dcdf10bbe20881304e2a415cae85b77b2cb4c8335fef9131580c4f55ea154104750d12099e1422
6
+ metadata.gz: a2ca72f22133c5a7f4bc7a502ce8c6331d94622278bd08e56ba8ffc14fe922e5b06f8b6caafa9bd55800775dc25b54b5e8599851d5f46673557482cbff73a9ee
7
+ data.tar.gz: 05ed3fed55cfcf5e849c15091f050a57c24e0c0556131aa474ed9427aca703591897b0146f7f9cd35c841401ac699014e4b9b97a6323f6af0e816ec827cab44b
@@ -1,3 +1,3 @@
1
1
  module Litestream
2
- VERSION = "0.5.2"
2
+ VERSION = "0.5.3"
3
3
  end
@@ -22,7 +22,7 @@ namespace :litestream do
22
22
  .each { |opt| options[opt[0]] = opt[1] || nil }
23
23
  end
24
24
 
25
- Litestream::Commands.replicate(options)
25
+ Litestream::Commands.replicate(**options)
26
26
  end
27
27
 
28
28
  desc "Restore a SQLite database from a Litestream replica, e.g. rake litestream:restore -- -database=storage/production.sqlite3"
@@ -34,7 +34,7 @@ namespace :litestream do
34
34
  .each { |opt| options[opt[0]] = opt[1] || nil }
35
35
  end
36
36
 
37
- Litestream::Commands.restore(options.delete("--database") || options.delete("-database"), options)
37
+ Litestream::Commands.restore(options.delete("--database") || options.delete("-database"), **options)
38
38
  end
39
39
 
40
40
  desc "List all databases and associated replicas in the config file, e.g. rake litestream:databases -- -no-expand-env"
@@ -46,7 +46,7 @@ namespace :litestream do
46
46
  .each { |opt| options[opt[0]] = opt[1] || nil }
47
47
  end
48
48
 
49
- Litestream::Commands.databases(options)
49
+ Litestream::Commands.databases(**options)
50
50
  end
51
51
 
52
52
  desc "List all generations for a database or replica, e.g. rake litestream:generations -- -database=storage/production.sqlite3"
@@ -58,7 +58,7 @@ namespace :litestream do
58
58
  .each { |opt| options[opt[0]] = opt[1] || nil }
59
59
  end
60
60
 
61
- Litestream::Commands.generations(options.delete("--database") || options.delete("-database"), options)
61
+ Litestream::Commands.generations(options.delete("--database") || options.delete("-database"), **options)
62
62
  end
63
63
 
64
64
  desc "List all snapshots for a database or replica, e.g. rake litestream:snapshots -- -database=storage/production.sqlite3"
@@ -70,7 +70,7 @@ namespace :litestream do
70
70
  .each { |opt| options[opt[0]] = opt[1] || nil }
71
71
  end
72
72
 
73
- Litestream::Commands.snapshots(options.delete("--database") || options.delete("-database"), options)
73
+ Litestream::Commands.snapshots(options.delete("--database") || options.delete("-database"), **options)
74
74
  end
75
75
 
76
76
  desc "verify backup of SQLite database from a Litestream replica, e.g. rake litestream:verify -- -database=storage/production.sqlite3"
@@ -82,7 +82,7 @@ namespace :litestream do
82
82
  .each { |opt| options[opt[0]] = opt[1] || nil }
83
83
  end
84
84
 
85
- result = Litestream::Commands.verify(options.delete("--database") || options.delete("-database"), options)
85
+ result = Litestream::Commands.verify(options.delete("--database") || options.delete("-database"), **options)
86
86
 
87
87
  puts <<~TXT if result
88
88
 
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.5.2
4
+ version: 0.5.3
5
5
  platform: x86_64-darwin
6
6
  authors:
7
7
  - Stephen Margheim