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.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/.new +1 -1
  3. data/lib/yuyi/roll.rb +1 -1
  4. data/lib/yuyi/ui.rb +4 -3
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 61189d38930a4751227f7263bb31392ca1dc49bb
4
- data.tar.gz: 845d20b8b264d2419b49492e5776d2f21d89b218
3
+ metadata.gz: 7f3964188686f9d45bb9cd37da390d36561ab7d5
4
+ data.tar.gz: 3302bf4e8ce29c4ea4c1a91aa9845afa2f261c27
5
5
  SHA512:
6
- metadata.gz: 22d0535a36c4840dc4520aec28c168d6b477825016d8d69fc9c7f7dd2f019ff3930094502c2fe80d4a4fda42b6b0916ed8a17dab7df6a2deadd7fcfa124b5a97
7
- data.tar.gz: 93e68be3256c38a7ede30e21cb817c5cb1c9dbfc74c1f02f35942a19bcd32a576e1e925490349728bee7ec705e1a713d35e17f0f4b4795b06328575e64968ef1
6
+ metadata.gz: c5c23f52585108ad78f3b3427f6cc08d1184ec8e0b431e44ada408453f44c4633d360c1f6088d05db5f5760c79d9b2508d85ad379aa95f75266cd6cb8aa2265c
7
+ data.tar.gz: 3f69348dbbf591d5d9db58f38b4de7f2ff0b6ce2b5d2714a4820ddc9612d9130007cc501c67a6f8c33dc4a3b6f2e5728f9b2a3a63dd490131b45ec3bbc65c89d
data/.new CHANGED
@@ -16,4 +16,4 @@ tasks:
16
16
  - spec/**/*.rb
17
17
  project_name: Yuyi
18
18
  type: ruby
19
- version: 1.1.3
19
+ version: 1.1.4
@@ -113,7 +113,7 @@ class Yuyi::Roll
113
113
 
114
114
  def install
115
115
  begin
116
- instance_eval(&self.class.install).inspect
116
+ instance_eval(&self.class.install)
117
117
  rescue
118
118
  say "The #{self.title} roll does not have `install` defined", :type => :fail
119
119
  exit
@@ -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
- Thread::new do
47
+ `sudo -v`
48
+ Thread.new do
48
49
  loop do
49
- sleep 1.minute
50
+ sleep 60
50
51
  `sudo -v`
51
52
  end
52
53
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yuyi
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Brewster