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.115.0 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.115.0.beta.20190127200030 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.115.0.beta.20190126200102 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.115.0.beta.20190125200019 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.115.0.beta.20190124200016 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.115.0.beta.20190123200015 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.115.0.beta.20190122200028 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.115.0.beta.20190120200101 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.115.0.beta.20190119200019 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.115.0.beta.20190118200015 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.115.0.beta.20190117200016 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.114.0 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.114.0.beta.20190116200018 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.114.0.beta.20190115200110 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.114.0.beta.20190114200053 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.114.0.beta.20190113200019 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.114.0.beta.20190112200032 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.114.0.beta.20190111200053 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.114.0.beta.20190110200051 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb
fastlane-2.114.0.beta.20190109200053 precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb