{"action":"created","comment":{"url":"https://api.github.com/repos/CopyIsRight/GoldDigger/pulls/comments/55745942","id":55745942,"diff_hunk":"@@ -68,17 +73,17 @@ - (instancetype)initWithManager:(GDGEntityManager *)manager\n \t\t};\n \n #define ORDER_BLOCK(direction) \\\n-\t\t^GDGQuery *(NSString *prop) { \\\n-\t\t\tif (weakSelf.orderList == nil)\\\n-\t\t\t\tweakSelf.orderList = [NSMutableArray array];\\\n-\t\t\t\\\n-\t\t\tNSString *column = [weakSelf.manager columnNameForProperty:prop]; \\\n-\t\t\t\\\n-\t\t\tif ([weakSelf findColumnNamed:column])\\\n-\t\t\t\t[weakSelf.orderList addObject:[column stringByAppendingString:direction]];\\\n-\t\t\t\\\n-\t\t\treturn weakSelf;\\\n-\t\t};\n+    ^GDGQuery *(NSString *prop) { \\\n+      if (weakSelf.orderList == nil)\\\n+        weakSelf.orderList = [NSMutableArray array];\\\n+      \\\n+      NSString *column = [weakSelf.manager columnNameForProperty:prop]; \\\n+      \\\n+      if ([weakSelf findColumnNamed:column])\\\n+        [weakSelf.orderList addObject:[column stringByAppendingString:direction]];\\\n+      \\\n+      return weakSelf;\\\n+    };","path":"Pod/Classes/GDGEntityQuery.m","position":64,"original_position":64,"commit_id":"b5e3cf7dcc28f0ed6945d44651cf3bc19977665c","original_commit_id":"b5e3cf7dcc28f0ed6945d44651cf3bc19977665c","user":{"login":"frlwolf","id":862520,"avatar_url":"https://avatars.githubusercontent.com/u/862520?v=3","gravatar_id":"","url":"https://api.github.com/users/frlwolf","html_url":"https://github.com/frlwolf","followers_url":"https://api.github.com/users/frlwolf/followers","following_url":"https://api.github.com/users/frlwolf/following{/other_user}","gists_url":"https://api.github.com/users/frlwolf/gists{/gist_id}","starred_url":"https://api.github.com/users/frlwolf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frlwolf/subscriptions","organizations_url":"https://api.github.com/users/frlwolf/orgs","repos_url":"https://api.github.com/users/frlwolf/repos","events_url":"https://api.github.com/users/frlwolf/events{/privacy}","received_events_url":"https://api.github.com/users/frlwolf/received_events","type":"User","site_admin":false},"body":"Something went wrong here :fearful: ","created_at":"2016-03-10T20:40:40Z","updated_at":"2016-03-10T20:40:40Z","html_url":"https://github.com/CopyIsRight/GoldDigger/pull/4#discussion_r55745942","pull_request_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/CopyIsRight/GoldDigger/pulls/comments/55745942"},"html":{"href":"https://github.com/CopyIsRight/GoldDigger/pull/4#discussion_r55745942"},"pull_request":{"href":"https://api.github.com/repos/CopyIsRight/GoldDigger/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/CopyIsRight/GoldDigger/pulls/4","id":62449626,"html_url":"https://github.com/CopyIsRight/GoldDigger/pull/4","diff_url":"https://github.com/CopyIsRight/GoldDigger/pull/4.diff","patch_url":"https://github.com/CopyIsRight/GoldDigger/pull/4.patch","issue_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/issues/4","number":4,"state":"open","locked":false,"title":"Make all the things copyable","user":{"login":"pietrocaselani","id":862516,"avatar_url":"https://avatars.githubusercontent.com/u/862516?v=3","gravatar_id":"","url":"https://api.github.com/users/pietrocaselani","html_url":"https://github.com/pietrocaselani","followers_url":"https://api.github.com/users/pietrocaselani/followers","following_url":"https://api.github.com/users/pietrocaselani/following{/other_user}","gists_url":"https://api.github.com/users/pietrocaselani/gists{/gist_id}","starred_url":"https://api.github.com/users/pietrocaselani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pietrocaselani/subscriptions","organizations_url":"https://api.github.com/users/pietrocaselani/orgs","repos_url":"https://api.github.com/users/pietrocaselani/repos","events_url":"https://api.github.com/users/pietrocaselani/events{/privacy}","received_events_url":"https://api.github.com/users/pietrocaselani/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-10T20:20:15Z","updated_at":"2016-03-10T20:40:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"92049341657fcf301696ee9ed0ae147b02b0c8f6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/pulls/4/commits","review_comments_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/pulls/4/comments","review_comment_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/issues/4/comments","statuses_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/statuses/b5e3cf7dcc28f0ed6945d44651cf3bc19977665c","head":{"label":"CopyIsRight:Copyable","ref":"Copyable","sha":"b5e3cf7dcc28f0ed6945d44651cf3bc19977665c","user":{"login":"CopyIsRight","id":17409354,"avatar_url":"https://avatars.githubusercontent.com/u/17409354?v=3","gravatar_id":"","url":"https://api.github.com/users/CopyIsRight","html_url":"https://github.com/CopyIsRight","followers_url":"https://api.github.com/users/CopyIsRight/followers","following_url":"https://api.github.com/users/CopyIsRight/following{/other_user}","gists_url":"https://api.github.com/users/CopyIsRight/gists{/gist_id}","starred_url":"https://api.github.com/users/CopyIsRight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CopyIsRight/subscriptions","organizations_url":"https://api.github.com/users/CopyIsRight/orgs","repos_url":"https://api.github.com/users/CopyIsRight/repos","events_url":"https://api.github.com/users/CopyIsRight/events{/privacy}","received_events_url":"https://api.github.com/users/CopyIsRight/received_events","type":"Organization","site_admin":false},"repo":{"id":52279309,"name":"GoldDigger","full_name":"CopyIsRight/GoldDigger","owner":{"login":"CopyIsRight","id":17409354,"avatar_url":"https://avatars.githubusercontent.com/u/17409354?v=3","gravatar_id":"","url":"https://api.github.com/users/CopyIsRight","html_url":"https://github.com/CopyIsRight","followers_url":"https://api.github.com/users/CopyIsRight/followers","following_url":"https://api.github.com/users/CopyIsRight/following{/other_user}","gists_url":"https://api.github.com/users/CopyIsRight/gists{/gist_id}","starred_url":"https://api.github.com/users/CopyIsRight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CopyIsRight/subscriptions","organizations_url":"https://api.github.com/users/CopyIsRight/orgs","repos_url":"https://api.github.com/users/CopyIsRight/repos","events_url":"https://api.github.com/users/CopyIsRight/events{/privacy}","received_events_url":"https://api.github.com/users/CopyIsRight/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CopyIsRight/GoldDigger","description":"Simple ORM for Objective-C","fork":false,"url":"https://api.github.com/repos/CopyIsRight/GoldDigger","forks_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/forks","keys_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/teams","hooks_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/hooks","issue_events_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/issues/events{/number}","events_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/events","assignees_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/assignees{/user}","branches_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/branches{/branch}","tags_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/tags","blobs_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/git/refs{/sha}","trees_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/statuses/{sha}","languages_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/languages","stargazers_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/stargazers","contributors_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/contributors","subscribers_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/subscribers","subscription_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/subscription","commits_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/commits{/sha}","git_commits_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/git/commits{/sha}","comments_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/comments{/number}","issue_comment_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/issues/comments{/number}","contents_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/contents/{+path}","compare_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/merges","archive_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/downloads","issues_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/issues{/number}","pulls_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/pulls{/number}","milestones_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/milestones{/number}","notifications_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/labels{/name}","releases_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/releases{/id}","deployments_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/deployments","created_at":"2016-02-22T14:32:15Z","updated_at":"2016-02-29T11:49:50Z","pushed_at":"2016-03-10T20:20:15Z","git_url":"git://github.com/CopyIsRight/GoldDigger.git","ssh_url":"git@github.com:CopyIsRight/GoldDigger.git","clone_url":"https://github.com/CopyIsRight/GoldDigger.git","svn_url":"https://github.com/CopyIsRight/GoldDigger","homepage":"","size":59,"stargazers_count":1,"watchers_count":1,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"CopyIsRight:master","ref":"master","sha":"47875d6d827e786cf7cf4d7ac018d515b49919fc","user":{"login":"CopyIsRight","id":17409354,"avatar_url":"https://avatars.githubusercontent.com/u/17409354?v=3","gravatar_id":"","url":"https://api.github.com/users/CopyIsRight","html_url":"https://github.com/CopyIsRight","followers_url":"https://api.github.com/users/CopyIsRight/followers","following_url":"https://api.github.com/users/CopyIsRight/following{/other_user}","gists_url":"https://api.github.com/users/CopyIsRight/gists{/gist_id}","starred_url":"https://api.github.com/users/CopyIsRight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CopyIsRight/subscriptions","organizations_url":"https://api.github.com/users/CopyIsRight/orgs","repos_url":"https://api.github.com/users/CopyIsRight/repos","events_url":"https://api.github.com/users/CopyIsRight/events{/privacy}","received_events_url":"https://api.github.com/users/CopyIsRight/received_events","type":"Organization","site_admin":false},"repo":{"id":52279309,"name":"GoldDigger","full_name":"CopyIsRight/GoldDigger","owner":{"login":"CopyIsRight","id":17409354,"avatar_url":"https://avatars.githubusercontent.com/u/17409354?v=3","gravatar_id":"","url":"https://api.github.com/users/CopyIsRight","html_url":"https://github.com/CopyIsRight","followers_url":"https://api.github.com/users/CopyIsRight/followers","following_url":"https://api.github.com/users/CopyIsRight/following{/other_user}","gists_url":"https://api.github.com/users/CopyIsRight/gists{/gist_id}","starred_url":"https://api.github.com/users/CopyIsRight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CopyIsRight/subscriptions","organizations_url":"https://api.github.com/users/CopyIsRight/orgs","repos_url":"https://api.github.com/users/CopyIsRight/repos","events_url":"https://api.github.com/users/CopyIsRight/events{/privacy}","received_events_url":"https://api.github.com/users/CopyIsRight/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CopyIsRight/GoldDigger","description":"Simple ORM for Objective-C","fork":false,"url":"https://api.github.com/repos/CopyIsRight/GoldDigger","forks_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/forks","keys_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/teams","hooks_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/hooks","issue_events_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/issues/events{/number}","events_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/events","assignees_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/assignees{/user}","branches_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/branches{/branch}","tags_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/tags","blobs_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/git/refs{/sha}","trees_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/statuses/{sha}","languages_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/languages","stargazers_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/stargazers","contributors_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/contributors","subscribers_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/subscribers","subscription_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/subscription","commits_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/commits{/sha}","git_commits_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/git/commits{/sha}","comments_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/comments{/number}","issue_comment_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/issues/comments{/number}","contents_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/contents/{+path}","compare_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/merges","archive_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/downloads","issues_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/issues{/number}","pulls_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/pulls{/number}","milestones_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/milestones{/number}","notifications_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/labels{/name}","releases_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/releases{/id}","deployments_url":"https://api.github.com/repos/CopyIsRight/GoldDigger/deployments","created_at":"2016-02-22T14:32:15Z","updated_at":"2016-02-29T11:49:50Z","pushed_at":"2016-03-10T20:20:15Z","git_url":"git://github.com/CopyIsRight/GoldDigger.git","ssh_url":"git@github.com:CopyIsRight/GoldDigger.git","clone_url":"https://github.com/CopyIsRight/GoldDigger.git","svn_url":"https://github.com/CopyIsRight/GoldDigger","homepage":"","size":59,"stargazers_count":1,"watchers_count":1,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CopyIsRight/GoldDigger/pulls/4"},"html":{"href":"https://github.com/CopyIsRight/GoldDigger/pull/4"},"issue":{"href":"https://api.github.com/repos/CopyIsRight/GoldDigger/issues/4"},"comments":{"href":"https://api.github.com/repos/CopyIsRight/GoldDigger/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/CopyIsRight/GoldDigger/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/CopyIsRight/GoldDigger/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CopyIsRight/GoldDigger/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/CopyIsRight/GoldDigger/statuses/b5e3cf7dcc28f0ed6945d44651cf3bc19977665c"}}}}