minke 1.5.6 → 1.5.7

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
- ZjRhZmE4ZmE0MmY4OGJlNTlmNjI1MDc1MGExY2JlMmRiOTBiMzk3Mw==
4
+ ZDhiMzdlMmI2ZGU0MTMzZTkyNDQ4ZGI1OTYzYTVjYmY4NDQ5N2M0Nw==
5
5
  data.tar.gz: !binary |-
6
- MTFjMTJmZTVlMGM2ZmExNTYxODA5MjQ5NGZjZDA5MWEyMTYzODdkNg==
6
+ MGFjNzY3YzlkYjQzNzJjYWE0NDc0ZGNmYTgwNDkyOTU2NmFjNDE3OA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YmQ4NDdiMDg3NTljYWMwOTcwMTg4Y2M2ZTEwNGNlNmJkNjcwMDAyMmFjNzAx
10
- M2E1N2ViZTFlZDg4NzBmOWQ0OGMzYjgwZWE5NWUwZmFmMTBmODNiZDg0OWUy
11
- ZmJkZGNlMjI0NWE0N2NkYzcwOGEwMzZjNjJiMjMxMDE2Y2I2ZGQ=
9
+ YTgwZmE1MWQ4NzMzMmY0NWY0MjkzOTkzY2ZmNDVlZTA3ZGZlZWM3YWEyMzE3
10
+ OWY5ZjM0ZTE3NzhlZWFmYTUzZTcxYzkyY2I1NTc2NmQ4NzE3Njg4NjM2Zjgy
11
+ MDU2OWJiMTM2YjY0MGI0NGQ5MTk3ZGRiMDU0ZTBiYmVmMTlmYjk=
12
12
  data.tar.gz: !binary |-
13
- NDQ1ZTAxYzA1NGFiMTMzOWZiNjhhYzlhZDNkY2UyYjQ0NzA0ZjAwYzViZDlj
14
- ZGJlYzlhNjJiZDY2NDQ2NTEwOGUyOWE5Yzk2MmUxNWVjZTZhMjQ0NGZjYzJm
15
- YzliY2U2NmY0YWE2MzkwNTFkY2YwZTcyZWJhYTA3NjBlOGRiMDI=
13
+ N2IwZDAwYTM1MmYyNzEwNGE0YmU2YTk3ZmYyNjU1Y2EzYjVhZjg5ZDlkZDEx
14
+ MWZhMGNmYWY3YmM5NWJiZTYzMTlmY2E1NjE4NjFkZDdmYjEwZDQ5YmRkZjRk
15
+ YThjYmQ3MzdkZDZlZTFlNWNjM2IxMzlhZjVjNmI4OGE0ODdlZTI=
@@ -4,6 +4,11 @@ module Minke
4
4
  ##
5
5
  # returns the ip address that docker is running on
6
6
  def get_docker_ip_address
7
+ # first try to get the ip from docker-ip env
8
+ if !ENV['DOCKER_IP'].to_s.empty?
9
+ return ENV['DOCKER_IP']
10
+ end
11
+
7
12
  if !ENV['DOCKER_HOST'].to_s.empty?
8
13
  # dockerhost set
9
14
  host = ENV['DOCKER_HOST'].dup
data/lib/minke/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Minke
2
- VERSION = "1.5.6"
2
+ VERSION = "1.5.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: minke
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.6
4
+ version: 1.5.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nic Jackson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-07 00:00:00.000000000 Z
11
+ date: 2016-06-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler