Skip to content

conjurinc/rack-heartbeat

 
 

Repository files navigation

Rack::Heartbeat

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.

Installation

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

Usage

Once the gem is installed, you're done. Just curl -X OPTIONS localhost:3000 to get a text response with "OK".

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Contributors

About

a little gem to provide a heartbeat for your app

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 82.2%
  • Shell 11.2%
  • Dockerfile 6.6%