litestream 0.7.0-x86_64-linux → 0.7.2-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/commands.rb +2 -1
- data/lib/litestream/version.rb +1 -1
- 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: 3fc80c60f00f49af0aa809eb1105a801c456e4ce7a1c025fb52b006316a86fc5
|
4
|
+
data.tar.gz: 15745f36c2e10d154e109763de84098285eeb4d2c5b4c8464b171eb597510817
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf8212c25a33f8c0b6d0724384409991fa94822be7b4054c62bc790d4cbf4755e347e4f253b01865d02e9016c4290cbdcf608299f0f62b927b232e3ffeb17a3d
|
7
|
+
data.tar.gz: 55f6ec8f7c9f1c5071533fd47a207011a0a2d18bc8361de85e1249acef07b7e19b1d0c6bea86b2c1a86a1768fcfffec82458ef7d24602fcaf83774793385a7a2
|
data/lib/litestream/commands.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require_relative "upstream"
|
2
|
+
require "logfmt"
|
2
3
|
|
3
4
|
module Litestream
|
4
5
|
module Commands
|
@@ -165,7 +166,7 @@ module Litestream
|
|
165
166
|
# The forked process executes litestream and replaces itself.
|
166
167
|
exec(*cmd) if fork.nil?
|
167
168
|
else
|
168
|
-
stdout = `#{cmd.join(" ")}`.
|
169
|
+
stdout = `#{cmd.join(" ")}`.chomp
|
169
170
|
tabled_output ? text_table_to_hashes(stdout) : stdout.split("\n").map { Logfmt.parse(_1) }
|
170
171
|
end
|
171
172
|
end
|
data/lib/litestream/version.rb
CHANGED