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.
- checksums.yaml +4 -4
- data/bin/ezbash +5 -11
- metadata +16 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4eda5d62e193e3442000cbe22b178453c10dbd8d
|
|
4
|
+
data.tar.gz: f54fc157adde1644f9414ce432d88ed9dad8508c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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'
|
|
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
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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.
|
|
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-
|
|
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
|