Sha256: 67065234bd757b264d76ecfcde4fa8eea976bae47131782febb295f8b4774a34

Contents?: true

Size: 571 Bytes

Versions: 3

Compression:

Stored size: 571 Bytes

Contents

require_relative '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

3 entries across 3 versions & 1 rubygems

Version Path
fastlane_hotfix-2.165.1 precheck/lib/precheck/rules/test_words_rule.rb
fastlane_hotfix-2.165.0 precheck/lib/precheck/rules/test_words_rule.rb
fastlane_hotfix-2.187.0 precheck/lib/precheck/rules/test_words_rule.rb