Sha256: 843eefedd6cf6075abd0c61afed4379ae357000ae70b91df4b7690685947ab90

Contents?: true

Size: 1.88 KB

Versions: 3

Compression:

Stored size: 1.88 KB

Contents

schema "0.0.1" do

  entity "Article" do

    string    :body,        optional: false
    integer32 :length
    boolean   :published,   default: false
    datetime  :publishedAt, default: false
    string    :title,       optional: false

    belongs_to   :author
  end

  entity "Author" do
    float :fee
    string :name, optional: false
    has_many :articles
  end

end


__END__

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<model name="" userDefinedModelVersionIdentifier="0.0.1" type="com.apple.IDECoreDataModeler.DataModel" documentVersion="1.0" lastSavedToolsVersion="2061" systemVersion="12D78" minimumToolsVersion="Xcode 4.3" macOSVersion="Automatic" iOSVersion="Automatic">
    <entity name="Article" syncable="YES" codeGenerationType='class'>
        <attribute name="body" optional="YES" attributeType="String" syncable="YES"/>
        <attribute name="length" optional="YES" attributeType="Integer 32" defaultValueString="0" syncable="YES"/>
        <attribute name="published" optional="YES" attributeType="Boolean" syncable="YES"/>
        <attribute name="publishedAt" optional="YES" attributeType="Date" syncable="YES"/>
        <attribute name="title" optional="YES" attributeType="String" syncable="YES"/>
        <relationship name="author" optional="YES" minCount="1" maxCount="1" deletionRule="Nullify" destinationEntity="Author" inverseName="articles" inverseEntity="Article" syncable="YES"/>
    </entity>
    <entity name="Author" syncable="YES" codeGenerationType='class'>
        <attribute name="fee" optional="YES" attributeType="Float" defaultValueString="0.0" syncable="YES"/>
        <attribute name="name" optional="YES" attributeType="String" syncable="YES"/>
        <relationship name="articles" optional="YES" minCount="1" maxCount="1" deletionRule="Nullify" destinationEntity="Article" inverseName="author" inverseEntity="Author" syncable="YES"/>
    </entity>
</model>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby-xcdm-1.0.0 test/fixtures/001_baseline.rb
ruby-xcdm-0.0.11 test/fixtures/001_baseline.rb
ruby-xcdm-0.0.10 test/fixtures/001_baseline.rb