hem 1.0.1.beta3 → 1.0.1.beta4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e24a451f5acc1defa6a9387d956e907929a5f7ea
4
- data.tar.gz: 5b1841273e1dd1ac7845c5aa56476f2341dcce7c
3
+ metadata.gz: a8a0d2321381353eb8669c12174ae9cb85452e8f
4
+ data.tar.gz: eb2a214c9b48bf643e44cada533ca050b1c2b679
5
5
  SHA512:
6
- metadata.gz: a84691eb109695fb6bcd95dbd9a204109fc7ac1a23978c5124ebe03c2a8670f9cb798a8e589e952fd4b52c0c005df9967aea7fb051fbcb7a9f195caace93947e
7
- data.tar.gz: c18bb3bafa2689768e5bad00541ef6c983f3a23c6d65d2323bc42dec4deaf04fea3bf6a51566451c3019520741160cde192b336d5e0344fc06ade253019a3e12
6
+ metadata.gz: e0c8293b22d916be773aee652d1e65c0d2efbe55b821ba72bfa24c5e3170319527bfe78989bf8dd03b95b9bdcf743341fc6f9b7509e26069e02b8a6606c2be49
7
+ data.tar.gz: 2a144ebfad25614d238f115853448c5f0c0c229420a8c6e900152dea8aab76dfb3669ac9c7b927e482c3545b1916319cbb88c8bc459b4a2a1828f00ad0306b53
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- hem (1.0.1.beta3)
4
+ hem (1.0.1.beta4)
5
5
  aws-sdk (~> 2.0.24)
6
6
  deepstruct (~> 0.0.5)
7
7
  highline (~> 1.6.20)
data/lib/hem/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Hem
2
- VERSION = '1.0.1-beta3'
2
+ VERSION = '1.0.1-beta4'
3
3
  end
data/lib/hem.rb CHANGED
@@ -64,7 +64,6 @@ require 'hem/lib/github/client'
64
64
  # Host checks
65
65
  require 'hem/lib/host_check/git'
66
66
  require 'hem/lib/host_check/vagrant'
67
- require 'hem/lib/host_check/ruby'
68
67
  require 'hem/lib/host_check/deps'
69
68
  require 'hem/lib/host_check'
70
69
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hem
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1.beta3
4
+ version: 1.0.1.beta4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Simons
@@ -217,7 +217,6 @@ files:
217
217
  - lib/hem/lib/host_check.rb
218
218
  - lib/hem/lib/host_check/deps.rb
219
219
  - lib/hem/lib/host_check/git.rb
220
- - lib/hem/lib/host_check/ruby.rb
221
220
  - lib/hem/lib/host_check/vagrant.rb
222
221
  - lib/hem/lib/local/command.rb
223
222
  - lib/hem/lib/s3/local/file.rb
@@ -1,53 +0,0 @@
1
- module Hem
2
- module Lib
3
- module HostCheck
4
- def not_using_system_ruby opts
5
- return if Hem.windows?
6
- advice = <<-EOF
7
- You're using a system ruby install which can cause issues with installing Gems and running some older projects.
8
-
9
- rbenv is HIGHLY recommended.
10
-
11
- You can install it with the following command:
12
- curl https://raw.github.com/fesplugas/rbenv-installer/master/bin/rbenv-installer | bash
13
-
14
- Once installed, run the following to set it as the default ruby and re-install hem-inviqa:
15
- rbenv install 1.9.3-p448 && rbenv global 1.9.3-448 && gem install hem-inviqa
16
- EOF
17
- require "rbconfig"
18
- which = File.join(RbConfig::CONFIG["bindir"], RbConfig::CONFIG["ruby_install_name"])
19
- unless which =~ /\.rbenv|\.rvm|jruby/
20
- raise Hem::HostCheckError.new("Hem is running under a system ruby", advice)
21
- end
22
- end
23
-
24
- def system_paths_for_ruby opts
25
- return if Hem.windows?
26
-
27
- advice = <<-EOF
28
- The ordering of your system paths may cause a problem with Gems.
29
-
30
- Unfortunately we can't automatically fix this for you at this time.
31
-
32
- Please seek assistance.
33
-
34
- Your paths were detected as:
35
-
36
- #{ENV['PATH'].split(':').join("\n")}
37
- EOF
38
-
39
- paths = ENV['PATH'].split(':')
40
- system_path_found = false
41
- ruby_path_found = false
42
- paths.each do |path|
43
- system_before_ruby = system_path_found && !ruby_path_found
44
- ruby_after_system = path =~ /\.rbenv|\.rvm/ && system_path_found
45
- raise Hem::HostCheckError.new("System paths appear to be mis-ordered", advice) if system_before_ruby or ruby_after_system
46
-
47
- ruby_path_found = true if path =~ /\.rbenv|\.rvm/
48
- system_path_found = true if path =~ /\/usr\/bin|\/usr\/local\/bin/
49
- end
50
- end
51
- end
52
- end
53
- end