sunzi-rails 0.2.13 → 0.2.14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sunzi/cli/capistrano.rb +0 -4
- data/lib/sunzi/cli.rb +3 -3
- data/lib/sunzi/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be3e8368828a448b362bf589d42fac5f8835b726
|
4
|
+
data.tar.gz: c9c802118b0ee2aea8791bdfef7e31f9a3ceacaf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 49bca19603f7ab620ed78f51bdc63772e7da630d50bbe79934084096e6efb53348abfe68599f238e308b413de2ca887156b86c146e1f8cf1ac745749393e85cf
|
7
|
+
data.tar.gz: baa6e3cf9fdd19db57b801d768abb6f8f9ca10dc4c4072f95c034af4d14322a1fe7bb27811a757a974e595fd2b99c668c1fa287d3c4d5f18a15081e478fae496
|
data/lib/sunzi/cli/capistrano.rb
CHANGED
data/lib/sunzi/cli.rb
CHANGED
@@ -94,11 +94,11 @@ module Sunzi
|
|
94
94
|
cap = Capistrano.load_env(@stage)
|
95
95
|
if options.sudo?
|
96
96
|
@sudo = 'sudo '
|
97
|
-
@user = cap[:
|
97
|
+
@user = cap[:admin_name]
|
98
98
|
else
|
99
|
-
@user = cap[:
|
99
|
+
@user = cap[:deployer_name]
|
100
100
|
end
|
101
|
-
@host = cap[:server]
|
101
|
+
@host = cap[:server]
|
102
102
|
@port = cap[:port]
|
103
103
|
|
104
104
|
@config = YAML.load(File.read(based("sunzi.yml")))
|
data/lib/sunzi/version.rb
CHANGED