kubelink 0.1.7 → 0.1.8

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: '016727378ad7e79c5f764857b0c22c706d4ccb8d282c336afbd21d63c77c72e5'
4
- data.tar.gz: 54853a5ef8ec47d6f31f799f4f1ba4473cc7f918d3bf64424e2c59695e9ef963
3
+ metadata.gz: 5c116b8f93a64129631cc9a3b6b8b0d98bb97d0842cae55b758ee31d4f82604e
4
+ data.tar.gz: 56a8972612012096f73372057a1b6e9161db820e6dcbf5fcbac2ba6aaf9ff88a
5
5
  SHA512:
6
- metadata.gz: ffa7f02e731f69d2b75c8758f4cc41a28a78c9cbeb64f22d54211796e02349664a5e1222f95ac1a6401982b168b213449c802c20d25d7e351f2c29a5aadfb3c0
7
- data.tar.gz: f7a9b15143caf2867197b4fd6b53659d871cde69d9030fb4a289d0f356ec815698b29ce13e0036e2936a061a30dcb9d54de395da739ba91de8c485827f254943
6
+ metadata.gz: 3d96db486ba3cd1085165080623145cf79314ebb940f534ac50ac1de12c413581c21f0404fbc352903521c8b0bab73a0e50ee687c7e390d3af7772270b221df5
7
+ data.tar.gz: ead7cf712d8917dd979c24ec70bfa5d23bed051eedad235e69c629d27f3d4e3a46719bb5c7a9c7e49ff244cd0055ae1ca7825da564722044103f9b4903e86bad
@@ -1,7 +1,10 @@
1
1
  module Kubelink
2
2
  class MonitoringController < ActionController::Base
3
3
  def health
4
- ActiveRecord::Base.connection.execute('SELECT 1')
4
+ if defined?(ActiveRecord)
5
+ ActiveRecord::Base.connection.execute('SELECT 1')
6
+ end
7
+
5
8
  render plain: "ok"
6
9
  end
7
10
 
@@ -1,3 +1,3 @@
1
1
  module Kubelink
2
- VERSION = '0.1.7'
2
+ VERSION = '0.1.8'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kubelink
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.7
4
+ version: 0.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Martino di Filippo