You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 5, 2020. It is now read-only.
Seems like this is not active anymore, but in case, you start again anytime and want to support imports: The following does the trick:
Psych.add_domain_type'include','include'do |_,value|
casevaluewhen/^https?:\/\//# TODO implement remote loading of included files''elsecasevaluewhen/\.raml$/read_yaml(value)when/\.ya?ml$/read_yaml(value)elseFile.read(value)endendenddefread_yaml(path)# change working directory so that !includes work properlypwd_old=Dir.pwdDir.chdir(File.dirname(path))raw=File.read(File.basename(path))node=YAML.load(raw)Dir.chdir(pwd_old)nodeend
The text was updated successfully, but these errors were encountered:
Seems like this is not active anymore, but in case, you start again anytime and want to support imports: The following does the trick:
The text was updated successfully, but these errors were encountered: