summaryrefslogtreecommitdiff
path: root/lib/rubygems/resolver
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2023-03-17 18:36:42 +0900
committerHiroshi SHIBATA <[email protected]>2023-03-23 17:18:49 +0900
commitf24a86d83f07f214e97aa98da190cda55092805f ()
tree58ca875b56af42b90288e014cf1d9757b641e7c1 /lib/rubygems/resolver
parent4dd418f87783ba982a1ef7211bc675ed64bcb447 (diff)
util/rubocop -A --only Layout/EmptyLineAfterMagicComment
Notes: Merged: https://.com/ruby/ruby/pull/7582
-rw-r--r--lib/rubygems/resolver/activation_request.rb1
-rw-r--r--lib/rubygems/resolver/api_set.rb1
-rw-r--r--lib/rubygems/resolver/api_specification.rb1
-rw-r--r--lib/rubygems/resolver/best_set.rb1
-rw-r--r--lib/rubygems/resolver/composed_set.rb1
-rw-r--r--lib/rubygems/resolver/conflict.rb1
-rw-r--r--lib/rubygems/resolver/current_set.rb1
-rw-r--r--lib/rubygems/resolver/dependency_request.rb1
-rw-r--r--lib/rubygems/resolver/git_set.rb1
-rw-r--r--lib/rubygems/resolver/git_specification.rb1
-rw-r--r--lib/rubygems/resolver/index_set.rb1
-rw-r--r--lib/rubygems/resolver/index_specification.rb1
-rw-r--r--lib/rubygems/resolver/installed_specification.rb1
-rw-r--r--lib/rubygems/resolver/installer_set.rb1
-rw-r--r--lib/rubygems/resolver/local_specification.rb1
-rw-r--r--lib/rubygems/resolver/lock_set.rb1
-rw-r--r--lib/rubygems/resolver/lock_specification.rb1
-rw-r--r--lib/rubygems/resolver/molinillo.rb1
-rw-r--r--lib/rubygems/resolver/requirement_list.rb1
-rw-r--r--lib/rubygems/resolver/set.rb1
-rw-r--r--lib/rubygems/resolver/source_set.rb1
-rw-r--r--lib/rubygems/resolver/spec_specification.rb1
-rw-r--r--lib/rubygems/resolver/specification.rb1
-rw-r--r--lib/rubygems/resolver/stats.rb1
-rw-r--r--lib/rubygems/resolver/vendor_set.rb1
-rw-r--r--lib/rubygems/resolver/vendor_specification.rb1
26 files changed, 26 insertions, 0 deletions
@@ -1,4 +1,5 @@
# frozen_string_literal: true
##
# Specifies a Specification object that should be activated. Also contains a
# dependency that was used to introduce this activation.
@@ -1,4 +1,5 @@
# frozen_string_literal: true
##
# The global rubygems pool, available via the rubygems.org API.
# Returns instances of APISpecification.
@@ -1,4 +1,5 @@
# frozen_string_literal: true
##
# Represents a specification retrieved via the rubygems.org API.
#
@@ -1,4 +1,5 @@
# frozen_string_literal: true
##
# The BestSet chooses the best available method to query a remote index.
#
@@ -1,4 +1,5 @@
# frozen_string_literal: true
##
# A ComposedSet allows multiple sets to be queried like a single set.
#
@@ -1,4 +1,5 @@
# frozen_string_literal: true
##
# Used internally to indicate that a dependency conflicted
# with a spec that would be activated.
@@ -1,4 +1,5 @@
# frozen_string_literal: true
##
# A set which represents the installed gems. Respects
# all the normal settings that control where to look
@@ -1,4 +1,5 @@
# frozen_string_literal: true
##
# Used Internally. Wraps a Dependency object to also track which spec
# contained the Dependency.
@@ -1,4 +1,5 @@
# frozen_string_literal: true
##
# A GitSet represents gems that are sourced from git repositories.
#
@@ -1,4 +1,5 @@
# frozen_string_literal: true
##
# A GitSpecification represents a gem that is sourced from a git repository
# and is being loaded through a gem dependencies file through the +git:+
@@ -1,4 +1,5 @@
# frozen_string_literal: true
##
# The global rubygems pool represented via the traditional
# source index.
@@ -1,4 +1,5 @@
# frozen_string_literal: true
##
# Represents a possible Specification object returned from IndexSet. Used to
# delay needed to download full Specification objects when only the +name+
@@ -1,4 +1,5 @@
# frozen_string_literal: true
##
# An InstalledSpecification represents a gem that is already installed
# locally.
@@ -1,4 +1,5 @@
# frozen_string_literal: true
##
# A set of gems for installation sourced from remote sources and local .gem
# files
@@ -1,4 +1,5 @@
# frozen_string_literal: true
##
# A LocalSpecification comes from a .gem file on the local filesystem.
@@ -1,4 +1,5 @@
# frozen_string_literal: true
##
# A set of gems from a gem dependencies lockfile.
@@ -1,4 +1,5 @@
# frozen_string_literal: true
##
# The LockSpecification comes from a lockfile (Gem::RequestSet::Lockfile).
#
@@ -1,2 +1,3 @@
# frozen_string_literal: true
require_relative "molinillo/lib/molinillo"
@@ -1,4 +1,5 @@
# frozen_string_literal: true
##
# The RequirementList is used to hold the requirements being considered
# while resolving a set of gems.
@@ -1,4 +1,5 @@
# frozen_string_literal: true
##
# Resolver sets are used to look up specifications (and their
# dependencies) used in resolution. This set is abstract.
@@ -1,4 +1,5 @@
# frozen_string_literal: true
##
# The SourceSet chooses the best available method to query a remote index.
#
@@ -1,4 +1,5 @@
# frozen_string_literal: true
##
# The Resolver::SpecSpecification contains common functionality for
# Resolver specifications that are backed by a Gem::Specification.
@@ -1,4 +1,5 @@
# frozen_string_literal: true
##
# A Resolver::Specification contains a subset of the information
# contained in a Gem::Specification. Only the information necessary for
@@ -1,4 +1,5 @@
# frozen_string_literal: true
class Gem::Resolver::Stats
def initialize
@max_depth = 0
@@ -1,4 +1,5 @@
# frozen_string_literal: true
##
# A VendorSet represents gems that have been unpacked into a specific
# directory that contains a gemspec.
@@ -1,4 +1,5 @@
# frozen_string_literal: true
##
# A VendorSpecification represents a gem that has been unpacked into a project
# and is being loaded through a gem dependencies file through the +path:+