docker-compose 1.1.3 → 1.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d1c70a8acfab5b5f1f193de164f2d36bee5ec519
4
- data.tar.gz: 363dda9e524affee185e9227aeb6d2e451ce704a
3
+ metadata.gz: 0e34ae573ca7de8849b4abec1d2a64e310d9aeb1
4
+ data.tar.gz: ba3fc1a5c2853685a53b4e197554aa549be1a25b
5
5
  SHA512:
6
- metadata.gz: df692a9492299851f8729f77be2ebbd92b170a5c29d8671bb999c4ebdfe242ec49df579474a350b40b4c41b828d2d2fa7909a8f9a11378fe0185b36d2ed65d43
7
- data.tar.gz: 3c9f4a0be01b88dfdb8e258aa8ab8f63e91b7130c539d76aae4e29ee20ab470c4a2fc107b3c9dc377e57cb816cadaf3a8bb475354f623eb8d21cf59c3581fd70
6
+ metadata.gz: 7d20035a66e70117ef15c1e6de3b4462178add5f8b5f6d11d46aff985f05aa8e675443b588784e07a06d3b76779a25b33268cbb3441ec6519cd94bfa3cc8d5b6
7
+ data.tar.gz: c5f1e12aa81b3bf0921746de8c361226e30aaed310333a0441f79adeef7d7cfc2ea95c8a61e1aa2fca8bbff50d4da60697063fc0c035d92d822eaa7c3632f74e
@@ -187,6 +187,13 @@ module Docker::Compose
187
187
  o = opts(protocol: [protocol, 'tcp'], index: [index, 1])
188
188
  s = strip_ansi(run!('port', o, service, port).strip)
189
189
  (!s.empty? && s) || nil
190
+ rescue Error => e
191
+ # Deal with docker-compose v1.11+
192
+ if e.detail =~ /No container found/i
193
+ nil
194
+ else
195
+ raise
196
+ end
190
197
  ensure
191
198
  @shell.interactive = inter
192
199
  end
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  module Docker
3
3
  module Compose
4
- VERSION = '1.1.3'
4
+ VERSION = '1.1.4'
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docker-compose
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tony Spataro
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-03-21 00:00:00.000000000 Z
11
+ date: 2017-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: backticks