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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: db770953f74bb5bcb8041ce341cdefc7e2fd2669
4
- data.tar.gz: d098d73d67bd058ad36451cb2ffb65fb8dfe03c7
3
+ metadata.gz: ca11d1b87091943acfe9a55acb9942d8828da836
4
+ data.tar.gz: ebb024e94fc14e1da908a77bafd45f349835ec62
5
5
  SHA512:
6
- metadata.gz: 0852eefb5573646bde1b98b0b323a1ccc5602f124de955aaf6a098a3166d1cf0e902cf65e79bba8aa0c7d8329b007cc585ffa9b34b80ced0718947f729176fcf
7
- data.tar.gz: 5a478cd0deeff304daa58aac98cf8dcee85c781ff82c5184e47526f596eefbc2043d0d033aa68bb91b412ccef3c968e267b909ff37111f25995259bd49930b74
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
@@ -1,3 +1,3 @@
1
1
  module Haile
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
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.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: 2016-09-21 00:00:00.000000000 Z
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.5.1
142
+ rubygems_version: 2.6.10
143
143
  signing_key:
144
144
  specification_version: 4
145
145
  summary: Ruby client for Marathon REST API