gem_box 0.1.0 → 0.1.1

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.
Files changed (3) hide show
  1. data/lib/gem_box.rb +6 -3
  2. data/lib/gem_box/version.rb +1 -1
  3. metadata +2 -2
data/lib/gem_box.rb CHANGED
@@ -31,9 +31,12 @@ module GemBox
31
31
 
32
32
  # Load libs..
33
33
  [gem_box].flatten.each do |gem_lib|
34
- # Push onto load path if we have a local copy
35
- gem_lib_dir = root_dir+"/"+gem_lib+"/lib"
36
- $:.unshift gem_lib_dir if File.exists?(gem_lib_dir)
34
+
35
+ if ENV['DISABLE_GEM_BOX'].nil?
36
+ # Push onto load path if we have a local copy
37
+ gem_lib_dir = root_dir+"/"+gem_lib+"/lib"
38
+ $:.unshift gem_lib_dir if File.exists?(gem_lib_dir)
39
+ end
37
40
 
38
41
  # Require lib
39
42
  require gem_lib
@@ -1,3 +1,3 @@
1
1
  module GemBox
2
- VERSION = '0.1.0'
2
+ VERSION = '0.1.1'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gem_box
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-10-30 00:00:00.000000000 Z
12
+ date: 2012-11-06 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Gem loading library to help with workflow when developing with multiple
15
15
  git repos