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.69.0.beta.20171208010004 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.69.0.beta.20171207010003 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.69.0.beta.20171206010003 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.68.2 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.69.0.beta.20171205010003 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.68.1 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.69.0.beta.20171204010003 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.69.0.beta.20171203010003 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.69.0.beta.20171202010003 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.69.0.beta.20171201010003 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.68.0 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.68.0.beta.20171130010004 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.68.0.beta.20171129010003 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.67.0 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.67.0.beta.20171128010003 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.67.0.beta.20171127010003 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.67.0.beta.20171126010003 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.67.0.beta.20171125010004 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.67.0.beta.20171124010004 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.67.0.beta.20171123010003 precheck/lib/precheck/rules/free_stuff_iap_rule.rb