yuyi 1.1.3 → 1.1.4
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.
- checksums.yaml +4 -4
- data/.new +1 -1
- data/lib/yuyi/roll.rb +1 -1
- data/lib/yuyi/ui.rb +4 -3
- 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: 7f3964188686f9d45bb9cd37da390d36561ab7d5
|
4
|
+
data.tar.gz: 3302bf4e8ce29c4ea4c1a91aa9845afa2f261c27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5c23f52585108ad78f3b3427f6cc08d1184ec8e0b431e44ada408453f44c4633d360c1f6088d05db5f5760c79d9b2508d85ad379aa95f75266cd6cb8aa2265c
|
7
|
+
data.tar.gz: 3f69348dbbf591d5d9db58f38b4de7f2ff0b6ce2b5d2714a4820ddc9612d9130007cc501c67a6f8c33dc4a3b6f2e5728f9b2a3a63dd490131b45ec3bbc65c89d
|
data/.new
CHANGED
data/lib/yuyi/roll.rb
CHANGED
data/lib/yuyi/ui.rb
CHANGED
@@ -40,13 +40,14 @@ module Yuyi::Ui
|
|
40
40
|
|
41
41
|
def authenticate
|
42
42
|
say 'Yuyi does not need your admin password, but some installations do.', :type => :warn
|
43
|
+
say 'Yuyi will prompt you for a password and attempt to keep your admin timestamp alive.', :type => :warn
|
43
44
|
say 'You may be asked to enter your password several times.', :type => :warn
|
44
|
-
say
|
45
45
|
|
46
46
|
# keep the sudo timestamp fresh just in case
|
47
|
-
|
47
|
+
`sudo -v`
|
48
|
+
Thread.new do
|
48
49
|
loop do
|
49
|
-
sleep
|
50
|
+
sleep 60
|
50
51
|
`sudo -v`
|
51
52
|
end
|
52
53
|
end
|