ors 0.2.7 → 0.2.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -5,15 +5,17 @@ module ORS::Commands
5
5
  def execute
6
6
  info "deploying #{name} #{environment}..."
7
7
 
8
- [Update, Migrate, Restart].each {|command| run command }
9
-
10
- eval ERB.new(deploy_hook).result(binding) if deploy_hook
8
+ [Update, Migrate].each {|command| run command }
11
9
 
12
10
  if remote_deploy_hook
13
11
  execute_in_parallel(app_servers) do |server|
14
12
  execute_command server, prepare_environment, "RAILS_ENV=#{environment} #{remote_deploy_hook}"
15
13
  end
16
14
  end
15
+
16
+ run Restart
17
+
18
+ eval ERB.new(deploy_hook).result(binding) if deploy_hook
17
19
  end
18
20
 
19
21
  end
data/lib/ors/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module ORS
2
- VERSION = "0.2.7"
2
+ VERSION = "0.2.8"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ors
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.7
4
+ version: 0.2.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,12 +9,12 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-12-07 00:00:00.000000000 -05:00
12
+ date: 2011-12-22 00:00:00.000000000 -05:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: git
17
- requirement: &2168488120 !ruby/object:Gem::Requirement
17
+ requirement: &2168474560 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ! '>='
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: '0'
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *2168488120
25
+ version_requirements: *2168474560
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: rspec
28
- requirement: &2168487700 !ruby/object:Gem::Requirement
28
+ requirement: &2168474140 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ! '>='
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
- version_requirements: *2168487700
36
+ version_requirements: *2168474140
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: rr
39
- requirement: &2168487280 !ruby/object:Gem::Requirement
39
+ requirement: &2168473720 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ! '>='
@@ -44,7 +44,7 @@ dependencies:
44
44
  version: '0'
45
45
  type: :development
46
46
  prerelease: false
47
- version_requirements: *2168487280
47
+ version_requirements: *2168473720
48
48
  description: Heroku-like deployment utilities for ORS
49
49
  email:
50
50
  - jason.dew@ors.sc.gov and john.long@ors.sc.gov