Sha256: 26fedf342a3fa0df7707daf79b252400b29d2d25cad5202799ff38cfcd157e15

Contents?: true

Size: 754 Bytes

Versions: 7

Compression:

Stored size: 754 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 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

7 entries across 7 versions & 1 rubygems

Version Path
fastlane-2.42.0.beta.20170627010007 precheck/lib/precheck/rules/other_platforms_rule.rb
fastlane-2.42.0.beta.20170626010017 precheck/lib/precheck/rules/other_platforms_rule.rb
fastlane-2.42.0.beta.20170625010032 precheck/lib/precheck/rules/other_platforms_rule.rb
fastlane-2.42.0.beta.20170624010047 precheck/lib/precheck/rules/other_platforms_rule.rb
fastlane-2.41.0 precheck/lib/precheck/rules/other_platforms_rule.rb
fastlane-2.41.0.beta.20170623010027 precheck/lib/precheck/rules/other_platforms_rule.rb
fastlane-2.40.0 precheck/lib/precheck/rules/other_platforms_rule.rb