litestream 0.10.4-arm64-darwin → 0.10.5-arm64-darwin

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: 818ad4745febd87b60606e1b5fcdeba9a9537d3f35333ea6764622172531dffe
4
- data.tar.gz: 728784729ceaa1a09a7eac31c4562c33b36c819a4c1eec9752cf106d309b93f2
3
+ metadata.gz: ec12f81bd7bc75201c66859fac059b7681082c89f91b1699a30d46345eff623c
4
+ data.tar.gz: e00ae1c0b02eaa269c91351ca370e3706050e2b1f6911dd368481121b9c51cee
5
5
  SHA512:
6
- metadata.gz: 34876ec58287b76c98dd87931f0237361e148417919eac79e4a972439057fe93244c126a9ef631dd6551584f2b6482ac885adccf7ff384261f07e9d20e98cc0b
7
- data.tar.gz: 31c5dfda655753188e3e923ed6d46e0f9744076b99b48a1ec0bee18a4fb83b1ef03e3f087902a72a679ac3576707401942461b4b0e6ad38253a0279d18765771
6
+ metadata.gz: cbc10edae6ea670911797c3ca86d13bb4955ae944052fc439d8326b65ed168bd65c1d10ec94ed9fdec39f32a0f68b87527d865b7be51a825b3516c1c5e063294
7
+ data.tar.gz: ec72e6de006809b3820dbc84bbfc8eeeb288a6caa87b15af9bdc862218e75d228c669be816dbffd569917625b48b7074e298385472fd0944d95e72f696a4e5f1
@@ -1,3 +1,3 @@
1
1
  module Litestream
2
- VERSION = "0.10.4"
2
+ VERSION = "0.10.5"
3
3
  end
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
- _key, value = line.split(":")
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
- info[:status] = status.split("(").first.strip
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
4
+ version: 0.10.5
5
5
  platform: arm64-darwin
6
6
  authors:
7
7
  - Stephen Margheim
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-06-21 00:00:00.000000000 Z
11
+ date: 2024-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: logfmt
@@ -134,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
134
134
  - !ruby/object:Gem::Version
135
135
  version: '0'
136
136
  requirements: []
137
- rubygems_version: 3.5.1
137
+ rubygems_version: 3.5.17
138
138
  signing_key:
139
139
  specification_version: 4
140
140
  summary: Integrate Litestream with the RubyGems infrastructure.