Sha256: 848c4803d3b370d2898442843d1ea30562f5e8bceae27d90c2d0af3100ec6c21

Contents?: true

Size: 599 Bytes

Versions: 136

Compression:

Stored size: 599 Bytes

Contents

require 'precheck/rule'
require 'precheck/rules/abstract_text_match_rule'

module Precheck
  class FreeStuffIAPRule < AbstractTextMatchRule
    def self.key
      :free_stuff_in_iap
    end

    def self.env_name
      "RULE_FREE_STUFF_IN_IAP"
    end

    def self.friendly_name
      "No words indicating your IAP is free"
    end

    def self.description
      "using text indicating that your IAP is free"
    end

    def supported_fields_symbol_set
      [:in_app_purchase].to_set
    end

    def lowercased_words_to_look_for
      [
        "free"
      ].map(&:downcase)
    end
  end
end

Version data entries

136 entries across 136 versions & 1 rubygems

Version Path
fastlane-2.65.0.beta.20171107010003 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.64.0 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.64.0.beta.20171106010003 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.64.0.beta.20171105010003 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.64.0.beta.20171104010004 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.64.0.beta.20171103010004 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.64.0.beta.20171102010003 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.64.0.beta.20171101010004 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.63.0 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.63.0.beta.20171031010003 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.63.0.beta.20171030010003 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.63.0.beta.20171029010003 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.63.0.beta.20171028010003 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.63.0.beta.20171027010003 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.63.0.beta.20171026010003 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.63.0.beta.20171025010003 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.63.0.beta.20171024010003 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.62.1 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.63.0.beta.20171023010003 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.63.0.beta.20171022010003 precheck/lib/precheck/rules/free_stuff_iap_rule.rb