Sha256: 996174c422f1471289b25d51d19896b6d82625f37a64eba0b28084e41dce16bb

Contents?: true

Size: 765 Bytes

Versions: 3

Compression:

Stored size: 765 Bytes

Contents

require_relative 'abstract_text_match_rule'

module Precheck
  class NegativeAppleSentimentRule < AbstractTextMatchRule
    def self.key
      :negative_apple_sentiment
    end

    def self.env_name
      "RULE_NEGATIVE_APPLE_SENTIMENT"
    end

    def self.friendly_name
      "No negative  sentiment"
    end

    def self.description
      "mentioning  in a way that could be considered negative"
    end

    def lowercased_words_to_look_for
      [
        "ios",
        "macos",
        "safari",
        "webkit",
        "uikit",
        "apple store"
      ].map { |word| (word + " bug").downcase } +
        [
          "slow iphone",
          "slow ipad",
          "old iphone"
        ]
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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