Sha256: 2a21904499e8eed5eb77fb3020f10dbb22dfe19c7d1ea1ec48fe3b5c081d144f
Contents?: true
Size: 664 Bytes
Versions: 8
Compression:
Stored size: 664 Bytes
Contents
require 'cocoapods-tj/native/specification' module Pod class Sandbox class PodspecFinder def podspecs return @specs_by_name if @specs_by_name @specs_by_name = {} spec_files = Pathname.glob(root + '{,*}.podspec{,.json}') spec_files = spec_files.reject { |p| Specification::DEFAULT_TEMPLATE_EXTNAME.find { |e| p.to_s.end_with?(e) } } spec_files.sort_by { |p| -p.to_path.split(File::SEPARATOR).size }.each do |file| spec = Specification.from_file(file) spec.validate_cocoapods_version @specs_by_name[spec.name] = spec end @specs_by_name end end end end
Version data entries
8 entries across 8 versions & 1 rubygems