0.0
No commit activity in last 3 years
No release in over 3 years
Provides cas checkers to heartcheck
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

> 1.6
~> 0.2.4
~> 10.0
~> 3.3

Runtime

 Project Readme

Heartcheck::Cas

Build Status Code Climate

A plugin to check CAS accessibility connection with heartcheck.

Installation

Add this line to your application's Gemfile:

gem 'heartcheck-cas'

And then execute:

$ bundle

Or install it yourself as:

$ gem install heartcheck-cas

Usage

You can check any CAS credentials that there's in your app.

Heartcheck.setup do |config|
  config.add :cas do |c|
    c.add_service({
        service: 'locaweb',
        username: 'username',
        password: 'password',
        server: 'https://path-to-cas-server/v1/tickets'
    })
  end
end

Check Heartcheck example here

Development setup using Docker

The Docker Hearthcheck-Cas provides a container with the current stable version of Ruby released and requires you to have these tools available in your local environment:

BootStrap Script to run the dockerized environment

./scripts/heartcheck-cas setup

Run the command ./scripts/heartcheck-cas -h to see available options.

Contributing

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

License