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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e8026f4b784de4017aa2e008109d94bb5556bbdaf747c66a9096b68be6b1cdae
4
- data.tar.gz: 83c1e5b44afd8dc53224f8dad912888ad5fad922e0877b01e5c5d5a3d5ecfa30
3
+ metadata.gz: 11df9a48921fd839fbd7f2ee0661e557f3518bf94d7c7ca675311061d96dd76b
4
+ data.tar.gz: c332961d8e37c3790edb04d8f4cbecdd6d757a947cd4c26458009841fa6e9178
5
5
  SHA512:
6
- metadata.gz: ac25d3c924e3bf19802558705d9b9b5a1c63cef56ac987a16bc984543ea473092d46c4c9a7e05b183f6c6bc2426cbd161fdf06831ad62540c03ce081e19331c5
7
- data.tar.gz: 9542c208f830361e3e3d23194f506acc3896f891ed8c772de83cd26c2ba6dec54398bd3306f16fd0b9dedaeb9f93f9e9a8a64e2f61019521d3ca717b4fc54dc9
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
@@ -1,7 +1,7 @@
1
1
  module Insights
2
2
  module API
3
3
  module Common
4
- VERSION = "3.4.0".freeze
4
+ VERSION = "3.4.1".freeze
5
5
  end
6
6
  end
7
7
  end
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.0
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-01-30 00:00:00.000000000 Z
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