alpha_omega 0.0.181 → 0.0.182
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.
- data/VERSION +1 -1
- data/lib/alpha_omega/deploy.rb +2 -0
- metadata +4 -4
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.182
|
data/lib/alpha_omega/deploy.rb
CHANGED
|
@@ -419,6 +419,7 @@ Capistrano::Configuration.instance(:must_exist).load do |config|
|
|
|
419
419
|
run "ln -nfs #{previous_release} #{current_path}.new"
|
|
420
420
|
run "mv -T #{current_path}.new #{current_path}"
|
|
421
421
|
else
|
|
422
|
+
system "#{figlet} -w 200 failed to rollback"
|
|
422
423
|
abort "could not rollback the code because there is no prior release"
|
|
423
424
|
end
|
|
424
425
|
end
|
|
@@ -557,6 +558,7 @@ Capistrano::Configuration.instance(:must_exist).load do |config|
|
|
|
557
558
|
true # don't do anything if locks timeout, jus advise unlock
|
|
558
559
|
end
|
|
559
560
|
|
|
561
|
+
system "#{figlet} failed to lock"
|
|
560
562
|
puts "deploy locked by #{lock_user} #{epoch-lock_epoch} seconds ago"
|
|
561
563
|
puts "use bin/unlock to remove this lock"
|
|
562
564
|
abort
|
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: 371
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 182
|
|
10
|
+
version: 0.0.182
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- David Nghiem
|
|
@@ -182,7 +182,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
182
182
|
requirements: []
|
|
183
183
|
|
|
184
184
|
rubyforge_project:
|
|
185
|
-
rubygems_version: 1.8.
|
|
185
|
+
rubygems_version: 1.8.17
|
|
186
186
|
signing_key:
|
|
187
187
|
specification_version: 3
|
|
188
188
|
summary: alpha_omega capistrano recipes
|