Sha256: a0e7047bcb3250262167ac494efa057087f945113cbaee65316dbc3e61e87c54

Contents?: true

Size: 869 Bytes

Versions: 3

Compression:

Stored size: 869 Bytes

Contents

module PodPrebuild
  class Metadata < JSONFile
    def self.in_dir(dir)
      PodPrebuild::Metadata.new(dir + "metadata.json")
    end

    def resources
      @data["resources"] || []
    end

    def resources=(value)
      @data["resources"] = value
    end

    def framework_name
      @data["framework_name"]
    end

    def framework_name=(value)
      @data["framework_name"] = value
    end

    def static_framework?
      @data["static_framework"] || false
    end

    def static_framework=(value)
      @data["static_framework"] = value
    end

    def resource_bundles
      @data["resource_bundles"] || []
    end

    def resource_bundles=(value)
      @data["resource_bundles"] = value
    end

    def build_settings
      @data["build_settings"] || {}
    end

    def build_settings=(value)
      @data["build_settings"] = value
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cocoapods-binary-cache-0.1.3 lib/cocoapods-binary-cache/prebuild_output/metadata.rb
cocoapods-binary-cache-0.1.2 lib/cocoapods-binary-cache/prebuild_output/metadata.rb
cocoapods-binary-cache-0.1.1 lib/cocoapods-binary-cache/prebuild_output/metadata.rb