test/fixtures/serialisation/root_hash.yaml.erb in spontaneous-0.2.0.beta5 vs test/fixtures/serialisation/root_hash.yaml.erb in spontaneous-0.2.0.beta6

- old
+ new

@@ -4,11 +4,13 @@ :title: Home :depth: 0 :uid: home :path: / :hidden: false +:private: false :is_page: true +:page_id: <%= @root.id %> :slug: "" :type_id: <%= SerialisedPage.schema_id.to_s %> :fields: - :unprocessed_value: Home :processed_value: Home @@ -20,11 +22,11 @@ :processed_value: South :version: 1 :id: <%= SerialisedPage.field_prototypes[:direction].schema_id.to_s %> :name: direction -- :unprocessed_value: /images/home.jpg +- :unprocessed_value: "[\"/images/home.jpg\",\"\"]" :version: 1 :id: <%= SerialisedPage.field_prototypes[:thumbnail].schema_id.to_s %> :name: thumbnail :processed_value: :original: @@ -63,11 +65,11 @@ :processed_value: "<time datetime=\"2011-07-07\">Thursday, 7 July, 2011</time>" :version: 1 :id: <%= SerialisedPiece.field_prototypes[:date].schema_id.to_s %> :name: date - - :unprocessed_value: "" + - :unprocessed_value: "[\"\",\"\"]" :version: 0 :id: <%= SerialisedPiece.field_prototypes[:image].schema_id.to_s %> :name: image :processed_value: :original: @@ -98,13 +100,15 @@ - :type: SerialisedPage :title: Child Page :uid: about :style: <%= @sitting_style.to_s %> :hidden: true + :private: false :is_page: true :slug: about :id: <%= @child.id %> + :page_id: <%= @child.id %> :type_id: <%= SerialisedPage.schema_id.to_s %> :path: /about :depth: 2 :styles: - <%= @dancing_style.to_s%> @@ -121,11 +125,11 @@ :processed_value: North :version: 1 :id: <%= SerialisedPage.field_prototypes[:direction].schema_id.to_s %> :name: direction - - :unprocessed_value: /images/thumb.jpg + - :unprocessed_value: "[\"/images/thumb.jpg\",\"\"]" :version: 1 :id: <%= SerialisedPage.field_prototypes[:thumbnail].schema_id.to_s %> :name: thumbnail :processed_value: :original: @@ -133,10 +137,11 @@ :__ui__: :src: /images/thumb.jpg :is_page: false :id: <%= @piece1.id %> + :page_id: <%= @root.id %> - :type: SerialisedPiece :type_id: <%= SerialisedPiece.schema_id.to_s %> :label: label2 :depth: 1 :styles: @@ -160,11 +165,11 @@ :processed_value: "<time datetime=\"2011-07-07\">Thursday, 7 July, 2011</time>" :version: 1 :id: <%= SerialisedPiece.field_prototypes[:date].schema_id.to_s %> :name: date - - :unprocessed_value: "" + - :unprocessed_value: "[\"\",\"\"]" :version: 0 :id: <%= SerialisedPiece.field_prototypes[:image].schema_id.to_s %> :name: image :processed_value: :original: @@ -181,9 +186,10 @@ :style: <%= @boiling_style.to_s %> :hidden: false :is_page: false :id: <%= @piece2.id %> + :page_id: <%= @root.id %> :boxes: - :entries: [] :fields: - :unprocessed_value: ""