ezbash 1.2.1 → 1.3.0

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 (3) hide show
  1. checksums.yaml +4 -4
  2. data/bin/ezbash +5 -11
  3. metadata +16 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e0b9ceac250a0b59c0e702becc2e6519bd1938b8
4
- data.tar.gz: d7616fb1d6c9277320a0cf3d32525e9dd417ca51
3
+ metadata.gz: 4eda5d62e193e3442000cbe22b178453c10dbd8d
4
+ data.tar.gz: f54fc157adde1644f9414ce432d88ed9dad8508c
5
5
  SHA512:
6
- metadata.gz: 71e7313b24a3fc0d3dd8ab5640e4f421ad4924a271131f431891d3857c9dd49001f83bae1de2e001f55a8d7c0dfb67a3f3cdd319ce99f00a3dfb1b346e0fa078
7
- data.tar.gz: 725e704e95d5f56fb6512ec489296a6c7c61c3188362933662a2562953b930149d914b44e73180062f0622fbe07e917311b322b062ef1fc579188299bc4a4cb1
6
+ metadata.gz: b18fdbec5b1c5252a7b630388a9c124335d067fc4cabc472c8a85c54a07c6eeeea7cbe0f1505229e0ca08f537da281be4561622d18e4af9eb387da820e968456
7
+ data.tar.gz: 39a0e5606f7abc190dd193fa1295718ee767c87168d5eecbc73a9684e070933742183ff36e100ca97d4a7c9cf4ed3990c6da9d30d27976281a1113ed32c6b732
data/bin/ezbash CHANGED
@@ -5,19 +5,13 @@ require 'pretty_table'
5
5
  def addBrew()
6
6
  if `which brew` == ''
7
7
  puts 'You appear to be running MacOS without Homebrew installed.'
8
- puts "If you don\'t know what Homebrew is, visit 'brew.sh', if you do and would like to install it, type 'yes'. >> "
8
+ puts "If you don\'t know what Homebrew is, visit 'brew.sh' or just hit enter. If you do and would like to install it, type 'yes'. >> "
9
9
  userReply = gets.chomp
10
10
  userReply.downcase!
11
- until userSelect == true
12
- if userReply == 'yes'
13
- Kernel.system "ruby -e '$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)'"
14
- userSelect = true
15
- elsif userReply == 'no'
16
- puts "That\'s fine! Just keep in mind, the install, uninstall, and search commands won\'t work for you."
17
- userSelect = true
18
- else
19
- puts 'Please say yes or no.'
20
- end
11
+ if userReply == 'yes'
12
+ Kernel.system "ruby -e '$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)'"
13
+ else
14
+ puts "That\'s fine! Just keep in mind, the install, uninstall, and search commands won\'t work for you."
21
15
  end
22
16
  end
23
17
  end
metadata CHANGED
@@ -1,15 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ezbash
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Logan Saunders
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-24 00:00:00.000000000 Z
11
+ date: 2015-06-09 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rake
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: pretty_table
15
29
  requirement: !ruby/object:Gem::Requirement