recipes/devise.rb in rails_apps_composer-1.5.0 vs recipes/devise.rb in rails_apps_composer-1.5.1
- old
+ new
@@ -10,20 +10,24 @@
when 'confirmable'
gem 'devise', '>= 2.1.0'
recipes << 'devise-confirmable'
when 'invitable'
gem 'devise', '>= 2.1.0'
- gem 'devise_invitable', '>= 1.0.1'
+ gem 'devise_invitable', '>= 1.0.2'
recipes << 'devise-confirmable'
recipes << 'devise-invitable'
else
recipes.delete('devise')
say_wizard "Devise recipe skipped."
end
if config['authorization']
gem 'cancan', '>= 1.6.7'
- gem 'rolify', '>= 3.1.0'
+ if recipes.include? 'mongoid'
+ gem 'rolify', '>= 3.2.0.beta4'
+ else
+ gem 'rolify', '>= 3.1.0'
+ end
recipes << 'authorization'
end
if recipes.include? 'devise'
after_bundler do