Sha256: 4c1c7e0ec7ba5c24d517171db8731e5842d81382504b11001db1ad4563e76dd3

Contents?: true

Size: 758 Bytes

Versions: 252

Compression:

Stored size: 758 Bytes

Contents

require 'precheck/rule'
require 'precheck/rules/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

252 entries across 252 versions & 1 rubygems

Version Path
fastlane-2.57.0.beta.20170918010003 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.57.0.beta.20170917010003 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.57.0.beta.20170916010003 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.57.0.beta.20170915010002 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.57.0.beta.20170914010003 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.57.0.beta.20170913010002 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.56.0 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.56.0.beta.20170912010003 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.56.0.beta.20170911010003 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.56.0.beta.20170910010002 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.56.0.beta.20170909010003 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.56.0.beta.20170908010003 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.56.0.beta.20170907010003 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.56.0.beta.20170906010003 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.56.0.beta.20170905010003 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.56.0.beta.20170904010003 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.56.0.beta.20170903010003 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.56.0.beta.20170902010003 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.56.0.beta.20170901010002 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.55.0 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb