Skip to content

Commit

Permalink
Merge pull request #128 from lbeder/release
Browse files Browse the repository at this point in the history
Release v12.4.0
  • Loading branch information
lbeder authored Nov 9, 2024
2 parents 6a1ef8e + 5c33e33 commit 7a14202
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand All @@ -460,7 +462,9 @@ appraisal install
```

### Running the tests

Use appraisal to run the tests using rake

```bash
appraisal rake
```
Expand Down
2 changes: 1 addition & 1 deletion lib/health_monitor/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module HealthMonitor
VERSION = '12.3.0'
VERSION = '12.4.0'
end

0 comments on commit 7a14202

Please sign in to comment.