{"action":"created","comment":{"url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/pulls/comments/169276872","pull_request_review_id":97774448,"id":169276872,"diff_hunk":"@@ -4,7 +4,7 @@\n module CookpadDepartureDefaults\n \n   def self.pt_plugin_path\n-    File.join(File.expand_path(__FILE__),\n+    File.join(File.expand_path(__dir__),","path":"lib/cookpad_departure_defaults.rb","position":5,"original_position":5,"commit_id":"6180417cf6a64643d13223b626e65c528b17628b","original_commit_id":"6180417cf6a64643d13223b626e65c528b17628b","user":{"login":"errm","id":115280,"avatar_url":"https://avatars2.githubusercontent.com/u/115280?v=4","gravatar_id":"","url":"https://api.github.com/users/errm","html_url":"https://github.com/errm","followers_url":"https://api.github.com/users/errm/followers","following_url":"https://api.github.com/users/errm/following{/other_user}","gists_url":"https://api.github.com/users/errm/gists{/gist_id}","starred_url":"https://api.github.com/users/errm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/errm/subscriptions","organizations_url":"https://api.github.com/users/errm/orgs","repos_url":"https://api.github.com/users/errm/repos","events_url":"https://api.github.com/users/errm/events{/privacy}","received_events_url":"https://api.github.com/users/errm/received_events","type":"User","site_admin":false},"body":"Nit: there is no need to expand_path on __dir__","created_at":"2018-02-20T10:34:00Z","updated_at":"2018-02-20T10:34:24Z","html_url":"https://github.com/cookpad/cookpad_departure_defaults/pull/1#discussion_r169276872","pull_request_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/pulls/1","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/pulls/comments/169276872"},"html":{"href":"https://github.com/cookpad/cookpad_departure_defaults/pull/1#discussion_r169276872"},"pull_request":{"href":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/pulls/1","id":169925362,"html_url":"https://github.com/cookpad/cookpad_departure_defaults/pull/1","diff_url":"https://github.com/cookpad/cookpad_departure_defaults/pull/1.diff","patch_url":"https://github.com/cookpad/cookpad_departure_defaults/pull/1.patch","issue_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/issues/1","number":1,"state":"open","locked":false,"title":"Fix path of plugin file","user":{"login":"subinwalter","id":11040977,"avatar_url":"https://avatars0.githubusercontent.com/u/11040977?v=4","gravatar_id":"","url":"https://api.github.com/users/subinwalter","html_url":"https://github.com/subinwalter","followers_url":"https://api.github.com/users/subinwalter/followers","following_url":"https://api.github.com/users/subinwalter/following{/other_user}","gists_url":"https://api.github.com/users/subinwalter/gists{/gist_id}","starred_url":"https://api.github.com/users/subinwalter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/subinwalter/subscriptions","organizations_url":"https://api.github.com/users/subinwalter/orgs","repos_url":"https://api.github.com/users/subinwalter/repos","events_url":"https://api.github.com/users/subinwalter/events{/privacy}","received_events_url":"https://api.github.com/users/subinwalter/received_events","type":"User","site_admin":false},"body":"Getting the following error when running migrations\r\n\r\n`ActiveRecord::StatementInvalid: Departure::Error: --plugin file lib/cookpad_departure_defaults.rb/cookpad_departure_defaults/pt-online-schema-change-fast-rebuild-constraints.pl does not exist`\r\n","created_at":"2018-02-19T10:33:32Z","updated_at":"2018-02-20T10:34:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7f2515cf42c1a0435bc80c23ad1c4b66beb04897","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/pulls/1/commits","review_comments_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/pulls/1/comments","review_comment_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/issues/1/comments","statuses_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/statuses/6180417cf6a64643d13223b626e65c528b17628b","head":{"label":"subinwalter:patch-1","ref":"patch-1","sha":"6180417cf6a64643d13223b626e65c528b17628b","user":{"login":"subinwalter","id":11040977,"avatar_url":"https://avatars0.githubusercontent.com/u/11040977?v=4","gravatar_id":"","url":"https://api.github.com/users/subinwalter","html_url":"https://github.com/subinwalter","followers_url":"https://api.github.com/users/subinwalter/followers","following_url":"https://api.github.com/users/subinwalter/following{/other_user}","gists_url":"https://api.github.com/users/subinwalter/gists{/gist_id}","starred_url":"https://api.github.com/users/subinwalter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/subinwalter/subscriptions","organizations_url":"https://api.github.com/users/subinwalter/orgs","repos_url":"https://api.github.com/users/subinwalter/repos","events_url":"https://api.github.com/users/subinwalter/events{/privacy}","received_events_url":"https://api.github.com/users/subinwalter/received_events","type":"User","site_admin":false},"repo":{"id":122047247,"name":"cookpad_departure_defaults","full_name":"subinwalter/cookpad_departure_defaults","owner":{"login":"subinwalter","id":11040977,"avatar_url":"https://avatars0.githubusercontent.com/u/11040977?v=4","gravatar_id":"","url":"https://api.github.com/users/subinwalter","html_url":"https://github.com/subinwalter","followers_url":"https://api.github.com/users/subinwalter/followers","following_url":"https://api.github.com/users/subinwalter/following{/other_user}","gists_url":"https://api.github.com/users/subinwalter/gists{/gist_id}","starred_url":"https://api.github.com/users/subinwalter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/subinwalter/subscriptions","organizations_url":"https://api.github.com/users/subinwalter/orgs","repos_url":"https://api.github.com/users/subinwalter/repos","events_url":"https://api.github.com/users/subinwalter/events{/privacy}","received_events_url":"https://api.github.com/users/subinwalter/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/subinwalter/cookpad_departure_defaults","description":null,"fork":true,"url":"https://api.github.com/repos/subinwalter/cookpad_departure_defaults","forks_url":"https://api.github.com/repos/subinwalter/cookpad_departure_defaults/forks","keys_url":"https://api.github.com/repos/subinwalter/cookpad_departure_defaults/keys{/key_id}","collaborators_url":"https://api.github.com/repos/subinwalter/cookpad_departure_defaults/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/subinwalter/cookpad_departure_defaults/teams","hooks_url":"https://api.github.com/repos/subinwalter/cookpad_departure_defaults/hooks","issue_events_url":"https://api.github.com/repos/subinwalter/cookpad_departure_defaults/issues/events{/number}","events_url":"https://api.github.com/repos/subinwalter/cookpad_departure_defaults/events","assignees_url":"https://api.github.com/repos/subinwalter/cookpad_departure_defaults/assignees{/user}","branches_url":"https://api.github.com/repos/subinwalter/cookpad_departure_defaults/branches{/branch}","tags_url":"https://api.github.com/repos/subinwalter/cookpad_departure_defaults/tags","blobs_url":"https://api.github.com/repos/subinwalter/cookpad_departure_defaults/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/subinwalter/cookpad_departure_defaults/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/subinwalter/cookpad_departure_defaults/git/refs{/sha}","trees_url":"https://api.github.com/repos/subinwalter/cookpad_departure_defaults/git/trees{/sha}","statuses_url":"https://api.github.com/repos/subinwalter/cookpad_departure_defaults/statuses/{sha}","languages_url":"https://api.github.com/repos/subinwalter/cookpad_departure_defaults/languages","stargazers_url":"https://api.github.com/repos/subinwalter/cookpad_departure_defaults/stargazers","contributors_url":"https://api.github.com/repos/subinwalter/cookpad_departure_defaults/contributors","subscribers_url":"https://api.github.com/repos/subinwalter/cookpad_departure_defaults/subscribers","subscription_url":"https://api.github.com/repos/subinwalter/cookpad_departure_defaults/subscription","commits_url":"https://api.github.com/repos/subinwalter/cookpad_departure_defaults/commits{/sha}","git_commits_url":"https://api.github.com/repos/subinwalter/cookpad_departure_defaults/git/commits{/sha}","comments_url":"https://api.github.com/repos/subinwalter/cookpad_departure_defaults/comments{/number}","issue_comment_url":"https://api.github.com/repos/subinwalter/cookpad_departure_defaults/issues/comments{/number}","contents_url":"https://api.github.com/repos/subinwalter/cookpad_departure_defaults/contents/{+path}","compare_url":"https://api.github.com/repos/subinwalter/cookpad_departure_defaults/compare/{base}...{head}","merges_url":"https://api.github.com/repos/subinwalter/cookpad_departure_defaults/merges","archive_url":"https://api.github.com/repos/subinwalter/cookpad_departure_defaults/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/subinwalter/cookpad_departure_defaults/downloads","issues_url":"https://api.github.com/repos/subinwalter/cookpad_departure_defaults/issues{/number}","pulls_url":"https://api.github.com/repos/subinwalter/cookpad_departure_defaults/pulls{/number}","milestones_url":"https://api.github.com/repos/subinwalter/cookpad_departure_defaults/milestones{/number}","notifications_url":"https://api.github.com/repos/subinwalter/cookpad_departure_defaults/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/subinwalter/cookpad_departure_defaults/labels{/name}","releases_url":"https://api.github.com/repos/subinwalter/cookpad_departure_defaults/releases{/id}","deployments_url":"https://api.github.com/repos/subinwalter/cookpad_departure_defaults/deployments","created_at":"2018-02-19T10:28:35Z","updated_at":"2018-02-19T10:28:37Z","pushed_at":"2018-02-19T10:29:33Z","git_url":"git://github.com/subinwalter/cookpad_departure_defaults.git","ssh_url":"git@github.com:subinwalter/cookpad_departure_defaults.git","clone_url":"https://github.com/subinwalter/cookpad_departure_defaults.git","svn_url":"https://github.com/subinwalter/cookpad_departure_defaults","homepage":null,"size":6,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cookpad:master","ref":"master","sha":"a6ca8a7d3f10b19a9b4cc8dfa13ae22275890b15","user":{"login":"cookpad","id":119195,"avatar_url":"https://avatars1.githubusercontent.com/u/119195?v=4","gravatar_id":"","url":"https://api.github.com/users/cookpad","html_url":"https://github.com/cookpad","followers_url":"https://api.github.com/users/cookpad/followers","following_url":"https://api.github.com/users/cookpad/following{/other_user}","gists_url":"https://api.github.com/users/cookpad/gists{/gist_id}","starred_url":"https://api.github.com/users/cookpad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cookpad/subscriptions","organizations_url":"https://api.github.com/users/cookpad/orgs","repos_url":"https://api.github.com/users/cookpad/repos","events_url":"https://api.github.com/users/cookpad/events{/privacy}","received_events_url":"https://api.github.com/users/cookpad/received_events","type":"Organization","site_admin":false},"repo":{"id":119876975,"name":"cookpad_departure_defaults","full_name":"cookpad/cookpad_departure_defaults","owner":{"login":"cookpad","id":119195,"avatar_url":"https://avatars1.githubusercontent.com/u/119195?v=4","gravatar_id":"","url":"https://api.github.com/users/cookpad","html_url":"https://github.com/cookpad","followers_url":"https://api.github.com/users/cookpad/followers","following_url":"https://api.github.com/users/cookpad/following{/other_user}","gists_url":"https://api.github.com/users/cookpad/gists{/gist_id}","starred_url":"https://api.github.com/users/cookpad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cookpad/subscriptions","organizations_url":"https://api.github.com/users/cookpad/orgs","repos_url":"https://api.github.com/users/cookpad/repos","events_url":"https://api.github.com/users/cookpad/events{/privacy}","received_events_url":"https://api.github.com/users/cookpad/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cookpad/cookpad_departure_defaults","description":null,"fork":false,"url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults","forks_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/forks","keys_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/teams","hooks_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/hooks","issue_events_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/issues/events{/number}","events_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/events","assignees_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/assignees{/user}","branches_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/branches{/branch}","tags_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/tags","blobs_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/git/refs{/sha}","trees_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/statuses/{sha}","languages_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/languages","stargazers_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/stargazers","contributors_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/contributors","subscribers_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/subscribers","subscription_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/subscription","commits_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/commits{/sha}","git_commits_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/git/commits{/sha}","comments_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/comments{/number}","issue_comment_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/issues/comments{/number}","contents_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/contents/{+path}","compare_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/merges","archive_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/downloads","issues_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/issues{/number}","pulls_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/pulls{/number}","milestones_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/milestones{/number}","notifications_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/labels{/name}","releases_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/releases{/id}","deployments_url":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/deployments","created_at":"2018-02-01T18:35:12Z","updated_at":"2018-02-02T18:02:44Z","pushed_at":"2018-02-19T10:33:32Z","git_url":"git://github.com/cookpad/cookpad_departure_defaults.git","ssh_url":"git@github.com:cookpad/cookpad_departure_defaults.git","clone_url":"https://github.com/cookpad/cookpad_departure_defaults.git","svn_url":"https://github.com/cookpad/cookpad_departure_defaults","homepage":null,"size":5,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/pulls/1"},"html":{"href":"https://github.com/cookpad/cookpad_departure_defaults/pull/1"},"issue":{"href":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/issues/1"},"comments":{"href":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/cookpad/cookpad_departure_defaults/statuses/6180417cf6a64643d13223b626e65c528b17628b"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"errm"}}