Sha256: f631d1af5f532a8d296ca42e960c777b95acbcf1591b4639a6684d9f2f5b6b06
Contents?: true
Size: 823 Bytes
Versions: 25
Compression:
Stored size: 823 Bytes
Contents
require 'precheck/rule' require 'precheck/rules/abstract_text_match_rule' module Precheck class OtherPlatformsRule < AbstractTextMatchRule def self.key :other_platforms end def self.env_name "RULE_OTHER_PLATFORMS" end def self.friendly_name "No mentioning competitors" end def self.description "mentioning other platforms, like Android or Blackberry" end def allowed_lowercased_words ["google analytics"] end def lowercased_words_to_look_for [ "android", "google", "compuserve", "windows phone", "tizen", "windows 10 mobile", "sailfish os", "windows universal app", "blackberry", "palm os", "symbian" ].map(&:downcase) end end end
Version data entries
25 entries across 25 versions & 1 rubygems