{"action":"closed","number":9,"pull_request":{"url":"https://api.github.com/repos/tadija/AERecord/pulls/9","id":34783353,"html_url":"https://github.com/tadija/AERecord/pull/9","diff_url":"https://github.com/tadija/AERecord/pull/9.diff","patch_url":"https://github.com/tadija/AERecord/pull/9.patch","issue_url":"https://api.github.com/repos/tadija/AERecord/issues/9","number":9,"state":"closed","locked":false,"title":"add firstOrCreateWithAttributes","user":{"login":"nrw","id":738852,"avatar_url":"https://avatars.githubusercontent.com/u/738852?v=3","gravatar_id":"","url":"https://api.github.com/users/nrw","html_url":"https://github.com/nrw","followers_url":"https://api.github.com/users/nrw/followers","following_url":"https://api.github.com/users/nrw/following{/other_user}","gists_url":"https://api.github.com/users/nrw/gists{/gist_id}","starred_url":"https://api.github.com/users/nrw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nrw/subscriptions","organizations_url":"https://api.github.com/users/nrw/orgs","repos_url":"https://api.github.com/users/nrw/repos","events_url":"https://api.github.com/users/nrw/events{/privacy}","received_events_url":"https://api.github.com/users/nrw/received_events","type":"User","site_admin":false},"body":"I'm not sure if this is within your vision for the module, but i use this method all the time as my own extension. Seemed like it was worth a PR.","created_at":"2015-05-06T01:40:07Z","updated_at":"2015-07-13T20:51:12Z","closed_at":"2015-07-13T20:51:12Z","merged_at":null,"merge_commit_sha":"902c48465aefee88f7277d23afa95991f7bb22e4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tadija/AERecord/pulls/9/commits","review_comments_url":"https://api.github.com/repos/tadija/AERecord/pulls/9/comments","review_comment_url":"https://api.github.com/repos/tadija/AERecord/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tadija/AERecord/issues/9/comments","statuses_url":"https://api.github.com/repos/tadija/AERecord/statuses/e12d10182f801cc625890886fbcbce8ad296beef","head":{"label":"nrw:master","ref":"master","sha":"e12d10182f801cc625890886fbcbce8ad296beef","user":{"login":"nrw","id":738852,"avatar_url":"https://avatars.githubusercontent.com/u/738852?v=3","gravatar_id":"","url":"https://api.github.com/users/nrw","html_url":"https://github.com/nrw","followers_url":"https://api.github.com/users/nrw/followers","following_url":"https://api.github.com/users/nrw/following{/other_user}","gists_url":"https://api.github.com/users/nrw/gists{/gist_id}","starred_url":"https://api.github.com/users/nrw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nrw/subscriptions","organizations_url":"https://api.github.com/users/nrw/orgs","repos_url":"https://api.github.com/users/nrw/repos","events_url":"https://api.github.com/users/nrw/events{/privacy}","received_events_url":"https://api.github.com/users/nrw/received_events","type":"User","site_admin":false},"repo":{"id":35130481,"name":"AERecord","full_name":"nrw/AERecord","owner":{"login":"nrw","id":738852,"avatar_url":"https://avatars.githubusercontent.com/u/738852?v=3","gravatar_id":"","url":"https://api.github.com/users/nrw","html_url":"https://github.com/nrw","followers_url":"https://api.github.com/users/nrw/followers","following_url":"https://api.github.com/users/nrw/following{/other_user}","gists_url":"https://api.github.com/users/nrw/gists{/gist_id}","starred_url":"https://api.github.com/users/nrw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nrw/subscriptions","organizations_url":"https://api.github.com/users/nrw/orgs","repos_url":"https://api.github.com/users/nrw/repos","events_url":"https://api.github.com/users/nrw/events{/privacy}","received_events_url":"https://api.github.com/users/nrw/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nrw/AERecord","description":"Super awesome Core Data wrapper for iOS written in Swift","fork":true,"url":"https://api.github.com/repos/nrw/AERecord","forks_url":"https://api.github.com/repos/nrw/AERecord/forks","keys_url":"https://api.github.com/repos/nrw/AERecord/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nrw/AERecord/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nrw/AERecord/teams","hooks_url":"https://api.github.com/repos/nrw/AERecord/hooks","issue_events_url":"https://api.github.com/repos/nrw/AERecord/issues/events{/number}","events_url":"https://api.github.com/repos/nrw/AERecord/events","assignees_url":"https://api.github.com/repos/nrw/AERecord/assignees{/user}","branches_url":"https://api.github.com/repos/nrw/AERecord/branches{/branch}","tags_url":"https://api.github.com/repos/nrw/AERecord/tags","blobs_url":"https://api.github.com/repos/nrw/AERecord/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nrw/AERecord/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nrw/AERecord/git/refs{/sha}","trees_url":"https://api.github.com/repos/nrw/AERecord/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nrw/AERecord/statuses/{sha}","languages_url":"https://api.github.com/repos/nrw/AERecord/languages","stargazers_url":"https://api.github.com/repos/nrw/AERecord/stargazers","contributors_url":"https://api.github.com/repos/nrw/AERecord/contributors","subscribers_url":"https://api.github.com/repos/nrw/AERecord/subscribers","subscription_url":"https://api.github.com/repos/nrw/AERecord/subscription","commits_url":"https://api.github.com/repos/nrw/AERecord/commits{/sha}","git_commits_url":"https://api.github.com/repos/nrw/AERecord/git/commits{/sha}","comments_url":"https://api.github.com/repos/nrw/AERecord/comments{/number}","issue_comment_url":"https://api.github.com/repos/nrw/AERecord/issues/comments{/number}","contents_url":"https://api.github.com/repos/nrw/AERecord/contents/{+path}","compare_url":"https://api.github.com/repos/nrw/AERecord/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nrw/AERecord/merges","archive_url":"https://api.github.com/repos/nrw/AERecord/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nrw/AERecord/downloads","issues_url":"https://api.github.com/repos/nrw/AERecord/issues{/number}","pulls_url":"https://api.github.com/repos/nrw/AERecord/pulls{/number}","milestones_url":"https://api.github.com/repos/nrw/AERecord/milestones{/number}","notifications_url":"https://api.github.com/repos/nrw/AERecord/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nrw/AERecord/labels{/name}","releases_url":"https://api.github.com/repos/nrw/AERecord/releases{/id}","created_at":"2015-05-06T00:15:56Z","updated_at":"2015-05-06T01:39:17Z","pushed_at":"2015-05-06T01:39:17Z","git_url":"git://github.com/nrw/AERecord.git","ssh_url":"git@github.com:nrw/AERecord.git","clone_url":"https://github.com/nrw/AERecord.git","svn_url":"https://github.com/nrw/AERecord","homepage":"","size":171,"stargazers_count":0,"watchers_count":0,"language":"Swift","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"tadija:master","ref":"master","sha":"0b0bfb019634d04bff3f93a3923b7260725855fe","user":{"login":"tadija","id":2762374,"avatar_url":"https://avatars.githubusercontent.com/u/2762374?v=3","gravatar_id":"","url":"https://api.github.com/users/tadija","html_url":"https://github.com/tadija","followers_url":"https://api.github.com/users/tadija/followers","following_url":"https://api.github.com/users/tadija/following{/other_user}","gists_url":"https://api.github.com/users/tadija/gists{/gist_id}","starred_url":"https://api.github.com/users/tadija/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tadija/subscriptions","organizations_url":"https://api.github.com/users/tadija/orgs","repos_url":"https://api.github.com/users/tadija/repos","events_url":"https://api.github.com/users/tadija/events{/privacy}","received_events_url":"https://api.github.com/users/tadija/received_events","type":"User","site_admin":false},"repo":{"id":26297599,"name":"AERecord","full_name":"tadija/AERecord","owner":{"login":"tadija","id":2762374,"avatar_url":"https://avatars.githubusercontent.com/u/2762374?v=3","gravatar_id":"","url":"https://api.github.com/users/tadija","html_url":"https://github.com/tadija","followers_url":"https://api.github.com/users/tadija/followers","following_url":"https://api.github.com/users/tadija/following{/other_user}","gists_url":"https://api.github.com/users/tadija/gists{/gist_id}","starred_url":"https://api.github.com/users/tadija/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tadija/subscriptions","organizations_url":"https://api.github.com/users/tadija/orgs","repos_url":"https://api.github.com/users/tadija/repos","events_url":"https://api.github.com/users/tadija/events{/privacy}","received_events_url":"https://api.github.com/users/tadija/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tadija/AERecord","description":"Super awesome Core Data wrapper for iOS written in Swift","fork":false,"url":"https://api.github.com/repos/tadija/AERecord","forks_url":"https://api.github.com/repos/tadija/AERecord/forks","keys_url":"https://api.github.com/repos/tadija/AERecord/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tadija/AERecord/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tadija/AERecord/teams","hooks_url":"https://api.github.com/repos/tadija/AERecord/hooks","issue_events_url":"https://api.github.com/repos/tadija/AERecord/issues/events{/number}","events_url":"https://api.github.com/repos/tadija/AERecord/events","assignees_url":"https://api.github.com/repos/tadija/AERecord/assignees{/user}","branches_url":"https://api.github.com/repos/tadija/AERecord/branches{/branch}","tags_url":"https://api.github.com/repos/tadija/AERecord/tags","blobs_url":"https://api.github.com/repos/tadija/AERecord/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tadija/AERecord/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tadija/AERecord/git/refs{/sha}","trees_url":"https://api.github.com/repos/tadija/AERecord/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tadija/AERecord/statuses/{sha}","languages_url":"https://api.github.com/repos/tadija/AERecord/languages","stargazers_url":"https://api.github.com/repos/tadija/AERecord/stargazers","contributors_url":"https://api.github.com/repos/tadija/AERecord/contributors","subscribers_url":"https://api.github.com/repos/tadija/AERecord/subscribers","subscription_url":"https://api.github.com/repos/tadija/AERecord/subscription","commits_url":"https://api.github.com/repos/tadija/AERecord/commits{/sha}","git_commits_url":"https://api.github.com/repos/tadija/AERecord/git/commits{/sha}","comments_url":"https://api.github.com/repos/tadija/AERecord/comments{/number}","issue_comment_url":"https://api.github.com/repos/tadija/AERecord/issues/comments{/number}","contents_url":"https://api.github.com/repos/tadija/AERecord/contents/{+path}","compare_url":"https://api.github.com/repos/tadija/AERecord/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tadija/AERecord/merges","archive_url":"https://api.github.com/repos/tadija/AERecord/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tadija/AERecord/downloads","issues_url":"https://api.github.com/repos/tadija/AERecord/issues{/number}","pulls_url":"https://api.github.com/repos/tadija/AERecord/pulls{/number}","milestones_url":"https://api.github.com/repos/tadija/AERecord/milestones{/number}","notifications_url":"https://api.github.com/repos/tadija/AERecord/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tadija/AERecord/labels{/name}","releases_url":"https://api.github.com/repos/tadija/AERecord/releases{/id}","created_at":"2014-11-07T01:08:26Z","updated_at":"2015-07-13T09:18:13Z","pushed_at":"2015-07-13T19:26:11Z","git_url":"git://github.com/tadija/AERecord.git","ssh_url":"git@github.com:tadija/AERecord.git","clone_url":"https://github.com/tadija/AERecord.git","svn_url":"https://github.com/tadija/AERecord","homepage":"","size":386,"stargazers_count":137,"watchers_count":137,"language":"Swift","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":5,"forks":15,"open_issues":5,"watchers":137,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tadija/AERecord/pulls/9"},"html":{"href":"https://github.com/tadija/AERecord/pull/9"},"issue":{"href":"https://api.github.com/repos/tadija/AERecord/issues/9"},"comments":{"href":"https://api.github.com/repos/tadija/AERecord/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/tadija/AERecord/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/tadija/AERecord/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tadija/AERecord/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/tadija/AERecord/statuses/e12d10182f801cc625890886fbcbce8ad296beef"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":1,"review_comments":0,"commits":1,"additions":12,"deletions":0,"changed_files":1}}