Sha256: 4b6e31838093898aa28068eba9d3cd3b3934a27f8c9be7ab1828599023fffe23

Contents?: true

Size: 467 Bytes

Versions: 1

Compression:

Stored size: 467 Bytes

Contents

require "shale"

module Capsium
  class Package
    class Dependency < Shale::Mapper
      attribute :name, Shale::Type::String
      attribute :version, Shale::Type::String
    end

    class MetadataData < Shale::Mapper
      attribute :name, Shale::Type::String
      attribute :version, Shale::Type::String
      attribute :description, Shale::Type::String # Add description attribute
      attribute :dependencies, Dependency, collection: true
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
capsium-0.1.2 lib/capsium/package/metadata_config.rb