yuyi 1.0.0 → 1.0.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c6cca5d2ab1d4af450cfb97cdebae51e7fd270a9
4
- data.tar.gz: 34729bb8572ea41c40c9ae276f536aaebf20e86a
3
+ metadata.gz: d6757a465f39307633254fe47eda2d284c24891f
4
+ data.tar.gz: abb336fc8158ddd6c489ece62bedb306555e9de5
5
5
  SHA512:
6
- metadata.gz: 4b8e5fe1d299b56c7b2e7b3237babebad22de7de6e5c86e1c0cd3ba99d93ab5709e79e48c66fd232774a639f8fb0ea7327940be8327c731bb499ce48b80c5197
7
- data.tar.gz: c1d580a528433bccccbcd505c2c26f372873c76e8c5adb8d8d03ade2426c0da7303e9ca9fb5537ced87d0c76f179764d2f627ed220b415466884969b9c8fda99
6
+ metadata.gz: 8a6d8d13db3c1158e34badcb9562bd26daf244093af2e791639f9d8985942e34f011ea879c126b46d69b71274902da52c4571c1ad794f1f4faf6a375ba13d01c
7
+ data.tar.gz: 7451626937ae5476e7c77d3559d9385cc1cf57d09e32523b2d0db2eb077b18cebf884629e33e7de39f6c62fac2f39dc777b1c5a21b1b19153a24836d1b3ca9f0
data/.new CHANGED
@@ -16,4 +16,4 @@ tasks:
16
16
  - spec/**/*.rb
17
17
  project_name: Yuyi
18
18
  type: ruby
19
- version: 1.0.0
19
+ version: 1.0.1
data/lib/yuyi/cli.rb CHANGED
@@ -248,9 +248,8 @@ private
248
248
  end
249
249
 
250
250
  def authenticate
251
- say 'Please enter the admin password', :type => :warn
252
- say 'NOTE: This is passed directly to sudo and is not saved.'
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 Tasks', :justify => :center, :padding => header_length
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 Tasks', :justify => :center, :padding => header_length
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 Tasks', :justify => :center, :padding => header_length
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 = '0.1.1'
14
+ VERSION = YAML.load(File.read(File.dirname(__FILE__) + '/../.new'))['version']
14
15
  DEFAULT_MENU = File.expand_path('~/yuyi_menu')
15
16
  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.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Brewster