A tiny gem that installs a Rack middleware to respond to heartbeat requests. This saves you all the trouble of creating custom controllers, routes, and static files, and prevents your logs from bloating.
Add this line to your application's Gemfile:
gem 'conjur-rack-heartbeat'
And then execute:
$ bundle
Or install it yourself as:
$ gem install conjur-rack-heartbeat
Once the gem is installed, you're done. Just curl -X OPTIONS localhost:3000
to get a text response with "OK".
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request