javagems 0.4.6 → 0.4.7

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.6
1
+ 0.4.7
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.6"
8
+ s.version = "0.4.7"
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"]
@@ -31,7 +31,7 @@ module JavaGems
31
31
 
32
32
  # FIXME - Until we have actual bundler support, use the Gem home source index.
33
33
  def sources
34
- [Bundler::DirectorySource.new(:location => Gem.configuration.home)]
34
+ [Bundler::SystemGemSource.instance]
35
35
  end
36
36
 
37
37
  end # ClasspathBuilder
@@ -20,7 +20,8 @@ module Gem
20
20
  :gempath => [File.join(Gem.user_home, ".javagem/java")]
21
21
  )
22
22
 
23
- @configuration = nil # To force Gem to re-read the config
23
+ self.configuration = nil # To force Gem to re-read the config
24
+ self.clear_paths # And clear out our paths so they're re-read
24
25
  end
25
26
 
26
27
  class Gem::AbstractCommand < Gem::Command
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.6
4
+ version: 0.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - gabrielg