recipes/devise.rb in rails_apps_composer-3.0.33 vs recipes/devise.rb in rails_apps_composer-3.0.34

- old
+ new

@@ -7,10 +7,10 @@ # prevent logging of password_confirmation gsub_file 'config/initializers/filter_parameter_logging.rb', /:password/, ':password, :password_confirmation' generate 'devise:install' generate 'devise_invitable:install' if prefer :devise_modules, 'invitable' generate 'devise user' # create the User model - unless (prefer :apps4, 'rails-stripe-checkout') || (prefer :apps4, 'rails-stripe-coupons') + unless :apps4.to_s.include? 'rails-stripe-' generate 'migration AddNameToUsers name:string' end if (prefer :devise_modules, 'confirmable') || (prefer :devise_modules, 'invitable') gsub_file 'app/models/user.rb', /:registerable,/, ":registerable, :confirmable," generate 'migration AddConfirmableToUsers confirmation_token:string confirmed_at:datetime confirmation_sent_at:datetime unconfirmed_email:string'