Skip to content

Commit

Permalink
Technical/Update gem version
Browse files Browse the repository at this point in the history
  • Loading branch information
bestwebua committed Oct 24, 2024
1 parent 38ea011 commit 85c758f
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.0] - 2024-10-25

### Updated

- Updated gem name to `healthcheck_endpoint`, namespace to `HealthcheckEndpoint`
- Updated gem runtime/development dependencies
- Updated gem documentation

## [0.3.0] - 2024-04-15

### Added
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,11 @@ end

#### Rails

For Rails 7+, you can use the built-in healthcheck feature provided by Rails itself. See the [official Rails documentation on healthchecks](https://edgeapi.rubyonrails.org/classes/Rails/HealthController.html) for details.

However, if you need more advanced healthcheck functionality or want to maintain consistency across different frameworks, you can still use this gem with Rails as follows:


```ruby
# config/initializers/healthcheck_endpoint.rb

Expand Down
2 changes: 1 addition & 1 deletion lib/healthcheck_endpoint/resolver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def response_jsonapi
{
data: {
id: ::SecureRandom.uuid,
type: "application-#{probe_name}-healthcheck",
type: "application-#{probe_name}-healthcheck", # TODO: it would be great to be able to configure this
attributes: probe_result
}
}.to_json
Expand Down
2 changes: 1 addition & 1 deletion lib/healthcheck_endpoint/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module HealthcheckEndpoint
VERSION = '0.3.0'
VERSION = '1.0.0'
end

0 comments on commit 85c758f

Please sign in to comment.