centurion 1.8.0 → 1.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/centurion/deploy.rb +3 -1
- data/lib/centurion/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 424cd7daf9560388d8fb53f54c2c98510657d0b6
|
4
|
+
data.tar.gz: a01f26b380938f5f9f006ee00a1994666d9f2956
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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.
|
40
|
+
The **current stable release** is 1.8.0.
|
41
41
|
|
42
42
|
Installation
|
43
43
|
------------
|
data/lib/centurion/deploy.rb
CHANGED
@@ -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.
|
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|
|
data/lib/centurion/version.rb
CHANGED
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.
|
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-
|
23
|
+
date: 2015-09-09 00:00:00.000000000 Z
|
24
24
|
dependencies:
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: trollop
|