rails-healthcheck 1.0.0 → 1.0.1
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 +4 -4
- data/README.md +5 -2
- 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: 06c339f9a53397849a83ff76d6c0844990a4cb1bd49352451c462aeff25449e3
|
4
|
+
data.tar.gz: 3f49ac7b7601d349ad30cc8859b624310a7b8de0851d13ec7137b33a14a0683d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 695b94731b1772b583a54a56a492a5269e091127f7a922807bce1093ccd84c3d3246d7494d444d27b19c76a70aadd60f5505b1346714fb6f5bcda3667774eb2d
|
7
|
+
data.tar.gz: 2587ecdaa0ce4f41e4236d4424cd8131381c83ca59652381b5e163982e0214574291ca1e33c8b82e3da0dec65f8068c9eda554757e7f1ed23209b206f9906879
|
data/README.md
CHANGED
@@ -3,10 +3,11 @@
|
|
3
3
|
[![Build Status][travis_status_image]][travis_page]
|
4
4
|
[![Maintainability][code_climate_maintainability_image]][code_climate_maintainability_page]
|
5
5
|
[![Test Coverage][code_climate_test_coverage_image]][code_climate_test_coverage_page]
|
6
|
+
[![Gem Version][gem_version_image]][gem_version_page]
|
6
7
|
|
7
8
|
A simple way to configure a healthcheck route for a Rails application
|
8
9
|
|
9
|
-
##
|
10
|
+
## Installation
|
10
11
|
|
11
12
|
Add this line to your application's Gemfile:
|
12
13
|
|
@@ -36,7 +37,7 @@ HealthCheck.configure do |config|
|
|
36
37
|
# -- Checks --
|
37
38
|
# Check if the db is available
|
38
39
|
# config.add_check :database, -> { ActiveRecord::Base.connection.execute('select 1') }
|
39
|
-
# Check if the db is available
|
40
|
+
# Check if the db is available and without pending migrations
|
40
41
|
# config.add_check :migrations,-> { ActiveRecord::Migration.check_pending! }
|
41
42
|
# Check if the cache is available
|
42
43
|
# config.add_check :cache, -> { Rails.cache.read('some_key') }
|
@@ -150,3 +151,5 @@ Everyone interacting in the Rails::Healthcheck project’s codebases, issue trac
|
|
150
151
|
[code_climate_maintainability_page]: https://codeclimate.com/github/linqueta/rails-healthcheck/maintainability
|
151
152
|
[code_climate_test_coverage_image]: https://api.codeclimate.com/v1/badges/670d851a6c06f77fa36e/test_coverage
|
152
153
|
[code_climate_test_coverage_page]: https://codeclimate.com/github/linqueta/rails-healthcheck/test_coverage
|
154
|
+
[gem_version_image]: https://badge.fury.io/rb/rails-healthcheck.svg
|
155
|
+
[gem_version_page]: https://rubygems.org/gems/rails-healthcheck
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails-healthcheck
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- linqueta
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-09-
|
11
|
+
date: 2019-09-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|