alpha_omega 0.0.93 → 0.0.94

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -82,7 +82,9 @@ module AlphaOmega
82
82
  if node_filter.nil? || node_filter.call(this_node, n)
83
83
  config.task "#{task_name}.#{pod_name}" do # task host.default, host.pod1
84
84
  role :app, remote_name
85
- set :dna, n
85
+ node_dna[remote_name] = {}
86
+ node_dna[remote_name].deep_merge!(n)
87
+ set :dna, node_dna[remote_name]
86
88
  end
87
89
 
88
90
  config.task "#{task_name}.#{pod_name}.echo" do # task host.default.echo, host.pod1.echo
@@ -127,6 +129,7 @@ module AlphaOmega
127
129
  set :last_pod, pod_name
128
130
  nodes.keys.sort.each do |remote_name|
129
131
  role :app, remote_name
132
+ set :dna, node_dna[remote_name]
130
133
  end
131
134
  end
132
135
 
@@ -1,3 +1,3 @@
1
1
  module AlphaOmega
2
- Version = "0.0.93"
2
+ Version = "0.0.94"
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: 165
4
+ hash: 163
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 93
10
- version: 0.0.93
9
+ - 94
10
+ version: 0.0.94
11
11
  platform: ruby
12
12
  authors:
13
13
  - David Nghiem
@@ -16,8 +16,7 @@ autorequire:
16
16
  bindir: bin
17
17
  cert_chain: []
18
18
 
19
- date: 2011-08-31 00:00:00 +00:00
20
- default_executable:
19
+ date: 2011-08-31 00:00:00 Z
21
20
  dependencies:
22
21
  - !ruby/object:Gem::Dependency
23
22
  name: grit
@@ -119,37 +118,36 @@ files:
119
118
  - LICENSE
120
119
  - README.mkd
121
120
  - Procfile.rb
122
- - libexec/proxy
123
121
  - libexec/build
124
- - libexec/restart
125
- - libexec/stage
126
- - libexec/rollback
122
+ - libexec/check
127
123
  - libexec/compare
128
- - libexec/shell
129
- - libexec/deploy
130
124
  - libexec/config
125
+ - libexec/deploy
126
+ - libexec/dist
131
127
  - libexec/dna
132
- - libexec/check
133
- - libexec/invoke
134
128
  - libexec/hosts
129
+ - libexec/invoke
130
+ - libexec/proxy
135
131
  - libexec/release
136
- - libexec/dist
137
- - lib/alpha_omega/utils.rb
138
- - lib/alpha_omega/deploy.rb
139
- - lib/alpha_omega/version.rb
132
+ - libexec/restart
133
+ - libexec/rollback
134
+ - libexec/shell
135
+ - libexec/stage
136
+ - lib/alpha_omega/deploy/dependencies.rb
140
137
  - lib/alpha_omega/deploy/local_dependency.rb
138
+ - lib/alpha_omega/deploy/remote_dependency.rb
139
+ - lib/alpha_omega/deploy/scm/base.rb
140
+ - lib/alpha_omega/deploy/scm/git.rb
141
+ - lib/alpha_omega/deploy/scm.rb
141
142
  - lib/alpha_omega/deploy/strategy/base.rb
142
143
  - lib/alpha_omega/deploy/strategy/checkout.rb
143
144
  - lib/alpha_omega/deploy/strategy/remote.rb
144
- - lib/alpha_omega/deploy/scm.rb
145
- - lib/alpha_omega/deploy/templates/maintenance.rhtml
146
145
  - lib/alpha_omega/deploy/strategy.rb
147
- - lib/alpha_omega/deploy/scm/base.rb
148
- - lib/alpha_omega/deploy/scm/git.rb
149
- - lib/alpha_omega/deploy/dependencies.rb
150
- - lib/alpha_omega/deploy/remote_dependency.rb
146
+ - lib/alpha_omega/deploy/templates/maintenance.rhtml
147
+ - lib/alpha_omega/deploy.rb
148
+ - lib/alpha_omega/utils.rb
149
+ - lib/alpha_omega/version.rb
151
150
  - bin/alpha_omega
152
- has_rdoc: true
153
151
  homepage: https://github.com/HeSYINUvSBZfxqA/alpha_omega
154
152
  licenses: []
155
153
 
@@ -179,7 +177,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
179
177
  requirements: []
180
178
 
181
179
  rubyforge_project:
182
- rubygems_version: 1.5.3
180
+ rubygems_version: 1.8.21
183
181
  signing_key:
184
182
  specification_version: 3
185
183
  summary: alpha_omega capistrano recipes