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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0f258761331d8d31a676947be30d7238e156753598f22675e354c9a30f76c2ad
4
- data.tar.gz: 85ba82f6d006a45014db99ea33b20d1e5a1e3e0e8c68bfa96df30c3caaa5c22d
3
+ metadata.gz: 8879b22153e57c77a9f076ca48c05826029f05695cb4312c1b23628ac8227745
4
+ data.tar.gz: bdf497fc5db0593e229d7dd3442b9fe6bd787aa3e91561c0c0f0858a7e47da18
5
5
  SHA512:
6
- metadata.gz: 377ae9660470f5a65376b6b2f0f75ef143c4d1a01c4c99eaa15b7e5b7eac101e45f50f1b6ee41ea0eaa7f1537c1cc6fe1f84e07aaf17f5096135733f72a5aa0a
7
- data.tar.gz: e93cdf8397d7285728ae8d04bd93bbc06b567ce061a340ed7b393b14a30e9119803e2182e79b7f5530b5e17efae488a57da92c840e4683c69f955cbf35d4d6b5
6
+ metadata.gz: ba0bcb02c5fbaa65489f3064769e49af0b46f16c86d1db0e22df73f811b70725cb645accb19830fd52ea28284d1e966de8929a568418ba00b6234a7d8daf59a4
7
+ data.tar.gz: 2e9c35ebf0c6182c177f65a244bc52ea033d2b1bbc34ee81eb96927c1996bc4650fa4416d0384f9e94d22f320a443ae3fc0da11cd14ec8499c7e97c24d662cce
@@ -86,7 +86,12 @@ module Litestream
86
86
 
87
87
  command = [executable, "replicate", *args]
88
88
  puts command.inspect
89
- system(*command)
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
@@ -1,3 +1,3 @@
1
1
  module Litestream
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
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.2
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-01-23 00:00:00.000000000 Z
11
+ date: 2024-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubyzip