Class: Djin::IncludeContract
- Inherits:
-
Dry::Validation::Contract
- Object
- Dry::Validation::Contract
- Djin::IncludeContract
- Defined in:
- lib/djin/include_contract.rb
Constant Summary collapse
- GIT_URI_REGEXP =
Regexp.new('(\w+://)(.+@)*([\w\d\.]+)(:[\d]+){0,1}/*(.*)')
- GIT_SSH_REGEXP =
Regexp.new('(.+@)+([\w\d\.]+):(.*)')
- GIT_FILE_REGEXP =
Regexp.new('file://(.*)')
- ContextSchema =
Dry::Schema.Params do optional(:variables).filled(:hash) # TODO: Add the rest end