{"action":"opened","number":85,"pull_request":{"url":"https://api.github.com/repos/cakephp/bake/pulls/85","id":34891684,"html_url":"https://github.com/cakephp/bake/pull/85","diff_url":"https://github.com/cakephp/bake/pull/85.diff","patch_url":"https://github.com/cakephp/bake/pull/85.patch","issue_url":"https://api.github.com/repos/cakephp/bake/issues/85","number":85,"state":"open","locked":false,"title":"Allow for singular table names when baking fixtures","user":{"login":"dakota","id":83255,"avatar_url":"https://avatars.githubusercontent.com/u/83255?v=3","gravatar_id":"","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":"Encountered a use case where I am baking fixtures for all my tables. I have a few tables where the table name is singular. This PR adds in the ability to fallback to a singular table if the plural version does not exist.","created_at":"2015-05-07T08:05:08Z","updated_at":"2015-05-07T08:05:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cakephp/bake/pulls/85/commits","review_comments_url":"https://api.github.com/repos/cakephp/bake/pulls/85/comments","review_comment_url":"https://api.github.com/repos/cakephp/bake/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cakephp/bake/issues/85/comments","statuses_url":"https://api.github.com/repos/cakephp/bake/statuses/f2d009acfe294f32ccda5cef8be26a235020a27a","head":{"label":"dakota:singular-table-names","ref":"singular-table-names","sha":"f2d009acfe294f32ccda5cef8be26a235020a27a","user":{"login":"dakota","id":83255,"avatar_url":"https://avatars.githubusercontent.com/u/83255?v=3","gravatar_id":"","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":35206932,"name":"bake","full_name":"dakota/bake","owner":{"login":"dakota","id":83255,"avatar_url":"https://avatars.githubusercontent.com/u/83255?v=3","gravatar_id":"","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/bake","description":"The Bake Command Plugin","fork":true,"url":"https://api.github.com/repos/dakota/bake","forks_url":"https://api.github.com/repos/dakota/bake/forks","keys_url":"https://api.github.com/repos/dakota/bake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dakota/bake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dakota/bake/teams","hooks_url":"https://api.github.com/repos/dakota/bake/hooks","issue_events_url":"https://api.github.com/repos/dakota/bake/issues/events{/number}","events_url":"https://api.github.com/repos/dakota/bake/events","assignees_url":"https://api.github.com/repos/dakota/bake/assignees{/user}","branches_url":"https://api.github.com/repos/dakota/bake/branches{/branch}","tags_url":"https://api.github.com/repos/dakota/bake/tags","blobs_url":"https://api.github.com/repos/dakota/bake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dakota/bake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dakota/bake/git/refs{/sha}","trees_url":"https://api.github.com/repos/dakota/bake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dakota/bake/statuses/{sha}","languages_url":"https://api.github.com/repos/dakota/bake/languages","stargazers_url":"https://api.github.com/repos/dakota/bake/stargazers","contributors_url":"https://api.github.com/repos/dakota/bake/contributors","subscribers_url":"https://api.github.com/repos/dakota/bake/subscribers","subscription_url":"https://api.github.com/repos/dakota/bake/subscription","commits_url":"https://api.github.com/repos/dakota/bake/commits{/sha}","git_commits_url":"https://api.github.com/repos/dakota/bake/git/commits{/sha}","comments_url":"https://api.github.com/repos/dakota/bake/comments{/number}","issue_comment_url":"https://api.github.com/repos/dakota/bake/issues/comments{/number}","contents_url":"https://api.github.com/repos/dakota/bake/contents/{+path}","compare_url":"https://api.github.com/repos/dakota/bake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dakota/bake/merges","archive_url":"https://api.github.com/repos/dakota/bake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dakota/bake/downloads","issues_url":"https://api.github.com/repos/dakota/bake/issues{/number}","pulls_url":"https://api.github.com/repos/dakota/bake/pulls{/number}","milestones_url":"https://api.github.com/repos/dakota/bake/milestones{/number}","notifications_url":"https://api.github.com/repos/dakota/bake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dakota/bake/labels{/name}","releases_url":"https://api.github.com/repos/dakota/bake/releases{/id}","created_at":"2015-05-07T08:03:10Z","updated_at":"2015-05-07T08:03:10Z","pushed_at":"2015-05-07T08:03:19Z","git_url":"git://github.com/dakota/bake.git","ssh_url":"git@github.com:dakota/bake.git","clone_url":"https://github.com/dakota/bake.git","svn_url":"https://github.com/dakota/bake","homepage":null,"size":51255,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"cakephp:master","ref":"master","sha":"44a56985f8f85898e11f27afbaf331a38afcf51e","user":{"login":"cakephp","id":23666,"avatar_url":"https://avatars.githubusercontent.com/u/23666?v=3","gravatar_id":"","url":"https://api.github.com/users/cakephp","html_url":"https://github.com/cakephp","followers_url":"https://api.github.com/users/cakephp/followers","following_url":"https://api.github.com/users/cakephp/following{/other_user}","gists_url":"https://api.github.com/users/cakephp/gists{/gist_id}","starred_url":"https://api.github.com/users/cakephp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cakephp/subscriptions","organizations_url":"https://api.github.com/users/cakephp/orgs","repos_url":"https://api.github.com/users/cakephp/repos","events_url":"https://api.github.com/users/cakephp/events{/privacy}","received_events_url":"https://api.github.com/users/cakephp/received_events","type":"Organization","site_admin":false},"repo":{"id":27730883,"name":"bake","full_name":"cakephp/bake","owner":{"login":"cakephp","id":23666,"avatar_url":"https://avatars.githubusercontent.com/u/23666?v=3","gravatar_id":"","url":"https://api.github.com/users/cakephp","html_url":"https://github.com/cakephp","followers_url":"https://api.github.com/users/cakephp/followers","following_url":"https://api.github.com/users/cakephp/following{/other_user}","gists_url":"https://api.github.com/users/cakephp/gists{/gist_id}","starred_url":"https://api.github.com/users/cakephp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cakephp/subscriptions","organizations_url":"https://api.github.com/users/cakephp/orgs","repos_url":"https://api.github.com/users/cakephp/repos","events_url":"https://api.github.com/users/cakephp/events{/privacy}","received_events_url":"https://api.github.com/users/cakephp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cakephp/bake","description":"The Bake Command Plugin","fork":false,"url":"https://api.github.com/repos/cakephp/bake","forks_url":"https://api.github.com/repos/cakephp/bake/forks","keys_url":"https://api.github.com/repos/cakephp/bake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cakephp/bake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cakephp/bake/teams","hooks_url":"https://api.github.com/repos/cakephp/bake/hooks","issue_events_url":"https://api.github.com/repos/cakephp/bake/issues/events{/number}","events_url":"https://api.github.com/repos/cakephp/bake/events","assignees_url":"https://api.github.com/repos/cakephp/bake/assignees{/user}","branches_url":"https://api.github.com/repos/cakephp/bake/branches{/branch}","tags_url":"https://api.github.com/repos/cakephp/bake/tags","blobs_url":"https://api.github.com/repos/cakephp/bake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cakephp/bake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cakephp/bake/git/refs{/sha}","trees_url":"https://api.github.com/repos/cakephp/bake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cakephp/bake/statuses/{sha}","languages_url":"https://api.github.com/repos/cakephp/bake/languages","stargazers_url":"https://api.github.com/repos/cakephp/bake/stargazers","contributors_url":"https://api.github.com/repos/cakephp/bake/contributors","subscribers_url":"https://api.github.com/repos/cakephp/bake/subscribers","subscription_url":"https://api.github.com/repos/cakephp/bake/subscription","commits_url":"https://api.github.com/repos/cakephp/bake/commits{/sha}","git_commits_url":"https://api.github.com/repos/cakephp/bake/git/commits{/sha}","comments_url":"https://api.github.com/repos/cakephp/bake/comments{/number}","issue_comment_url":"https://api.github.com/repos/cakephp/bake/issues/comments{/number}","contents_url":"https://api.github.com/repos/cakephp/bake/contents/{+path}","compare_url":"https://api.github.com/repos/cakephp/bake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cakephp/bake/merges","archive_url":"https://api.github.com/repos/cakephp/bake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cakephp/bake/downloads","issues_url":"https://api.github.com/repos/cakephp/bake/issues{/number}","pulls_url":"https://api.github.com/repos/cakephp/bake/pulls{/number}","milestones_url":"https://api.github.com/repos/cakephp/bake/milestones{/number}","notifications_url":"https://api.github.com/repos/cakephp/bake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cakephp/bake/labels{/name}","releases_url":"https://api.github.com/repos/cakephp/bake/releases{/id}","created_at":"2014-12-08T19:22:54Z","updated_at":"2015-05-05T07:57:24Z","pushed_at":"2015-05-05T07:59:16Z","git_url":"git://github.com/cakephp/bake.git","ssh_url":"git@github.com:cakephp/bake.git","clone_url":"https://github.com/cakephp/bake.git","svn_url":"https://github.com/cakephp/bake","homepage":null,"size":51255,"stargazers_count":23,"watchers_count":23,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"open_issues_count":11,"forks":19,"open_issues":11,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cakephp/bake/pulls/85"},"html":{"href":"https://github.com/cakephp/bake/pull/85"},"issue":{"href":"https://api.github.com/repos/cakephp/bake/issues/85"},"comments":{"href":"https://api.github.com/repos/cakephp/bake/issues/85/comments"},"review_comments":{"href":"https://api.github.com/repos/cakephp/bake/pulls/85/comments"},"review_comment":{"href":"https://api.github.com/repos/cakephp/bake/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cakephp/bake/pulls/85/commits"},"statuses":{"href":"https://api.github.com/repos/cakephp/bake/statuses/f2d009acfe294f32ccda5cef8be26a235020a27a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":8,"deletions":1,"changed_files":1}}