Sha256: 3604cc032b9962aeb0c0bdf351b2f9251fb5cc48922d263dfa7f9b9ff81ac372

Contents?: true

Size: 728 Bytes

Versions: 661

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

661 entries across 661 versions & 5 rubygems

Version Path
fastlane-2.96.0.beta.20180518050116 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.96.0.beta.20180517050058 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.96.0.beta.20180516050022 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.96.0.beta.20180515050025 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.96.0.beta.20180514050029 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.96.0.beta.20180513050015 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.96.0.beta.20180512050121 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.96.0.beta.20180511050050 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.96.0.beta.20180510050112 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.95.0 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.95.0.beta.20180509050014 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.95.0.beta.20180508050130 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.95.0.beta.20180507050125 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.95.0.beta.20180506050030 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.95.0.beta.20180505050019 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.95.0.beta.20180504050050 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.95.0.beta.20180503050136 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.95.0.beta.20180502050125 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.94.0 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.94.0.beta.20180501050030 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb