litestream 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/litestream/commands.rb +6 -1
- data/lib/litestream/version.rb +1 -1
- 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: 8879b22153e57c77a9f076ca48c05826029f05695cb4312c1b23628ac8227745
|
4
|
+
data.tar.gz: bdf497fc5db0593e229d7dd3442b9fe6bd787aa3e91561c0c0f0858a7e47da18
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ba0bcb02c5fbaa65489f3064769e49af0b46f16c86d1db0e22df73f811b70725cb645accb19830fd52ea28284d1e966de8929a568418ba00b6234a7d8daf59a4
|
7
|
+
data.tar.gz: 2e9c35ebf0c6182c177f65a244bc52ea033d2b1bbc34ee81eb96927c1996bc4650fa4416d0384f9e94d22f320a443ae3fc0da11cd14ec8499c7e97c24d662cce
|
data/lib/litestream/commands.rb
CHANGED
@@ -86,7 +86,12 @@ module Litestream
|
|
86
86
|
|
87
87
|
command = [executable, "replicate", *args]
|
88
88
|
puts command.inspect
|
89
|
-
|
89
|
+
|
90
|
+
# To release the resources of the Ruby process, just fork and exit.
|
91
|
+
# The forked process executes litestream and replaces itself.
|
92
|
+
if fork.nil?
|
93
|
+
exec(*command)
|
94
|
+
end
|
90
95
|
end
|
91
96
|
end
|
92
97
|
end
|
data/lib/litestream/version.rb
CHANGED
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.3.
|
4
|
+
version: 0.3.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-
|
11
|
+
date: 2024-02-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubyzip
|