lib/dor/workflow/client.rb in dor-workflow-client-3.4.0 vs lib/dor/workflow/client.rb in dor-workflow-client-3.4.1

- old
+ new

@@ -4,10 +4,12 @@ require 'active_support/core_ext' require 'nokogiri' require 'zeitwerk' loader = Zeitwerk::Loader.new -loader.push_dir(File.absolute_path("#{__FILE__}/../../..")) +root_file = File.absolute_path("#{__FILE__}/../../..") +loader.inflector = Zeitwerk::GemInflector.new(root_file) +loader.push_dir(root_file) loader.setup module Dor module Workflow # TODO: VALID_STATUS should be just another attribute w/ default