Sha256: 4e4e2db486374788b5de09b8e612c7306c5c4d4b99cdc6c3f5293561a3d65a1f

Contents?: true

Size: 1.54 KB

Versions: 16

Compression:

Stored size: 1.54 KB

Contents

# this is a comment

# @schema "public"
# @include "file"
# @reserve table, table, table...
#
#@reflect users.last_post_id nil

alice: Users
  name: "Alice"
  age: 20
  picture:
    title: Picture of Alice
    blob: "image"
  role: &alices_role # this is a comment
    name: "Administrator" # this is a comment
    active: true # this is a comment

alice: Users
  last_post: *alices_first_post

alices_blog: Blogs
  user: *alice
  title: "Alice's Blog"

Roles
  - &user_role
    name: "User"
    active: true
  - &anon_role
    name: "Anon"
    active: true

Posts
  - &alices_first_post
    blog: *alices_blog
    head: My first blog post
    body: This is the first post in my new blog
    created_at: "1970-01-01"

bob: Users
  name: "Bob"
  role: *alices_role
  last_post: *bobs_last_post
  blogs:
    - title: "Bob's Blog"
      posts:
        - &bobs_first_post
          head: Bobs first blog post
          body: Hi Alice!
          created_at: "1970-01-01"
        - &bobs_last_post
          head: Happy birthday!
          body: Cakeday!
          created_at: "1970-01-02"

bill: Users
  name: Bill
  role: *user_role

Comments
  - author: *bill
    post: *alices_first_post
    head: Congratulations !
    body: Good luck
    created_at: "1970-01-01 00:00"
  - author: &lizzy
      name: Lizzy
      role: *user_role
      comments:
        - post: *bobs_first_post
          head: "Me too"
          body: "Hugs from Lizzy"
          created_at: "1970-01-03"

    post: *alices_first_post
    head: ""
    body: Same from me
    created_at: "1970-01-01 00:01"

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
fixture_fox-0.2.12 examples/base.fox
fixture_fox-0.2.11 examples/base.fox
fixture_fox-0.2.10 examples/base.fox
fixture_fox-0.2.9 examples/base.fox
fixture_fox-0.2.8 examples/base.fox
fixture_fox-0.2.7 examples/base.fox
fixture_fox-0.2.6 examples/base.fox
fixture_fox-0.2.5 examples/base.fox
fixture_fox-0.2.4 examples/base.fox
fixture_fox-0.2.3 examples/base.fox
fixture_fox-0.2.2 examples/base.fox
fixture_fox-0.2.1 examples/base.fox
fixture_fox-0.2.0 examples/base.fox
fixture_fox-0.1.3 examples/base.fox
fixture_fox-0.1.2 examples/base.fox
fixture_fox-0.1.1 examples/base.fox