gem_box 0.0.1 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/gem_box/version.rb +1 -1
  2. data/lib/gem_box.rb +5 -4
  3. metadata +1 -1
@@ -1,3 +1,3 @@
1
1
  module GemBox
2
- VERSION = '0.0.1'
2
+ VERSION = '0.1.0'
3
3
  end
data/lib/gem_box.rb CHANGED
@@ -31,11 +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
34
35
  gem_lib_dir = root_dir+"/"+gem_lib+"/lib"
35
- if File.exists?(gem_lib_dir)
36
- $:.unshift gem_lib_dir
37
- require gem_lib
38
- end
36
+ $:.unshift gem_lib_dir if File.exists?(gem_lib_dir)
37
+
38
+ # Require lib
39
+ require gem_lib
39
40
  end
40
41
  end
41
42
 
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.0.1
4
+ version: 0.1.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: