Sha256: a301f175b82bb4e6b513a9d25d70d849990bd8f67bb99b1b41fdc8acc030b7ee
Contents?: true
Size: 614 Bytes
Versions: 7
Compression:
Stored size: 614 Bytes
Contents
module GemVersionCheck class Report def initialize(project_names, options = {}) @project_names = project_names @options = options @only = options[:only] || [] @except = options[:except] || [] end def generate @check_failed = false @project_names.inject([]) do |result, project_name| project = Project.new(project_name, only: @only, except: @except) project.report @check_failed = true if project.check_failed? result << project end end def check_failed? @check_failed end end end
Version data entries
7 entries across 7 versions & 1 rubygems