rebuy_deployment 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rebuy_deployment/deploy.rb +12 -4
- metadata +5 -11
@@ -170,12 +170,20 @@ namespace :deploy do
|
|
170
170
|
|
171
171
|
run "rm -f #{current_path} && ln -s #{latest_release} #{current_path}"
|
172
172
|
end
|
173
|
+
|
174
|
+
namespace :rollback do
|
175
|
+
task :default do
|
176
|
+
deploy.rollback.revision
|
177
|
+
deploy.restart
|
178
|
+
deploy.rollback.cleanup
|
179
|
+
end
|
180
|
+
end
|
173
181
|
end
|
174
182
|
|
175
183
|
after 'deploy:finalize_update', 'deploy:symlink_shared'
|
176
184
|
after 'deploy:finalize_update', 'deploy:change_owner'
|
177
|
-
after 'deploy:
|
178
|
-
after 'deploy:
|
179
|
-
after 'deploy:
|
180
|
-
after 'deploy:
|
185
|
+
after 'deploy:create_symlink', 'deploy:restart'
|
186
|
+
after 'deploy:create_symlink', 'deploy:new_relic'
|
187
|
+
after 'deploy:create_symlink', 'deploy:notify'
|
188
|
+
after 'deploy:create_symlink', 'deploy:notify_campfire'
|
181
189
|
after 'deploy:setup', 'deploy:prepare_directory_structure'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rebuy_deployment
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2013-02-
|
14
|
+
date: 2013-02-28 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: capistrano
|
@@ -20,10 +20,7 @@ dependencies:
|
|
20
20
|
requirements:
|
21
21
|
- - ! '>='
|
22
22
|
- !ruby/object:Gem::Version
|
23
|
-
version: 2.
|
24
|
-
- - <=
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: 2.12.0
|
23
|
+
version: 2.14.2
|
27
24
|
type: :runtime
|
28
25
|
prerelease: false
|
29
26
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -31,10 +28,7 @@ dependencies:
|
|
31
28
|
requirements:
|
32
29
|
- - ! '>='
|
33
30
|
- !ruby/object:Gem::Version
|
34
|
-
version: 2.
|
35
|
-
- - <=
|
36
|
-
- !ruby/object:Gem::Version
|
37
|
-
version: 2.12.0
|
31
|
+
version: 2.14.2
|
38
32
|
- !ruby/object:Gem::Dependency
|
39
33
|
name: railsless-deploy
|
40
34
|
requirement: !ruby/object:Gem::Requirement
|
@@ -131,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
131
125
|
version: '0'
|
132
126
|
requirements: []
|
133
127
|
rubyforge_project:
|
134
|
-
rubygems_version: 1.8.
|
128
|
+
rubygems_version: 1.8.23
|
135
129
|
signing_key:
|
136
130
|
specification_version: 3
|
137
131
|
summary: Capistrano deployment for rebuy.de projects
|