Sha256: 3604cc032b9962aeb0c0bdf351b2f9251fb5cc48922d263dfa7f9b9ff81ac372

Contents?: true

Size: 728 Bytes

Versions: 660

Compression:

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

660 entries across 660 versions & 5 rubygems

Version Path
fastlane-2.77.1 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.77.0 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.77.0.beta.20180118010004 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.77.0.beta.20180117010004 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.76.1 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.76.0 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.76.0.beta.20180116010004 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.76.0.beta.20180115010004 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.76.0.beta.20180114010004 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.76.0.beta.20180113010004 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.76.0.beta.20180112010003 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.76.0.beta.20180111010004 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.76.0.beta.20180110010004 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.75.1 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.75.0 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.75.0.beta.20180109010003 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.74.1 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.74.0 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.74.0.beta.20180108010004 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.74.0.beta.20180107010004 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb