litestream 0.10.4-arm64-linux → 0.10.5-arm64-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: 6be4b4ada39fa9f960143ec38ebe43fc847c13741c0f5e6b8cbf5c61c79338c8
4
- data.tar.gz: f9729f096fc09df995766e338bad0e0163154902a17a004441dbbea22f6cadc7
3
+ metadata.gz: 7eb6b48c7c6b6c067043e7db756be44a5ae6c3d6c67459e4094dc6bad6e421ae
4
+ data.tar.gz: 69a31544927ef3b3467a7365561ef984c435c77d8b6bb1c3f872d8263343415b
5
5
  SHA512:
6
- metadata.gz: eb87bf7344d214bf63b9d9ea321cb45bec1316c81da3f7b7e1c1dc0949ea0a92179231b7962c43147b0796620a4a5d64c0dfeefa99d3eac8983e1fa3434a99c6
7
- data.tar.gz: a4f439146c199b4d1496f9fbccf35d2934e05d4358206c7449e07130c12633ecf616c407484cd9dd91deab602b7b66d21cdf99575258cdfbd727144cbd968613
6
+ metadata.gz: '090ad623ad7a73f85df6dfe9d3809a5b038f09b11c6fd305266b1d0877794e672d0705eace3e22cde228e3f5f02ee24c6764d824e1c1bdf67122618132a7494b'
7
+ data.tar.gz: c56a7b2bbb5aae099fa9d55ffb064ffbd784e023e1a99a6189a877e21f7ca945006a1d1f1ac667e2f5be3506ac5cefad2f09c9e8a5276395bd1506381bc17736
@@ -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-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.