codelation-cli 0.0.8 → 0.0.9

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: 6f6573fd6c767b570d5d48b8cc224816d3d81d4a
4
- data.tar.gz: b66305e669985702bea5b1387f6b43780dddbab5
3
+ metadata.gz: 37aec9d08ccbbf79220b8fc5294129e82dba3891
4
+ data.tar.gz: 25aee76b717ed10aa3ccfbf27b49b82f39aa58f2
5
5
  SHA512:
6
- metadata.gz: 39a3c3aaa56d68599c77e84f1dc3ed0e1f61ca4557bf0c9797b573f055b9d41baa9a2f12a40960f2250f553e1c5102e4c93d21d4d02679d932f43293d38904d5
7
- data.tar.gz: 0d2d2af08cdfb49bc5d824cb4d4707093de95c5a20bff7d59cf4a33f2a85acc70ccd3f7c90b0b5d4dd81d682f362cb4dd965f28011b571ced0283fc203c6163d
6
+ metadata.gz: 502afa8fb4c6d3604bff70a2618a9194142cfadb80e2c6bd75bde6e434086f95a5d9cf99e1de2057ef9dae3519fdc3606ab4efbdd4f0eb2cac39408acbf5c1fe
7
+ data.tar.gz: 0fce7efdbf2d4ef12b20f6351acda047d67e70acdd5f2a1119fc13f415d384ac278e18ac768fbbe47a9491c836f9c967ca5f4f93b0fb10998facde6d9d014787
@@ -6,13 +6,16 @@ module Codelation
6
6
 
7
7
  # Install dependencies for building and installing everything else.
8
8
  def install_dependencies
9
- print_command("Installing Homebrew from http://brew.sh")
10
- `ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`
9
+ unless `which brew`.length > 1
10
+ print_command("Installing Homebrew from http://brew.sh")
11
+ print_command("Re-run `codelation developer:install after Homebrew has been installed`")
12
+ sleep 3
13
+ exec('ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"')
14
+ end
11
15
 
12
16
  run_command("brew install bash")
13
17
  run_command("brew install git")
14
18
  run_command("brew install imagemagick")
15
- run_command("brew install make")
16
19
  run_command("brew install openssl")
17
20
  run_command("brew install v8")
18
21
  run_command("brew install wget")
@@ -3,7 +3,7 @@ require "open-uri"
3
3
  require "thor"
4
4
 
5
5
  module Codelation
6
- VERSION = "0.0.8"
6
+ VERSION = "0.0.9"
7
7
 
8
8
  class Cli < Thor
9
9
  desc "update", "Update codelation-cli to latest version"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: codelation-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brian Pattison