recipes/devise.rb in rails_apps_composer-1.0.26 vs recipes/devise.rb in rails_apps_composer-1.1.0

- old
+ new

@@ -1,19 +1,12 @@ # Application template recipe for the rails_apps_composer. Check for a newer version here: # https://github.com/RailsApps/rails_apps_composer/blob/master/recipes/devise.rb if config['devise'] - if recipes.include? 'rails 3.0' - # for Rails 3.0, use only gem versions we know that work - gem 'devise', '1.3.4' - else - # for Rails 3.1+, use optimistic versioning for gems - gem 'devise', '>= 1.5.0' - end + gem 'devise', '>= 2.0.0' else recipes.delete('devise') end - if config['devise'] after_bundler do say_wizard "Devise recipe running 'after bundler'" \ No newline at end of file