Iterates over all IP addresses for name
retrieved from the mDNS resolver, provided name ends with “local”. If the name does not end in “local” no records will be returned.
name
can be a Resolv::DNS::Name
or a String
. Retrieved addresses will be a Resolv::IPv4
or Resolv::IPv6
Yields the Gem::Specification
for each Tuple
in this AvailableSet
Does this dependency match spec
?
NOTE: This is not a convenience method. Unlike match?
this method returns true when spec
is a prerelease version even if this dependency is not a prerelease dependency.
Indicate if this NameTuple
matches the current platform.
Adds a checksum for each entry in the gem to checksums.yaml.gz.
Reads and loads checksums.yaml.gz from the tar file gem
File
Fetcher. Dispatched by fetch_path
. Use it instead.
HTTP Fetcher. Dispatched by fetch_path
. Use it instead.
Downloads uri
and returns it as a String
.
Returns true when it is possible and safe to update the cache directory.
Fetches a specification for the given name_tuple
.
Yields each source in the list.
Returns the full path to the cached gem for this spec.
Creates a duplicate spec without large blobs that aren’t used at runtime.