summaryrefslogtreecommitdiff
path: root/lib/bundler/source.rb
diff options
context:
space:
mode:
-rw-r--r--lib/bundler/source.rb11
1 files changed, 11 insertions, 0 deletions
@@ -7,6 +7,7 @@ module Bundler
autoload :Metadata, File.expand_path("source/metadata", __dir__)
autoload :Path, File.expand_path("source/path", __dir__)
autoload :Rubygems, File.expand_path("source/rubygems", __dir__)
attr_accessor :dependency_names
@@ -35,10 +36,16 @@ module Bundler
def local!; end
def cached!; end
def remote!; end
# it's possible that gems from one source depend on gems from some
# other source, so now we download gemspecs and iterate over those
# dependencies, looking for gems we don't have info on yet.
@@ -48,6 +55,10 @@ module Bundler
specs.dependency_names
end
def include?(other)
other == self
end