BigW Consortium Gitlab
The list of environment variables in `Gitlab::Git::RevList` need to be validate to make sure that they don't reference any other project on disk. This commit mixes in `ActiveModel::Validations` into `Gitlab::Git::RevList`, and validates that the environment variables are on the level (using a custom validator class). If the validations fail, the force push is still executed without any environment variables set. Add specs for the validation using shared examples.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
addressable_url_validator.rb | Loading commit data... | |
color_validator.rb | Loading commit data... | |
email_validator.rb | Loading commit data... | |
git_environment_variables_validator.rb | Loading commit data... | |
line_code_validator.rb | Loading commit data... | |
namespace_name_validator.rb | Loading commit data... | |
namespace_validator.rb | Loading commit data... | |
project_path_validator.rb | Loading commit data... | |
url_validator.rb | Loading commit data... |