lib/gtfs_reader/source_updater.rb
def check_missing_files(expected, found_color, missing_color)
      check = '✔'.colorize(found_color)
      cross = '✘'.colorize(missing_color)

      expected.map do |req|
        filename = req.filename
        if filenames.include?(filename)
          Log.info { "#{filename.rjust(filename_width)} [#{check}]" }
          nil
        else
          Log.info { "#{filename.rjust(filename_width)} [#{cross}]" }
          filename
        end
      end.compact
    end
def check_missing_files(expected, found_color, missing_color)
      check = '✔'.colorize(found_color)
      cross = '✘'.colorize(missing_color)

      expected.map do |req|
        filename = req.filename
        if filenames.include?(filename)
          Log.info { "#{filename.rjust(filename_width)} [#{check}]" }
          nil
        else
          Log.info { "#{filename.rjust(filename_width)} [#{cross}]" }
          filename
        end
      end.compact
    end
Check for the given list of expected filenames in the zip file