Sha256: 97878cc389da13cbe0b99968dae1366b0a42da52f77ce7f760fdd8cd2cb351c2
Contents?: true
Size: 1.08 KB
Versions: 9
Compression:
Stored size: 1.08 KB
Contents
module DeviseConfigGenerator module GemHelper def gems_mongo_db add_gem 'bson_ext', '>= 1.1.4' end def devise_mongoid_setup rgen 'mongoid:config' rgen "devise mongoid" end def configure_gems_active_record say "Configuring for Active Record" end def configure_gems_data_mapper say "Configuring for Data Mapper" add_gem 'dm-devise' end def configure_gems_mongo_mapper say "Configuring for Mongo Mapper" add_gem 'mm-devise' gems_mongo_db end def configure_gems_mongoid say "Configuring for Mongoid" # say "Please configure Devise for Mongoid similar to Rails 3 example app: http://github.com/fortuity/rails3-mongoid-devise" add_gem 'mongoid', '>= 2.0.0.beta.20' gems_mongo_db end def configure_gems_couch_db say "Configuring for Couch DB" add_gem 'devise_couch' say "WARNING: Couch DB does not currently have a complete Roles implementation (admin_flag only). Please help implement the Roles strategy adapter.", :yellow end end end
Version data entries
9 entries across 9 versions & 1 rubygems