radar-app 0.11.0 → 0.11.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/radar/app/tasks/status.rb +2 -1
- data/lib/radar/app/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 747689e670764ac159b53aacd64031b35fba08dc5738b8283ecf815ed1a1a60f
|
4
|
+
data.tar.gz: b1d9e7acf27bf80ac06f951911e7a03e321522deb5062b986a37607f367fa79b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2f0098ac27d965df611efd6b020080e4f3d5364474302efc87d780a44b4b91f994b99d027489d8765c35c96642e30a80b27535bc6a1dffb7680c72c0baa5472d
|
7
|
+
data.tar.gz: 010eb0a3b41c7fd06ead5b75a5a954715b15013675f9ddd00c92dd48826d5b674c27bac3bd37bf472340a14f7b26fa7af9e518d0c8e7429c16cdff799141eff4
|
@@ -1,5 +1,6 @@
|
|
1
1
|
require 'thrift'
|
2
2
|
require 'radar-api'
|
3
|
+
require 'radar/api/healthz'
|
3
4
|
|
4
5
|
module Radar
|
5
6
|
module App
|
@@ -11,7 +12,7 @@ module Radar
|
|
11
12
|
def status
|
12
13
|
transport = Thrift::FramedTransport.new(Thrift::Socket.new('127.0.0.1', ENV['PORT'] || 5000))
|
13
14
|
protocol = Thrift::MultiplexedProtocol.new(Thrift::BinaryProtocolAccelerated.new(transport), 'Healthz')
|
14
|
-
client = Radar::
|
15
|
+
client = Radar::Api::Healthz::Client.new(protocol)
|
15
16
|
begin
|
16
17
|
transport.open
|
17
18
|
client.status
|
data/lib/radar/app/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: radar-app
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.11.
|
4
|
+
version: 0.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Leonardo Mendonca
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2020-07-27 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|