alpha_omega 0.0.58 → 0.0.59

Sign up to get free protection for your applications and to get access to all the features.
@@ -21,15 +21,15 @@ module AlphaOmega
21
21
  end
22
22
 
23
23
  AlphaOmega.what_groups hosts do |task_name, nodes|
24
- unless mix_pods
25
- if last_pod && last_pod != pod_name
26
- puts "ERROR: cannot call tasks that mix different dc_env (last pod = #{last_pod}, current pod = #{pod_name})"
27
- exit 1
24
+ config.task "#{task_name}.#{pod_name}" do
25
+ unless mix_pods
26
+ if last_pod && last_pod != pod_name
27
+ puts "ERROR: cannot call tasks that mix different dc_env (last pod = #{last_pod}, current pod = #{pod_name})"
28
+ exit 1
29
+ end
28
30
  end
29
- end
30
31
 
31
- set :last_pod, pod_name
32
- config.task "#{task_name}.#{pod_name}" do
32
+ set :last_pod, pod_name
33
33
  nodes.keys.sort.each do |remote_name|
34
34
  role :app, remote_name
35
35
  end
@@ -1,3 +1,3 @@
1
1
  module AlphaOmega
2
- Version = "0.0.58"
2
+ Version = "0.0.59"
3
3
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alpha_omega
3
3
  version: !ruby/object:Gem::Version
4
- hash: 107
4
+ hash: 105
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 58
10
- version: 0.0.58
9
+ - 59
10
+ version: 0.0.59
11
11
  platform: ruby
12
12
  authors:
13
13
  - David Nghiem