Sha256: 01fd83f363f7e7c2fb40e39b8b50f6d67592da64d0d3f7ca4165306b8bf2b5f5
Contents?: true
Size: 571 Bytes
Versions: 252
Compression:
Stored size: 571 Bytes
Contents
require 'precheck/rule' require 'precheck/rules/abstract_text_match_rule' module Precheck class TestWordsRule < AbstractTextMatchRule def self.key :test_words end def self.env_name "RULE_TEST_WORDS" end def self.friendly_name "No words indicating test content" end def self.description "using text indicating this release is a test" end def lowercased_words_to_look_for [ "testing", "just a test", "alpha test", "beta test" ].map(&:downcase) end end end
Version data entries
252 entries across 252 versions & 1 rubygems