lib/cocoapods/sources_manager.rb
def version_information(dir)
        require 'yaml'
        yaml_file  = dir + 'CocoaPods-version.yml'
        yaml_file.exist? ? YAML.load_file(yaml_file) : {}
      end
# Returns the contents of the `CocoaPods-version.yml` file, which stores
# information about CocoaPods versions.
#
# This file is a hash with the following keys:
#
# - last: the last version of CocoaPods known to the source.
# - min: the minimum version of CocoaPods supported by the source.
# - max: the maximum version of CocoaPods supported by the source.
#
# @param  [Pathname] dir
#         The directory where the source is stored.
#
# @return [Hash] the versions information from the repo.
#
Returns the contents of the `CocoaPods-version.yml` file, which stores
information about CocoaPods versions.

This file is a hash with the following keys.

the last version of CocoaPods known to the source.
min: the minimum version of CocoaPods supported by the source.
max: the maximum version of CocoaPods supported by the source.
Returns the contents of the ` CocoaPods - version . yml ` file which stores information about CocoaPods versions . This file is a hash with the following keys . the last version of CocoaPods known to the source . min : the minimum version of CocoaPods supported by the source . max : the maximum version of CocoaPods supported by the source .
def version_information(dir)
        require 'yaml'
        yaml_file  = dir + 'CocoaPods-version.yml'
        yaml_file.exist? ? YAML.load_file(yaml_file) : {}
      end
def version_information ( dir ) require 'yaml' yaml_file = dir + 'CocoaPods-version.yml' yaml_file . exist? ? YAML . load_file ( yaml_file ) : { } end
Returns the contents of the `CocoaPods-version.yml` file, which stores
information about CocoaPods versions.
Returns the contents of the ` CocoaPods - version . yml ` file which stores information about CocoaPods versions .
the versions information from the repo.
the versions information from the repo .
Hash
dir
dir The directory where the source is stored.
dir The directory where the source is stored .