All Projects → nbulaj → doorkeeper-sequel

nbulaj / doorkeeper-sequel

Licence: MIT license
Doorkeeper Sequel ORM

Programming Languages

ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to doorkeeper-sequel

Doorkeeper
Doorkeeper is an OAuth 2 provider for Ruby on Rails / Grape.
Stars: ✭ 4,917 (+40875%)
Mutual labels:  oauth2-provider, ruby-on-rails, doorkeeper
Doorkeeper Provider App
An example OAuth 2 provider application using the Doorkeeper gem, Rails and Devise
Stars: ✭ 146 (+1116.67%)
Mutual labels:  oauth2-provider, ruby-on-rails
doorkeeper-i18n
Translation files for Doorkeeper OAuth 2 provider
Stars: ✭ 30 (+150%)
Mutual labels:  oauth2-provider, doorkeeper
active-date-range
Powerful DateRanges for Ruby and ActiveSupport
Stars: ✭ 38 (+216.67%)
Mutual labels:  ruby-on-rails
has placeholder image
A Ruby gem for generating string based placeholder images in Rails.
Stars: ✭ 20 (+66.67%)
Mutual labels:  ruby-on-rails
velum
Dashboard for CaaS Platform clusters (v1, v2 and v3)
Stars: ✭ 55 (+358.33%)
Mutual labels:  ruby-on-rails
agenda-saude
Sistema de agendamento de saúde, em uso para gerir filas de vacinação do COVID-19 e H1N1.
Stars: ✭ 119 (+891.67%)
Mutual labels:  ruby-on-rails
sqlike
Golang Sequel ORM that supports Enum, JSON, Spatial, and many more
Stars: ✭ 18 (+50%)
Mutual labels:  sequel
mobility-actiontext
Translate Rails Action Text rich text with Mobility.
Stars: ✭ 27 (+125%)
Mutual labels:  ruby-on-rails
human-in-the-loop-machine-learning-tool-tornado
Tornado is a human-in-the-loop machine learning framework that helps you exploit your unlabelled data to train models through a simple and easy to use web interface.
Stars: ✭ 37 (+208.33%)
Mutual labels:  ruby-on-rails
souls
SOULs 🔥 Build Serverless Apps faster like Rails. Powered by Ruby GraphQL, RBS/Steep, Active Record, RSpec, RuboCop, and Google Cloud.
Stars: ✭ 327 (+2625%)
Mutual labels:  ruby-on-rails
rubocop-linter-action
Rubocop Linter Action: A GitHub Action to run Rubocop against your code!
Stars: ✭ 86 (+616.67%)
Mutual labels:  ruby-on-rails
awesome-rails-security
A curated list of security resources for a Ruby on Rails application
Stars: ✭ 36 (+200%)
Mutual labels:  ruby-on-rails
chatter
Build a twitter clone in 10 mins with Rails, CableReady, and StimulusReflex
Stars: ✭ 50 (+316.67%)
Mutual labels:  ruby-on-rails
sidekiq-sequence
Sequential Sidekiq jobs for Rails
Stars: ✭ 38 (+216.67%)
Mutual labels:  ruby-on-rails
sinator
Sinatra application generator
Stars: ✭ 19 (+58.33%)
Mutual labels:  sequel
modular routes
Dedicated controllers for each of your Rails route actions.
Stars: ✭ 45 (+275%)
Mutual labels:  ruby-on-rails
darrrr
An SDK for the delegated recovery specfication
Stars: ✭ 43 (+258.33%)
Mutual labels:  ruby-on-rails
new ckeditor
Ruby on Rails + CKEditor 5
Stars: ✭ 27 (+125%)
Mutual labels:  ruby-on-rails
kickstart
Ruby on Rails application templates
Stars: ✭ 61 (+408.33%)
Mutual labels:  ruby-on-rails

Doorkeeper Sequel ORM extension

Gem Version Build Status Code Climate License

doorkeeper-sequel provides Doorkeeper support to Sequel database toolkit.

Requirements

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

Installation

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

# For Doorkeeper 4.x
gem 'doorkeeper', '~> 4.3'
gem 'doorkeeper-sequel', '~> 1.5'

# For Doorkeeper 5.1
gem 'doorkeeper', '~> 5.0' # or 5.1
gem 'doorkeeper-sequel', '~> 2.0'

# For Doorkeeper >= 5.2
gem 'doorkeeper', '~> 5.2'
gem 'doorkeeper-sequel', '~> 2.1'

# For Doorkeeper >= 5.3
gem 'doorkeeper', '~> 5.3'
gem 'doorkeeper-sequel', '~> 2.2'

Or you can use git master branch for the latest gem version:

gem 'doorkeeper-sequel', git: 'https://github.com/nbulaj/doorkeeper-sequel.git'

Set the Doorkeeper ORM configuration:

Doorkeeper.configure do
  orm :sequel
end

Generate migrations:

rake doorkeeper_sequel:generate:migration
rake doorkeeper_sequel:generate:application_owner
rake doorkeeper_sequel:generate:previous_refresh_token
rake doorkeeper_sequel:generate:confidential_applications # for Doorkeeper >= 4.4
rake doorkeeper_sequel:generate:pkce # for Doorkeeper >= 5.x
rake doorkeeper_sequel:generate:polymorphic_resource_owner # for Doorkeeper >= 5.3

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. Add tests for your feature or bug fix.
  6. Run rake to make sure all tests pass.
  7. Commit your changes (git commit -am 'Add new feature').
  8. Push to the branch (git push origin my-new-feature).
  9. Create new pull request.

Thanks.

License

Doorkeeper-sequel gem is released under the MIT License.

Copyright (c) 2016-2020 Nikita Bulai ([email protected]).


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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].