Sha256: 8633a6c762faf170baf44554b354c9d7a8b84f930ff1dbebc786cf0e9001ce5a

Contents?: true

Size: 859 Bytes

Versions: 3

Compression:

Stored size: 859 Bytes

Contents

require_relative '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",
        "google drive"
      ]
    end

    def lowercased_words_to_look_for
      [
        "android",
        "google",
        "compuserve",
        "windows phone",
        "windows 10 mobile",
        "sailfish os",
        "windows universal app",
        "blackberry",
        "palm os",
        "symbian"
      ].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/other_platforms_rule.rb
fastlane_hotfix-2.165.0 precheck/lib/precheck/rules/other_platforms_rule.rb
fastlane_hotfix-2.187.0 precheck/lib/precheck/rules/other_platforms_rule.rb