Skip to content

gmanley/doorkeeper-sequel

 
 

Repository files navigation

Doorkeeper Sequel ORM extension

GitHub release Build Status Dependency Status Code Climate License

doorkeeper-sequel provides Doorkeeper support to Sequel database toolkit.

Requirements

  • Doorkeeper >= 4.0
  • Rails >= 4.2 (Doorkeeper dropped support of lower versions)
  • Sequel >= 4

Installation

To start using the Doorkeeper Sequel ORM, add to your Gemfile:

gem 'doorkeeper-sequel', github: 'nbulaj/doorkeeper-sequel'

Set the Doorkeeper ORM configuration:

Doorkeeper.configure do
  orm :sequel
end

Generate migrations:

rails generate doorkeeper:sequel:migration
rails generate doorkeeper:sequel:application_owner
rails generate doorkeeper:sequel:previous_refresh_token

Tests

To run tests, clone this repository and run rake. It will copy and run Doorkeeper’s original test suite, after configuring the ORM and other stuffs.

$ bundle exec rake

Contributing

You are very welcome to help improve doorkeeper-sequel if you have suggestions for features that other people can use or some code improvements.

To contribute:

  1. Fork the project.
  2. Create your feature branch (git checkout -b my-new-feature).
  3. Implement your feature or bug fix.
  4. Add documentation for your feature or bug fix.
  5. Run rake doc:yard. If your changes are not 100% documented, go back to step 4.
  6. Add tests for your feature or bug fix.
  7. Run rake to make sure all tests pass.
  8. Commit your changes (git commit -am 'Add new feature').
  9. Push to the branch (git push origin my-new-feature).
  10. Create new pull request.

Thanks.

License

Doorkeeper-sequel gem is released under the MIT License.

Copyright (c) 2016 Nikita Bulaj (bulajnikita@gmail.com).


Please refer to https://github.com/doorkeeper-gem/doorkeeper for instructions on doorkeeper’s project.

About

Doorkeeper Sequel ORM

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%