alpha_omega 0.0.61 → 0.0.62
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/alpha_omega/utils.rb +13 -0
- data/lib/alpha_omega/version.rb +1 -1
- metadata +3 -3
data/lib/alpha_omega/utils.rb
CHANGED
@@ -4,6 +4,10 @@ module AlphaOmega
|
|
4
4
|
|
5
5
|
def self.default_pods_tasks
|
6
6
|
Proc.new do |config, pod_name, pod, mix_pods|
|
7
|
+
# world task accumulates all.* after tasks
|
8
|
+
config.task "world" do
|
9
|
+
end
|
10
|
+
|
7
11
|
# each pod task sets the pod context for host/group tasks
|
8
12
|
config.task pod_name do
|
9
13
|
set :current_pod, pod_name
|
@@ -35,6 +39,15 @@ module AlphaOmega
|
|
35
39
|
end
|
36
40
|
end
|
37
41
|
|
42
|
+
if task_name == "all"
|
43
|
+
# simulate all podXX all
|
44
|
+
unless pod_name == "default"
|
45
|
+
config.after "world", pod_name
|
46
|
+
end
|
47
|
+
|
48
|
+
config.after "world", task_name
|
49
|
+
end
|
50
|
+
|
38
51
|
config.task task_name do
|
39
52
|
after task_name, "#{task_name}.#{current_pod}"
|
40
53
|
end
|
data/lib/alpha_omega/version.rb
CHANGED
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:
|
4
|
+
hash: 99
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 62
|
10
|
+
version: 0.0.62
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- David Nghiem
|