docker-compose-api 1.1.5 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/README.md +0 -1
- data/lib/docker-compose/utils/compose_utils.rb +1 -1
- data/lib/version.rb +1 -1
- data/spec/docker-compose/utils/compose_utils_spec.rb +7 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: d197a1015b92d32a1ef737d833f74a3de2133d4e023349d6ea456757a91a4608
|
4
|
+
data.tar.gz: d02c4c0d29247ee89c85a78064b7e679ada643313e4d49e3a4c08b9c7cf3ba6b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b97051bf7dbfe93e89ae64cb5e8f1fdb3ba953bbfb0139a82689f454459040125aa4009a6bf6707e51295e5ccd4825e4be5ff02270b6e2e9d4021b34e3e685df
|
7
|
+
data.tar.gz: 73e311ba54b0d727210bd6f2548816878a0a9913190daf907bd4c3d36f18a649bcec26d6444362bb5e56856f55c1eb44f3d7d4bfb7dbd21ca0fe612141741300
|
data/README.md
CHANGED
@@ -2,7 +2,6 @@
|
|
2
2
|
[](https://codeclimate.com/github/mauricioklein/docker-compose-api)
|
3
3
|
[](https://codeclimate.com/github/mauricioklein/docker-compose-api/coverage)
|
4
4
|
[](https://badge.fury.io/rb/docker-compose-api)
|
5
|
-
[](https://gemnasium.com/github.com/mauricioklein/docker-compose-api)
|
6
5
|
|
7
6
|
# Docker Compose Api
|
8
7
|
|
data/lib/version.rb
CHANGED
@@ -37,6 +37,13 @@ describe ComposeUtils do
|
|
37
37
|
expect(compose_port.host_ip).to eq(nil)
|
38
38
|
end
|
39
39
|
|
40
|
+
it 'should be able to use numeric ports too in pattern "[container port]"' do
|
41
|
+
compose_port = ComposeUtils.format_port(8080)
|
42
|
+
expect(compose_port.container_port).to eq('8080')
|
43
|
+
expect(compose_port.host_port).to eq(nil)
|
44
|
+
expect(compose_port.host_ip).to eq(nil)
|
45
|
+
end
|
46
|
+
|
40
47
|
it 'should recognize pattern "[host port]:[container port]"' do
|
41
48
|
compose_port = ComposeUtils.format_port('8080:7777')
|
42
49
|
expect(compose_port.container_port).to eq('7777')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: docker-compose-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mauricio S. Klein
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-12-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: docker-api
|
@@ -134,7 +134,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
134
134
|
version: '0'
|
135
135
|
requirements: []
|
136
136
|
rubyforge_project:
|
137
|
-
rubygems_version: 2.
|
137
|
+
rubygems_version: 2.7.7
|
138
138
|
signing_key:
|
139
139
|
specification_version: 4
|
140
140
|
summary: A simple ruby client for docker-compose api
|