Sha256: aba3a2ddd0309651f2be698449d780575c545a37c38f9217f4ea832a750a93c0

Contents?: true

Size: 1.55 KB

Versions: 6

Compression:

Stored size: 1.55 KB

Contents

---
:type: SerialisedPiece
:id: <%= SerialisedPiece.schema_id.to_s %>
:is_page: false
:is_alias: false
:title: Type Title
:styles:
- :name: tepid
  :schema_id: <%= @tepid_style.to_s %>
- :name: freezing
  :schema_id: <%= @freezing_style.to_s %>
- :name: boiling
  :schema_id: <%= @boiling_style.to_s %>
:fields:
- :name: title
  :schema_id: <%= @fp[:title].schema_id.to_s %>
  :type: Spontaneous.Field.String
  :title: Title
  :comment: ""
  :writable: true
  :list: true
- :name: location
  :schema_id: <%= @fp[:location].schema_id.to_s %>
  :type: Spontaneous.Field.String
  :title: Where
  :comment: Fill in the address
  :writable: true
  :list: true
- :name: date
  :schema_id: <%= @fp[:date].schema_id.to_s %>
  :type: Spontaneous.Field.Date
  :title: Date
  :comment: ""
  :writable: true
  :date_format: "%A, %-d %B, %Y"
  :list: true
- :name: image
  :schema_id: <%= @fp[:image].schema_id.to_s %>
  :type: Spontaneous.Field.Image
  :title: Image
  :comment: ""
  :writable: true
  :list: true
- :name: another
  :schema_id: <%= @fp[:another].schema_id.to_s %>
  :type: Spontaneous.Field.String
  :title: Another
  :comment: ""
  :writable: true
  :list: false
:boxes:
- :name: things
  :id: <%= SerialisedPiece.boxes[:things].schema_id.to_s %>
  :title: My Things
  :writable: true
  :allowed_types:
  - :type: SerialisedPage
  :fields:
  - :name: title
    :schema_id: <%= SerialisedPiece.boxes[:things].field_prototypes[:title].schema_id.to_s %>
    :type: Spontaneous.Field.String
    :title: Title
    :comment: ""
    :writable: true
    :list: true
:source: <%= source %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
spontaneous-0.2.0.beta10 test/fixtures/serialisation/class_hash.yaml.erb
spontaneous-0.2.0.beta9 test/fixtures/serialisation/class_hash.yaml.erb
spontaneous-0.2.0.beta8 test/fixtures/serialisation/class_hash.yaml.erb
spontaneous-0.2.0.beta7 test/fixtures/serialisation/class_hash.yaml.erb
spontaneous-0.2.0.beta6 test/fixtures/serialisation/class_hash.yaml.erb
spontaneous-0.2.0.beta5 test/fixtures/serialisation/class_hash.yaml.erb