GitHub PullRequestEvent at 2014-08-17 20:55:49
Repository: search
Actor: burzum
Payload: {"action":"closed","number":162,"pull_request":{"url":"https://api.github.com/repos/CakeDC/search/pulls/162","id":19649498,"html_url":"https://github.com/CakeDC/search/pull/162","diff_url":"https://github.com/CakeDC/search/pull/162.diff","patch_url":"https://github.com/CakeDC/search/pull/162.patch","issue_url":"https://api.github.com/repos/CakeDC/search/issues/162","number":162,"state":"closed","locked":false,"title":"3.0: Change the searchable behaviour to use finders","user":{"login":"dakota","id":83255,"avatar_url":"https://avatars.githubusercontent.com/u/83255?v=2","gravatar_id":"da885126a36821027a1f70b6a4eee252","url":"https://api.github.com/users/dakota","html_url":"https://github.com/dakota","followers_url":"https://api.github.com/users/dakota/followers","following_url":"https://api.github.com/users/dakota/following{/other_user}","gists_url":"https://api.github.com/users/dakota/gists{/gist_id}","starred_url":"https://api.github.com/users/dakota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dakota/subscriptions","organizations_url":"https://api.github.com/users/dakota/orgs","repos_url":"https://api.github.com/users/dakota/repos","events_url":"https://api.github.com/users/dakota/events{/privacy}","received_events_url":"https://api.github.com/users/dakota/received_events","type":"User","site_admin":false},"body":"This is a rather major change so that the searchable behaviour makes use of finder methods instead of arbitrary table/model methods.\r\n\r\nInstead of calling `Table::parseQuery($data)`,  you would now do `Table::find('searchable', $data)`.\r\n\r\nLikewise, the query, subquery and expression types have been replaced by a single finder type:\r\n```\r\n'field' => [\r\n   'type' => 'finder',\r\n   'finder' => 'byTags'\r\n]\r\n```\r\nThe new CakePHP ORM makes it trivial to perform the functions that the three previous query types allowed.\r\n\r\nIn addition, the documentation has been updated to reflect the changes.","created_at":"2014-08-12T08:55:50Z","updated_at":"2014-08-17T20:55:49Z","closed_at":"2014-08-17T20:55:49Z","merged_at":"2014-08-17T20:55:49Z","merge_commit_sha":"a9f47bd0acfc5be3f0beedec52651b6eee0e9910","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CakeDC/search/pulls/162/commits","review_comments_url":"https://api.github.com/repos/CakeDC/search/pulls/162/comments","review_comment_url":"https://api.github.com/repos/CakeDC/search/pulls/comments/{number}","comments_url":"https://api.github.com/repos/CakeDC/search/issues/162/comments","statuses_url":"https://api.github.com/repos/CakeDC/search/statuses/dfb89aff92e74f7d35b04337f93ba5a2a9c8e864","head":{"label":"dakota:3.0-use-finders","ref":"3.0-use-finders","sha":"dfb89aff92e74f7d35b04337f93ba5a2a9c8e864","user":{"login":"dakota","id":83255,"avatar_url":"https://avatars.githubusercontent.com/u/83255?v=2","gravatar_id":"da885126a36821027a1f70b6a4eee252","url":"https://api.github.com/users/dakota","html_url":"https://github.com/dakota","followers_url":"https://api.github.com/users/dakota/followers","following_url":"https://api.github.com/users/dakota/following{/other_user}","gists_url":"https://api.github.com/users/dakota/gists{/gist_id}","starred_url":"https://api.github.com/users/dakota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dakota/subscriptions","organizations_url":"https://api.github.com/users/dakota/orgs","repos_url":"https://api.github.com/users/dakota/repos","events_url":"https://api.github.com/users/dakota/events{/privacy}","received_events_url":"https://api.github.com/users/dakota/received_events","type":"User","site_admin":false},"repo":{"id":1837133,"name":"search","full_name":"dakota/search","owner":{"login":"dakota","id":83255,"avatar_url":"https://avatars.githubusercontent.com/u/83255?v=2","gravatar_id":"da885126a36821027a1f70b6a4eee252","url":"https://api.github.com/users/dakota","html_url":"https://github.com/dakota","followers_url":"https://api.github.com/users/dakota/followers","following_url":"https://api.github.com/users/dakota/following{/other_user}","gists_url":"https://api.github.com/users/dakota/gists{/gist_id}","starred_url":"https://api.github.com/users/dakota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dakota/subscriptions","organizations_url":"https://api.github.com/users/dakota/orgs","repos_url":"https://api.github.com/users/dakota/repos","events_url":"https://api.github.com/users/dakota/events{/privacy}","received_events_url":"https://api.github.com/users/dakota/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dakota/search","description":"Search Plugin for CakePHP","fork":true,"url":"https://api.github.com/repos/dakota/search","forks_url":"https://api.github.com/repos/dakota/search/forks","keys_url":"https://api.github.com/repos/dakota/search/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dakota/search/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dakota/search/teams","hooks_url":"https://api.github.com/repos/dakota/search/hooks","issue_events_url":"https://api.github.com/repos/dakota/search/issues/events{/number}","events_url":"https://api.github.com/repos/dakota/search/events","assignees_url":"https://api.github.com/repos/dakota/search/assignees{/user}","branches_url":"https://api.github.com/repos/dakota/search/branches{/branch}","tags_url":"https://api.github.com/repos/dakota/search/tags","blobs_url":"https://api.github.com/repos/dakota/search/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dakota/search/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dakota/search/git/refs{/sha}","trees_url":"https://api.github.com/repos/dakota/search/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dakota/search/statuses/{sha}","languages_url":"https://api.github.com/repos/dakota/search/languages","stargazers_url":"https://api.github.com/repos/dakota/search/stargazers","contributors_url":"https://api.github.com/repos/dakota/search/contributors","subscribers_url":"https://api.github.com/repos/dakota/search/subscribers","subscription_url":"https://api.github.com/repos/dakota/search/subscription","commits_url":"https://api.github.com/repos/dakota/search/commits{/sha}","git_commits_url":"https://api.github.com/repos/dakota/search/git/commits{/sha}","comments_url":"https://api.github.com/repos/dakota/search/comments{/number}","issue_comment_url":"https://api.github.com/repos/dakota/search/issues/comments/{number}","contents_url":"https://api.github.com/repos/dakota/search/contents/{+path}","compare_url":"https://api.github.com/repos/dakota/search/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dakota/search/merges","archive_url":"https://api.github.com/repos/dakota/search/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dakota/search/downloads","issues_url":"https://api.github.com/repos/dakota/search/issues{/number}","pulls_url":"https://api.github.com/repos/dakota/search/pulls{/number}","milestones_url":"https://api.github.com/repos/dakota/search/milestones{/number}","notifications_url":"https://api.github.com/repos/dakota/search/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dakota/search/labels{/name}","releases_url":"https://api.github.com/repos/dakota/search/releases{/id}","created_at":"2011-06-02T13:16:27Z","updated_at":"2014-06-22T00:55:21Z","pushed_at":"2014-08-14T13:52:10Z","git_url":"git://github.com/dakota/search.git","ssh_url":"git@github.com:dakota/search.git","clone_url":"https://github.com/dakota/search.git","svn_url":"https://github.com/dakota/search","homepage":"http://cakedc.com","size":630,"stargazers_count":1,"watchers_count":1,"language":"PHP","has_issues":false,"has_downloads":false,"has_wiki":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"CakeDC:3.0","ref":"3.0","sha":"40553d57ea96f70c452e7d91300ef18f0d4f56fa","user":{"login":"CakeDC","id":204531,"avatar_url":"https://avatars.githubusercontent.com/u/204531?v=2","gravatar_id":"b29d0ca1377102cc591655a5c8bd7f85","url":"https://api.github.com/users/CakeDC","html_url":"https://github.com/CakeDC","followers_url":"https://api.github.com/users/CakeDC/followers","following_url":"https://api.github.com/users/CakeDC/following{/other_user}","gists_url":"https://api.github.com/users/CakeDC/gists{/gist_id}","starred_url":"https://api.github.com/users/CakeDC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CakeDC/subscriptions","organizations_url":"https://api.github.com/users/CakeDC/orgs","repos_url":"https://api.github.com/users/CakeDC/repos","events_url":"https://api.github.com/users/CakeDC/events{/privacy}","received_events_url":"https://api.github.com/users/CakeDC/received_events","type":"User","site_admin":false},"repo":{"id":530346,"name":"search","full_name":"CakeDC/search","owner":{"login":"CakeDC","id":204531,"avatar_url":"https://avatars.githubusercontent.com/u/204531?v=2","gravatar_id":"b29d0ca1377102cc591655a5c8bd7f85","url":"https://api.github.com/users/CakeDC","html_url":"https://github.com/CakeDC","followers_url":"https://api.github.com/users/CakeDC/followers","following_url":"https://api.github.com/users/CakeDC/following{/other_user}","gists_url":"https://api.github.com/users/CakeDC/gists{/gist_id}","starred_url":"https://api.github.com/users/CakeDC/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CakeDC/subscriptions","organizations_url":"https://api.github.com/users/CakeDC/orgs","repos_url":"https://api.github.com/users/CakeDC/repos","events_url":"https://api.github.com/users/CakeDC/events{/privacy}","received_events_url":"https://api.github.com/users/CakeDC/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/CakeDC/search","description":"Search Plugin for CakePHP","fork":false,"url":"https://api.github.com/repos/CakeDC/search","forks_url":"https://api.github.com/repos/CakeDC/search/forks","keys_url":"https://api.github.com/repos/CakeDC/search/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CakeDC/search/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CakeDC/search/teams","hooks_url":"https://api.github.com/repos/CakeDC/search/hooks","issue_events_url":"https://api.github.com/repos/CakeDC/search/issues/events{/number}","events_url":"https://api.github.com/repos/CakeDC/search/events","assignees_url":"https://api.github.com/repos/CakeDC/search/assignees{/user}","branches_url":"https://api.github.com/repos/CakeDC/search/branches{/branch}","tags_url":"https://api.github.com/repos/CakeDC/search/tags","blobs_url":"https://api.github.com/repos/CakeDC/search/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CakeDC/search/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CakeDC/search/git/refs{/sha}","trees_url":"https://api.github.com/repos/CakeDC/search/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CakeDC/search/statuses/{sha}","languages_url":"https://api.github.com/repos/CakeDC/search/languages","stargazers_url":"https://api.github.com/repos/CakeDC/search/stargazers","contributors_url":"https://api.github.com/repos/CakeDC/search/contributors","subscribers_url":"https://api.github.com/repos/CakeDC/search/subscribers","subscription_url":"https://api.github.com/repos/CakeDC/search/subscription","commits_url":"https://api.github.com/repos/CakeDC/search/commits{/sha}","git_commits_url":"https://api.github.com/repos/CakeDC/search/git/commits{/sha}","comments_url":"https://api.github.com/repos/CakeDC/search/comments{/number}","issue_comment_url":"https://api.github.com/repos/CakeDC/search/issues/comments/{number}","contents_url":"https://api.github.com/repos/CakeDC/search/contents/{+path}","compare_url":"https://api.github.com/repos/CakeDC/search/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CakeDC/search/merges","archive_url":"https://api.github.com/repos/CakeDC/search/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CakeDC/search/downloads","issues_url":"https://api.github.com/repos/CakeDC/search/issues{/number}","pulls_url":"https://api.github.com/repos/CakeDC/search/pulls{/number}","milestones_url":"https://api.github.com/repos/CakeDC/search/milestones{/number}","notifications_url":"https://api.github.com/repos/CakeDC/search/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CakeDC/search/labels{/name}","releases_url":"https://api.github.com/repos/CakeDC/search/releases{/id}","created_at":"2010-02-22T15:46:11Z","updated_at":"2014-08-11T17:27:48Z","pushed_at":"2014-08-17T20:55:49Z","git_url":"git://github.com/CakeDC/search.git","ssh_url":"git@github.com:CakeDC/search.git","clone_url":"https://github.com/CakeDC/search.git","svn_url":"https://github.com/CakeDC/search","homepage":"http://cakedc.com","size":1700,"stargazers_count":328,"watchers_count":328,"language":"PHP","has_issues":true,"has_downloads":false,"has_wiki":false,"forks_count":136,"mirror_url":null,"open_issues_count":1,"forks":136,"open_issues":1,"watchers":328,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CakeDC/search/pulls/162"},"html":{"href":"https://github.com/CakeDC/search/pull/162"},"issue":{"href":"https://api.github.com/repos/CakeDC/search/issues/162"},"comments":{"href":"https://api.github.com/repos/CakeDC/search/issues/162/comments"},"review_comments":{"href":"https://api.github.com/repos/CakeDC/search/pulls/162/comments"},"review_comment":{"href":"https://api.github.com/repos/CakeDC/search/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/CakeDC/search/pulls/162/commits"},"statuses":{"href":"https://api.github.com/repos/CakeDC/search/statuses/dfb89aff92e74f7d35b04337f93ba5a2a9c8e864"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"burzum","id":162789,"avatar_url":"https://avatars.githubusercontent.com/u/162789?v=2","gravatar_id":"e48d3991c39176e224cd49e2cb51b314","url":"https://api.github.com/users/burzum","html_url":"https://github.com/burzum","followers_url":"https://api.github.com/users/burzum/followers","following_url":"https://api.github.com/users/burzum/following{/other_user}","gists_url":"https://api.github.com/users/burzum/gists{/gist_id}","starred_url":"https://api.github.com/users/burzum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burzum/subscriptions","organizations_url":"https://api.github.com/users/burzum/orgs","repos_url":"https://api.github.com/users/burzum/repos","events_url":"https://api.github.com/users/burzum/events{/privacy}","received_events_url":"https://api.github.com/users/burzum/received_events","type":"User","site_admin":false},"comments":1,"review_comments":2,"commits":13,"additions":1106,"deletions":1235,"changed_files":28}}