class Pod::Specification

Public Instance Methods

bd_root()

Slardar 相关逻辑结束

Alias for: root
root() click to toggle source
# File lib/cocoapods-monitor/command/monitor.rb, line 58
def root
  record_source
  bd_root
end
Also aliased as: bd_root

Private Instance Methods

record_source() click to toggle source
# File lib/cocoapods-monitor/command/monitor.rb, line 65
def record_source
  if !$Recorde[attributes_hash['name']]

    source = attributes_hash['source']
    if source
      unless source.keys.include?('git')
        source = attributes_hash['source_code']
        debug_source = attributes_hash['source']
      end
    else
      source = attributes_hash['source_code']
    end
    $Recorde[attributes_hash['name']] = source.dup if source
    if source
      repoId = attributes_hash['repoId']
      $Recorde[attributes_hash['name']]['repoId'] = repoId

      version = attributes_hash['version']
      $Recorde[attributes_hash['name']]['version'] = version
    end
  end
end