marathon_deploy 0.1.14 → 0.1.15
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 +4 -4
- data/lib/marathon_deploy/deployment.rb +2 -0
- data/lib/marathon_deploy/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3984f0e1489687f090fb7438ce506f62611e8bd3
|
|
4
|
+
data.tar.gz: 364f06a351cf2cb41f69d5f1336aab52747ab18c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1aff8009aef6664f73c3ae2ea8044b5bcb3faf1f3a8bd48ffc409c9e99d00c1664c3e48a7e1c12f72a025482758662847b8ff4247d9318db6719cc193ef9a734
|
|
7
|
+
data.tar.gz: 3349b76cfd389703a474fcc74bf52a716b7d3b61b9f05caf1fc609446bd6b39d2d8e2457cda353112bd10e35874f686134cc4ccec68b8a107e7a38b7b0c68b80
|
|
@@ -153,7 +153,9 @@ module MarathonDeploy
|
|
|
153
153
|
|
|
154
154
|
def health_checks_defined?
|
|
155
155
|
response = list_app
|
|
156
|
+
return false unless response.kind_of? Net::HTTPSuccess
|
|
156
157
|
response_body = Utils.response_body(response)
|
|
158
|
+
return false if response_body[:app].nil?
|
|
157
159
|
health_check_json = response_body[:app][:healthChecks]
|
|
158
160
|
return false if health_check_json.nil?
|
|
159
161
|
return health_check_json.size == 0 ? false : true
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: marathon_deploy
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.15
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Jonathan Colby
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-08-
|
|
11
|
+
date: 2015-08-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: logger
|
|
@@ -197,7 +197,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
197
197
|
version: '0'
|
|
198
198
|
requirements: []
|
|
199
199
|
rubyforge_project:
|
|
200
|
-
rubygems_version: 2.4.
|
|
200
|
+
rubygems_version: 2.4.6
|
|
201
201
|
signing_key:
|
|
202
202
|
specification_version: 4
|
|
203
203
|
summary: Mesos/Marathon deployment tool.
|