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: d076004ba397a3c7d3ecb86c28ca94776722294a1ba44143963c9fe240bbd703
4
- data.tar.gz: e3673ee112018aa4387aca87689899afadfefad6a2a48537b31962f99f5d10a8
3
+ metadata.gz: dc5d88dd3b719d911017108ac2637ccf2d4e7649635c3f74e3dd6256a36e8eb3
4
+ data.tar.gz: a5488de660c776f5c4809acc9cba64d441f2fcabf1cb82ccd238b69618c8b5f1
5
5
  SHA512:
6
- metadata.gz: ea9f2dbfab3fb6bbb99c31549ffe7e3a1aba3ecc584350d8a19fb58d0222dd9cbac18cf573855bef95a07c9639a62e29804dda2e97bde737c697371cc91b9ad3
7
- data.tar.gz: a08e98275c48f2d90c37134afde9d2263086676a433562a9faaab02c7e58507ac5ced7eea69b102de8efa7894f7e5b44d6e27ab4801e8410e7e4341c62df56c0
6
+ metadata.gz: 91f73d09003d6aa3ae769e5c85c5391efb6a30edb2c097f6fd95b56a030a2aa163e2adcff56dda85c0ac1506b247fb8e8774532fff8d452f1cd59b8b0f6d30eb
7
+ data.tar.gz: eac9679423dce3263483e080170e4b9c71a910e8b8b43359c49133a38ab6028c1304db9f7c68d9c7384b23b211503da358337bd63e8f0e9986dd6fde71385055
@@ -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
@@ -27,7 +27,7 @@ module BinInstall
27
27
  if file.read.include?(value)
28
28
  puts "Value already exist in #{path}. Skipping.".blue
29
29
  else
30
- puts "Writing to #{path}:\n#{value.to_s.cyan}"
30
+ puts "Writing to #{path}:\n#{value.to_s.purple}"
31
31
  file << value.to_s
32
32
  end
33
33
 
@@ -1,3 +1,3 @@
1
1
  module BinInstall
2
- VERSION = '0.0.12'.freeze
2
+ VERSION = '0.0.13'.freeze
3
3
  end
@@ -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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bin_install
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.12
4
+ version: 0.0.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Singer