util/rubocop -A --only Layout/EmptyLineAfterMagicComment
This commit is contained in:
parent
4dd418f877
commit
f24a86d83f
Notes:
git
2023-03-23 08:19:20 +00:00
1
bin/gem
1
bin/gem
@ -1,5 +1,6 @@
|
|||||||
#!/usr/bin/env ruby
|
#!/usr/bin/env ruby
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
#--
|
#--
|
||||||
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
#--
|
#--
|
||||||
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class Gem::AvailableSet
|
class Gem::AvailableSet
|
||||||
include Enumerable
|
include Enumerable
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
##
|
##
|
||||||
# BasicSpecification is an abstract class which implements some common code
|
# BasicSpecification is an abstract class which implements some common code
|
||||||
# used by both Specification and StubSpecification.
|
# used by both Specification and StubSpecification.
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
#--
|
#--
|
||||||
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
#--
|
#--
|
||||||
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../command"
|
require_relative "../command"
|
||||||
require_relative "../package"
|
require_relative "../package"
|
||||||
require_relative "../version_option"
|
require_relative "../version_option"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../command"
|
require_relative "../command"
|
||||||
require_relative "../security"
|
require_relative "../security"
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../command"
|
require_relative "../command"
|
||||||
require_relative "../version_option"
|
require_relative "../version_option"
|
||||||
require_relative "../validator"
|
require_relative "../validator"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../command"
|
require_relative "../command"
|
||||||
require_relative "../dependency_list"
|
require_relative "../dependency_list"
|
||||||
require_relative "../uninstaller"
|
require_relative "../uninstaller"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../command"
|
require_relative "../command"
|
||||||
require_relative "../version_option"
|
require_relative "../version_option"
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../command"
|
require_relative "../command"
|
||||||
require_relative "../local_remote_options"
|
require_relative "../local_remote_options"
|
||||||
require_relative "../version_option"
|
require_relative "../version_option"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../command"
|
require_relative "../command"
|
||||||
|
|
||||||
class Gem::Commands::EnvironmentCommand < Gem::Command
|
class Gem::Commands::EnvironmentCommand < Gem::Command
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../command"
|
require_relative "../command"
|
||||||
require_relative "../dependency_installer"
|
require_relative "../dependency_installer"
|
||||||
require_relative "../gem_runner"
|
require_relative "../gem_runner"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../command"
|
require_relative "../command"
|
||||||
require_relative "../local_remote_options"
|
require_relative "../local_remote_options"
|
||||||
require_relative "../version_option"
|
require_relative "../version_option"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../command"
|
require_relative "../command"
|
||||||
require_relative "../indexer"
|
require_relative "../indexer"
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../command"
|
require_relative "../command"
|
||||||
|
|
||||||
class Gem::Commands::HelpCommand < Gem::Command
|
class Gem::Commands::HelpCommand < Gem::Command
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../command"
|
require_relative "../command"
|
||||||
require_relative "../install_update_options"
|
require_relative "../install_update_options"
|
||||||
require_relative "../dependency_installer"
|
require_relative "../dependency_installer"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../command"
|
require_relative "../command"
|
||||||
require_relative "../query_utils"
|
require_relative "../query_utils"
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../command"
|
require_relative "../command"
|
||||||
|
|
||||||
class Gem::Commands::LockCommand < Gem::Command
|
class Gem::Commands::LockCommand < Gem::Command
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../command"
|
require_relative "../command"
|
||||||
|
|
||||||
unless defined? Gem::Commands::MirrorCommand
|
unless defined? Gem::Commands::MirrorCommand
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../command"
|
require_relative "../command"
|
||||||
require_relative "../version_option"
|
require_relative "../version_option"
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../command"
|
require_relative "../command"
|
||||||
require_relative "../local_remote_options"
|
require_relative "../local_remote_options"
|
||||||
require_relative "../spec_fetcher"
|
require_relative "../spec_fetcher"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../command"
|
require_relative "../command"
|
||||||
require_relative "../local_remote_options"
|
require_relative "../local_remote_options"
|
||||||
require_relative "../gemcutter_utilities"
|
require_relative "../gemcutter_utilities"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../command"
|
require_relative "../command"
|
||||||
require_relative "../package"
|
require_relative "../package"
|
||||||
require_relative "../installer"
|
require_relative "../installer"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../command"
|
require_relative "../command"
|
||||||
require_relative "../local_remote_options"
|
require_relative "../local_remote_options"
|
||||||
require_relative "../gemcutter_utilities"
|
require_relative "../gemcutter_utilities"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../command"
|
require_relative "../command"
|
||||||
require_relative "../query_utils"
|
require_relative "../query_utils"
|
||||||
require_relative "../deprecate"
|
require_relative "../deprecate"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../command"
|
require_relative "../command"
|
||||||
require_relative "../version_option"
|
require_relative "../version_option"
|
||||||
require_relative "../rdoc"
|
require_relative "../rdoc"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../command"
|
require_relative "../command"
|
||||||
require_relative "../query_utils"
|
require_relative "../query_utils"
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../command"
|
require_relative "../command"
|
||||||
|
|
||||||
unless defined? Gem::Commands::ServerCommand
|
unless defined? Gem::Commands::ServerCommand
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../command"
|
require_relative "../command"
|
||||||
|
|
||||||
##
|
##
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../command"
|
require_relative "../command"
|
||||||
require_relative "../gemcutter_utilities"
|
require_relative "../gemcutter_utilities"
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../command"
|
require_relative "../command"
|
||||||
|
|
||||||
class Gem::Commands::SignoutCommand < Gem::Command
|
class Gem::Commands::SignoutCommand < Gem::Command
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../command"
|
require_relative "../command"
|
||||||
require_relative "../remote_fetcher"
|
require_relative "../remote_fetcher"
|
||||||
require_relative "../spec_fetcher"
|
require_relative "../spec_fetcher"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../command"
|
require_relative "../command"
|
||||||
require_relative "../local_remote_options"
|
require_relative "../local_remote_options"
|
||||||
require_relative "../version_option"
|
require_relative "../version_option"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../command"
|
require_relative "../command"
|
||||||
|
|
||||||
class Gem::Commands::StaleCommand < Gem::Command
|
class Gem::Commands::StaleCommand < Gem::Command
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../command"
|
require_relative "../command"
|
||||||
require_relative "../version_option"
|
require_relative "../version_option"
|
||||||
require_relative "../uninstaller"
|
require_relative "../uninstaller"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../command"
|
require_relative "../command"
|
||||||
require_relative "../version_option"
|
require_relative "../version_option"
|
||||||
require_relative "../security_option"
|
require_relative "../security_option"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../command"
|
require_relative "../command"
|
||||||
require_relative "../command_manager"
|
require_relative "../command_manager"
|
||||||
require_relative "../dependency_installer"
|
require_relative "../dependency_installer"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../command"
|
require_relative "../command"
|
||||||
|
|
||||||
class Gem::Commands::WhichCommand < Gem::Command
|
class Gem::Commands::WhichCommand < Gem::Command
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../command"
|
require_relative "../command"
|
||||||
require_relative "../local_remote_options"
|
require_relative "../local_remote_options"
|
||||||
require_relative "../version_option"
|
require_relative "../version_option"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
#--
|
#--
|
||||||
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
#--
|
#--
|
||||||
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require "socket"
|
require "socket"
|
||||||
|
|
||||||
module CoreExtensions
|
module CoreExtensions
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
module Gem
|
module Gem
|
||||||
DEFAULT_HOST = "https://rubygems.org"
|
DEFAULT_HOST = "https://rubygems.org"
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
##
|
##
|
||||||
# The Dependency class holds a Gem name and a Gem::Requirement.
|
# The Dependency class holds a Gem name and a Gem::Requirement.
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../rubygems"
|
require_relative "../rubygems"
|
||||||
require_relative "dependency_list"
|
require_relative "dependency_list"
|
||||||
require_relative "package"
|
require_relative "package"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
#--
|
#--
|
||||||
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
##
|
##
|
||||||
# Provides 3 methods for declaring when something is going away.
|
# Provides 3 methods for declaring when something is going away.
|
||||||
#
|
#
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../rubygems"
|
require_relative "../rubygems"
|
||||||
require_relative "user_interaction"
|
require_relative "user_interaction"
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
#--
|
#--
|
||||||
# This file contains all the various exceptions and other errors that are used
|
# This file contains all the various exceptions and other errors that are used
|
||||||
# inside of RubyGems.
|
# inside of RubyGems.
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
#--
|
#--
|
||||||
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
##
|
##
|
||||||
# Raised when there is an error while building extensions.
|
# Raised when there is an error while building extensions.
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
#--
|
#--
|
||||||
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
#--
|
#--
|
||||||
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
#--
|
#--
|
||||||
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
#--
|
#--
|
||||||
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
#--
|
#--
|
||||||
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "remote_fetcher"
|
require_relative "remote_fetcher"
|
||||||
require_relative "text"
|
require_relative "text"
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../rubygems"
|
require_relative "../rubygems"
|
||||||
require_relative "package"
|
require_relative "package"
|
||||||
require "tmpdir"
|
require "tmpdir"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../rubygems"
|
require_relative "../rubygems"
|
||||||
require_relative "user_interaction"
|
require_relative "user_interaction"
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../rubygems"
|
require_relative "../rubygems"
|
||||||
require_relative "user_interaction"
|
require_relative "user_interaction"
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
#--
|
#--
|
||||||
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
#--
|
#--
|
||||||
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
#--
|
#--
|
||||||
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "user_interaction"
|
require_relative "user_interaction"
|
||||||
|
|
||||||
##
|
##
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
##
|
##
|
||||||
#
|
#
|
||||||
# Represents a gem of name +name+ at +version+ of +platform+. These
|
# Represents a gem of name +name+ at +version+ of +platform+. These
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
#--
|
#--
|
||||||
# Copyright (C) 2004 Mauricio Julio Fernández Pradier
|
# Copyright (C) 2004 Mauricio Julio Fernández Pradier
|
||||||
# See LICENSE.txt for additional licensing information.
|
# See LICENSE.txt for additional licensing information.
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
##
|
##
|
||||||
# IO wrapper that creates digests of contents written to the IO it wraps.
|
# IO wrapper that creates digests of contents written to the IO it wraps.
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
##
|
##
|
||||||
# The primary source of gems is a file on disk, including all usages
|
# The primary source of gems is a file on disk, including all usages
|
||||||
# internal to rubygems.
|
# internal to rubygems.
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
##
|
##
|
||||||
# Supports reading and writing gems from/to a generic IO object. This is
|
# Supports reading and writing gems from/to a generic IO object. This is
|
||||||
# useful for other applications built on top of rubygems, such as
|
# useful for other applications built on top of rubygems, such as
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
#--
|
#--
|
||||||
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
# Copyright 2006 by Chad Fowler, Rich Kilmer, Jim Weirich and others.
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class Gem::Package::Source # :nodoc:
|
class Gem::Package::Source # :nodoc:
|
||||||
end
|
end
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
#--
|
#--
|
||||||
# Copyright (C) 2004 Mauricio Julio Fernández Pradier
|
# Copyright (C) 2004 Mauricio Julio Fernández Pradier
|
||||||
# See LICENSE.txt for additional licensing information.
|
# See LICENSE.txt for additional licensing information.
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
#--
|
#--
|
||||||
# Copyright (C) 2004 Mauricio Julio Fernández Pradier
|
# Copyright (C) 2004 Mauricio Julio Fernández Pradier
|
||||||
# See LICENSE.txt for additional licensing information.
|
# See LICENSE.txt for additional licensing information.
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
#++
|
#++
|
||||||
# Copyright (C) 2004 Mauricio Julio Fernández Pradier
|
# Copyright (C) 2004 Mauricio Julio Fernández Pradier
|
||||||
# See LICENSE.txt for additional licensing information.
|
# See LICENSE.txt for additional licensing information.
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
#--
|
#--
|
||||||
# Copyright (C) 2004 Mauricio Julio Fernández Pradier
|
# Copyright (C) 2004 Mauricio Julio Fernández Pradier
|
||||||
# See LICENSE.txt for additional licensing information.
|
# See LICENSE.txt for additional licensing information.
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
# Copyright (c) 2003, 2004 Jim Weirich, 2009 Eric Hodel
|
# Copyright (c) 2003, 2004 Jim Weirich, 2009 Eric Hodel
|
||||||
#
|
#
|
||||||
# Permission is hereby granted, free of charge, to any person obtaining
|
# Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
##
|
##
|
||||||
#
|
#
|
||||||
# Gem::PathSupport facilitates the GEM_HOME and GEM_PATH environment settings
|
# Gem::PathSupport facilitates the GEM_HOME and GEM_PATH environment settings
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "deprecate"
|
require_relative "deprecate"
|
||||||
|
|
||||||
##
|
##
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
module Gem
|
module Gem
|
||||||
if defined? ::Psych::Visitors
|
if defined? ::Psych::Visitors
|
||||||
class NoAliasYAMLTree < Psych::Visitors::YAMLTree
|
class NoAliasYAMLTree < Psych::Visitors::YAMLTree
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../rubygems"
|
require_relative "../rubygems"
|
||||||
|
|
||||||
begin
|
begin
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "../rubygems"
|
require_relative "../rubygems"
|
||||||
require_relative "request"
|
require_relative "request"
|
||||||
require_relative "request/connection_pools"
|
require_relative "request/connection_pools"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require "net/http"
|
require "net/http"
|
||||||
require_relative "user_interaction"
|
require_relative "user_interaction"
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
##
|
##
|
||||||
# A connection "pool" that only manages one connection for now. Provides
|
# A connection "pool" that only manages one connection for now. Provides
|
||||||
# thread safe `checkout` and `checkin` methods. The pool consists of one
|
# thread safe `checkout` and `checkin` methods. The pool consists of one
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class Gem::Request::HTTPSPool < Gem::Request::HTTPPool # :nodoc:
|
class Gem::Request::HTTPSPool < Gem::Request::HTTPPool # :nodoc:
|
||||||
private
|
private
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "tsort"
|
require_relative "tsort"
|
||||||
|
|
||||||
##
|
##
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
##
|
##
|
||||||
# A semi-compatible DSL for the Bundler Gemfile and Isolate gem dependencies
|
# A semi-compatible DSL for the Bundler Gemfile and Isolate gem dependencies
|
||||||
# files.
|
# files.
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
##
|
##
|
||||||
# Parses a gem.deps.rb.lock file and constructs a LockSet containing the
|
# 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
|
# dependencies found inside. If the lock file is missing no LockSet is
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class Gem::RequestSet::Lockfile::Parser
|
class Gem::RequestSet::Lockfile::Parser
|
||||||
###
|
###
|
||||||
# Parses lockfiles
|
# Parses lockfiles
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
# ) frozen_string_literal: true
|
# ) frozen_string_literal: true
|
||||||
require_relative "parser"
|
require_relative "parser"
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "version"
|
require_relative "version"
|
||||||
|
|
||||||
##
|
##
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require_relative "dependency"
|
require_relative "dependency"
|
||||||
require_relative "exceptions"
|
require_relative "exceptions"
|
||||||
require_relative "util/list"
|
require_relative "util/list"
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
##
|
##
|
||||||
# Specifies a Specification object that should be activated. Also contains a
|
# Specifies a Specification object that should be activated. Also contains a
|
||||||
# dependency that was used to introduce this activation.
|
# dependency that was used to introduce this activation.
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
##
|
##
|
||||||
# The global rubygems pool, available via the rubygems.org API.
|
# The global rubygems pool, available via the rubygems.org API.
|
||||||
# Returns instances of APISpecification.
|
# Returns instances of APISpecification.
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
##
|
##
|
||||||
# Represents a specification retrieved via the rubygems.org API.
|
# Represents a specification retrieved via the rubygems.org API.
|
||||||
#
|
#
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
##
|
##
|
||||||
# The BestSet chooses the best available method to query a remote index.
|
# The BestSet chooses the best available method to query a remote index.
|
||||||
#
|
#
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
##
|
##
|
||||||
# A ComposedSet allows multiple sets to be queried like a single set.
|
# A ComposedSet allows multiple sets to be queried like a single set.
|
||||||
#
|
#
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
##
|
##
|
||||||
# Used internally to indicate that a dependency conflicted
|
# Used internally to indicate that a dependency conflicted
|
||||||
# with a spec that would be activated.
|
# with a spec that would be activated.
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
##
|
##
|
||||||
# A set which represents the installed gems. Respects
|
# A set which represents the installed gems. Respects
|
||||||
# all the normal settings that control where to look
|
# all the normal settings that control where to look
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user