Sha256: 97aea63054f4617c3f8f44ff750a03655c456315c120d38756dab813a05cc589
Contents?: true
Size: 709 Bytes
Versions: 3
Compression:
Stored size: 709 Bytes
Contents
# used in initializer where autoload is unavailable, must be required here: require 'qa/linked_data/authority_service' module Qa class Engine < ::Rails::Engine isolate_namespace Qa config.before_configuration do # rubocop:disable Style/IfUnlessModifier # see https://github.com/fxn/zeitwerk#for_gem # Blacklight puts a generator into LOCAL APP lib/generators, so tell # zeitwerk to ignore the whole directory? If we're using zeitwerk # # See: https://github.com/cbeer/engine_cart/issues/117 if Rails.try(:autoloaders).try(:main).respond_to?(:ignore) Rails.autoloaders.main.ignore(Rails.root.join('lib', 'generators')) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
qa-5.13.0 | lib/qa/engine.rb |
qa-5.12.0 | lib/qa/engine.rb |
qa-5.11.0 | lib/qa/engine.rb |