haile 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/haile/client.rb +4 -2
- data/lib/haile/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: ca11d1b87091943acfe9a55acb9942d8828da836
|
4
|
+
data.tar.gz: ebb024e94fc14e1da908a77bafd45f349835ec62
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4414e1bb92dcb01ef4f9549e18a1eecda457fcf78ce90ed946ee58b605a5cdc8c8151ecd42674f7e63048aa9317a3400797bcf6d79e3456b4f4b7face43ba9a
|
7
|
+
data.tar.gz: abb419685dbd2da160d9ca55d9a0d774e1bae0b884c234bd166443f8b00dae5a8c812c3d4440914c459c74c87d3665fdf4479c0334545c192c7b4ec378659b68
|
data/lib/haile/client.rb
CHANGED
@@ -67,11 +67,13 @@ module Haile
|
|
67
67
|
app = wrap_request(:get, "/v2/apps/#{id}").parsed_response['app']
|
68
68
|
if !!app
|
69
69
|
puts "Updating app #{id}...".green
|
70
|
-
wrap_request(:put, "/v2/apps/#{id}", :body => body)
|
70
|
+
resp = wrap_request(:put, "/v2/apps/#{id}", :body => body)
|
71
71
|
else
|
72
72
|
puts "Starting app #{id}...".blue
|
73
|
-
wrap_request(:post, '/v2/apps/', :body => body)
|
73
|
+
resp = wrap_request(:post, '/v2/apps/', :body => body)
|
74
74
|
end
|
75
|
+
|
76
|
+
puts "#{id}: #{resp.to_s}"
|
75
77
|
end
|
76
78
|
|
77
79
|
def docker_deploy(id, image)
|
data/lib/haile/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: haile
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tobi Knaup
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2017-03-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: trollop
|
@@ -139,7 +139,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
139
139
|
version: '0'
|
140
140
|
requirements: []
|
141
141
|
rubyforge_project:
|
142
|
-
rubygems_version: 2.
|
142
|
+
rubygems_version: 2.6.10
|
143
143
|
signing_key:
|
144
144
|
specification_version: 4
|
145
145
|
summary: Ruby client for Marathon REST API
|