litestream 0.10.4 → 0.10.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/litestream/version.rb +1 -1
- data/lib/litestream.rb +4 -4
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83266feaf552f42e5ee9fc049401c7961c53238e7c1f838351446a63c0da045f
|
4
|
+
data.tar.gz: 1a3d3d72875c9a9251ada34b329114dfa921b16ed9876d2c0da98b3bfdcfebc4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 203cdb883f7b3e1dc79e7d98a3fd51ff27e7e2f17ba166dd043119127aa0963bd9af9d29e22c18f91c1864089327a06b33c89754fa64f895b54e4baa3071e055
|
7
|
+
data.tar.gz: 23a720a1265fd18a399e2a60a60796610ea14ec09d2c0a227eb71a1889b105fcf3b98627e676489c7f2036797b3a2ff075a5aad4a13c6c5232a93e11a4ff2850
|
data/lib/litestream/version.rb
CHANGED
data/lib/litestream.rb
CHANGED
@@ -82,11 +82,11 @@ module Litestream
|
|
82
82
|
pid, _name = value.strip.split(" ")
|
83
83
|
info[:pid] = pid
|
84
84
|
elsif line.start_with?("Active:")
|
85
|
-
|
86
|
-
value, _ago = value.split(";")
|
85
|
+
value, _ago = line.split(";")
|
87
86
|
status, timestamp = value.split(" since ")
|
88
|
-
info[:started] = DateTime.strptime(timestamp.strip, "%Y-%m-%d %H:%M:%S %Z")
|
89
|
-
|
87
|
+
info[:started] = DateTime.strptime(timestamp.strip, "%a %Y-%m-%d %H:%M:%S %Z")
|
88
|
+
status_match = status.match(%r{\((?<status>.*)\)})
|
89
|
+
info[:status] = status_match ? status_match[:status] : nil
|
90
90
|
end
|
91
91
|
end
|
92
92
|
else
|
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.5
|
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-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: logfmt
|
@@ -132,7 +132,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
132
132
|
- !ruby/object:Gem::Version
|
133
133
|
version: '0'
|
134
134
|
requirements: []
|
135
|
-
rubygems_version: 3.5.
|
135
|
+
rubygems_version: 3.5.17
|
136
136
|
signing_key:
|
137
137
|
specification_version: 4
|
138
138
|
summary: Integrate Litestream with the RubyGems infrastructure.
|