Class: Appraisal::TravisCIHelper::ConfigurationValidator
- Inherits:
-
Object
- Object
- Appraisal::TravisCIHelper::ConfigurationValidator
- Defined in:
- lib/appraisal/travis_ci_helper.rb
Constant Summary collapse
- CONFIGURATION_FILE =
".travis.yml"
Instance Method Summary collapse
Instance Method Details
#validate ⇒ Object
35 36 37 38 39 40 41 42 43 |
# File 'lib/appraisal/travis_ci_helper.rb', line 35 def validate if has_configuration_file? if has_no_gemfiles_configuration? $stderr.puts(NO_CONFIGURATION_WARNING) elsif has_invalid_gemfiles_configuration? $stderr.puts(INVALID_CONFIGURATION_WARNING) end end end |