settings.rb

Path: lib/bundler/settings.rb
Last Update: Fri Dec 21 23:44:24 +0000 2018

frozen_string_literal: true

Required files

uri   bundler/yaml_serializer   bundler/yaml_serializer  

Methods

Constants

CONFIG_REGEX = %r{ # rubocop:disable Style/RegexpLiteral ^ (BUNDLE_.+):\s # the key (?: !\s)? # optional exclamation mark found with ruby 1.9.3 (['"]?) # optional opening quote (.* # contents of the value (?: # optionally, up until the next key (\n(?!BUNDLE).+)* ) ) \2 # matching closing quote $ }xo
PER_URI_OPTIONS = %w[ fallback_timeout ].freeze
NORMALIZE_URI_OPTIONS_PATTERN = / \A (\w+\.)? # optional prefix key (https?.*?) # URI (\.#{Regexp.union(PER_URI_OPTIONS)})? # optional suffix key \z /ix

Public Instance methods

[Validate]