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.74.0.beta.20180106010004 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.73.0 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.73.0.beta.20180105010003 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.73.0.beta.20180104010004 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.73.0.beta.20180103010003 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.72.0 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.72.0.beta.20180102010003 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.72.0.beta.20180101010003 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.72.0.beta.20171231010003 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.71.1 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.72.0.beta.20171230010003 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.72.0.beta.20171229010003 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.72.0.beta.20171228010004 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.71.0 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.71.0.beta.20171227010004 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.71.0.beta.20171226010004 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.71.0.beta.20171225010003 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.71.0.beta.20171224010003 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.71.0.beta.20171223010003 precheck/lib/precheck/rules/free_stuff_iap_rule.rb
fastlane-2.71.0.beta.20171222010003 precheck/lib/precheck/rules/free_stuff_iap_rule.rb