mirror of
http://ghproxy.cn/https://github.com/multunus/onemdm-server
synced 2025-12-06 02:04:57 +00:00
Create device model and setup devise, activeadmin and rspec!
- with attributes: model, imei_number, unique_id and access_token - access_token is automatically generated on create
This commit is contained in:
6
Gemfile
6
Gemfile
@@ -22,6 +22,8 @@ gem 'jbuilder', '~> 2.0'
|
||||
gem 'sdoc', '~> 0.4.0', group: :doc
|
||||
|
||||
gem 'pg'
|
||||
gem 'devise'
|
||||
gem 'activeadmin', github: 'activeadmin'
|
||||
|
||||
# Use ActiveModel has_secure_password
|
||||
# gem 'bcrypt', '~> 3.1.7'
|
||||
@@ -33,8 +35,10 @@ gem 'pg'
|
||||
# gem 'capistrano-rails', group: :development
|
||||
|
||||
group :development, :test do
|
||||
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
|
||||
gem 'byebug'
|
||||
gem 'rspec-rails'
|
||||
gem 'factory_girl_rails'
|
||||
gem 'shoulda-matchers'
|
||||
end
|
||||
|
||||
group :development do
|
||||
|
||||
Reference in New Issue
Block a user