summaryrefslogtreecommitdiff
path: root/lib/rubygems/source
diff options
context:
space:
mode:
-rw-r--r--lib/rubygems/source/git.rb2
-rw-r--r--lib/rubygems/source/installed.rb2
-rw-r--r--lib/rubygems/source/local.rb2
-rw-r--r--lib/rubygems/source/lock.rb2
-rw-r--r--lib/rubygems/source/specific_file.rb2
-rw-r--r--lib/rubygems/source/vendor.rb2
6 files changed, 12 insertions, 0 deletions
@@ -11,6 +11,7 @@
# source.specs
class Gem::Source::Git < Gem::Source
##
# The name of the gem created by this git gem.
@@ -237,4 +238,5 @@ class Gem::Source::Git < Gem::Source
Digest::SHA1.hexdigest normalized
end
end
@@ -3,6 +3,7 @@
# Represents an installed gem. This is used for dependency resolution.
class Gem::Source::Installed < Gem::Source
def initialize # :nodoc:
@uri = nil
end
@@ -35,4 +36,5 @@ class Gem::Source::Installed < Gem::Source
def pretty_print(q) # :nodoc:
q.text '[Installed]'
end
end
@@ -4,6 +4,7 @@
# dependencies.
class Gem::Source::Local < Gem::Source
def initialize # :nodoc:
@specs = nil
@api_uri = nil
@@ -128,4 +129,5 @@ class Gem::Source::Local < Gem::Source
end
end
end
end
@@ -5,6 +5,7 @@
# dependency lock files.
class Gem::Source::Lock < Gem::Source
##
# The wrapped Gem::Source
@@ -47,4 +48,5 @@ class Gem::Source::Lock < Gem::Source
def uri # :nodoc:
@wrapped.uri
end
end
@@ -4,6 +4,7 @@
# local gems.
class Gem::Source::SpecificFile < Gem::Source
##
# The path to the gem for this specific file.
@@ -68,4 +69,5 @@ class Gem::Source::SpecificFile < Gem::Source
super
end
end
end
@@ -3,6 +3,7 @@
# This represents a vendored source that is similar to an installed gem.
class Gem::Source::Vendor < Gem::Source::Installed
##
# Creates a new Vendor source for a gem that was unpacked at +path+.
@@ -22,4 +23,5 @@ class Gem::Source::Vendor < Gem::Source::Installed
nil
end
end
end