{"id":25254242,"url":"https://github.com/alchemycms/alchemy-devise","last_synced_at":"2025-04-13T09:37:48.815Z","repository":{"id":11250900,"uuid":"13649860","full_name":"AlchemyCMS/alchemy-devise","owner":"AlchemyCMS","description":"Devise based authorization for AlchemyCMS","archived":false,"fork":false,"pushed_at":"2024-04-30T10:56:57.000Z","size":728,"stargazers_count":14,"open_issues_count":2,"forks_count":40,"subscribers_count":6,"default_branch":"main","last_synced_at":"2024-05-21T04:10:55.445Z","etag":null,"topics":["alchemy-cms","alchemycms","authentication","cms","cms-extension","devise"],"latest_commit_sha":null,"homepage":"https://alchemy-cms.com","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AlchemyCMS.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-10-17T13:35:34.000Z","updated_at":"2024-06-07T08:50:18.866Z","dependencies_parsed_at":"2024-01-15T09:57:37.625Z","dependency_job_id":"5c6a4bc8-5b99-43a0-82ae-70e950e03c91","html_url":"https://github.com/AlchemyCMS/alchemy-devise","commit_stats":{"total_commits":336,"total_committers":17,"mean_commits":"19.764705882352942","dds":"0.35119047619047616","last_synced_commit":"874ceced03f73f8ac6555ded6e68a3dbab7113a5"},"previous_names":[],"tags_count":39,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlchemyCMS%2Falchemy-devise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlchemyCMS%2Falchemy-devise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlchemyCMS%2Falchemy-devise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlchemyCMS%2Falchemy-devise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlchemyCMS","download_url":"https://codeload.github.com/AlchemyCMS/alchemy-devise/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248691720,"owners_count":21146427,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alchemy-cms","alchemycms","authentication","cms","cms-extension","devise"],"created_at":"2025-02-12T05:31:28.586Z","updated_at":"2025-04-13T09:37:48.789Z","avatar_url":"https://github.com/AlchemyCMS.png","language":"Ruby","readme":"## Devise based authentication for AlchemyCMS\n\n[![CI](https://github.com/AlchemyCMS/alchemy-devise/actions/workflows/ci.yml/badge.svg)](https://github.com/AlchemyCMS/alchemy-devise/actions/workflows/ci.yml)\n[![Brakeman Scan](https://github.com/AlchemyCMS/alchemy-devise/actions/workflows/brakeman-analysis.yml/badge.svg)](https://github.com/AlchemyCMS/alchemy-devise/actions/workflows/brakeman-analysis.yml)\n\n[![Gem Version](https://badge.fury.io/rb/alchemy-devise.svg)](http://badge.fury.io/rb/alchemy-devise) [![Test Coverage](https://codeclimate.com/github/AlchemyCMS/alchemy-devise/badges/coverage.svg)](https://codeclimate.com/github/AlchemyCMS/alchemy-devise/coverage) [![Code Climate](https://codeclimate.com/github/AlchemyCMS/alchemy-devise/badges/gpa.svg)](https://codeclimate.com/github/AlchemyCMS/alchemy-devise)\n\nAlchemyCMS has no authentication in its core. So it is possible to bring your own authentication and use it to authorize users in AlchemyCMS. If you don't have your own authentication, you can use this gem.\n\n## Install\n\nJust put the gem into your projects `Gemfile`.\n\n```ruby\n# Gemfile\ngem 'alchemy-devise'\n```\n\nand run `bundle install`.\n\nThen run the installer:\n\n```bash\n$ bin/rails g alchemy:devise:install\n```\n\n## Upgrading\n\nAfter updating the gem, please run the installer again.\n\n```bash\n$ bundle update alchemy-devise\n$ bin/rails g alchemy:devise:install\n```\n\n## Devise modules\n\nDefault Devise modules included in `Alchemy::User` model\n\n- `:database_authenticatable`\n- `:trackable`\n- `:validatable`\n- `:timeoutable`\n- `:recoverable`\n\nIf you want to add additional modules into the Alchemy user class append them to `Alchemy.devise_modules` in an initializer in your app.\n\n### Register additional modules example\n\n```ruby\n# config/initializers/alchemy.rb\nAlchemy.devise_modules \u003c\u003c :registerable\n```\n\n### Using old encryption\n\nIf your app uses an old encryption that needs the +devise-encryptable+ gem you also need to load the devise module.\n\n```ruby\n# config/initializers/alchemy.rb\nAlchemy.devise_modules \u003c\u003c :encryptable\n```\n\n## Testing\n\nIf you want to contribute (and you should ^_^), you need to run the tests locally on your machine.\n\nJust follow these pretty rails standard way of testing projects:\n\n### 1. Once to prepare the test suite:\n\nClone the repo to your local harddrive. Then\n\n```bash\n$ bundle install\n$ rake alchemy:spec:prepare\n```\n\n### 2. Run the tests with:\n\n```bash\n$ rspec\n```\n\n_Optional:_ Even shorter\n\n```bash\n$ rake\n```\n\nThat prepares the database and runs the Rspec task in one step.\n\nGetting Help\n------------\n\n* If you have bugs, please use the [issue tracker on Github](https://github.com/AlchemyCMS/alchemy-devise/issues).\n* For Q\u0026A and general usage, please use the [Slack](https://slackin.alchemy-cms.com)\n\nResources\n---------\n\n* Homepage: \u003chttps://alchemy-cms.com\u003e\n* Live-Demo: \u003chttps://alchemy-demo.herokuapp.com\u003e (user: demo, password: demo123)\n* API Documentation: \u003chttps://www.rubydoc.info/github/AlchemyCMS/alchemy-devise\u003e\n* Issue-Tracker: \u003chttps://github.com/AlchemyCMS/alchemy-devise/issues\u003e\n* Sourcecode: \u003chttps://github.com/AlchemyCMS/alchemy-devise\u003e\n* Slack: \u003chttps://slackin.alchemy-cms.com\u003e\n\nLicense\n-------\n\n* BSD: \u003chttps://github.com/AlchemyCMS/alchemy-devise/LICENSE\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falchemycms%2Falchemy-devise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falchemycms%2Falchemy-devise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falchemycms%2Falchemy-devise/lists"}