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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MjkyZDZjNGJhMDcwOTcyMDNlM2E4OGMxMjQ1OGVjMjM1MGJkYzlkNg==
4
+ MjY2MDRhOTgzMWE1MjA5YWU3Yzc0ODEzYzUzMTZkOTk0OWVlMGIyZA==
5
5
  data.tar.gz: !binary |-
6
- YzE3MTZkYTdiNjk3MWU1ODBjN2U5NTFlMzAyNzA3ZWFlNmRjZTYyMQ==
6
+ MDY5MmE1YzFiOTUzNTNkYzhmNzAxMjE2N2MyNjAzZGVkMDExYmIwYw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NjdiODI0YWNlYThjZTc3ZjI3Mzc2NWJkZDMxNjAxODk5ZTMxYmEwMmJhMDJk
10
- YWQ0NjZhYjhiNTI3NjViNWRlZWU4ZWYxZDVjYzRjNGY1YTUyOTQ0Mjc2NGFi
11
- MjI0NzAwYTI2Njg1MDEwZTYyMzVlOWI4MjNmZWJkOTlmZGJmYTE=
9
+ N2ZiNjIxZTQ0OTc0ZjBhZGJkOTU3NWI5MTNlNWUxY2NhOTM2YzZiNWMwMzll
10
+ MTg2YWZmZjNhYjMxNDcwOTFjOTQ0ZmVkZGEwYTI0MGExMzVlNjNiZmMwMjk0
11
+ ZGI3Njg2ZDAyNTk4MTVlZTM3OGEwOTVkYWY0NjkyZjIyNGZmZjI=
12
12
  data.tar.gz: !binary |-
13
- MTUwNmMwY2Q5YTg2NmUzZjJiZDQ0ZDVmY2QwMjY5Y2UwZTZhMjhhNjE1OTFl
14
- MGE2MGMwMzc4NDEzMTExZDhhODI3OWMzYzhhNzczZDdhMTAyMGE2ODVkZjlk
15
- MWM1YTIxOTQzOTZhYWQxMzgyMzc1ZWY1OWZiZTFmNWYxNGQ1ZGU=
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 = @docker_runner.get_docker_ip_address
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
@@ -1,3 +1,3 @@
1
1
  module Minke
2
- VERSION = "1.0.5"
2
+ VERSION = "1.0.6"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minke
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nic Jackson