ors 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -8,6 +8,12 @@ module ORS::Commands
8
8
  [Update, Migrate, Restart].each {|command| run command }
9
9
 
10
10
  eval ERB.new(deploy_hook).result(binding) if deploy_hook
11
+
12
+ if remote_deploy_hook
13
+ execute_in_parallel(app_servers) do |server|
14
+ execute_command server, prepare_environment, remote_deploy_hook
15
+ end
16
+ end
11
17
  end
12
18
 
13
19
  end
@@ -6,7 +6,7 @@ module ORS::Commands
6
6
  puts "ORS v#{ORS::VERSION} configuration:\n\n"
7
7
 
8
8
  [:name, :environment, :use_gateway, :pretending, :log_lines, :rails2, :gateway, :deploy_user, :repo,
9
- :base_path, :deploy_hook, :web_servers, :app_servers, :migration_server, :console_server, :cron_server].each do |config_variable|
9
+ :base_path, :deploy_hook, :remote_deploy_hook, :web_servers, :app_servers, :migration_server, :console_server, :cron_server].each do |config_variable|
10
10
  puts "%20s: %-40s" % [config_variable, ORS::Config.send(config_variable).inspect]
11
11
  end
12
12
  end
@@ -3,7 +3,7 @@ module ORS
3
3
 
4
4
  CONFIG_FILENAME="config/deploy.yml"
5
5
 
6
- mattr_accessor :name, :environment, :use_gateway, :pretending, :log_lines, :rails2, :deploy_hook
6
+ mattr_accessor :name, :environment, :use_gateway, :pretending, :log_lines, :rails2, :deploy_hook, :remote_deploy_hook
7
7
  mattr_accessor :gateway, :deploy_user, :repo, :base_path, :web_servers, :app_servers, :migration_server, :console_server, :cron_server
8
8
  mattr_accessor :options
9
9
 
@@ -1,3 +1,3 @@
1
1
  module ORS
2
- VERSION = "0.2.5"
2
+ VERSION = "0.2.6"
3
3
  end
metadata CHANGED
@@ -1,8 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ors
3
3
  version: !ruby/object:Gem::Version
4
- prerelease:
5
- version: 0.2.5
4
+ hash: 27
5
+ prerelease: false
6
+ segments:
7
+ - 0
8
+ - 2
9
+ - 6
10
+ version: 0.2.6
6
11
  platform: ruby
7
12
  authors:
8
13
  - Jason Dew and John Long
@@ -10,7 +15,7 @@ autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
17
 
13
- date: 2011-09-03 00:00:00 -04:00
18
+ date: 2011-09-20 00:00:00 -05:00
14
19
  default_executable:
15
20
  dependencies:
16
21
  - !ruby/object:Gem::Dependency
@@ -21,6 +26,9 @@ dependencies:
21
26
  requirements:
22
27
  - - ">="
23
28
  - !ruby/object:Gem::Version
29
+ hash: 3
30
+ segments:
31
+ - 0
24
32
  version: "0"
25
33
  type: :runtime
26
34
  version_requirements: *id001
@@ -32,6 +40,9 @@ dependencies:
32
40
  requirements:
33
41
  - - ">="
34
42
  - !ruby/object:Gem::Version
43
+ hash: 3
44
+ segments:
45
+ - 0
35
46
  version: "0"
36
47
  type: :development
37
48
  version_requirements: *id002
@@ -43,6 +54,9 @@ dependencies:
43
54
  requirements:
44
55
  - - ">="
45
56
  - !ruby/object:Gem::Version
57
+ hash: 3
58
+ segments:
59
+ - 0
46
60
  version: "0"
47
61
  type: :development
48
62
  version_requirements: *id003
@@ -115,17 +129,23 @@ required_ruby_version: !ruby/object:Gem::Requirement
115
129
  requirements:
116
130
  - - ">="
117
131
  - !ruby/object:Gem::Version
132
+ hash: 3
133
+ segments:
134
+ - 0
118
135
  version: "0"
119
136
  required_rubygems_version: !ruby/object:Gem::Requirement
120
137
  none: false
121
138
  requirements:
122
139
  - - ">="
123
140
  - !ruby/object:Gem::Version
141
+ hash: 3
142
+ segments:
143
+ - 0
124
144
  version: "0"
125
145
  requirements: []
126
146
 
127
147
  rubyforge_project: ors
128
- rubygems_version: 1.6.2
148
+ rubygems_version: 1.3.7
129
149
  signing_key:
130
150
  specification_version: 3
131
151
  summary: Heroku-like deployment utilities for ORS