insights-api-common 3.4.0 → 3.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/insights/api/common/status.rb +1 -1
- data/lib/insights/api/common/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: 11df9a48921fd839fbd7f2ee0661e557f3518bf94d7c7ca675311061d96dd76b
|
4
|
+
data.tar.gz: c332961d8e37c3790edb04d8f4cbecdd6d757a947cd4c26458009841fa6e9178
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44f5f1df36796106292efa218f533eb23cc49eb5d852ef1c83c31c6dfcb8553e92165ea685ec0ec736892be1fb6d4a10ca6a8d32d581b0eb460936d7c6de8e35
|
7
|
+
data.tar.gz: c7e7df08126753abf183d40afc8b2c649127887e782aad0fe2aa68caf58c92db2d98e5697aa49c2f6b572c4c2c885e68a55dccb1b05b59c4fe3d4166154c9550
|
@@ -4,7 +4,7 @@ module Insights
|
|
4
4
|
module Status
|
5
5
|
module Api
|
6
6
|
def health
|
7
|
-
if PG::Connection.ping(ENV['DATABASE_URL']) == PG::Connection::PQPING_OK
|
7
|
+
if PG::Connection.ping(ENV['DATABASE_URL'].split("?").first) == PG::Connection::PQPING_OK
|
8
8
|
head :ok
|
9
9
|
else
|
10
10
|
head :internal_server_error
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: insights-api-common
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.4.
|
4
|
+
version: 3.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Insights Authors
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-02-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: acts_as_tenant
|