Sha256: 20db64f9ab0750f80c8bff344ffdaee18ccf683254f95e35c6b51dcad755ff92

Contents?: true

Size: 1.29 KB

Versions: 191

Compression:

Stored size: 1.29 KB

Contents


module Pod
  class Installer
    class Analyzer
      class SandboxAnalyzer
        # def pod_changed?(pod)
        #     spec = root_spec(pod)
        # 有 subspec 的情况下,root spec 对应的 used_files 可能始终为空
        # 要添加为空 && 没有 subspec 的情况
        #      file_accessors = spec.available_platforms.map { |platform| Sandbox::FileAccessor.new(sandbox.pod_dir(pod), spec.consumer(platform)) }
        #      files = [
        #       file_accessors.map(&:vendored_frameworks),
        #       file_accessors.map(&:vendored_libraries),
        #       file_accessors.map(&:resource_bundle_files),
        #       file_accessors.map(&:prefix_header),
        #       file_accessors.map(&:resources),
        #       file_accessors.map(&:source_files),
        #       file_accessors.map(&:module_map),
        #     ]
        # used_files = files.flatten.compact.map(&:to_s).uniq
        # p pod if used_files.empty?

        # return true if spec.version != sandbox_version(pod)
        # return true if spec.checksum != sandbox_checksum(pod)
        # return true if resolved_spec_names(pod) != sandbox_spec_names(pod)
        # return true if sandbox.predownloaded?(pod)
        # return true if folder_empty?(pod)
        # false
        # end
      end
    end
  end
end

Version data entries

191 entries across 191 versions & 9 rubygems

Version Path
cocoapods-bb-bin-0.2.10.3 lib/cocoapods-bb-bin/native/sandbox_analyzer.rb
cocoapods-bb-bin-0.2.10.2 lib/cocoapods-bb-bin/native/sandbox_analyzer.rb
cocoapods-bb-bin-0.2.10.1 lib/cocoapods-bb-bin/native/sandbox_analyzer.rb
cocoapods-bb-bin-0.2.10.0 lib/cocoapods-bb-bin/native/sandbox_analyzer.rb
cocoapods-meitu-bin-2.0.0 lib/cocoapods-meitu-bin/native/sandbox_analyzer.rb
cocoapods-bb-bin-0.2.9.0 lib/cocoapods-bb-bin/native/sandbox_analyzer.rb
cocoapods-bb-bin-0.2.8.1 lib/cocoapods-bb-bin/native/sandbox_analyzer.rb
cocoapods-bb-bin-0.2.8 lib/cocoapods-bb-bin/native/sandbox_analyzer.rb
cocoapods-fy-bin-0.3.1 lib/cocoapods-fy-bin/native/sandbox_analyzer.rb
cocoapods-tdf-bin-0.0.43 lib/cocoapods-tdf-bin/native/sandbox_analyzer.rb
cocoapods-bb-bin-0.2.7.13 lib/cocoapods-bb-bin/native/sandbox_analyzer.rb
cocoapods-imy-bin-0.3.1.21 lib/cocoapods-imy-bin/native/sandbox_analyzer.rb
cocoapods-bb-bin-0.2.7.12 lib/cocoapods-bb-bin/native/sandbox_analyzer.rb
cocoapods-meitu-bin-1.4.1 lib/cocoapods-meitu-bin/native/sandbox_analyzer.rb
cocoapods-bb-bin-0.2.7.11 lib/cocoapods-bb-bin/native/sandbox_analyzer.rb
cocoapods-meitu-bin-1.4.0 lib/cocoapods-meitu-bin/native/sandbox_analyzer.rb
cocoapods-bb-bin-0.2.7.10 lib/cocoapods-bb-bin/native/sandbox_analyzer.rb
cocoapods-tdf-bin-0.0.42 lib/cocoapods-tdf-bin/native/sandbox_analyzer.rb
cocoapods-bb-bin-0.2.7.9 lib/cocoapods-bb-bin/native/sandbox_analyzer.rb
cocoapods-bb-bin-0.2.7.8 lib/cocoapods-bb-bin/native/sandbox_analyzer.rb