alpha_omega 0.0.42 → 0.0.43
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/README.mkd +2 -2
- data/libexec/compare +0 -1
- data/libexec/deploy +0 -1
- data/libexec/major +0 -1
- data/libexec/patch +0 -1
- data/libexec/rollback +0 -1
- data/libexec/shell +0 -1
- data/libexec/stage +0 -1
- data/recipes/alpha_omega/deploy.rb +5 -3
- data/recipes/alpha_omega/version.rb +1 -1
- metadata +4 -4
data/Gemfile.lock
CHANGED
data/README.mkd
CHANGED
@@ -8,8 +8,8 @@ namespace and heavily altered to their present state.
|
|
8
8
|
Getting Started
|
9
9
|
===============
|
10
10
|
|
11
|
-
|
12
|
-
|
11
|
+
Your local machine must let you ssh and run sudo without a password
|
12
|
+
during the deploy.
|
13
13
|
|
14
14
|
Move the example Capfile.
|
15
15
|
|
data/libexec/compare
CHANGED
data/libexec/deploy
CHANGED
data/libexec/major
CHANGED
data/libexec/patch
CHANGED
data/libexec/rollback
CHANGED
data/libexec/shell
CHANGED
data/libexec/stage
CHANGED
@@ -44,6 +44,8 @@ Capistrano::Configuration.instance(:must_exist).load do |config|
|
|
44
44
|
_cset :bundler_options, "--deployment --without development test"
|
45
45
|
_cset :ruby_loader, ""
|
46
46
|
|
47
|
+
_cset :figlet, { [%x(which figlet).strip].reject {|f| !(File.executable? f)}.first || echo }
|
48
|
+
|
47
49
|
# =========================================================================
|
48
50
|
# These variables should NOT be changed unless you are very confident in
|
49
51
|
# what you are doing. Make sure you understand all the implications of your
|
@@ -80,7 +82,7 @@ end
|
|
80
82
|
_cset(:release_name) { if releases.length > 0
|
81
83
|
w = current_workarea
|
82
84
|
stage = releases[((releases.index(w)?releases.index(w):-1)+1)%releases.length]
|
83
|
-
system "figlet -w 200 on #{stage}"
|
85
|
+
system "#{figlet} -w 200 on #{stage}"
|
84
86
|
stage
|
85
87
|
else
|
86
88
|
""
|
@@ -269,7 +271,7 @@ end
|
|
269
271
|
run "ln -vsnf #{latest_release} #{current_path}"
|
270
272
|
end
|
271
273
|
|
272
|
-
system "figlet -w 200 #{release_name} activated"
|
274
|
+
system "#{figlet} -w 200 #{release_name} activated"
|
273
275
|
end
|
274
276
|
end
|
275
277
|
|
@@ -345,7 +347,7 @@ end
|
|
345
347
|
DESC
|
346
348
|
task :revision, :except => { :no_release => true } do
|
347
349
|
if previous_release
|
348
|
-
system "figlet -w 200 on #{previous_release}"
|
350
|
+
system "#{figlet} -w 200 on #{previous_release}"
|
349
351
|
run "ln -vsnf #{previous_release} #{current_path}"
|
350
352
|
else
|
351
353
|
abort "could not rollback the code because there is no prior release"
|
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: 73
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 43
|
10
|
+
version: 0.0.43
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- David Nghiem
|
@@ -1266,7 +1266,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
1266
1266
|
requirements: []
|
1267
1267
|
|
1268
1268
|
rubyforge_project:
|
1269
|
-
rubygems_version: 1.8.
|
1269
|
+
rubygems_version: 1.8.10
|
1270
1270
|
signing_key:
|
1271
1271
|
specification_version: 3
|
1272
1272
|
summary: alpha_omega capistrano recipes
|