litestream 0.10.4-x86_64-linux → 0.10.5-x86_64-linux

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: d8bb4abd15ba3bcc3a74961499c585bb9dac195303062002d50c9d4286ac75ef
4
- data.tar.gz: bff6afcd2f427df10f4420fb2a64503eb66b273116ea027e90ca1bf46a3ebb66
3
+ metadata.gz: cd802db15c80c8c8d0edeb4c2c06edd45ea5839c3894aaf5c37b0b7c40a90e44
4
+ data.tar.gz: 1e12d2ea89fdd2f5df867732527b0ad2c7edde1d8e0099b1d1508244b10ebe26
5
5
  SHA512:
6
- metadata.gz: 0b02adcf0f13b84eadad824add0b46ca609413b8f23398b9341e3c0cc1d8f9ba4ea7b451a391657e4f7cc9ec34249ed74eea9921a2f461c5a8f49f706b4bc963
7
- data.tar.gz: 56cd364f9b4351947324d4d783ce69f53cb2afc5e16da14a5194cd694b2f35dbf083227560d0e579411db507beaf5977d27d674a26b8d1f13b29ee11a3abf73b
6
+ metadata.gz: db570e83a48459c2e61323c400474ed1cfcfdbfe019ef3a8387940be36a2536f56c831eebefecccd14d77b72781bc937ea6773c8a0ef8e6d80d3d84217eae381
7
+ data.tar.gz: f055d4c1947c8653842b8dc7f6b16b85e98b9c3d4bf7f93900ffa38ccc989e56d044bbf03a4bfd9e6579c3a2b798764b6d801230e07f6a64ec0a0c0d986f1259
@@ -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: x86_64-linux
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.