Sha256: c7f1eede8329d84ebe0796f01111d0b59ac1b11d110a52b1a90bef5721951490
Contents?: true
Size: 659 Bytes
Versions: 82
Compression:
Stored size: 659 Bytes
Contents
# frozen_string_literal: true module RuboCop module Cop class Team def support_target_chef_version?(cop) return true unless cop.class.respond_to?(:support_target_chef_version?) cop.class.support_target_chef_version?(cop.target_chef_version) end ### START COOKSTYLE MODIFICATION def roundup_relevant_cops(filename) cops.reject do |cop| cop.excluded_file?(filename) || !support_target_ruby_version?(cop) || !support_target_chef_version?(cop) || !support_target_rails_version?(cop) end end ### END COOKSTYLE MODIFICATION end end end
Version data entries
82 entries across 82 versions & 1 rubygems