diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-16 05:07:31 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2015-12-16 05:07:31 +0000 |
commit | 3e92b635fb5422207b7bbdc924e292e51e21f040 () | |
tree | 584f90b868188077c435bf144e15e66540a73acd /lib/rubygems/resolver | |
parent | f6f7073e125ff903b77b8cb982a7417d96d51902 (diff) |
Add frozen_string_literal: false for all files
When you change this to true, you may need to add more tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
34 files changed, 34 insertions, 0 deletions
@@ -1,3 +1,4 @@ ## # Specifies a Specification object that should be activated. Also contains a # dependency that was used to introduce this activation. @@ -1,3 +1,4 @@ ## # The global rubygems pool, available via the rubygems.org API. # Returns instances of APISpecification. @@ -1,3 +1,4 @@ ## # Represents a specification retrieved via the rubygems.org API. # @@ -1,3 +1,4 @@ ## # The BestSet chooses the best available method to query a remote index. # @@ -1,3 +1,4 @@ ## # A ComposedSet allows multiple sets to be queried like a single set. # @@ -1,3 +1,4 @@ ## # Used internally to indicate that a dependency conflicted # with a spec that would be activated. @@ -1,3 +1,4 @@ ## # A set which represents the installed gems. Respects # all the normal settings that control where to look @@ -1,3 +1,4 @@ ## # Used Internally. Wraps a Dependency object to also track which spec # contained the Dependency. @@ -1,3 +1,4 @@ ## # A GitSet represents gems that are sourced from git repositories. # @@ -1,3 +1,4 @@ ## # 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,3 +1,4 @@ ## # The global rubygems pool represented via the traditional # source index. @@ -1,3 +1,4 @@ ## # Represents a possible Specification object returned from IndexSet. Used to # delay needed to download full Specification objects when only the +name+ @@ -1,3 +1,4 @@ ## # An InstalledSpecification represents a gem that is already installed # locally. @@ -1,3 +1,4 @@ ## # A set of gems for installation sourced from remote sources and local .gem # files @@ -1,3 +1,4 @@ ## # A LocalSpecification comes from a .gem file on the local filesystem. @@ -1,3 +1,4 @@ ## # A set of gems from a gem dependencies lockfile. @@ -1,3 +1,4 @@ ## # The LockSpecification comes from a lockfile (Gem::RequestSet::Lockfile). # @@ -1 +1,2 @@ require 'rubygems/resolver/molinillo/lib/molinillo' @@ -1,3 +1,4 @@ require 'rubygems/resolver/molinillo/lib/molinillo/gem_metadata' require 'rubygems/resolver/molinillo/lib/molinillo/errors' require 'rubygems/resolver/molinillo/lib/molinillo/resolver' @@ -1,3 +1,4 @@ require 'set' require 'tsort' @@ -1,3 +1,4 @@ module Gem::Resolver::Molinillo # An error that occurred during the resolution process class ResolverError < StandardError; end @@ -1,3 +1,4 @@ module Gem::Resolver::Molinillo VERSION = '0.4.0' end @@ -1,3 +1,4 @@ module Gem::Resolver::Molinillo # Provides information about specifcations and dependencies to the resolver, # allowing the {Resolver} class to remain generic while still providing power @@ -1,3 +1,4 @@ module Gem::Resolver::Molinillo # Conveys information about the resolution process to a user. module UI @@ -1,3 +1,4 @@ module Gem::Resolver::Molinillo class Resolver # A specific resolution from a given {Resolver} @@ -1,3 +1,4 @@ require 'rubygems/resolver/molinillo/lib/molinillo/dependency_graph' module Gem::Resolver::Molinillo @@ -1,3 +1,4 @@ module Gem::Resolver::Molinillo # A state that a {Resolution} can be in # @attr [String] name @@ -1,3 +1,4 @@ ## # The RequirementList is used to hold the requirements being considered # while resolving a set of gems. @@ -1,3 +1,4 @@ ## # Resolver sets are used to look up specifications (and their # dependencies) used in resolution. This set is abstract. @@ -1,3 +1,4 @@ ## # The Resolver::SpecSpecification contains common functionality for # Resolver specifications that are backed by a Gem::Specification. @@ -1,3 +1,4 @@ ## # A Resolver::Specification contains a subset of the information # contained in a Gem::Specification. Only the information necessary for @@ -1,3 +1,4 @@ class Gem::Resolver::Stats def initialize @max_depth = 0 @@ -1,3 +1,4 @@ ## # A VendorSet represents gems that have been unpacked into a specific # directory that contains a gemspec. @@ -1,3 +1,4 @@ ## # A VendorSpecification represents a gem that has been unpacked into a project # and is being loaded through a gem dependencies file through the +path:+ |