mirror of
https://github.com/ruby/ruby.git
synced 2025-08-26 06:25:31 +02:00
* lib/rubygems: Import RubyGems 2.1
* test/rubygems: Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
cd9f9e4719
commit
47f0248b08
113 changed files with 4964 additions and 2610 deletions
16
lib/rubygems/dependency_resolver/current_set.rb
Normal file
16
lib/rubygems/dependency_resolver/current_set.rb
Normal file
|
@ -0,0 +1,16 @@
|
|||
##
|
||||
# A set which represents the installed gems. Respects
|
||||
# all the normal settings that control where to look
|
||||
# for installed gems.
|
||||
|
||||
class Gem::DependencyResolver::CurrentSet
|
||||
|
||||
def find_all req
|
||||
req.dependency.matching_specs
|
||||
end
|
||||
|
||||
def prefetch gems
|
||||
end
|
||||
|
||||
end
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue