ares-runtime 2.0.7 → 2.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f2c464c1e95b8537b1a237673564d506b7bd58cf36e43d935f299bf9e8730633
4
- data.tar.gz: 8b11bc6fdb8e3f4e9c096fe7a90ea094c691df85e8153d80329c27cb29e04586
3
+ metadata.gz: 05f28b20fcbd772f4352ad6d5ef15064f52f3140c5f891596de188373a84bdee
4
+ data.tar.gz: 5f05775aefe31ba1ac943f7509b58d3736edc201c00868196e301dd0a8e99c4c
5
5
  SHA512:
6
- metadata.gz: 1f234d07dabef1d9112572080652971a576a99d2c09fdffca02888856904e0bfb884280a914873b0bf131e261febd3eaeb6f4aef333ff2767d68cc510814d0d2
7
- data.tar.gz: '0746508a552cdaa4d93d4cc07e32f042afe4611c2b43507d50183a463111eba779703c9c36ef812eec314d30056dc836b4c4f1a894bc80e46eaba3ea0ca3fc03'
6
+ metadata.gz: ceb71537d4ec48366b95492a0f15f9f3359c72f5264d528f40e3842ac8b630a0fd762e80790129fc43f30e862b98ac6a8057119d470884c5165bb54693f52551
7
+ data.tar.gz: e03209a54139597ed4d33337e4495f2c492e1331166747b028b73aa6e7b5a0fd087b088f6f56bb3128b43d0fae194ee4264ffec8bc3ca71ffa4fef5a511b6a10
@@ -23,8 +23,12 @@ module Ares
23
23
  def self.health_check?
24
24
  Timeout.timeout(5) do
25
25
  client = build(timeout_seconds: 4)
26
- # 'tags' call is a lightweight way to check connectivity
27
- client.tags
26
+ # Use list_models (0.2.x+) or tags (1.0.x) both confirm connectivity
27
+ if client.respond_to?(:list_models)
28
+ client.list_models
29
+ else
30
+ client.tags
31
+ end
28
32
  true
29
33
  end
30
34
  rescue StandardError, Timeout::Error
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Ares
4
4
  module Runtime
5
- VERSION = '2.0.7'
5
+ VERSION = '2.0.8'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ares-runtime
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.7
4
+ version: 2.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shubham