lib/bundler/rubygems_integration.rb in bundler-1.6.0 vs lib/bundler/rubygems_integration.rb in bundler-1.6.1
- old
+ new
@@ -103,10 +103,18 @@
def marshal_spec_dir
Gem::MARSHAL_SPEC_DIR
end
+ def config_map
+ Gem::ConfigMap
+ end
+
+ def repository_subdirectories
+ %w[cache doc gems specifications]
+ end
+
def clear_paths
Gem.clear_paths
end
def bin_path(gem, bin, ver)
@@ -531,9 +539,12 @@
def build(spec, skip_validation = false)
require 'rubygems/package'
Gem::Package.build(spec, skip_validation)
end
+ def repository_subdirectories
+ Gem::REPOSITORY_SUBDIRECTORIES
+ end
end
end
if RubygemsIntegration.provides?(">= 1.99.99")