Sha256: e0ad6a54295286d77617257609d98e1bcc3ffdac76d8a7607c3146307a58a335

Contents?: true

Size: 816 Bytes

Versions: 475

Compression:

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

475 entries across 475 versions & 5 rubygems

Version Path
fastlane-2.225.0 precheck/lib/precheck/rules/other_platforms_rule.rb
fastlane-2.224.0 precheck/lib/precheck/rules/other_platforms_rule.rb
fastlane-2.223.1 precheck/lib/precheck/rules/other_platforms_rule.rb
fastlane-2.223.0 precheck/lib/precheck/rules/other_platforms_rule.rb
fastlane-2.222.0 precheck/lib/precheck/rules/other_platforms_rule.rb
fastlane-2.221.1 precheck/lib/precheck/rules/other_platforms_rule.rb
fastlane-2.221.0 precheck/lib/precheck/rules/other_platforms_rule.rb
fastlane-2.220.0 precheck/lib/precheck/rules/other_platforms_rule.rb
fastlane-2.219.0 precheck/lib/precheck/rules/other_platforms_rule.rb
fastlane-2.218.0 precheck/lib/precheck/rules/other_platforms_rule.rb
fastlane-security-patched-2.216.0 precheck/lib/precheck/rules/other_platforms_rule.rb
fastlane-2.217.0 precheck/lib/precheck/rules/other_platforms_rule.rb
fastlane-2.216.0 precheck/lib/precheck/rules/other_platforms_rule.rb
fastlane-2.215.1 precheck/lib/precheck/rules/other_platforms_rule.rb
fastlane-2.215.0 precheck/lib/precheck/rules/other_platforms_rule.rb
fastlane-mercafacil-2.214.0 precheck/lib/precheck/rules/other_platforms_rule.rb
fastlane-2.214.0 precheck/lib/precheck/rules/other_platforms_rule.rb
fastlane-2.213.0 precheck/lib/precheck/rules/other_platforms_rule.rb
fastlane-2.212.2 precheck/lib/precheck/rules/other_platforms_rule.rb
fastlane_pricing_fix-2.212.1 precheck/lib/precheck/rules/other_platforms_rule.rb