mamiya 0.0.1.beta1 → 0.0.1.beta3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/example/config.agent.rb +4 -0
- data/lib/mamiya/cli/client.rb +1 -1
- data/lib/mamiya/master/application_status.rb +1 -1
- data/lib/mamiya/master/package_status.rb +1 -1
- data/lib/mamiya/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: feb2301bfc6bf520112e3606038d9c5387a3bd94
|
4
|
+
data.tar.gz: b4f96200bd9d5d2495cfd62076f4a9e804f6ef61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d18e32e3a5ee9ec3a46560337b810c254f1f51008eb1e3ec0be4ab8a3df3b774d73397e21bb6b341b317602b14ec47db5b3ef1281f9300c09f2b40faf81ba47f
|
7
|
+
data.tar.gz: 2004514ee647cec743bcce5a0230f0ceb012157bcae4662a32ba82efda376e8307c0cbdd142c03334e836969ef5fc1feb3217a0f298370b315972a4a0c9ab8c8
|
data/example/config.agent.rb
CHANGED
data/lib/mamiya/cli/client.rb
CHANGED
@@ -237,7 +237,7 @@ not distributed: #{dist['not_distributed_count']} agents
|
|
237
237
|
rescue Exception => e
|
238
238
|
@deploy_exception = e
|
239
239
|
$stderr.puts "ERROR: #{e.inspect}"
|
240
|
-
$stderr.puts "\t#{e.backtrace("\n\t")}"
|
240
|
+
$stderr.puts "\t#{e.backtrace.join("\n\t")}"
|
241
241
|
ensure
|
242
242
|
config.after_deploy[@deploy_exception] if config
|
243
243
|
config.after_deploy_or_rollback[@deploy_exception] if config
|
@@ -7,8 +7,8 @@ module Mamiya
|
|
7
7
|
class ApplicationStatus
|
8
8
|
def initialize(agent_monitor, application, labels: nil)
|
9
9
|
@application = application
|
10
|
-
@agents = agent_monitor.statuses(labels: @labels).reject { |_, s| s['master'] }
|
11
10
|
@labels = labels
|
11
|
+
@agents = agent_monitor.statuses(labels: labels).reject { |_, s| s['master'] }
|
12
12
|
end
|
13
13
|
|
14
14
|
attr_reader :labels, :application, :agents
|
@@ -8,8 +8,8 @@ module Mamiya
|
|
8
8
|
def initialize(agent_monitor, application, package, labels: nil)
|
9
9
|
@application = application
|
10
10
|
@package = package
|
11
|
-
@agents = agent_monitor.statuses(labels: @labels).reject { |_, s| s['master'] }
|
12
11
|
@labels = labels
|
12
|
+
@agents = agent_monitor.statuses(labels: labels).reject { |_, s| s['master'] }
|
13
13
|
end
|
14
14
|
|
15
15
|
attr_reader :labels, :application, :package, :agents
|
data/lib/mamiya/version.rb
CHANGED