minke 1.0.5 → 1.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/minke/docker/service_discovery.rb +3 -1
- data/lib/minke/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MjY2MDRhOTgzMWE1MjA5YWU3Yzc0ODEzYzUzMTZkOTk0OWVlMGIyZA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MDY5MmE1YzFiOTUzNTNkYzhmNzAxMjE2N2MyNjAzZGVkMDExYmIwYw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
N2ZiNjIxZTQ0OTc0ZjBhZGJkOTU3NWI5MTNlNWUxY2NhOTM2YzZiNWMwMzll
|
10
|
+
MTg2YWZmZjNhYjMxNDcwOTFjOTQ0ZmVkZGEwYTI0MGExMzVlNjNiZmMwMjk0
|
11
|
+
ZGI3Njg2ZDAyNTk4MTVlZTM3OGEwOTVkYWY0NjkyZjIyNGZmZjI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NTBjYTQ2MTBhOTRkN2QyZDVmNzMxZmVhY2EyYmNmNzJmMjNhNDIwMWUwNGVj
|
14
|
+
OTliZjJmMzdhNGZjOGJjNDYyODMxMDQyODI4YTE5MWRmNGRiNGRjYmYwNjNj
|
15
|
+
OTViMzhjYjgwZTQ5YjhhZWU5ZTUxZmMzODhlZGI1MWUxNjg2OTg=
|
@@ -17,9 +17,11 @@ module Minke
|
|
17
17
|
# - task: :run, :cucumber search either the run or cucumber section of the config
|
18
18
|
def public_address_for container_name, private_port, task
|
19
19
|
compose = Minke::Docker::DockerCompose.new @config.compose_file_for(task), Minke::Docker::SystemRunner.new
|
20
|
+
docker_runner = Minke::Docker::DockerRunner.new
|
21
|
+
|
20
22
|
public_address = compose.public_address container_name, private_port
|
21
23
|
|
22
|
-
ip =
|
24
|
+
ip = docker_runner.get_docker_ip_address
|
23
25
|
if ip != "127.0.0.1" && ip != "0.0.0.0" && ip != nil
|
24
26
|
public_address.gsub!('0.0.0.0', ip)
|
25
27
|
end
|
data/lib/minke/version.rb
CHANGED