Ruby bindings to the Clever API. Documentation
Add this line to your application's Gemfile:
gem 'clever-ruby'And then execute:
$ bundleOr install it yourself as:
$ gem install clever-rubyConfigure clever-ruby to use your Clever token:
Clever.configure do |config|
config.token = 'YOUR-API-TOKEN'
endSee the documentation for further details.
To run all tests:
$ rake testTo run all tests and the linter (rubocop):
$ rakeThe linter follows the Ruby Style Guide with a few exceptions. To just run the linter:
$ rake lintRunning specific tests is not currently supported.
To generate it to ./doc:
$ rake docTo see documentation coverage:
$ rake doc-coverageand then view doc_coverage.txt.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git add -p ./path/to/files; git commit -m 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request