bin_install 0.0.12 → 0.0.13
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dc5d88dd3b719d911017108ac2637ccf2d4e7649635c3f74e3dd6256a36e8eb3
|
4
|
+
data.tar.gz: a5488de660c776f5c4809acc9cba64d441f2fcabf1cb82ccd238b69618c8b5f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91f73d09003d6aa3ae769e5c85c5391efb6a30edb2c097f6fd95b56a030a2aa163e2adcff56dda85c0ac1506b247fb8e8774532fff8d452f1cd59b8b0f6d30eb
|
7
|
+
data.tar.gz: eac9679423dce3263483e080170e4b9c71a910e8b8b43359c49133a38ab6028c1304db9f7c68d9c7384b23b211503da358337bd63e8f0e9986dd6fde71385055
|
data/lib/bin_install/redis.rb
CHANGED
@@ -3,11 +3,13 @@ module BinInstall
|
|
3
3
|
def self.install
|
4
4
|
puts 'Installing Redis...'.white
|
5
5
|
Brew::Package.install_or_upgrade('redis')
|
6
|
+
Brew::Service.start!('redis')
|
6
7
|
end
|
7
8
|
|
8
9
|
def self.install!
|
9
10
|
puts 'Installing Redis...'.white
|
10
11
|
Brew::Package.install_or_upgrade!('redis')
|
12
|
+
Brew::Service.start!('redis')
|
11
13
|
end
|
12
14
|
|
13
15
|
def self.installed?
|
@@ -48,7 +48,6 @@ module BinInstall
|
|
48
48
|
def self.reload_shell!
|
49
49
|
puts 'Warning rbenv requires reloading the shell'.yellow
|
50
50
|
puts 'Close this shell and rerun the installer with:'.red
|
51
|
-
puts '$ gem install bin_install'.cyan
|
52
51
|
puts '$ bin/install'.cyan
|
53
52
|
abort('Can not continue.'.red)
|
54
53
|
end
|
data/lib/bin_install/shell.rb
CHANGED
data/lib/bin_install/version.rb
CHANGED
@@ -30,7 +30,6 @@ module BinInstall
|
|
30
30
|
puts 'Warning Oh My Zsh requires reloading the shell.'.yellow
|
31
31
|
puts 'After Oh My Zsh finishes installing you must restart your shell!'.red
|
32
32
|
puts 'Rerun the installer with:'
|
33
|
-
puts '$ gem install bin_install'.cyan
|
34
33
|
puts '$ bin/install'.cyan
|
35
34
|
end
|
36
35
|
|