<commit_before>//
//  FooResource.swift
//  Spine
//
//  Created by <NAME> on 19-02-15.
//  Copyright (c) 2015 <NAME>. All rights reserved.
//

import Foundation
import XCTest
import SwiftyJSON

class Foo: Resource {
	dynamic var stringAttribute: String?
	dynamic var integerAttribute: NSNumber?
	dynamic var floatAttribute: NSNumber?
	dynamic var booleanAttribute: NSNumber?
	dynamic var nilAttribute: AnyObject?
	dynamic var dateAttribute: NSDate?
	dynamic var toOneAttribute: Bar?
	dynamic var toManyAttribute: LinkedResourceCollection?
	
	override class var resourceType: String {
		return "foos"
	}
	
	override class var fields: [Field] {
		return fieldsFromDictionary([
			"stringAttribute": Attribute(),
			"integerAttribute": Attribute(),
			"floatAttribute": Attribute(),
			"booleanAttribute": Attribute(),
			"nilAttribute": Attribute(),
			"dateAttribute": DateAttribute(),
			"toOneAttribute": ToOneRelationship(Bar),
			"toManyAttribute": ToManyRelationship(Bar)
			])
	}
	
	required init() {
		super.init()
	}
	<commit_msg>Removed `dynamic` from Foo fixture class.<commit_after>//
//  FooResource.swift
//  Spine
//
//  Created by <NAME> on 19-02-15.
//  Copyright (c) 2015 <NAME>. All rights reserved.
//

import Foundation
import XCTest
import SwiftyJSON

class Foo: Resource {
	var stringAttribute: String?
	var integerAttribute: NSNumber?
	var floatAttribute: NSNumber?
	var booleanAttribute: NSNumber?
	var nilAttribute: AnyObject?
	var dateAttribute: NSDate?
	var toOneAttribute: Bar?
	var toManyAttribute: LinkedResourceCollection?
	
	override class var resourceType: String {
		return "foos"
	}
	
	override class var fields: [Field] {
		return fieldsFromDictionary([
			"stringAttribute": Attribute(),
			"integerAttribute": Attribute(),
			"floatAttribute": Attribute(),
			"booleanAttribute": Attribute(),
			"nilAttribute": Attribute(),
			"dateAttribute": DateAttribute(),
			"toOneAttribute": ToOneRelationship(Bar),
			"toManyAttribute": ToManyRelationship(Bar)
			])
	}
	
	required init() {
		super.init()
	}
	
{'fraction_non_alphanumeric': 0.1142156862745098, 'fraction_numerical': 0.00980392156862745, 'mean_word_length': 4.561307901907357, 'pattern_counts': {'":': 16, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '630063', 'n_tokens_mistral': 670, 'n_tokens_neox': 593, 'n_words': 175}