summaryrefslogtreecommitdiff
path: root/lib/rubygems
diff options
context:
space:
mode:
-rw-r--r--lib/rubygems/available_set.rb1
-rw-r--r--lib/rubygems/basic_specification.rb1
-rw-r--r--lib/rubygems/command.rb1
-rw-r--r--lib/rubygems/command_manager.rb1
-rw-r--r--lib/rubygems/commands/build_command.rb1
-rw-r--r--lib/rubygems/commands/cert_command.rb1
-rw-r--r--lib/rubygems/commands/check_command.rb1
-rw-r--r--lib/rubygems/commands/cleanup_command.rb1
-rw-r--r--lib/rubygems/commands/contents_command.rb1
-rw-r--r--lib/rubygems/commands/dependency_command.rb1
-rw-r--r--lib/rubygems/commands/environment_command.rb1
-rw-r--r--lib/rubygems/commands/fetch_command.rb1
-rw-r--r--lib/rubygems/commands/generate_index_command.rb1
-rw-r--r--lib/rubygems/commands/help_command.rb1
-rw-r--r--lib/rubygems/commands/install_command.rb1
-rw-r--r--lib/rubygems/commands/list_command.rb1
-rw-r--r--lib/rubygems/commands/lock_command.rb1
-rw-r--r--lib/rubygems/commands/mirror_command.rb1
-rw-r--r--lib/rubygems/commands/open_command.rb1
-rw-r--r--lib/rubygems/commands/outdated_command.rb1
-rw-r--r--lib/rubygems/commands/owner_command.rb1
-rw-r--r--lib/rubygems/commands/pristine_command.rb1
-rw-r--r--lib/rubygems/commands/push_command.rb1
-rw-r--r--lib/rubygems/commands/query_command.rb1
-rw-r--r--lib/rubygems/commands/rdoc_command.rb1
-rw-r--r--lib/rubygems/commands/search_command.rb1
-rw-r--r--lib/rubygems/commands/server_command.rb1
-rw-r--r--lib/rubygems/commands/setup_command.rb1
-rw-r--r--lib/rubygems/commands/sources_command.rb1
-rw-r--r--lib/rubygems/commands/specification_command.rb1
-rw-r--r--lib/rubygems/commands/stale_command.rb1
-rw-r--r--lib/rubygems/commands/uninstall_command.rb1
-rw-r--r--lib/rubygems/commands/unpack_command.rb1
-rw-r--r--lib/rubygems/commands/update_command.rb1
-rw-r--r--lib/rubygems/commands/which_command.rb1
-rw-r--r--lib/rubygems/commands/yank_command.rb1
-rw-r--r--lib/rubygems/compatibility.rb1
-rw-r--r--lib/rubygems/config_file.rb1
-rw-r--r--lib/rubygems/core_ext/kernel_gem.rb1
-rwxr-xr-xlib/rubygems/core_ext/kernel_require.rb1
-rw-r--r--lib/rubygems/defaults.rb1
-rw-r--r--lib/rubygems/dependency.rb1
-rw-r--r--lib/rubygems/dependency_installer.rb1
-rw-r--r--lib/rubygems/dependency_list.rb1
-rw-r--r--lib/rubygems/deprecate.rb1
-rw-r--r--lib/rubygems/doctor.rb1
-rw-r--r--lib/rubygems/errors.rb1
-rw-r--r--lib/rubygems/exceptions.rb1
-rw-r--r--lib/rubygems/ext.rb1
-rw-r--r--lib/rubygems/ext/build_error.rb1
-rw-r--r--lib/rubygems/ext/builder.rb1
-rw-r--r--lib/rubygems/ext/cmake_builder.rb1
-rw-r--r--lib/rubygems/ext/configure_builder.rb1
-rw-r--r--lib/rubygems/ext/ext_conf_builder.rb1
-rw-r--r--lib/rubygems/ext/rake_builder.rb1
-rw-r--r--lib/rubygems/gem_runner.rb1
-rw-r--r--lib/rubygems/gemcutter_utilities.rb1
-rw-r--r--lib/rubygems/indexer.rb1
-rw-r--r--lib/rubygems/install_default_message.rb1
-rw-r--r--lib/rubygems/install_message.rb1
-rw-r--r--lib/rubygems/install_update_options.rb1
-rw-r--r--lib/rubygems/installer.rb1
-rw-r--r--lib/rubygems/installer_test_case.rb1
-rw-r--r--lib/rubygems/local_remote_options.rb1
-rw-r--r--lib/rubygems/mock_gem_ui.rb1
-rw-r--r--lib/rubygems/name_tuple.rb1
-rw-r--r--lib/rubygems/package.rb1
-rw-r--r--lib/rubygems/package/digest_io.rb1
-rw-r--r--lib/rubygems/package/file_source.rb1
-rw-r--r--lib/rubygems/package/io_source.rb1
-rw-r--r--lib/rubygems/package/old.rb1
-rw-r--r--lib/rubygems/package/source.rb1
-rw-r--r--lib/rubygems/package/tar_header.rb1
-rw-r--r--lib/rubygems/package/tar_reader.rb1
-rw-r--r--lib/rubygems/package/tar_reader/entry.rb1
-rw-r--r--lib/rubygems/package/tar_test_case.rb1
-rw-r--r--lib/rubygems/package/tar_writer.rb1
-rw-r--r--lib/rubygems/package_task.rb1
-rw-r--r--lib/rubygems/path_support.rb1
-rw-r--r--lib/rubygems/platform.rb1
-rw-r--r--lib/rubygems/psych_additions.rb1
-rw-r--r--lib/rubygems/psych_tree.rb1
-rw-r--r--lib/rubygems/rdoc.rb1
-rw-r--r--lib/rubygems/remote_fetcher.rb1
-rw-r--r--lib/rubygems/request.rb1
-rw-r--r--lib/rubygems/request/connection_pools.rb1
-rw-r--r--lib/rubygems/request/http_pool.rb1
-rw-r--r--lib/rubygems/request/https_pool.rb1
-rw-r--r--lib/rubygems/request_set.rb1
-rw-r--r--lib/rubygems/request_set/gem_dependency_api.rb1
-rw-r--r--lib/rubygems/request_set/lockfile.rb1
-rw-r--r--lib/rubygems/request_set/lockfile/parser.rb1
-rw-r--r--lib/rubygems/request_set/lockfile/tokenizer.rb1
-rw-r--r--lib/rubygems/requirement.rb1
-rw-r--r--lib/rubygems/resolver.rb1
-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/molinillo/lib/molinillo.rb1
-rw-r--r--lib/rubygems/resolver/molinillo/lib/molinillo/dependency_graph.rb1
-rw-r--r--lib/rubygems/resolver/molinillo/lib/molinillo/errors.rb1
-rw-r--r--lib/rubygems/resolver/molinillo/lib/molinillo/gem_metadata.rb1
-rw-r--r--lib/rubygems/resolver/molinillo/lib/molinillo/modules/specification_provider.rb1
-rw-r--r--lib/rubygems/resolver/molinillo/lib/molinillo/modules/ui.rb1
-rw-r--r--lib/rubygems/resolver/molinillo/lib/molinillo/resolution.rb1
-rw-r--r--lib/rubygems/resolver/molinillo/lib/molinillo/resolver.rb1
-rw-r--r--lib/rubygems/resolver/molinillo/lib/molinillo/state.rb1
-rw-r--r--lib/rubygems/resolver/requirement_list.rb1
-rw-r--r--lib/rubygems/resolver/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
-rw-r--r--lib/rubygems/security.rb1
-rw-r--r--lib/rubygems/security/policies.rb1
-rw-r--r--lib/rubygems/security/policy.rb1
-rw-r--r--lib/rubygems/security/signer.rb1
-rw-r--r--lib/rubygems/security/trust_dir.rb1
-rw-r--r--lib/rubygems/server.rb1
-rw-r--r--lib/rubygems/source.rb1
-rw-r--r--lib/rubygems/source/git.rb1
-rw-r--r--lib/rubygems/source/installed.rb1
-rw-r--r--lib/rubygems/source/local.rb1
-rw-r--r--lib/rubygems/source/lock.rb1
-rw-r--r--lib/rubygems/source/specific_file.rb1
-rw-r--r--lib/rubygems/source/vendor.rb1
-rw-r--r--lib/rubygems/source_list.rb1
-rw-r--r--lib/rubygems/source_local.rb1
-rw-r--r--lib/rubygems/source_specific_file.rb1
-rw-r--r--lib/rubygems/spec_fetcher.rb1
-rw-r--r--lib/rubygems/specification.rb1
-rw-r--r--lib/rubygems/stub_specification.rb1
-rw-r--r--lib/rubygems/syck_hack.rb1
-rw-r--r--lib/rubygems/test_case.rb1
-rw-r--r--lib/rubygems/test_utilities.rb1
-rw-r--r--lib/rubygems/text.rb1
-rw-r--r--lib/rubygems/uninstaller.rb1
-rw-r--r--lib/rubygems/uri_formatter.rb1
-rw-r--r--lib/rubygems/user_interaction.rb1
-rw-r--r--lib/rubygems/util.rb1
-rw-r--r--lib/rubygems/util/licenses.rb1
-rw-r--r--lib/rubygems/util/list.rb1
-rw-r--r--lib/rubygems/validator.rb1
-rw-r--r--lib/rubygems/version.rb1
-rw-r--r--lib/rubygems/version_option.rb1
161 files changed, 161 insertions, 0 deletions
@@ -1,3 +1,4 @@
class Gem::AvailableSet
include Enumerable
@@ -1,3 +1,4 @@
##
# BasicSpecification is an abstract class which implements some common code
# used by both Specification and StubSpecification.
@@ -1,3 +1,4 @@
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
@@ -1,3 +1,4 @@
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
@@ -1,3 +1,4 @@
require 'rubygems/command'
require 'rubygems/package'
@@ -1,3 +1,4 @@
require 'rubygems/command'
require 'rubygems/security'
begin
@@ -1,3 +1,4 @@
require 'rubygems/command'
require 'rubygems/version_option'
require 'rubygems/validator'
@@ -1,3 +1,4 @@
require 'rubygems/command'
require 'rubygems/dependency_list'
require 'rubygems/uninstaller'
@@ -1,3 +1,4 @@
require 'English'
require 'rubygems/command'
require 'rubygems/version_option'
@@ -1,3 +1,4 @@
require 'rubygems/command'
require 'rubygems/local_remote_options'
require 'rubygems/version_option'
@@ -1,3 +1,4 @@
require 'rubygems/command'
class Gem::Commands::EnvironmentCommand < Gem::Command
@@ -1,3 +1,4 @@
require 'rubygems/command'
require 'rubygems/local_remote_options'
require 'rubygems/version_option'
@@ -1,3 +1,4 @@
require 'rubygems/command'
require 'rubygems/indexer'
@@ -1,3 +1,4 @@
require 'rubygems/command'
class Gem::Commands::HelpCommand < Gem::Command
@@ -1,3 +1,4 @@
require 'rubygems/command'
require 'rubygems/install_update_options'
require 'rubygems/dependency_installer'
@@ -1,3 +1,4 @@
require 'rubygems/command'
require 'rubygems/commands/query_command'
@@ -1,3 +1,4 @@
require 'rubygems/command'
class Gem::Commands::LockCommand < Gem::Command
@@ -1,3 +1,4 @@
require 'rubygems/command'
unless defined? Gem::Commands::MirrorCommand
@@ -1,3 +1,4 @@
require 'English'
require 'rubygems/command'
require 'rubygems/version_option'
@@ -1,3 +1,4 @@
require 'rubygems/command'
require 'rubygems/local_remote_options'
require 'rubygems/spec_fetcher'
@@ -1,3 +1,4 @@
require 'rubygems/command'
require 'rubygems/local_remote_options'
require 'rubygems/gemcutter_utilities'
@@ -1,3 +1,4 @@
require 'rubygems/command'
require 'rubygems/package'
require 'rubygems/installer'
@@ -1,3 +1,4 @@
require 'rubygems/command'
require 'rubygems/local_remote_options'
require 'rubygems/gemcutter_utilities'
@@ -1,3 +1,4 @@
require 'rubygems/command'
require 'rubygems/local_remote_options'
require 'rubygems/spec_fetcher'
@@ -1,3 +1,4 @@
require 'rubygems/command'
require 'rubygems/version_option'
require 'rubygems/rdoc'
@@ -1,3 +1,4 @@
require 'rubygems/command'
require 'rubygems/commands/query_command'
@@ -1,3 +1,4 @@
require 'rubygems/command'
require 'rubygems/server'
@@ -1,3 +1,4 @@
require 'rubygems/command'
##
@@ -1,3 +1,4 @@
require 'rubygems/command'
require 'rubygems/remote_fetcher'
require 'rubygems/spec_fetcher'
@@ -1,3 +1,4 @@
require 'rubygems/command'
require 'rubygems/local_remote_options'
require 'rubygems/version_option'
@@ -1,3 +1,4 @@
require 'rubygems/command'
class Gem::Commands::StaleCommand < Gem::Command
@@ -1,3 +1,4 @@
require 'rubygems/command'
require 'rubygems/version_option'
require 'rubygems/uninstaller'
@@ -1,3 +1,4 @@
require 'rubygems/command'
require 'rubygems/installer'
require 'rubygems/version_option'
@@ -1,3 +1,4 @@
require 'rubygems/command'
require 'rubygems/command_manager'
require 'rubygems/dependency_installer'
@@ -1,3 +1,4 @@
require 'rubygems/command'
class Gem::Commands::WhichCommand < Gem::Command
@@ -1,3 +1,4 @@
require 'rubygems/command'
require 'rubygems/local_remote_options'
require 'rubygems/version_option'
@@ -1,3 +1,4 @@
# :stopdoc:
#--
@@ -1,3 +1,4 @@
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
@@ -1,3 +1,4 @@
##
# RubyGems adds the #gem method to allow activation of specific gem versions
# and overrides the #require method on Kernel to make gems appear as if they
@@ -1,3 +1,4 @@
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
@@ -1,3 +1,4 @@
module Gem
DEFAULT_HOST = "https://rubygems.org"
@@ -1,3 +1,4 @@
##
# The Dependency class holds a Gem name and a Gem::Requirement.
@@ -1,3 +1,4 @@
require 'rubygems'
require 'rubygems/dependency_list'
require 'rubygems/package'
@@ -1,3 +1,4 @@
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
@@ -1,3 +1,4 @@
##
# Provides a single method +deprecate+ to be used to declare when
# something is going away.
@@ -1,3 +1,4 @@
require 'rubygems'
require 'rubygems/user_interaction'
@@ -1,3 +1,4 @@
#--
# This file contains all the various exceptions and other errors that are used
# inside of RubyGems.
@@ -1,3 +1,4 @@
# TODO: the documentation in here is terrible.
#
# Each exception needs a brief description and the scenarios where it is
@@ -1,3 +1,4 @@
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
@@ -1,3 +1,4 @@
##
# Raised when there is an error while building extensions.
@@ -1,3 +1,4 @@
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
@@ -1,3 +1,4 @@
require 'rubygems/command'
class Gem::Ext::CmakeBuilder < Gem::Ext::Builder
@@ -1,3 +1,4 @@
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
@@ -1,3 +1,4 @@
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
@@ -1,3 +1,4 @@
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
@@ -1,3 +1,4 @@
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
@@ -1,3 +1,4 @@
require 'rubygems/remote_fetcher'
##
@@ -1,3 +1,4 @@
require 'rubygems'
require 'rubygems/package'
require 'time'
@@ -1,3 +1,4 @@
require 'rubygems'
require 'rubygems/user_interaction'
@@ -1,3 +1,4 @@
require 'rubygems'
require 'rubygems/user_interaction'
@@ -1,3 +1,4 @@
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
@@ -1,3 +1,4 @@
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
@@ -1,3 +1,4 @@
require 'rubygems/test_case'
require 'rubygems/installer'
@@ -1,3 +1,4 @@
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
@@ -1,3 +1,4 @@
require 'stringio'
require 'rubygems/user_interaction'
@@ -1,3 +1,4 @@
##
#
# Represents a gem of name +name+ at +version+ of +platform+. These
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
#--
# Copyright (C) 2004 Mauricio Julio Fernández Pradier
# See LICENSE.txt for additional licensing information.
@@ -1,3 +1,4 @@
##
# IO wrapper that creates digests of contents written to the IO it wraps.
@@ -1,3 +1,4 @@
##
# The primary source of gems is a file on disk, including all usages
# internal to rubygems.
@@ -1,3 +1,4 @@
##
# Supports reading and writing gems from/to a generic IO object. This is
# useful for other applications built on top of rubygems, such as
@@ -1,3 +1,4 @@
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
@@ -1,3 +1,4 @@
class Gem::Package::Source # :nodoc:
end
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
#--
# Copyright (C) 2004 Mauricio Julio Fernández Pradier
# See LICENSE.txt for additional licensing information.
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
#--
# Copyright (C) 2004 Mauricio Julio Fernández Pradier
# See LICENSE.txt for additional licensing information.
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
#++
# Copyright (C) 2004 Mauricio Julio Fernández Pradier
# See LICENSE.txt for additional licensing information.
@@ -1,3 +1,4 @@
require 'rubygems/test_case'
require 'rubygems/package'
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
#--
# Copyright (C) 2004 Mauricio Julio Fernández Pradier
# See LICENSE.txt for additional licensing information.
@@ -1,3 +1,4 @@
# Copyright (c) 2003, 2004 Jim Weirich, 2009 Eric Hodel
#
# Permission is hereby granted, free of charge, to any person obtaining
@@ -1,3 +1,4 @@
##
#
# Gem::PathSupport facilitates the GEM_HOME and GEM_PATH environment settings
@@ -1,3 +1,4 @@
require "rubygems/deprecate"
##
@@ -1,3 +1,4 @@
# This exists just to satisfy bugs in marshal'd gemspecs that
# contain a reference to YAML::PrivateType. We prune these out
# in Specification._load, but if we don't have the constant, Marshal
@@ -1,3 +1,4 @@
module Gem
if defined? ::Psych::Visitors
class NoAliasYAMLTree < Psych::Visitors::YAMLTree
@@ -1,3 +1,4 @@
require 'rubygems'
require 'rubygems/user_interaction'
require 'fileutils'
@@ -1,3 +1,4 @@
require 'rubygems'
require 'rubygems/request'
require 'rubygems/uri_formatter'
@@ -1,3 +1,4 @@
require 'net/http'
require 'thread'
require 'time'
@@ -1,3 +1,4 @@
require 'thread'
class Gem::Request::ConnectionPools # :nodoc:
@@ -1,3 +1,4 @@
##
# A connection "pool" that only manages one connection for now. Provides
# thread safe `checkout` and `checkin` methods. The pool consists of one
@@ -1,3 +1,4 @@
class Gem::Request::HTTPSPool < Gem::Request::HTTPPool # :nodoc:
private
@@ -1,3 +1,4 @@
require 'tsort'
##
@@ -1,3 +1,4 @@
##
# A semi-compatible DSL for the Bundler Gemfile and Isolate gem dependencies
# files.
@@ -1,3 +1,4 @@
##
# Parses a gem.deps.rb.lock file and constructs a LockSet containing the
# dependencies found inside. If the lock file is missing no LockSet is
@@ -1,3 +1,4 @@
class Gem::RequestSet::Lockfile::Parser
###
# Parses lockfiles
@@ -1,3 +1,4 @@
require 'strscan'
require 'rubygems/request_set/lockfile/parser'
@@ -1,3 +1,4 @@
require "rubygems/version"
require "rubygems/deprecate"
@@ -1,3 +1,4 @@
require 'rubygems/dependency'
require 'rubygems/exceptions'
require 'rubygems/util'
@@ -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:+
@@ -1,3 +1,4 @@
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
@@ -1,3 +1,4 @@
module Gem::Security
##
@@ -1,3 +1,4 @@
require 'rubygems/user_interaction'
##
@@ -1,3 +1,4 @@
##
# Basic OpenSSL-based package signing class.
@@ -1,3 +1,4 @@
##
# The TrustDir manages the trusted certificates for gem signature
# verification.
@@ -1,3 +1,4 @@
require 'webrick'
require 'zlib'
require 'erb'
@@ -1,3 +1,4 @@
require 'uri'
require 'fileutils'
@@ -1,3 +1,4 @@
require 'digest'
require 'rubygems/util'
@@ -1,3 +1,4 @@
##
# Represents an installed gem. This is used for dependency resolution.
@@ -1,3 +1,4 @@
##
# The local source finds gems in the current directory for fulfilling
# dependencies.
@@ -1,3 +1,4 @@
##
# A Lock source wraps an installed gem's source and sorts before other sources
# during dependency resolution. This allows RubyGems to prefer gems from
@@ -1,3 +1,4 @@
##
# A source representing a single .gem file. This is used for installation of
# local gems.
@@ -1,3 +1,4 @@
##
# This represents a vendored source that is similar to an installed gem.
@@ -1,3 +1,4 @@
require 'rubygems/source'
##
@@ -1,3 +1,4 @@
require 'rubygems/source'
require 'rubygems/source_local'
@@ -1,3 +1,4 @@
require 'rubygems/source/specific_file'
# TODO warn upon require, this file is deprecated.
@@ -1,3 +1,4 @@
require 'rubygems/remote_fetcher'
require 'rubygems/user_interaction'
require 'rubygems/errors'
@@ -1,4 +1,5 @@
# -*- coding: utf-8 -*-
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
@@ -1,3 +1,4 @@
##
# Gem::StubSpecification reads the stub: line from the gemspec. This prevents
# us having to eval the entire gemspec in order to find out certain
@@ -1,3 +1,4 @@
# :stopdoc:
# Hack to handle syck's DefaultKey bug
@@ -1,3 +1,4 @@
# TODO: $SAFE = 1
begin
@@ -1,3 +1,4 @@
require 'tempfile'
require 'rubygems'
require 'rubygems/remote_fetcher'
@@ -1,3 +1,4 @@
require 'rubygems'
##
@@ -1,3 +1,4 @@
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
@@ -1,3 +1,4 @@
require 'cgi'
require 'uri'
@@ -1,3 +1,4 @@
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
@@ -1,3 +1,4 @@
##
# This module contains various utility methods as module methods.
@@ -1,3 +1,4 @@
class Gem::Licenses
NONSTANDARD = 'Nonstandard'.freeze
@@ -1,3 +1,4 @@
module Gem
class List
include Enumerable
@@ -1,3 +1,4 @@
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.
@@ -1,3 +1,4 @@
##
# The Version class processes string versions into comparable
# values. A version string should normally be a series of numbers
@@ -1,3 +1,4 @@
#--
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
# All rights reserved.