Sha256: 3dbe2d66cd018daa2786e265e7cb79ff752fd28ead90b9e7a4193f50fab3bc95
Contents?: true
Size: 579 Bytes
Versions: 15
Compression:
Stored size: 579 Bytes
Contents
require "rails/app_updater" module AppUpdaterOptions extend ActiveSupport::Concern class_methods do def generator_options options = super # These options all end up hardcoded to true in the default `rails app:update` options[:skip_active_job] = !defined?(ActiveJob::Railtie) options[:skip_action_mailbox] = !defined?(ActionMailbox::Engine) options[:skip_action_text] = !defined?(ActionText::Engine) options[:skip_test] = !defined?(Rails::TestUnitRailtie) options end end end Rails::AppUpdater.prepend(AppUpdaterOptions)
Version data entries
15 entries across 15 versions & 1 rubygems