alpha_omega 1.3.9 → 1.3.10
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/libexec/_ao +0 -28
- metadata +3 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.3.
|
|
1
|
+
1.3.10
|
data/libexec/_ao
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
#!/bin/bash
|
|
2
2
|
|
|
3
|
-
# first time, this will be empty, to trigger enforce_rvm
|
|
4
|
-
: ${_AO_RVM:=}
|
|
5
|
-
|
|
6
3
|
export _AO_OPT="$@"
|
|
7
4
|
|
|
8
5
|
function deploy_basename {
|
|
@@ -10,31 +7,6 @@ function deploy_basename {
|
|
|
10
7
|
echo "${cmd#aoh-}"
|
|
11
8
|
}
|
|
12
9
|
|
|
13
|
-
# ensure script runs under rvm
|
|
14
|
-
function enforce_rvm {
|
|
15
|
-
if [[ -n "$_AO_RVM" ]]; then
|
|
16
|
-
return
|
|
17
|
-
fi
|
|
18
|
-
|
|
19
|
-
export _AO_RVM=1
|
|
20
|
-
|
|
21
|
-
local pth_ruby_loader="${_AO_RUBY_LOADER:-}"
|
|
22
|
-
: ${pth_ruby_loader:=$(ryaml $_AO_HOME/config/deploy.yml ruby_loader)}
|
|
23
|
-
local ruby_deploy="$(ryaml $_AO_HOME/config/deploy.yml app_ruby)"
|
|
24
|
-
|
|
25
|
-
if [[ -z $pth_ruby_loader || -z $ruby_deploy ]]; then
|
|
26
|
-
return
|
|
27
|
-
fi
|
|
28
|
-
|
|
29
|
-
if [[ ! -x $pth_ruby_loader ]]; then
|
|
30
|
-
return
|
|
31
|
-
fi
|
|
32
|
-
|
|
33
|
-
exec $pth_ruby_loader $ruby_deploy "$0" "$@"
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
enforce_rvm "$@"
|
|
37
|
-
|
|
38
10
|
# define command line options:
|
|
39
11
|
# var name, default, description, short option
|
|
40
12
|
DEFINE_string "gateway" "" "deploy gateway host" "G"
|
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: 15
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 1
|
|
8
8
|
- 3
|
|
9
|
-
-
|
|
10
|
-
version: 1.3.
|
|
9
|
+
- 10
|
|
10
|
+
version: 1.3.10
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- David Nghiem
|