litestream 0.5.2-arm64-darwin → 0.5.3-arm64-darwin
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/litestream/version.rb +1 -1
- data/lib/tasks/litestream_tasks.rake +6 -6
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e62818c3cd5758ff7ff63831ff5e9196ba6734cd8bdbbbf828b1593dce48ac6
|
4
|
+
data.tar.gz: f0fc37c1a8f1723b880500307ba0b1ec79f620971be1dc7eadd888e5787ec247
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b8bb348df79657ff336e98733185ee7cc9dab56957890a27eb0fe257b6bf6b09300fa40f9264c384277a63310e3f91dc53990df190da719303d91b7ab92b2ab
|
7
|
+
data.tar.gz: c97a8ac25384e8993733bfd9abfd6b9b6658bfaa35fb0aaf081eda3473c7a2425ac9c35f6aae56d0c2a3afad58d3526a0321246b1f9f2dfa49d5c804b301f612
|
data/lib/litestream/version.rb
CHANGED
@@ -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
|
|