lib/pennyworth.rb in pennyworth-10.0.1 vs lib/pennyworth.rb in pennyworth-11.0.0
- old
+ new
@@ -1,4 +1,13 @@
# frozen_string_literal: true
-require "pennyworth/identity"
-require "pennyworth/cli"
+require "zeitwerk"
+
+loader = Zeitwerk::Loader.for_gem
+loader.inflector.inflect "cli" => "CLI",
+ "http_status" => "HTTPStatus",
+ "http_statuses" => "HTTPStatuses"
+loader.setup
+
+# Main namespace.
+module Pennyworth
+end