KalibroGatekeeperClient is a Ruby gem intended to be an interface for Ruby applications who want to use the open source code analysis webservice Kalibro (http://gitorious.org/kalibro/kalibro).
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install kalibro_gatekeeper_client
KalibroGatekeeperClient is intended to be an easy interface that encapsulates the usage of all the Kalibro service's endpoints. So have a look at the available entities at
All the entities are subclasses from
Model, so have a good look at it. Specially notice that all the entities have methods:
These four methods should be useful.
We hope to make available soon a full documentation on RDoc that will make easier to understand all this.
A good example on how to get everything from KalibroGatekeeperClient should be Mezuro. So, have a look there for some examples.
Acceptance tests with the Kalibro webservice can be painful. But we've created cucumber hooks that make it easy.
Just add to your
env.rb the following:
The test configurations available are:
An example on how to change them is:
KalibroGatekeeperClient::KalibroCucumberHelpers.configure do |config| config.database = "kalibro_test" end
We hope to make available soon an YAML parser for test configurations.
- Install RVM (rvm.io)
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Make your modifications and changes
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request