Sha256: f1a6afa4fbb9ddd1f7db44316051c9318c442539f20df3059c44d10b8ef9e6e9

Contents?: true

Size: 1.36 KB

Versions: 5

Compression:

Stored size: 1.36 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.FieldTypes.StringField
  :title: Title
  :comment: ""
  :writable: true
- :name: location
  :schema_id: <%= @fp[:location].schema_id.to_s %>
  :type: Spontaneous.FieldTypes.StringField
  :title: Where
  :comment: Fill in the address
  :writable: true
- :name: date
  :schema_id: <%= @fp[:date].schema_id.to_s %>
  :type: Spontaneous.FieldTypes.DateField
  :title: Date
  :comment: ""
  :writable: true
  :date_format: "%A, %-d %B, %Y"
- :name: image
  :schema_id: <%= @fp[:image].schema_id.to_s %>
  :type: Spontaneous.FieldTypes.ImageField
  :title: Image
  :comment: ""
  :writable: true
:boxes:
- :name: things
  :id: <%= SerialisedPiece.boxes[:things].schema_id.to_s %>
  :title: My Things
  :writable: true
  :allowed_types:
  - SerialisedPage
  :fields:
  - :name: title
    :schema_id: <%= SerialisedPiece.boxes[:things].field_prototypes[:title].schema_id.to_s %>
    :type: Spontaneous.FieldTypes.StringField
    :title: Title
    :comment: ""
    :writable: true
:source: <%= source %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spontaneous-0.2.0.alpha7 test/fixtures/serialisation/class_hash.yaml.erb
spontaneous-0.2.0.alpha6 test/fixtures/serialisation/class_hash.yaml.erb
spontaneous-0.2.0.alpha5 test/fixtures/serialisation/class_hash.yaml.erb
spontaneous-0.2.0.alpha4 test/fixtures/serialisation/class_hash.yaml.erb
spontaneous-0.2.0.alpha3 test/fixtures/serialisation/class_hash.yaml.erb