-1
  7   /ˆl–äY>”ji?u8 ¸!\eÕ1hß‘äÇò 8àB!HÓ�™ŸÊƒh¹Ï¿Ì      /Normal
     1ˆÑÐÏ575Î¿Ì ?    1‹      Õ–QoÚ0Çßû)<?ì(ì¡M2uiheš¦iB&6Ä"±#ûÒŒ}ú9$´m“ÖIyòùò÷Ýýl'9ïU8.?ÏGäýò~BæßMÆCB[ Ÿ®‡ á2¬ôÛ�.ÀhJ	�³€¢(ÚÅu[›-,cšôÁ¢‘¶9r\y¥/¸"^,w#ñPb"‚±ââÑ:G+¹pëö¸x”‘°¥�"…T¤Úìë¡ß¥¹è@”å]ØH“ÌˆUéƒLÂxPÅvÙ Nç­5ß—Ut_(£|€bëCâÒ4�‡1yd‰Ü*Ÿ¢ÎhàÉtK¬‰|
2ÒÊÂ:aj×ÞÊ%,AŸ~g_�0.W#±Ÿ¾úÓÛ™Ò`ÊRá;¯¹wš;L˜E’j.7Rð‹â‡Jü ¿_VšPØÈÈ¥VG)8ÄSÔH'6cŽuàbsªª$üw»Á¢'›1¿[Œ¦Ëp¼¨¶„—!ŽÕý›ó£ÁÜÙ
I(�ˆÐ©kÀ*Ûkµ¶ÙíÏ)©Ë7r#i‘³Ê¿`ÎÕNéB�b»-=Ìì^E48§E>«ª×é½iu»­Þ€t7½!„î5þð?ËÏQÛÜfBñ	Û¯RëhÎxçôhtBƒÚh ‚ÉÊT¬X„òQ¬v’»ã9ãl>Ziÿ‚VÚFªüõð#Víh0’E†ùÉ¬æMª¾s‚?»�OýÌ-Ûžp¦/�ó‡-ÔÍ™‡fÐƒª%ýŠ:=õ
       3ˆÑÐÏ568Î¿Ì 8    3‹      Õ–moÚ0Çß÷Sx~±wp<´ëÔ†LAD™¦iš�‰±HìÈ¾�²O?‡d‚v mÚƒ”W¾»üí»ßÙIì½&ýù§é€¼›ß�ÈôÃÛÑ°Ohàc·ÌƒòÁe³ÕŒ)¡bz�çy3ï6µYÃ|&ñ%X42Ä&GNý¯ˆùÄ‹ãn$JŒ…?T\<½" 3´’7og�‹­…-l	$"ÑfW¯¯Ai.Z•{Ý…TçÂxP®èr@•Ä[j¾+r·ÿj·Ü€-÷é
ÓøFdËb¹V=Š:¥¾'“5±&ìQ�¡V–1S›æZ®(a1öèçaòÅé £b¶ï1±êÑ7ýÞøvÒ¨?f‰ð€�ÖÜ;ÍõGÌ"I4—+)øYñC)~�_Ï/”š@ØÐÈ¥V)8ÄcÔPÇ6eŽõÊDæXUJøÏºÁÂ'Í˜ÞÍãy0œ•-áÅ‡êþd×¨?eF($�4"D¬°Ê/ÕÒ¦·ß]Rmä:BêÒ '•¿Aš©�Ò¹:†u�<‰ÉìN…ÔßÇE>«ªÓê¼j´Û�Îi]ÝtZ„œºõýÿ,?Cm3›
Å\Äl·H¬£9­!œÓ£Ñ1õ+£†&S(±`!Ê­Xl$wÛs"X´Âþ­°kŒ&TñÃá¬*Pc$‹³£3Xúu*¿s‚?;�Oã5Ì,[qíÝ�ó‹¨®dì/~”—ÎoøBé×
        5ˆ¾‘äÇò 8àB!HÐãþÊƒh¹Ï¿Ì      5Normal
  .   7ˆË�þDñD³Œ²IŠä„óÊ„qÏÏ_�uÐb&=LyZËcõÀÍ (â    7# frozen_string_literal: true
require_relative '../rubygems'
require_relative 'dependency_list'
require_relative 'package'
require_relative 'installer'
require_relative 'spec_fetcher'
require_relative 'user_interaction'
require_relative 'available_set'
require_relative 'deprecate'

##
# Installs a gem along with all its dependencies from local and remote gems.

class Gem::DependencyInstaller
  include Gem::UserInteraction
  extend Gem::Deprecate

  DEFAULT_OPTIONS = { # :nodoc:
    :env_shebang         => false,
    :document            => %w[ri],
    :domain              => :both, # HACK dup
    :force               => false,
    :format_executable   => false, # HACK dup
    :ignore_dependencies => false,
    :prerelease          => false,
    :security_policy     => nil, # HACK NoSecurity requires OpenSSL. AlmostNo? Low?
    :wrappers            => true,
    :build_args          => nil,
    :build_docs_in_background => false,
    :install_as_default => false,
  }.freeze

  ##
  # Documentation types.  For use by the Gem.done_installing hook

  attr_reader :document

  ##
  # Errors from SpecFetcher while searching for remote specifications

  attr_reader :errors

  ##
  # List of gems installed by #install in alphabetic order

  attr_reader :installed_gems

  ##
  # Creates a new installer instance.
  #
  # Options are:
  # :cache_dir:: Alternate repository path to store .gem files in.
  # :domain:: :local, :remote, or :both.  :local only searches gems in the
  #           current directory.  :remote searches only gems in Gem::sources.
  #           :both searches both.
  # :env_shebang:: See Gem::Installer::new.
  # :force:: See Gem::Installer#install.
  # :format_executable:: See Gem::Installer#initialize.
  # :ignore_dependencies:: Don't install any dependencies.
  # :install_dir:: See Gem::Installer#install.
  # :prerelease:: Allow prerelease versions.  See #install.
  # :security_policy:: See Gem::Installer::new and Gem::Security.
  # :user_install:: See Gem::Installer.new
  # :wrappers:: See Gem::Installer::new
  # :build_args:: See Gem::Installer::new

  def initialize(options = {})
    @only_install_dir = !!options[:install_dir]
    @install_dir = options[:install_dir] || Gem.dir
    @build_root = options[:build_root]

    options = DEFAULT_OPTIONS.merge options

    @bin_dir             = options[:bin_dir]
    @dev_shallow         = options[:dev_shallow]
    @development         = options[:development]
    @document            = options[:document]
    @domain              = options[:domain]
    @env_shebang         = options[:env_shebang]
    @force               = options[:force]
    @format_executable   = options[:format_execu