Class: NeetoCompliance::SyncNeetoCommonsVerifier
- Defined in:
- lib/neeto_compliance/verifiers/sync_neeto_commons_verifier.rb,
lib/neeto_compliance/verifiers/sync_neeto_commons_verifier/bin_files_verifier.rb,
lib/neeto_compliance/verifiers/sync_neeto_commons_verifier/misc_files_verifier.rb,
lib/neeto_compliance/verifiers/sync_neeto_commons_verifier/husky_files_verifier.rb,
lib/neeto_compliance/verifiers/sync_neeto_commons_verifier/formatter_files_verifier.rb,
lib/neeto_compliance/verifiers/sync_neeto_commons_verifier/test_support_files_verifier.rb
Defined Under Namespace
Classes: BinFilesVerifier, FormatterFilesVerifier, HuskyFilesVerifier, MiscFilesVerifier, TestSupportFilesVerifier
Instance Method Summary collapse
Methods inherited from Base
#app_is_exception?, #app_name, #apps_exception_list, #audit, #auto_correct!, #autofix_suggestion, #error_message, #print_description, #process, #verifier_name
Instance Method Details
#autofix_command ⇒ Object
27 28 29 |
# File 'lib/neeto_compliance/verifiers/sync_neeto_commons_verifier.rb', line 27 def autofix_command "bundle exec sync-with-neeto-commons" end |
#valid? ⇒ Boolean
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/neeto_compliance/verifiers/sync_neeto_commons_verifier.rb', line 11 def valid? verifiers = [ BinFilesVerifier, FormatterFilesVerifier, HuskyFilesVerifier, MiscFilesVerifier, TestSupportFilesVerifier ] results = verifiers.map do |verifier| verifier.new.process end success = results.all? end |