yuyi 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.new +1 -1
- data/lib/yuyi/cli.rb +2 -3
- data/lib/yuyi/menu.rb +3 -3
- data/lib/yuyi.rb +2 -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: d6757a465f39307633254fe47eda2d284c24891f
|
4
|
+
data.tar.gz: abb336fc8158ddd6c489ece62bedb306555e9de5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a6d8d13db3c1158e34badcb9562bd26daf244093af2e791639f9d8985942e34f011ea879c126b46d69b71274902da52c4571c1ad794f1f4faf6a375ba13d01c
|
7
|
+
data.tar.gz: 7451626937ae5476e7c77d3559d9385cc1cf57d09e32523b2d0db2eb077b18cebf884629e33e7de39f6c62fac2f39dc777b1c5a21b1b19153a24836d1b3ca9f0
|
data/.new
CHANGED
data/lib/yuyi/cli.rb
CHANGED
@@ -248,9 +248,8 @@ private
|
|
248
248
|
end
|
249
249
|
|
250
250
|
def authenticate
|
251
|
-
say '
|
252
|
-
say '
|
253
|
-
say ' This will ensure all your installs run unsupervised.'
|
251
|
+
say 'Yuyi does not need your admin password, but some installations force a prompt.', :type => :warn
|
252
|
+
say 'You may be asked to enter your password several times. ', :type => :warn
|
254
253
|
|
255
254
|
# keep the sudo timestamp fresh
|
256
255
|
Thread::new do
|
data/lib/yuyi/menu.rb
CHANGED
@@ -102,7 +102,7 @@ class Yuyi::Menu
|
|
102
102
|
#
|
103
103
|
Yuyi.say '=' * header_length, :color => 35
|
104
104
|
Yuyi.say 'APPETIZERS', :color => 35, :justify => :center, :padding => header_length
|
105
|
-
Yuyi.say 'Pre Install
|
105
|
+
Yuyi.say 'Pre Install', :justify => :center, :padding => header_length
|
106
106
|
Yuyi.say
|
107
107
|
|
108
108
|
all_rolls.each do |file_name|
|
@@ -114,7 +114,7 @@ class Yuyi::Menu
|
|
114
114
|
#
|
115
115
|
Yuyi.say '=' * header_length, :color => 36
|
116
116
|
Yuyi.say 'ENTREES', :color => 36, :justify => :center, :padding => header_length
|
117
|
-
Yuyi.say 'Main Install
|
117
|
+
Yuyi.say 'Main Install', :justify => :center, :padding => header_length
|
118
118
|
Yuyi.say
|
119
119
|
|
120
120
|
all_rolls.each do |file_name|
|
@@ -126,7 +126,7 @@ class Yuyi::Menu
|
|
126
126
|
#
|
127
127
|
Yuyi.say '=' * header_length, :color => 35
|
128
128
|
Yuyi.say 'DESSERT', :color => 35, :justify => :center, :padding => header_length
|
129
|
-
Yuyi.say 'Post Install
|
129
|
+
Yuyi.say 'Post Install', :justify => :center, :padding => header_length
|
130
130
|
Yuyi.say
|
131
131
|
|
132
132
|
all_rolls.each do |file_name|
|
data/lib/yuyi.rb
CHANGED
@@ -7,9 +7,10 @@ require 'yuyi/roll'
|
|
7
7
|
require 'yuyi/source'
|
8
8
|
|
9
9
|
class Yuyi
|
10
|
+
require 'yaml'
|
10
11
|
extend Yuyi::Cli
|
11
12
|
|
12
13
|
NAME = 'Yuyi'
|
13
|
-
VERSION =
|
14
|
+
VERSION = YAML.load(File.read(File.dirname(__FILE__) + '/../.new'))['version']
|
14
15
|
DEFAULT_MENU = File.expand_path('~/yuyi_menu')
|
15
16
|
end
|