lib/packwerk/run_context.rb in packwerk-1.4.0 vs lib/packwerk/run_context.rb in packwerk-2.0.0
- old
+ new
@@ -22,10 +22,10 @@
::Packwerk::ReferenceChecking::Checkers::PrivacyChecker,
]
class << self
def from_configuration(configuration)
- inflector = ::Packwerk::Inflector.from_file(configuration.inflections_file)
+ inflector = ActiveSupport::Inflector
new(
root_path: configuration.root_path,
load_paths: configuration.load_paths,
package_paths: configuration.package_paths,
inflector: inflector,