gem_box 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/gem_box.rb +6 -3
- data/lib/gem_box/version.rb +1 -1
- 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
|
-
|
35
|
-
|
36
|
-
|
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
|
data/lib/gem_box/version.rb
CHANGED
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.
|
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-
|
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
|