hanami-controller/lib
Tim Riley 2e025d26c3
Convert to Zeitwerk for code loading (#402)
- Add zeitwerk to the gemspec
- Add `lib/hanami-controller.rb` so the gem follows a conventional structure
- Set up the Zeitwerk loader inside `lib/hanami/action.rb` (call it `.gem_loader` instead of `.loader` like we have done in other gems, since `Hanami::Action` is a class with other responsibilities, and `loader` is too generic a term)
- Move conditional requires below the `gem_loader.setup` line to ensure any internal autoloader work
- Remove all now-unneeded manual requires for files inside the gem
2022-11-14 21:28:11 +11:00
..
hanami Convert to Zeitwerk for code loading (#402) 2022-11-14 21:28:11 +11:00
hanami-controller.rb Convert to Zeitwerk for code loading (#402) 2022-11-14 21:28:11 +11:00