
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
This documentation is valid for master
branch. Please check the documentation for the version
of doorkeeper-mongodb you are using in: https://github.com/doorkeeper-gem/doorkeeper-mongodb/releases.
doorkeeper-mongodb
provides Doorkeeper support
for Mongoid versions 6 and later. Earlier versions of Mongoid
are supported on earlier versions of doorkeeper-mongodb
.
To start using it, add both doorkeeper
and doorkeeper-mongodb
to your Gemfile:
gem 'doorkeeper'
gem 'doorkeeper-mongodb'
# or if you want to use cutting edge version:
# gem 'doorkeeper-mongodb', github: 'doorkeeper-gem/doorkeeper-mongodb'
Run doorkeeper’s installation generator:
$ rails generate doorkeeper:install
This will install the doorkeeper initializer into
config/initializers/doorkeeper.rb
.
Set the ORM configuration:
Doorkeeper.configure do
orm :mongoid8 # or any other version of mongoid
end
Make sure you create indexes for doorkeeper models. You can do this either by
running rake db:mongoid:create_indexes
or (if you're using Mongoid 2) by
adding autocreate_indexes: true
to your config/mongoid.yml
To run tests, clone this repository and run rake
. It will copy and run
doorkeeper’s original test suite, after configuring the ORM according to the
variables defined in .travis.yml
file.
To run locally, you need to choose a gemfile, with a command similar to:
$ export RAILS=6.0
$ export BUNDLE_GEMFILE=$PWD/gemfiles/Gemfile.mongoid7.rb
Please refer to https://github.com/doorkeeper-gem/doorkeeper for instructions on doorkeeper’s project.
FAQs
Unknown package
We found that doorkeeper-mongodb demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.