javagems 0.4.7 → 0.4.8

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.7
1
+ 0.4.8
data/javagems.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{javagems}
8
- s.version = "0.4.7"
8
+ s.version = "0.4.8"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["gabrielg", "jaknowlden"]
@@ -9,8 +9,10 @@ module JavaGems
9
9
  bundler_env = Bundler::Environment.load(gemfile)
10
10
  deps = bundler_env.dependencies.map {|dep| dep.to_gem_dependency }
11
11
  cp = Bundler::Resolver.resolve(deps, sources).collect do |spec|
12
- (Pathname(spec.full_gem_path) + "lib").expand_path.to_s
13
- end.join(File::PATH_SEPARATOR)
12
+ spec.require_paths.collect do |req_path|
13
+ (Pathname(spec.full_gem_path) + req_path).expand_path.to_s
14
+ end
15
+ end.flatten.join(File::PATH_SEPARATOR)
14
16
  end
15
17
 
16
18
  rescue => e
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: javagems
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.7
4
+ version: 0.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - gabrielg