lib/hanami.rb in hanami-2.1.0 vs lib/hanami.rb in hanami-2.2.0.beta1

- old
+ new

@@ -15,9 +15,12 @@ # @api private # @since 2.0.0 def self.loader @loader ||= Zeitwerk::Loader.for_gem.tap do |loader| + loader.inflector.inflect "db" => "DB" + loader.inflector.inflect "db_logging" => "DBLogging" + loader.inflector.inflect "sql_adapter" => "SQLAdapter" loader.ignore( "#{loader.dirs.first}/hanami/{constants,boot,errors,extensions/router/errors,prepare,rake_tasks,setup}.rb" ) end end