litestream 0.10.1 → 0.10.3

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: 964c3fcea1be5dd4dfe4b68dd5bc1a6b8f135ac6ee3ca16af271d3559c40affb
4
- data.tar.gz: 04c70a8fb6f2a589488de56ee7642f2ba31c5481c2faf819649e291144bd20f3
3
+ metadata.gz: 7294cace2c095254fe759c93688c671996d2b60f008d1f87c9a0558406c90454
4
+ data.tar.gz: a52bc310aab3741b283527f0eafe6847c47fba22519484abc12dd95acefcf70b
5
5
  SHA512:
6
- metadata.gz: 39dbb0644cd15c5b7529a5b6933f36c845b2a4213ac55eb9f01ae44f9a5f1404b12ef82c0d39e109a7f75fe9f68f03b60934dc074285aa1dc50934e0f5eb7569
7
- data.tar.gz: c12dc7b1556fe564ea3ef81204f38d1adb3895e7c5349563f8e3465e03cf5ffff9763a0c531492ef6bf06f3ba7cfafbac070a5e69b88f35681c121b41dd20766
6
+ metadata.gz: e116df43fa38461ae5c1923d2ef646483e1f7ab6f0b6caa4afb523bcd0a1697fbbaef642d7546fc9b4c82a1001361bab8c86ce79504e9678bde956efcfa45a20
7
+ data.tar.gz: fa9bacd2d912ec0be627120a17eda6179eae5e5a16b9d3e45a8c1fb5dcd0bd7161c2cbfcc9f323952c95296eef13505f464c6e57fa0cf4e7bc95e1b43c2452fd
@@ -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)
@@ -1,3 +1,3 @@
1
1
  module Litestream
2
- VERSION = "0.10.1"
2
+ VERSION = "0.10.3"
3
3
  end
@@ -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, e.g. rake litestream:replicate -- -exec "foreman start"'
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, e.g. rake litestream:restore -- -database=storage/production.sqlite3"
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, e.g. rake litestream:databases -- -no-expand-env"
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, e.g. rake litestream:generations -- -database=storage/production.sqlite3"
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, e.g. rake litestream:snapshots -- -database=storage/production.sqlite3"
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.1
4
+ version: 0.10.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Margheim
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-05-05 00:00:00.000000000 Z
11
+ date: 2024-06-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logfmt