litestream 0.5.2-x86_64-linux → 0.5.3-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: ccea9e21b3993f9c0a17f445f846f9350171e9fcbfb2b0ea42eba6d0c95664ee
4
- data.tar.gz: 69e91aac51c468323076b65d703a04c2d36a51e98eef5c095114162590cda6c3
3
+ metadata.gz: 0e836c8be13192e79f4e5d6fe7704641daf239cf8416dc34e99f85284cb86b88
4
+ data.tar.gz: 1765791fe16646712f89d8a60d7a0315d30d5cd0ca7987a0ba6115bdb4e7466c
5
5
  SHA512:
6
- metadata.gz: 603c8db49491eb9cd8bca3f7743197cad6d364fbb00c3c5d09ea3d9a436055aaad62450cfc2e7a3c36e84b16cee6f0b4a38aaadc6e711e8782a6624f12b7900f
7
- data.tar.gz: 5aeecfcaf5a5cd7bdb5dcfdd3cde30a6503970748d157f3b16a0606efe1771b7a63416cc8ab8615f57bb72137a3e63843c4755c087fcb08b50875fec466c065f
6
+ metadata.gz: e69e1e3afc9f9f58a4a29c6d84075825266153cbb384c4e56f4574c629833094f59e3bb6ff9e2ef960603ad7cb5a31d0cfc7cb06e2b05c7fbbf59499d4c5465f
7
+ data.tar.gz: 5f0faf6bb837c2acce153d6529905c76c7e24d3e970ee42d4432fd5a0f714e2bf400b61e5895798bd01403592390fbefd7ba320e10d5ec99bd9ce0db43f973f8
@@ -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-linux
6
6
  authors:
7
7
  - Stephen Margheim