sshkit 1.22.1 → 1.22.2

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: 9678c16acec683a599b5cca548346060ba08fd5616e79109af71deac743d33f3
4
- data.tar.gz: 6213ece3ddf070a9bf715452da5883f27eb0d3cff81bc5b8a5ccd73f4649c03d
3
+ metadata.gz: 4b7db39cc723be7334eecf9f54d9e7a8ca8cd03c22514956d0a5fda5e58764ba
4
+ data.tar.gz: 431b7368d840461e7bb47e5ae6af21de3995da4a38492bc193fc3a902a0ec945
5
5
  SHA512:
6
- metadata.gz: 265bf603d9c5d7557beaf9e33270acb8e626238016f4bd892017ac4cf2afa1a3f7364612c85d10a239c93fc278a2a6fe2904011688fac78e871388b4b9249c0b
7
- data.tar.gz: ee46c52f728b8d550182332f88c07dd8b885717afe12291248a6b5a200a3d8180dacc7de863ef3e0ee8f23c264def9dff670cd97e84eea6cfee4d8c3534d2350
6
+ metadata.gz: 7829a6485761cc5fc79ffb44723c15089004b4267e4e54e028db7a2cbf4cc074d57541391bfa89e0b60c239533dbe240f72f2fddf6df1b3997f301b93c268dd5
7
+ data.tar.gz: 300efa2a1398ecfd27a420536aa9203a283d116318cf68ff4ecb94ee229c500a9c93134db93504075e95f3add04460fad12c71982a3551a742eacbadd150d10e
@@ -36,8 +36,8 @@ class SSHKit::Backend::ConnectionPool::Cache
36
36
  def evict
37
37
  # Peek at the first connection to see if it is still fresh. If so, we can
38
38
  # return right away without needing to use `synchronize`.
39
- first_expires_at, first_conn = connections.first
40
- return if (first_expires_at.nil? || fresh?(first_expires_at)) && !closed?(first_conn)
39
+ first_expires_at, _first_conn = connections.first
40
+ return if (first_expires_at.nil? || fresh?(first_expires_at))
41
41
 
42
42
  connections.synchronize do
43
43
  fresh, stale = connections.partition do |expires_at, conn|
@@ -1,3 +1,3 @@
1
1
  module SSHKit
2
- VERSION = "1.22.1".freeze
2
+ VERSION = "1.22.2".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sshkit
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.22.1
4
+ version: 1.22.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lee Hambley
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-04-01 00:00:00.000000000 Z
12
+ date: 2024-04-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: base64
@@ -338,7 +338,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
338
338
  - !ruby/object:Gem::Version
339
339
  version: '0'
340
340
  requirements: []
341
- rubygems_version: 3.5.6
341
+ rubygems_version: 3.5.9
342
342
  signing_key:
343
343
  specification_version: 4
344
344
  summary: SSHKit makes it easy to write structured, testable SSH commands in Ruby