lib/pennyworth/container.rb in pennyworth-17.4.1 vs lib/pennyworth/container.rb in pennyworth-17.5.0
- old
+ new
@@ -14,9 +14,12 @@
register :registry do
Etcher::Registry.new(contract: Configuration::Contract, model: Configuration::Model)
.add_loader(:yaml, self[:defaults_path])
.add_loader(:yaml, self[:xdg_config].active)
+ .add_transformer(:format, :htmx_examples_uri)
+ .add_transformer(:format, :htmx_extensions_uri)
+ .add_transformer(:format, :htmx_references_uri)
end
register(:settings) { Etcher.call(self[:registry]).dup }
register(:specification) { Spek::Loader.call "#{__dir__}/../../pennyworth.gemspec" }
register(:defaults_path) { Pathname(__dir__).join("configuration/defaults.yml") }