Module: Precheck

Defined in:
precheck/lib/precheck/rule.rb,
precheck/lib/precheck/module.rb,
precheck/lib/precheck/runner.rb,
precheck/lib/precheck/options.rb,
precheck/lib/precheck/item_to_check.rb,
precheck/lib/precheck/rule_processor.rb,
precheck/lib/precheck/rule_check_result.rb,
precheck/lib/precheck/commands_generator.rb,
precheck/lib/precheck/rules/test_words_rule.rb,
precheck/lib/precheck/rules/curse_words_rule.rb,
precheck/lib/precheck/rules/custom_text_rule.rb,
precheck/lib/precheck/rules/copyright_date_rule.rb,
precheck/lib/precheck/rules/free_stuff_iap_rule.rb,
precheck/lib/precheck/rules/other_platforms_rule.rb,
precheck/lib/precheck/rules/unreachable_urls_rule.rb,
precheck/lib/precheck/rules/placeholder_words_rule.rb,
precheck/lib/precheck/rules/abstract_text_match_rule.rb,
precheck/lib/precheck/rules/future_functionality_rule.rb,
precheck/lib/precheck/rules/negative_apple_sentiment_rule.rb

Defined Under Namespace

Classes: AbstractTextMatchRule, CommandsGenerator, CopyrightDateRule, CurseWordsRule, CustomTextRule, FreeStuffIAPRule, FutureFunctionalityRule, ItemToCheck, NegativeAppleSentimentRule, Options, OtherPlatformsRule, PlaceholderWordsRule, Rule, RuleCheckResult, RuleProcessResult, RuleProcessor, Runner, TestWordsRule, TextItemToCheck, TextRule, URLItemToCheck, URLRule, UnreachableURLRule

Constant Summary collapse

VALIDATION_STATES =
{
  passed: "passed",
  failed: "failed"
}
RULE_LEVELS =

rules can cause warnings, errors, or be skipped all together by default they are set to indicate a RULE_LEVELS

{
  warn: :warn,
  error: :error,
  skip: :skip
}
Helper =

you gotta love Ruby: Helper.* should use the Helper class contained in FastlaneCore

FastlaneCore::Helper
UI =
FastlaneCore::UI
ROOT =
Pathname.new(File.expand_path('../../..', __FILE__))
DESCRIPTION =
'Check your app using a community driven set of App Store review rules to avoid being rejected'

Class Attribute Summary collapse

Instance Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configObject

Returns the value of attribute config


7
8
9
# File 'precheck/lib/precheck/module.rb', line 7

def config
  @config
end

Instance Attribute Details

#rule_blockObject

Abstract super class


23
24
25
# File 'precheck/lib/precheck/rule.rb', line 23

def rule_block
  @rule_block
end

Class Method Details

.precheckfile_nameObject


9
10
11
# File 'precheck/lib/precheck/module.rb', line 9

def precheckfile_name
  "Precheckfile"
end