litestream 0.10.1-x86_64-linux → 0.10.3-x86_64-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/litestream/engine.rb +0 -5
- data/lib/litestream/version.rb +1 -1
- data/lib/tasks/litestream_tasks.rake +5 -5
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9c48b537579f2c03ac7560e550e08d71d02b88d75fa2771ee2bca139346dc39
|
4
|
+
data.tar.gz: fd5cac76294420971c876f82089ac0bbcb0130e4ddc75750abe8b5820df6ea40
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0d206e07103ae6310b7505bf8bdedeb5e804fcb28eb7cc20a23189dfef676f94c60beac7397f0323d304443cec4114c65809394c6b032058d9a3d12380f201f
|
7
|
+
data.tar.gz: 535da2a8c06e3b972ad04f1983c0e0e71d5ca95c8f4da945d052139ed0018bda30a6a8be34bb642ca169ceb0806efd40c555ff4e52d3dfb923a86bd9c3a258a2
|
data/lib/litestream/engine.rb
CHANGED
@@ -13,11 +13,6 @@ module Litestream
|
|
13
13
|
require_relative "generators/litestream/install_generator"
|
14
14
|
end
|
15
15
|
|
16
|
-
# Load the `litestream:*` Rake task into the host Rails app
|
17
|
-
rake_tasks do
|
18
|
-
load "tasks/litestream_tasks.rake"
|
19
|
-
end
|
20
|
-
|
21
16
|
initializer "litestream.config" do
|
22
17
|
config.litestream.each do |name, value|
|
23
18
|
Litestream.public_send(:"#{name}=", value)
|
data/lib/litestream/version.rb
CHANGED
@@ -13,7 +13,7 @@ namespace :litestream do
|
|
13
13
|
true
|
14
14
|
end
|
15
15
|
|
16
|
-
desc 'Monitor and continuously replicate SQLite databases defined in your config file,
|
16
|
+
desc 'Monitor and continuously replicate SQLite databases defined in your config file, for example `rake litestream:replicate -- -exec "foreman start"`'
|
17
17
|
task replicate: :environment do
|
18
18
|
options = {}
|
19
19
|
if (separator_index = ARGV.index("--"))
|
@@ -26,7 +26,7 @@ namespace :litestream do
|
|
26
26
|
Litestream::Commands.replicate(async: true, **options)
|
27
27
|
end
|
28
28
|
|
29
|
-
desc "Restore a SQLite database from a Litestream replica,
|
29
|
+
desc "Restore a SQLite database from a Litestream replica, for example `rake litestream:restore -- -database=storage/production.sqlite3`"
|
30
30
|
task restore: :environment do
|
31
31
|
options = {}
|
32
32
|
if (separator_index = ARGV.index("--"))
|
@@ -40,7 +40,7 @@ namespace :litestream do
|
|
40
40
|
Litestream::Commands.restore(database, async: true, **options)
|
41
41
|
end
|
42
42
|
|
43
|
-
desc "List all databases and associated replicas in the config file,
|
43
|
+
desc "List all databases and associated replicas in the config file, for example `rake litestream:databases -- -no-expand-env`"
|
44
44
|
task databases: :environment do
|
45
45
|
options = {}
|
46
46
|
if (separator_index = ARGV.index("--"))
|
@@ -53,7 +53,7 @@ namespace :litestream do
|
|
53
53
|
Litestream::Commands.databases(async: true, **options)
|
54
54
|
end
|
55
55
|
|
56
|
-
desc "List all generations for a database or replica,
|
56
|
+
desc "List all generations for a database or replica, for example `rake litestream:generations -- -database=storage/production.sqlite3`"
|
57
57
|
task generations: :environment do
|
58
58
|
options = {}
|
59
59
|
if (separator_index = ARGV.index("--"))
|
@@ -67,7 +67,7 @@ namespace :litestream do
|
|
67
67
|
Litestream::Commands.generations(database, async: true, **options)
|
68
68
|
end
|
69
69
|
|
70
|
-
desc "List all snapshots for a database or replica,
|
70
|
+
desc "List all snapshots for a database or replica, for example `rake litestream:snapshots -- -database=storage/production.sqlite3`"
|
71
71
|
task snapshots: :environment do
|
72
72
|
options = {}
|
73
73
|
if (separator_index = ARGV.index("--"))
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: litestream
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.10.
|
4
|
+
version: 0.10.3
|
5
5
|
platform: x86_64-linux
|
6
6
|
authors:
|
7
7
|
- Stephen Margheim
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-06-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logfmt
|