Class: Packwerk::Validators::DependencyValidator
- Inherits:
-
Object
- Object
- Packwerk::Validators::DependencyValidator
show all
- Extended by:
- T::Sig
- Includes:
- Packwerk::Validator
- Defined in:
- lib/packwerk/validators/dependency_validator.rb
Instance Method Summary
collapse
all, included, #merge_results, #package_glob, #package_manifests, #package_manifests_settings_for, #relative_path
Instance Method Details
#call(package_set, configuration) ⇒ Object
13
14
15
16
17
18
19
20
21
|
# File 'lib/packwerk/validators/dependency_validator.rb', line 13
def call(package_set, configuration)
results = [
check_package_manifest_syntax(configuration),
check_acyclic_graph(package_set),
check_valid_package_dependencies(configuration),
]
merge_results(results)
end
|
#permitted_keys ⇒ Object
24
25
26
27
28
29
|
# File 'lib/packwerk/validators/dependency_validator.rb', line 24
def permitted_keys
[
"enforce_dependencies",
"dependencies",
]
end
|