alpha_omega 1.3.15 → 1.3.16

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.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/libexec/_ao +10 -4
  3. metadata +3 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.3.15
1
+ 1.3.16
data/libexec/_ao CHANGED
@@ -76,6 +76,8 @@ function main {
76
76
  if [[ -z "$FLAGS_gateway" ]]; then
77
77
  FLAGS_gateway="$hst_gateway"
78
78
  fi
79
+ else
80
+ shift # not proxied, so expect full names here
79
81
  fi
80
82
 
81
83
  if [[ -n "$FLAGS_user" ]]; then
@@ -116,11 +118,15 @@ function main {
116
118
 
117
119
  bundle check 2>&1 >/dev/null || { bundle install --quiet --local --path vendor/bundle || bundle check > /dev/null; }
118
120
 
119
- if [[ "$#" > 0 && "$1" = "production" ]]; then
120
- aomain "$nm_pod" admin "$@"
121
- else
122
- aomain "$nm_pod" "$@"
121
+ if [[ "$nm_pod" = "pod1" ]]; then
122
+ nm_pod="sys"
123
+ fi
124
+
125
+ if [[ "$#" > 0 && "${1%.*}" = "production" ]]; then
126
+ set -- "admin" "$@"
123
127
  fi
128
+
129
+ aomain "$nm_pod" "$@"
124
130
  else
125
131
  if [[ "$#" > 0 ]]; then
126
132
  case "$1" in
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: 5
4
+ hash: 59
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 3
9
- - 15
10
- version: 1.3.15
9
+ - 16
10
+ version: 1.3.16
11
11
  platform: ruby
12
12
  authors:
13
13
  - David Nghiem