lib/platformos_check/checks.rb in platformos-check-0.2.0 vs lib/platformos_check/checks.rb in platformos-check-0.2.1

- old
+ new

@@ -23,9 +23,15 @@ def single_file @single_file ||= self.class.new(select(&:single_file?)) end + def single_file_end_dependencies(app_file) + map do |check| + check.respond_to?(:single_file_end_dependencies) ? check.single_file_end_dependencies(app_file) : [] + end.flatten.compact.uniq + end + private def call_check_method(check, method, *args) return unless check.respond_to?(method) && !check.ignored?