From 5c33e332ed7ecf464d6b4331cd7447db3fd4a379 Mon Sep 17 00:00:00 2001 From: lbeder Date: Sat, 9 Nov 2024 16:59:51 +0000 Subject: [PATCH] Release v12.4.0 --- CHANGELOG.md | 4 ++++ README.md | 8 ++++++-- lib/health_monitor/version.rb | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bc0902f..9f9fee3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 12.4.0 (2024-11-09) + +- Adding FileAbsence provider to check that a file remains absent (thanks to @carolyncole) + ## 12.3.0 (2024-08-22) - Allowing a specific solr collection to be monitored (thanks to @carolyncole) diff --git a/README.md b/README.md index 5767708..99d86c5 100644 --- a/README.md +++ b/README.md @@ -320,10 +320,10 @@ Please note that `url` or `connection` can't be used at the same time. * `collection`: An optional parameter used to connect to your specific Solr collection - must be a string. By setting this parameter the code will check the status of this individual collection in your Solr instance instead of just the status of the overall Solr instance ### FileAbsence -This check allows you to create a file on your server when you would like to force the check to fail. For example if you are utilizing the health.json as you health check page for your load balancer and would like to force a machine offline. -* `filename`: the file relative to the rails root that must remain absent for the health check to remain passing. For example `public/remove-from-nginx` +This check allows you to create a file on your server when you would like to force the check to fail. For example if you are utilizing the `health.json` as you health check page for your load balancer and would like to force a machine offline. +* `filename`: the file relative to the rails root that must remain absent for the health check to remain passing. For example: `public/remove-from-nginx` ### Adding a Custom Provider @@ -448,9 +448,11 @@ nicolas@desktop:$ echo $? ``` ## Development + In order to work on development on the gem itself ### Installing the gems + Use the [appraisal gem](https://github.com/thoughtbot/appraisal) to install the bundles for different rails versions: ```bash @@ -460,7 +462,9 @@ appraisal install ``` ### Running the tests + Use appraisal to run the tests using rake + ```bash appraisal rake ``` diff --git a/lib/health_monitor/version.rb b/lib/health_monitor/version.rb index a65f94e..60a4433 100644 --- a/lib/health_monitor/version.rb +++ b/lib/health_monitor/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module HealthMonitor - VERSION = '12.3.0' + VERSION = '12.4.0' end