centurion 1.8.0 → 1.8.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 37e2e34bed03a54303fbb97f00a7ea41ca703c92
4
- data.tar.gz: 9ce533114ecddb1fcf67108b3d3b6e5cb722aa5b
3
+ metadata.gz: 424cd7daf9560388d8fb53f54c2c98510657d0b6
4
+ data.tar.gz: a01f26b380938f5f9f006ee00a1994666d9f2956
5
5
  SHA512:
6
- metadata.gz: a26cced05248fc737b51aa7b550086d7284edc6635afecc418e5835acbbffe47a5b164a405775044008d56eda57afea3470345cf2e685b4a31aac46c876e81de
7
- data.tar.gz: 67d3855249e3ed55a2a0c7431fbf1bc01c0cdc22e9d731f572f75d4e133bfe736c419f24c8f9fd70a52c076786045f859ec95a5db3d841c9f434e26eaa8c7403
6
+ metadata.gz: c670495c7f4ab9c3f079efb7990edc482f941352ccaf43ed922abe9d816b788332c72579b4e45139aa32f9ae8c1d85c3e65c13613ff2490e248f6884a22fcfc0
7
+ data.tar.gz: 4be2c2bd8c82e97585f75cb1a9e6761d3b1501414c45456c330d2a91c40f99017e554c6d53d7f0225d87708aeae305328a86726cb005b9c27e7668d15051d00f
data/README.md CHANGED
@@ -37,7 +37,7 @@ one roll-up commit of all our internal code. But all internal development will
37
37
  now be on public GitHub. See the CONTRIBUTORS file for the contributors to the
38
38
  original internal project.
39
39
 
40
- The **current stable release** is 1.6.0.
40
+ The **current stable release** is 1.8.0.
41
41
 
42
42
  Installation
43
43
  ------------
@@ -7,7 +7,9 @@ module Centurion::Deploy
7
7
  FAILED_CONTAINER_VALIDATION = 100
8
8
 
9
9
  def stop_containers(target_server, service, timeout = 30)
10
- old_containers = target_server.find_containers_by_public_port(service.public_ports.first)
10
+ old_containers = target_server.find_containers_by_name(service.name) ||
11
+ target_server.find_containers_by_public_port(service.public_ports.first)
12
+
11
13
  info "Stopping container(s): #{old_containers.inspect}"
12
14
 
13
15
  old_containers.each do |old_container|
@@ -1,3 +1,3 @@
1
1
  module Centurion
2
- VERSION = '1.8.0'
2
+ VERSION = '1.8.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: centurion
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.0
4
+ version: 1.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nic Benders
@@ -20,7 +20,7 @@ authors:
20
20
  autorequire:
21
21
  bindir: bin
22
22
  cert_chain: []
23
- date: 2015-09-08 00:00:00.000000000 Z
23
+ date: 2015-09-09 00:00:00.000000000 Z
24
24
  dependencies:
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: trollop