Closed apeschel closed 8 years ago
Travis error:
1) DockerCompose Without memory should be able to access gem version
Failure/Error: config = DockerComposeConfig.new(filepath)
NameError:
uninitialized constant DockerCompose::DockerComposeConfig
# ./lib/docker-compose.rb:26:in `load'
# ./spec/docker-compose/docker_compose_spec.rb:6:in `block (3 levels) in <top (required)>'
I am not responsible for this gem. But in addition to fix that error, I think you should add some tests. See the spec/
directory.
Related issue: https://github.com/mauricioklein/docker-compose-api/issues/21
@zuazo Thanks for the advice! I've corrected the issues and added tests for the new code.
Outstanding job folks. Thanks for the contribution. Merging and generating a new release soon...
This commit adds support for V2 docker-compose configs. It does not add any functionality included in the new style of config. Specifically, it does not add functionality for the new Volume or Network entries. It also doesn't handle the fact that some keys have had their positions in the config tree moved.