alpha_omega 0.0.88 → 0.0.89

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module AlphaOmega
2
- Version = "0.0.88"
2
+ Version = "0.0.89"
3
3
  end
@@ -1,7 +1,7 @@
1
1
  #!/bin/bash -e
2
2
 
3
3
  hst_this=$(hostname -s)
4
- if ! echo "$hst_this" | egrep "^(admin|develop)"; then
4
+ if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
5
5
  # ssh into deploy host and run from there
6
6
  exec bin/proxy $(basename $0) "$@"
7
7
  exit 1
@@ -9,47 +9,47 @@ fi
9
9
 
10
10
  case "$(basename $0)" in
11
11
  deploy|release)
12
- bundle exec cap ssh_gateway "$@" deploy
12
+ bundle exec cap "$@" deploy
13
13
  ;;
14
14
 
15
15
  rollback)
16
- bundle exec cap ssh_gateway "$@" deploy:rollback
16
+ bundle exec cap "$@" deploy:rollback
17
17
  ;;
18
18
 
19
19
  stage)
20
- bundle exec cap ssh_gateway "$@" deploy:update_code
20
+ bundle exec cap "$@" deploy:update_code
21
21
  ;;
22
22
 
23
23
  compare)
24
- bundle exec cap ssh_gateway "$@" deploy:compare
24
+ bundle exec cap "$@" deploy:compare
25
25
  ;;
26
26
 
27
27
  restart)
28
- bundle exec cap ssh_gateway "$@" deploy:restart
28
+ bundle exec cap "$@" deploy:restart
29
29
  ;;
30
30
 
31
31
  restart)
32
- bundle exec cap ssh_gateway "$@" deploy:restart
32
+ bundle exec cap "$@" deploy:restart
33
33
  ;;
34
34
 
35
35
  build)
36
- bundle exec cap ssh_gateway "$@" deploy:build
36
+ bundle exec cap "$@" deploy:build
37
37
  ;;
38
38
 
39
39
  dist)
40
- bundle exec cap ssh_gateway "$@" deploy:dist
40
+ bundle exec cap "$@" deploy:dist
41
41
  ;;
42
42
 
43
43
  config)
44
- bundle exec cap ssh_gateway "$@" deploy:config
44
+ bundle exec cap "$@" deploy:config
45
45
  ;;
46
46
 
47
47
  invoke)
48
- bundle exec cap ssh_gateway "$@" invoke
48
+ bundle exec cap "$@" invoke
49
49
  ;;
50
50
 
51
51
  shell)
52
- bundle exec cap ssh_gateway "$@" shell
52
+ bundle exec cap "$@" shell
53
53
  ;;
54
54
 
55
55
  hosts)
@@ -69,7 +69,7 @@ case "$(basename $0)" in
69
69
  ;;
70
70
 
71
71
  *)
72
- bundle exec cap ssh_gateway "$@"
72
+ bundle exec cap "$@"
73
73
  ;;
74
74
  esac
75
75
 
@@ -1,7 +1,7 @@
1
1
  #!/bin/bash -e
2
2
 
3
3
  hst_this=$(hostname -s)
4
- if ! echo "$hst_this" | egrep "^(admin|develop)"; then
4
+ if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
5
5
  # ssh into deploy host and run from there
6
6
  exec bin/proxy $(basename $0) "$@"
7
7
  exit 1
@@ -9,47 +9,47 @@ fi
9
9
 
10
10
  case "$(basename $0)" in
11
11
  deploy|release)
12
- bundle exec cap ssh_gateway "$@" deploy
12
+ bundle exec cap "$@" deploy
13
13
  ;;
14
14
 
15
15
  rollback)
16
- bundle exec cap ssh_gateway "$@" deploy:rollback
16
+ bundle exec cap "$@" deploy:rollback
17
17
  ;;
18
18
 
19
19
  stage)
20
- bundle exec cap ssh_gateway "$@" deploy:update_code
20
+ bundle exec cap "$@" deploy:update_code
21
21
  ;;
22
22
 
23
23
  compare)
24
- bundle exec cap ssh_gateway "$@" deploy:compare
24
+ bundle exec cap "$@" deploy:compare
25
25
  ;;
26
26
 
27
27
  restart)
28
- bundle exec cap ssh_gateway "$@" deploy:restart
28
+ bundle exec cap "$@" deploy:restart
29
29
  ;;
30
30
 
31
31
  restart)
32
- bundle exec cap ssh_gateway "$@" deploy:restart
32
+ bundle exec cap "$@" deploy:restart
33
33
  ;;
34
34
 
35
35
  build)
36
- bundle exec cap ssh_gateway "$@" deploy:build
36
+ bundle exec cap "$@" deploy:build
37
37
  ;;
38
38
 
39
39
  dist)
40
- bundle exec cap ssh_gateway "$@" deploy:dist
40
+ bundle exec cap "$@" deploy:dist
41
41
  ;;
42
42
 
43
43
  config)
44
- bundle exec cap ssh_gateway "$@" deploy:config
44
+ bundle exec cap "$@" deploy:config
45
45
  ;;
46
46
 
47
47
  invoke)
48
- bundle exec cap ssh_gateway "$@" invoke
48
+ bundle exec cap "$@" invoke
49
49
  ;;
50
50
 
51
51
  shell)
52
- bundle exec cap ssh_gateway "$@" shell
52
+ bundle exec cap "$@" shell
53
53
  ;;
54
54
 
55
55
  hosts)
@@ -69,7 +69,7 @@ case "$(basename $0)" in
69
69
  ;;
70
70
 
71
71
  *)
72
- bundle exec cap ssh_gateway "$@"
72
+ bundle exec cap "$@"
73
73
  ;;
74
74
  esac
75
75
 
@@ -1,7 +1,7 @@
1
1
  #!/bin/bash -e
2
2
 
3
3
  hst_this=$(hostname -s)
4
- if ! echo "$hst_this" | egrep "^(admin|develop)"; then
4
+ if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
5
5
  # ssh into deploy host and run from there
6
6
  exec bin/proxy $(basename $0) "$@"
7
7
  exit 1
@@ -9,47 +9,47 @@ fi
9
9
 
10
10
  case "$(basename $0)" in
11
11
  deploy|release)
12
- bundle exec cap ssh_gateway "$@" deploy
12
+ bundle exec cap "$@" deploy
13
13
  ;;
14
14
 
15
15
  rollback)
16
- bundle exec cap ssh_gateway "$@" deploy:rollback
16
+ bundle exec cap "$@" deploy:rollback
17
17
  ;;
18
18
 
19
19
  stage)
20
- bundle exec cap ssh_gateway "$@" deploy:update_code
20
+ bundle exec cap "$@" deploy:update_code
21
21
  ;;
22
22
 
23
23
  compare)
24
- bundle exec cap ssh_gateway "$@" deploy:compare
24
+ bundle exec cap "$@" deploy:compare
25
25
  ;;
26
26
 
27
27
  restart)
28
- bundle exec cap ssh_gateway "$@" deploy:restart
28
+ bundle exec cap "$@" deploy:restart
29
29
  ;;
30
30
 
31
31
  restart)
32
- bundle exec cap ssh_gateway "$@" deploy:restart
32
+ bundle exec cap "$@" deploy:restart
33
33
  ;;
34
34
 
35
35
  build)
36
- bundle exec cap ssh_gateway "$@" deploy:build
36
+ bundle exec cap "$@" deploy:build
37
37
  ;;
38
38
 
39
39
  dist)
40
- bundle exec cap ssh_gateway "$@" deploy:dist
40
+ bundle exec cap "$@" deploy:dist
41
41
  ;;
42
42
 
43
43
  config)
44
- bundle exec cap ssh_gateway "$@" deploy:config
44
+ bundle exec cap "$@" deploy:config
45
45
  ;;
46
46
 
47
47
  invoke)
48
- bundle exec cap ssh_gateway "$@" invoke
48
+ bundle exec cap "$@" invoke
49
49
  ;;
50
50
 
51
51
  shell)
52
- bundle exec cap ssh_gateway "$@" shell
52
+ bundle exec cap "$@" shell
53
53
  ;;
54
54
 
55
55
  hosts)
@@ -69,7 +69,7 @@ case "$(basename $0)" in
69
69
  ;;
70
70
 
71
71
  *)
72
- bundle exec cap ssh_gateway "$@"
72
+ bundle exec cap "$@"
73
73
  ;;
74
74
  esac
75
75
 
@@ -1,7 +1,7 @@
1
1
  #!/bin/bash -e
2
2
 
3
3
  hst_this=$(hostname -s)
4
- if ! echo "$hst_this" | egrep "^(admin|develop)"; then
4
+ if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
5
5
  # ssh into deploy host and run from there
6
6
  exec bin/proxy $(basename $0) "$@"
7
7
  exit 1
@@ -9,47 +9,47 @@ fi
9
9
 
10
10
  case "$(basename $0)" in
11
11
  deploy|release)
12
- bundle exec cap ssh_gateway "$@" deploy
12
+ bundle exec cap "$@" deploy
13
13
  ;;
14
14
 
15
15
  rollback)
16
- bundle exec cap ssh_gateway "$@" deploy:rollback
16
+ bundle exec cap "$@" deploy:rollback
17
17
  ;;
18
18
 
19
19
  stage)
20
- bundle exec cap ssh_gateway "$@" deploy:update_code
20
+ bundle exec cap "$@" deploy:update_code
21
21
  ;;
22
22
 
23
23
  compare)
24
- bundle exec cap ssh_gateway "$@" deploy:compare
24
+ bundle exec cap "$@" deploy:compare
25
25
  ;;
26
26
 
27
27
  restart)
28
- bundle exec cap ssh_gateway "$@" deploy:restart
28
+ bundle exec cap "$@" deploy:restart
29
29
  ;;
30
30
 
31
31
  restart)
32
- bundle exec cap ssh_gateway "$@" deploy:restart
32
+ bundle exec cap "$@" deploy:restart
33
33
  ;;
34
34
 
35
35
  build)
36
- bundle exec cap ssh_gateway "$@" deploy:build
36
+ bundle exec cap "$@" deploy:build
37
37
  ;;
38
38
 
39
39
  dist)
40
- bundle exec cap ssh_gateway "$@" deploy:dist
40
+ bundle exec cap "$@" deploy:dist
41
41
  ;;
42
42
 
43
43
  config)
44
- bundle exec cap ssh_gateway "$@" deploy:config
44
+ bundle exec cap "$@" deploy:config
45
45
  ;;
46
46
 
47
47
  invoke)
48
- bundle exec cap ssh_gateway "$@" invoke
48
+ bundle exec cap "$@" invoke
49
49
  ;;
50
50
 
51
51
  shell)
52
- bundle exec cap ssh_gateway "$@" shell
52
+ bundle exec cap "$@" shell
53
53
  ;;
54
54
 
55
55
  hosts)
@@ -69,7 +69,7 @@ case "$(basename $0)" in
69
69
  ;;
70
70
 
71
71
  *)
72
- bundle exec cap ssh_gateway "$@"
72
+ bundle exec cap "$@"
73
73
  ;;
74
74
  esac
75
75
 
@@ -1,7 +1,7 @@
1
1
  #!/bin/bash -e
2
2
 
3
3
  hst_this=$(hostname -s)
4
- if ! echo "$hst_this" | egrep "^(admin|develop)"; then
4
+ if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
5
5
  # ssh into deploy host and run from there
6
6
  exec bin/proxy $(basename $0) "$@"
7
7
  exit 1
@@ -9,47 +9,47 @@ fi
9
9
 
10
10
  case "$(basename $0)" in
11
11
  deploy|release)
12
- bundle exec cap ssh_gateway "$@" deploy
12
+ bundle exec cap "$@" deploy
13
13
  ;;
14
14
 
15
15
  rollback)
16
- bundle exec cap ssh_gateway "$@" deploy:rollback
16
+ bundle exec cap "$@" deploy:rollback
17
17
  ;;
18
18
 
19
19
  stage)
20
- bundle exec cap ssh_gateway "$@" deploy:update_code
20
+ bundle exec cap "$@" deploy:update_code
21
21
  ;;
22
22
 
23
23
  compare)
24
- bundle exec cap ssh_gateway "$@" deploy:compare
24
+ bundle exec cap "$@" deploy:compare
25
25
  ;;
26
26
 
27
27
  restart)
28
- bundle exec cap ssh_gateway "$@" deploy:restart
28
+ bundle exec cap "$@" deploy:restart
29
29
  ;;
30
30
 
31
31
  restart)
32
- bundle exec cap ssh_gateway "$@" deploy:restart
32
+ bundle exec cap "$@" deploy:restart
33
33
  ;;
34
34
 
35
35
  build)
36
- bundle exec cap ssh_gateway "$@" deploy:build
36
+ bundle exec cap "$@" deploy:build
37
37
  ;;
38
38
 
39
39
  dist)
40
- bundle exec cap ssh_gateway "$@" deploy:dist
40
+ bundle exec cap "$@" deploy:dist
41
41
  ;;
42
42
 
43
43
  config)
44
- bundle exec cap ssh_gateway "$@" deploy:config
44
+ bundle exec cap "$@" deploy:config
45
45
  ;;
46
46
 
47
47
  invoke)
48
- bundle exec cap ssh_gateway "$@" invoke
48
+ bundle exec cap "$@" invoke
49
49
  ;;
50
50
 
51
51
  shell)
52
- bundle exec cap ssh_gateway "$@" shell
52
+ bundle exec cap "$@" shell
53
53
  ;;
54
54
 
55
55
  hosts)
@@ -69,7 +69,7 @@ case "$(basename $0)" in
69
69
  ;;
70
70
 
71
71
  *)
72
- bundle exec cap ssh_gateway "$@"
72
+ bundle exec cap "$@"
73
73
  ;;
74
74
  esac
75
75
 
@@ -1,7 +1,7 @@
1
1
  #!/bin/bash -e
2
2
 
3
3
  hst_this=$(hostname -s)
4
- if ! echo "$hst_this" | egrep "^(admin|develop)"; then
4
+ if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
5
5
  # ssh into deploy host and run from there
6
6
  exec bin/proxy $(basename $0) "$@"
7
7
  exit 1
@@ -9,47 +9,47 @@ fi
9
9
 
10
10
  case "$(basename $0)" in
11
11
  deploy|release)
12
- bundle exec cap ssh_gateway "$@" deploy
12
+ bundle exec cap "$@" deploy
13
13
  ;;
14
14
 
15
15
  rollback)
16
- bundle exec cap ssh_gateway "$@" deploy:rollback
16
+ bundle exec cap "$@" deploy:rollback
17
17
  ;;
18
18
 
19
19
  stage)
20
- bundle exec cap ssh_gateway "$@" deploy:update_code
20
+ bundle exec cap "$@" deploy:update_code
21
21
  ;;
22
22
 
23
23
  compare)
24
- bundle exec cap ssh_gateway "$@" deploy:compare
24
+ bundle exec cap "$@" deploy:compare
25
25
  ;;
26
26
 
27
27
  restart)
28
- bundle exec cap ssh_gateway "$@" deploy:restart
28
+ bundle exec cap "$@" deploy:restart
29
29
  ;;
30
30
 
31
31
  restart)
32
- bundle exec cap ssh_gateway "$@" deploy:restart
32
+ bundle exec cap "$@" deploy:restart
33
33
  ;;
34
34
 
35
35
  build)
36
- bundle exec cap ssh_gateway "$@" deploy:build
36
+ bundle exec cap "$@" deploy:build
37
37
  ;;
38
38
 
39
39
  dist)
40
- bundle exec cap ssh_gateway "$@" deploy:dist
40
+ bundle exec cap "$@" deploy:dist
41
41
  ;;
42
42
 
43
43
  config)
44
- bundle exec cap ssh_gateway "$@" deploy:config
44
+ bundle exec cap "$@" deploy:config
45
45
  ;;
46
46
 
47
47
  invoke)
48
- bundle exec cap ssh_gateway "$@" invoke
48
+ bundle exec cap "$@" invoke
49
49
  ;;
50
50
 
51
51
  shell)
52
- bundle exec cap ssh_gateway "$@" shell
52
+ bundle exec cap "$@" shell
53
53
  ;;
54
54
 
55
55
  hosts)
@@ -69,7 +69,7 @@ case "$(basename $0)" in
69
69
  ;;
70
70
 
71
71
  *)
72
- bundle exec cap ssh_gateway "$@"
72
+ bundle exec cap "$@"
73
73
  ;;
74
74
  esac
75
75
 
@@ -1,7 +1,7 @@
1
1
  #!/bin/bash -e
2
2
 
3
3
  hst_this=$(hostname -s)
4
- if ! echo "$hst_this" | egrep "^(admin|develop)"; then
4
+ if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
5
5
  # ssh into deploy host and run from there
6
6
  exec bin/proxy $(basename $0) "$@"
7
7
  exit 1
@@ -9,47 +9,47 @@ fi
9
9
 
10
10
  case "$(basename $0)" in
11
11
  deploy|release)
12
- bundle exec cap ssh_gateway "$@" deploy
12
+ bundle exec cap "$@" deploy
13
13
  ;;
14
14
 
15
15
  rollback)
16
- bundle exec cap ssh_gateway "$@" deploy:rollback
16
+ bundle exec cap "$@" deploy:rollback
17
17
  ;;
18
18
 
19
19
  stage)
20
- bundle exec cap ssh_gateway "$@" deploy:update_code
20
+ bundle exec cap "$@" deploy:update_code
21
21
  ;;
22
22
 
23
23
  compare)
24
- bundle exec cap ssh_gateway "$@" deploy:compare
24
+ bundle exec cap "$@" deploy:compare
25
25
  ;;
26
26
 
27
27
  restart)
28
- bundle exec cap ssh_gateway "$@" deploy:restart
28
+ bundle exec cap "$@" deploy:restart
29
29
  ;;
30
30
 
31
31
  restart)
32
- bundle exec cap ssh_gateway "$@" deploy:restart
32
+ bundle exec cap "$@" deploy:restart
33
33
  ;;
34
34
 
35
35
  build)
36
- bundle exec cap ssh_gateway "$@" deploy:build
36
+ bundle exec cap "$@" deploy:build
37
37
  ;;
38
38
 
39
39
  dist)
40
- bundle exec cap ssh_gateway "$@" deploy:dist
40
+ bundle exec cap "$@" deploy:dist
41
41
  ;;
42
42
 
43
43
  config)
44
- bundle exec cap ssh_gateway "$@" deploy:config
44
+ bundle exec cap "$@" deploy:config
45
45
  ;;
46
46
 
47
47
  invoke)
48
- bundle exec cap ssh_gateway "$@" invoke
48
+ bundle exec cap "$@" invoke
49
49
  ;;
50
50
 
51
51
  shell)
52
- bundle exec cap ssh_gateway "$@" shell
52
+ bundle exec cap "$@" shell
53
53
  ;;
54
54
 
55
55
  hosts)
@@ -69,7 +69,7 @@ case "$(basename $0)" in
69
69
  ;;
70
70
 
71
71
  *)
72
- bundle exec cap ssh_gateway "$@"
72
+ bundle exec cap "$@"
73
73
  ;;
74
74
  esac
75
75
 
@@ -1,7 +1,7 @@
1
1
  #!/bin/bash -e
2
2
 
3
3
  hst_this=$(hostname -s)
4
- if ! echo "$hst_this" | egrep "^(admin|develop)"; then
4
+ if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
5
5
  # ssh into deploy host and run from there
6
6
  exec bin/proxy $(basename $0) "$@"
7
7
  exit 1
@@ -9,47 +9,47 @@ fi
9
9
 
10
10
  case "$(basename $0)" in
11
11
  deploy|release)
12
- bundle exec cap ssh_gateway "$@" deploy
12
+ bundle exec cap "$@" deploy
13
13
  ;;
14
14
 
15
15
  rollback)
16
- bundle exec cap ssh_gateway "$@" deploy:rollback
16
+ bundle exec cap "$@" deploy:rollback
17
17
  ;;
18
18
 
19
19
  stage)
20
- bundle exec cap ssh_gateway "$@" deploy:update_code
20
+ bundle exec cap "$@" deploy:update_code
21
21
  ;;
22
22
 
23
23
  compare)
24
- bundle exec cap ssh_gateway "$@" deploy:compare
24
+ bundle exec cap "$@" deploy:compare
25
25
  ;;
26
26
 
27
27
  restart)
28
- bundle exec cap ssh_gateway "$@" deploy:restart
28
+ bundle exec cap "$@" deploy:restart
29
29
  ;;
30
30
 
31
31
  restart)
32
- bundle exec cap ssh_gateway "$@" deploy:restart
32
+ bundle exec cap "$@" deploy:restart
33
33
  ;;
34
34
 
35
35
  build)
36
- bundle exec cap ssh_gateway "$@" deploy:build
36
+ bundle exec cap "$@" deploy:build
37
37
  ;;
38
38
 
39
39
  dist)
40
- bundle exec cap ssh_gateway "$@" deploy:dist
40
+ bundle exec cap "$@" deploy:dist
41
41
  ;;
42
42
 
43
43
  config)
44
- bundle exec cap ssh_gateway "$@" deploy:config
44
+ bundle exec cap "$@" deploy:config
45
45
  ;;
46
46
 
47
47
  invoke)
48
- bundle exec cap ssh_gateway "$@" invoke
48
+ bundle exec cap "$@" invoke
49
49
  ;;
50
50
 
51
51
  shell)
52
- bundle exec cap ssh_gateway "$@" shell
52
+ bundle exec cap "$@" shell
53
53
  ;;
54
54
 
55
55
  hosts)
@@ -69,7 +69,7 @@ case "$(basename $0)" in
69
69
  ;;
70
70
 
71
71
  *)
72
- bundle exec cap ssh_gateway "$@"
72
+ bundle exec cap "$@"
73
73
  ;;
74
74
  esac
75
75
 
@@ -1,7 +1,7 @@
1
1
  #!/bin/bash -e
2
2
 
3
3
  hst_this=$(hostname -s)
4
- if ! echo "$hst_this" | egrep "^(admin|develop)"; then
4
+ if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
5
5
  # ssh into deploy host and run from there
6
6
  exec bin/proxy $(basename $0) "$@"
7
7
  exit 1
@@ -9,47 +9,47 @@ fi
9
9
 
10
10
  case "$(basename $0)" in
11
11
  deploy|release)
12
- bundle exec cap ssh_gateway "$@" deploy
12
+ bundle exec cap "$@" deploy
13
13
  ;;
14
14
 
15
15
  rollback)
16
- bundle exec cap ssh_gateway "$@" deploy:rollback
16
+ bundle exec cap "$@" deploy:rollback
17
17
  ;;
18
18
 
19
19
  stage)
20
- bundle exec cap ssh_gateway "$@" deploy:update_code
20
+ bundle exec cap "$@" deploy:update_code
21
21
  ;;
22
22
 
23
23
  compare)
24
- bundle exec cap ssh_gateway "$@" deploy:compare
24
+ bundle exec cap "$@" deploy:compare
25
25
  ;;
26
26
 
27
27
  restart)
28
- bundle exec cap ssh_gateway "$@" deploy:restart
28
+ bundle exec cap "$@" deploy:restart
29
29
  ;;
30
30
 
31
31
  restart)
32
- bundle exec cap ssh_gateway "$@" deploy:restart
32
+ bundle exec cap "$@" deploy:restart
33
33
  ;;
34
34
 
35
35
  build)
36
- bundle exec cap ssh_gateway "$@" deploy:build
36
+ bundle exec cap "$@" deploy:build
37
37
  ;;
38
38
 
39
39
  dist)
40
- bundle exec cap ssh_gateway "$@" deploy:dist
40
+ bundle exec cap "$@" deploy:dist
41
41
  ;;
42
42
 
43
43
  config)
44
- bundle exec cap ssh_gateway "$@" deploy:config
44
+ bundle exec cap "$@" deploy:config
45
45
  ;;
46
46
 
47
47
  invoke)
48
- bundle exec cap ssh_gateway "$@" invoke
48
+ bundle exec cap "$@" invoke
49
49
  ;;
50
50
 
51
51
  shell)
52
- bundle exec cap ssh_gateway "$@" shell
52
+ bundle exec cap "$@" shell
53
53
  ;;
54
54
 
55
55
  hosts)
@@ -69,7 +69,7 @@ case "$(basename $0)" in
69
69
  ;;
70
70
 
71
71
  *)
72
- bundle exec cap ssh_gateway "$@"
72
+ bundle exec cap "$@"
73
73
  ;;
74
74
  esac
75
75
 
@@ -1,7 +1,7 @@
1
1
  #!/bin/bash -e
2
2
 
3
3
  hst_this=$(hostname -s)
4
- if ! echo "$hst_this" | egrep "^(admin|develop)"; then
4
+ if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
5
5
  # ssh into deploy host and run from there
6
6
  exec bin/proxy $(basename $0) "$@"
7
7
  exit 1
@@ -9,47 +9,47 @@ fi
9
9
 
10
10
  case "$(basename $0)" in
11
11
  deploy|release)
12
- bundle exec cap ssh_gateway "$@" deploy
12
+ bundle exec cap "$@" deploy
13
13
  ;;
14
14
 
15
15
  rollback)
16
- bundle exec cap ssh_gateway "$@" deploy:rollback
16
+ bundle exec cap "$@" deploy:rollback
17
17
  ;;
18
18
 
19
19
  stage)
20
- bundle exec cap ssh_gateway "$@" deploy:update_code
20
+ bundle exec cap "$@" deploy:update_code
21
21
  ;;
22
22
 
23
23
  compare)
24
- bundle exec cap ssh_gateway "$@" deploy:compare
24
+ bundle exec cap "$@" deploy:compare
25
25
  ;;
26
26
 
27
27
  restart)
28
- bundle exec cap ssh_gateway "$@" deploy:restart
28
+ bundle exec cap "$@" deploy:restart
29
29
  ;;
30
30
 
31
31
  restart)
32
- bundle exec cap ssh_gateway "$@" deploy:restart
32
+ bundle exec cap "$@" deploy:restart
33
33
  ;;
34
34
 
35
35
  build)
36
- bundle exec cap ssh_gateway "$@" deploy:build
36
+ bundle exec cap "$@" deploy:build
37
37
  ;;
38
38
 
39
39
  dist)
40
- bundle exec cap ssh_gateway "$@" deploy:dist
40
+ bundle exec cap "$@" deploy:dist
41
41
  ;;
42
42
 
43
43
  config)
44
- bundle exec cap ssh_gateway "$@" deploy:config
44
+ bundle exec cap "$@" deploy:config
45
45
  ;;
46
46
 
47
47
  invoke)
48
- bundle exec cap ssh_gateway "$@" invoke
48
+ bundle exec cap "$@" invoke
49
49
  ;;
50
50
 
51
51
  shell)
52
- bundle exec cap ssh_gateway "$@" shell
52
+ bundle exec cap "$@" shell
53
53
  ;;
54
54
 
55
55
  hosts)
@@ -69,7 +69,7 @@ case "$(basename $0)" in
69
69
  ;;
70
70
 
71
71
  *)
72
- bundle exec cap ssh_gateway "$@"
72
+ bundle exec cap "$@"
73
73
  ;;
74
74
  esac
75
75
 
@@ -1,7 +1,7 @@
1
1
  #!/bin/bash -e
2
2
 
3
3
  hst_this=$(hostname -s)
4
- if ! echo "$hst_this" | egrep "^(admin|develop)"; then
4
+ if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
5
5
  # ssh into deploy host and run from there
6
6
  exec bin/proxy $(basename $0) "$@"
7
7
  exit 1
@@ -9,47 +9,47 @@ fi
9
9
 
10
10
  case "$(basename $0)" in
11
11
  deploy|release)
12
- bundle exec cap ssh_gateway "$@" deploy
12
+ bundle exec cap "$@" deploy
13
13
  ;;
14
14
 
15
15
  rollback)
16
- bundle exec cap ssh_gateway "$@" deploy:rollback
16
+ bundle exec cap "$@" deploy:rollback
17
17
  ;;
18
18
 
19
19
  stage)
20
- bundle exec cap ssh_gateway "$@" deploy:update_code
20
+ bundle exec cap "$@" deploy:update_code
21
21
  ;;
22
22
 
23
23
  compare)
24
- bundle exec cap ssh_gateway "$@" deploy:compare
24
+ bundle exec cap "$@" deploy:compare
25
25
  ;;
26
26
 
27
27
  restart)
28
- bundle exec cap ssh_gateway "$@" deploy:restart
28
+ bundle exec cap "$@" deploy:restart
29
29
  ;;
30
30
 
31
31
  restart)
32
- bundle exec cap ssh_gateway "$@" deploy:restart
32
+ bundle exec cap "$@" deploy:restart
33
33
  ;;
34
34
 
35
35
  build)
36
- bundle exec cap ssh_gateway "$@" deploy:build
36
+ bundle exec cap "$@" deploy:build
37
37
  ;;
38
38
 
39
39
  dist)
40
- bundle exec cap ssh_gateway "$@" deploy:dist
40
+ bundle exec cap "$@" deploy:dist
41
41
  ;;
42
42
 
43
43
  config)
44
- bundle exec cap ssh_gateway "$@" deploy:config
44
+ bundle exec cap "$@" deploy:config
45
45
  ;;
46
46
 
47
47
  invoke)
48
- bundle exec cap ssh_gateway "$@" invoke
48
+ bundle exec cap "$@" invoke
49
49
  ;;
50
50
 
51
51
  shell)
52
- bundle exec cap ssh_gateway "$@" shell
52
+ bundle exec cap "$@" shell
53
53
  ;;
54
54
 
55
55
  hosts)
@@ -69,7 +69,7 @@ case "$(basename $0)" in
69
69
  ;;
70
70
 
71
71
  *)
72
- bundle exec cap ssh_gateway "$@"
72
+ bundle exec cap "$@"
73
73
  ;;
74
74
  esac
75
75
 
@@ -1,7 +1,7 @@
1
1
  #!/bin/bash -e
2
2
 
3
3
  hst_this=$(hostname -s)
4
- if ! echo "$hst_this" | egrep "^(admin|develop)"; then
4
+ if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
5
5
  # ssh into deploy host and run from there
6
6
  exec bin/proxy $(basename $0) "$@"
7
7
  exit 1
@@ -9,47 +9,47 @@ fi
9
9
 
10
10
  case "$(basename $0)" in
11
11
  deploy|release)
12
- bundle exec cap ssh_gateway "$@" deploy
12
+ bundle exec cap "$@" deploy
13
13
  ;;
14
14
 
15
15
  rollback)
16
- bundle exec cap ssh_gateway "$@" deploy:rollback
16
+ bundle exec cap "$@" deploy:rollback
17
17
  ;;
18
18
 
19
19
  stage)
20
- bundle exec cap ssh_gateway "$@" deploy:update_code
20
+ bundle exec cap "$@" deploy:update_code
21
21
  ;;
22
22
 
23
23
  compare)
24
- bundle exec cap ssh_gateway "$@" deploy:compare
24
+ bundle exec cap "$@" deploy:compare
25
25
  ;;
26
26
 
27
27
  restart)
28
- bundle exec cap ssh_gateway "$@" deploy:restart
28
+ bundle exec cap "$@" deploy:restart
29
29
  ;;
30
30
 
31
31
  restart)
32
- bundle exec cap ssh_gateway "$@" deploy:restart
32
+ bundle exec cap "$@" deploy:restart
33
33
  ;;
34
34
 
35
35
  build)
36
- bundle exec cap ssh_gateway "$@" deploy:build
36
+ bundle exec cap "$@" deploy:build
37
37
  ;;
38
38
 
39
39
  dist)
40
- bundle exec cap ssh_gateway "$@" deploy:dist
40
+ bundle exec cap "$@" deploy:dist
41
41
  ;;
42
42
 
43
43
  config)
44
- bundle exec cap ssh_gateway "$@" deploy:config
44
+ bundle exec cap "$@" deploy:config
45
45
  ;;
46
46
 
47
47
  invoke)
48
- bundle exec cap ssh_gateway "$@" invoke
48
+ bundle exec cap "$@" invoke
49
49
  ;;
50
50
 
51
51
  shell)
52
- bundle exec cap ssh_gateway "$@" shell
52
+ bundle exec cap "$@" shell
53
53
  ;;
54
54
 
55
55
  hosts)
@@ -69,7 +69,7 @@ case "$(basename $0)" in
69
69
  ;;
70
70
 
71
71
  *)
72
- bundle exec cap ssh_gateway "$@"
72
+ bundle exec cap "$@"
73
73
  ;;
74
74
  esac
75
75
 
@@ -1,7 +1,7 @@
1
1
  #!/bin/bash -e
2
2
 
3
3
  hst_this=$(hostname -s)
4
- if ! echo "$hst_this" | egrep "^(admin|develop)"; then
4
+ if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
5
5
  # ssh into deploy host and run from there
6
6
  exec bin/proxy $(basename $0) "$@"
7
7
  exit 1
@@ -9,47 +9,47 @@ fi
9
9
 
10
10
  case "$(basename $0)" in
11
11
  deploy|release)
12
- bundle exec cap ssh_gateway "$@" deploy
12
+ bundle exec cap "$@" deploy
13
13
  ;;
14
14
 
15
15
  rollback)
16
- bundle exec cap ssh_gateway "$@" deploy:rollback
16
+ bundle exec cap "$@" deploy:rollback
17
17
  ;;
18
18
 
19
19
  stage)
20
- bundle exec cap ssh_gateway "$@" deploy:update_code
20
+ bundle exec cap "$@" deploy:update_code
21
21
  ;;
22
22
 
23
23
  compare)
24
- bundle exec cap ssh_gateway "$@" deploy:compare
24
+ bundle exec cap "$@" deploy:compare
25
25
  ;;
26
26
 
27
27
  restart)
28
- bundle exec cap ssh_gateway "$@" deploy:restart
28
+ bundle exec cap "$@" deploy:restart
29
29
  ;;
30
30
 
31
31
  restart)
32
- bundle exec cap ssh_gateway "$@" deploy:restart
32
+ bundle exec cap "$@" deploy:restart
33
33
  ;;
34
34
 
35
35
  build)
36
- bundle exec cap ssh_gateway "$@" deploy:build
36
+ bundle exec cap "$@" deploy:build
37
37
  ;;
38
38
 
39
39
  dist)
40
- bundle exec cap ssh_gateway "$@" deploy:dist
40
+ bundle exec cap "$@" deploy:dist
41
41
  ;;
42
42
 
43
43
  config)
44
- bundle exec cap ssh_gateway "$@" deploy:config
44
+ bundle exec cap "$@" deploy:config
45
45
  ;;
46
46
 
47
47
  invoke)
48
- bundle exec cap ssh_gateway "$@" invoke
48
+ bundle exec cap "$@" invoke
49
49
  ;;
50
50
 
51
51
  shell)
52
- bundle exec cap ssh_gateway "$@" shell
52
+ bundle exec cap "$@" shell
53
53
  ;;
54
54
 
55
55
  hosts)
@@ -69,7 +69,7 @@ case "$(basename $0)" in
69
69
  ;;
70
70
 
71
71
  *)
72
- bundle exec cap ssh_gateway "$@"
72
+ bundle exec cap "$@"
73
73
  ;;
74
74
  esac
75
75
 
@@ -1,7 +1,7 @@
1
1
  #!/bin/bash -e
2
2
 
3
3
  hst_this=$(hostname -s)
4
- if ! echo "$hst_this" | egrep "^(admin|develop)"; then
4
+ if ! echo "$hst_this" | egrep -q "^(admin|develop)"; then
5
5
  # ssh into deploy host and run from there
6
6
  exec bin/proxy $(basename $0) "$@"
7
7
  exit 1
@@ -9,47 +9,47 @@ fi
9
9
 
10
10
  case "$(basename $0)" in
11
11
  deploy|release)
12
- bundle exec cap ssh_gateway "$@" deploy
12
+ bundle exec cap "$@" deploy
13
13
  ;;
14
14
 
15
15
  rollback)
16
- bundle exec cap ssh_gateway "$@" deploy:rollback
16
+ bundle exec cap "$@" deploy:rollback
17
17
  ;;
18
18
 
19
19
  stage)
20
- bundle exec cap ssh_gateway "$@" deploy:update_code
20
+ bundle exec cap "$@" deploy:update_code
21
21
  ;;
22
22
 
23
23
  compare)
24
- bundle exec cap ssh_gateway "$@" deploy:compare
24
+ bundle exec cap "$@" deploy:compare
25
25
  ;;
26
26
 
27
27
  restart)
28
- bundle exec cap ssh_gateway "$@" deploy:restart
28
+ bundle exec cap "$@" deploy:restart
29
29
  ;;
30
30
 
31
31
  restart)
32
- bundle exec cap ssh_gateway "$@" deploy:restart
32
+ bundle exec cap "$@" deploy:restart
33
33
  ;;
34
34
 
35
35
  build)
36
- bundle exec cap ssh_gateway "$@" deploy:build
36
+ bundle exec cap "$@" deploy:build
37
37
  ;;
38
38
 
39
39
  dist)
40
- bundle exec cap ssh_gateway "$@" deploy:dist
40
+ bundle exec cap "$@" deploy:dist
41
41
  ;;
42
42
 
43
43
  config)
44
- bundle exec cap ssh_gateway "$@" deploy:config
44
+ bundle exec cap "$@" deploy:config
45
45
  ;;
46
46
 
47
47
  invoke)
48
- bundle exec cap ssh_gateway "$@" invoke
48
+ bundle exec cap "$@" invoke
49
49
  ;;
50
50
 
51
51
  shell)
52
- bundle exec cap ssh_gateway "$@" shell
52
+ bundle exec cap "$@" shell
53
53
  ;;
54
54
 
55
55
  hosts)
@@ -69,7 +69,7 @@ case "$(basename $0)" in
69
69
  ;;
70
70
 
71
71
  *)
72
- bundle exec cap ssh_gateway "$@"
72
+ bundle exec cap "$@"
73
73
  ;;
74
74
  esac
75
75
 
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: 175
4
+ hash: 173
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 88
10
- version: 0.0.88
9
+ - 89
10
+ version: 0.0.89
11
11
  platform: ruby
12
12
  authors:
13
13
  - David Nghiem