{"action":"created","comment":{"url":"https://api.github.com/repos/github-beginner/e-navigator/pulls/comments/171580311","pull_request_review_id":100456997,"id":171580311,"diff_hunk":"@@ -0,0 +1,7 @@\n+class User < ApplicationRecord\n+  # Include default devise modules. Others available are:\n+  # :confirmable, :lockable, :timeoutable and :omniauthable\n+  devise :database_authenticatable, :registerable,\n+         :recoverable, :rememberable, :trackable, :validatable\n+  enum sex:{man:0,woman:1}","path":"app/models/user.rb","position":null,"original_position":6,"commit_id":"ffbe86dae4ce8731566de6b0a67b242c84ddabf8","original_commit_id":"70f70c582d993bbe2834ac50cd051054bc63c17e","user":{"login":"github-beginner","id":36471934,"avatar_url":"https://avatars3.githubusercontent.com/u/36471934?v=4","gravatar_id":"","url":"https://api.github.com/users/github-beginner","html_url":"https://github.com/github-beginner","followers_url":"https://api.github.com/users/github-beginner/followers","following_url":"https://api.github.com/users/github-beginner/following{/other_user}","gists_url":"https://api.github.com/users/github-beginner/gists{/gist_id}","starred_url":"https://api.github.com/users/github-beginner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-beginner/subscriptions","organizations_url":"https://api.github.com/users/github-beginner/orgs","repos_url":"https://api.github.com/users/github-beginner/repos","events_url":"https://api.github.com/users/github-beginner/events{/privacy}","received_events_url":"https://api.github.com/users/github-beginner/received_events","type":"User","site_admin":false},"body":"ご指摘ありがとうございます。\r\n修正いたしました。","created_at":"2018-03-01T14:46:32Z","updated_at":"2018-03-01T14:46:32Z","html_url":"https://github.com/github-beginner/e-navigator/pull/1#discussion_r171580311","pull_request_url":"https://api.github.com/repos/github-beginner/e-navigator/pulls/1","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/github-beginner/e-navigator/pulls/comments/171580311"},"html":{"href":"https://github.com/github-beginner/e-navigator/pull/1#discussion_r171580311"},"pull_request":{"href":"https://api.github.com/repos/github-beginner/e-navigator/pulls/1"}},"in_reply_to_id":171485679},"pull_request":{"url":"https://api.github.com/repos/github-beginner/e-navigator/pulls/1","id":171980429,"html_url":"https://github.com/github-beginner/e-navigator/pull/1","diff_url":"https://github.com/github-beginner/e-navigator/pull/1.diff","patch_url":"https://github.com/github-beginner/e-navigator/pull/1.patch","issue_url":"https://api.github.com/repos/github-beginner/e-navigator/issues/1","number":1,"state":"open","locked":false,"title":"Add authentication function","user":{"login":"github-beginner","id":36471934,"avatar_url":"https://avatars3.githubusercontent.com/u/36471934?v=4","gravatar_id":"","url":"https://api.github.com/users/github-beginner","html_url":"https://github.com/github-beginner","followers_url":"https://api.github.com/users/github-beginner/followers","following_url":"https://api.github.com/users/github-beginner/following{/other_user}","gists_url":"https://api.github.com/users/github-beginner/gists{/gist_id}","starred_url":"https://api.github.com/users/github-beginner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-beginner/subscriptions","organizations_url":"https://api.github.com/users/github-beginner/orgs","repos_url":"https://api.github.com/users/github-beginner/repos","events_url":"https://api.github.com/users/github-beginner/events{/privacy}","received_events_url":"https://api.github.com/users/github-beginner/received_events","type":"User","site_admin":false},"body":"やりたかったこと\r\n---\r\n\r\n- ユーザー登録、ログイン機能の追加\r\n- 登録したユーザーのプロフィール編集機能の追加\r\n\r\n\r\nやったこと\r\n----\r\n\r\n- Devise gem の導入\r\n- enum_help gem の導入\r\n- トップページの追加\r\n- ログイン機能の追加\r\n- ユーザー登録機能の追加\r\n- プロフィール編集機能の追加\r\n-  i18nで日本語の対応\r\n\r\n\r\n\r\n動作確認方法\r\n---\r\n\r\n- [ ] ユーザーを新規で作成する\r\n- [ ] ログアウトする\r\n- [ ] 作成したユーザーでログインする\r\n- [ ] プロフィールページに行く\r\n- [ ] プロフィールを編集、更新する\r\n- [ ] プロフィールが更新されたか確認する\r\n\r\n\r\nその他\r\n---\r\n\r\nよろしければですが、commit する際のコメントの付け方で「こんなコメントならレビューしやすいな」と思われるようなルールなどがあればお伺いしたいです。\r\n人により、いくつかの付け方があるようですが、git 初心者であるため、どのようにコメントをつければいいのか決めかねています。\r\n\r\n後半もよろしくお願いいたします。","created_at":"2018-02-28T15:08:44Z","updated_at":"2018-03-01T14:46:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"de7e5ce9c9b5f138ded599476ac6f7789769f548","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/github-beginner/e-navigator/pulls/1/commits","review_comments_url":"https://api.github.com/repos/github-beginner/e-navigator/pulls/1/comments","review_comment_url":"https://api.github.com/repos/github-beginner/e-navigator/pulls/comments{/number}","comments_url":"https://api.github.com/repos/github-beginner/e-navigator/issues/1/comments","statuses_url":"https://api.github.com/repos/github-beginner/e-navigator/statuses/ffbe86dae4ce8731566de6b0a67b242c84ddabf8","head":{"label":"github-beginner:develop","ref":"develop","sha":"ffbe86dae4ce8731566de6b0a67b242c84ddabf8","user":{"login":"github-beginner","id":36471934,"avatar_url":"https://avatars3.githubusercontent.com/u/36471934?v=4","gravatar_id":"","url":"https://api.github.com/users/github-beginner","html_url":"https://github.com/github-beginner","followers_url":"https://api.github.com/users/github-beginner/followers","following_url":"https://api.github.com/users/github-beginner/following{/other_user}","gists_url":"https://api.github.com/users/github-beginner/gists{/gist_id}","starred_url":"https://api.github.com/users/github-beginner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-beginner/subscriptions","organizations_url":"https://api.github.com/users/github-beginner/orgs","repos_url":"https://api.github.com/users/github-beginner/repos","events_url":"https://api.github.com/users/github-beginner/events{/privacy}","received_events_url":"https://api.github.com/users/github-beginner/received_events","type":"User","site_admin":false},"repo":{"id":121579625,"name":"e-navigator","full_name":"github-beginner/e-navigator","owner":{"login":"github-beginner","id":36471934,"avatar_url":"https://avatars3.githubusercontent.com/u/36471934?v=4","gravatar_id":"","url":"https://api.github.com/users/github-beginner","html_url":"https://github.com/github-beginner","followers_url":"https://api.github.com/users/github-beginner/followers","following_url":"https://api.github.com/users/github-beginner/following{/other_user}","gists_url":"https://api.github.com/users/github-beginner/gists{/gist_id}","starred_url":"https://api.github.com/users/github-beginner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-beginner/subscriptions","organizations_url":"https://api.github.com/users/github-beginner/orgs","repos_url":"https://api.github.com/users/github-beginner/repos","events_url":"https://api.github.com/users/github-beginner/events{/privacy}","received_events_url":"https://api.github.com/users/github-beginner/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/github-beginner/e-navigator","description":"Rails template for e-Navigator applicaiton","fork":true,"url":"https://api.github.com/repos/github-beginner/e-navigator","forks_url":"https://api.github.com/repos/github-beginner/e-navigator/forks","keys_url":"https://api.github.com/repos/github-beginner/e-navigator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-beginner/e-navigator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-beginner/e-navigator/teams","hooks_url":"https://api.github.com/repos/github-beginner/e-navigator/hooks","issue_events_url":"https://api.github.com/repos/github-beginner/e-navigator/issues/events{/number}","events_url":"https://api.github.com/repos/github-beginner/e-navigator/events","assignees_url":"https://api.github.com/repos/github-beginner/e-navigator/assignees{/user}","branches_url":"https://api.github.com/repos/github-beginner/e-navigator/branches{/branch}","tags_url":"https://api.github.com/repos/github-beginner/e-navigator/tags","blobs_url":"https://api.github.com/repos/github-beginner/e-navigator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-beginner/e-navigator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-beginner/e-navigator/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-beginner/e-navigator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-beginner/e-navigator/statuses/{sha}","languages_url":"https://api.github.com/repos/github-beginner/e-navigator/languages","stargazers_url":"https://api.github.com/repos/github-beginner/e-navigator/stargazers","contributors_url":"https://api.github.com/repos/github-beginner/e-navigator/contributors","subscribers_url":"https://api.github.com/repos/github-beginner/e-navigator/subscribers","subscription_url":"https://api.github.com/repos/github-beginner/e-navigator/subscription","commits_url":"https://api.github.com/repos/github-beginner/e-navigator/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-beginner/e-navigator/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-beginner/e-navigator/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-beginner/e-navigator/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-beginner/e-navigator/contents/{+path}","compare_url":"https://api.github.com/repos/github-beginner/e-navigator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-beginner/e-navigator/merges","archive_url":"https://api.github.com/repos/github-beginner/e-navigator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-beginner/e-navigator/downloads","issues_url":"https://api.github.com/repos/github-beginner/e-navigator/issues{/number}","pulls_url":"https://api.github.com/repos/github-beginner/e-navigator/pulls{/number}","milestones_url":"https://api.github.com/repos/github-beginner/e-navigator/milestones{/number}","notifications_url":"https://api.github.com/repos/github-beginner/e-navigator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-beginner/e-navigator/labels{/name}","releases_url":"https://api.github.com/repos/github-beginner/e-navigator/releases{/id}","deployments_url":"https://api.github.com/repos/github-beginner/e-navigator/deployments","created_at":"2018-02-15T01:08:33Z","updated_at":"2018-02-15T01:08:35Z","pushed_at":"2018-03-01T14:39:07Z","git_url":"git://github.com/github-beginner/e-navigator.git","ssh_url":"git@github.com:github-beginner/e-navigator.git","clone_url":"https://github.com/github-beginner/e-navigator.git","svn_url":"https://github.com/github-beginner/e-navigator","homepage":null,"size":90,"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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"github-beginner:master","ref":"master","sha":"ecec7e763d3aab6af4db144ec316e406c3419a93","user":{"login":"github-beginner","id":36471934,"avatar_url":"https://avatars3.githubusercontent.com/u/36471934?v=4","gravatar_id":"","url":"https://api.github.com/users/github-beginner","html_url":"https://github.com/github-beginner","followers_url":"https://api.github.com/users/github-beginner/followers","following_url":"https://api.github.com/users/github-beginner/following{/other_user}","gists_url":"https://api.github.com/users/github-beginner/gists{/gist_id}","starred_url":"https://api.github.com/users/github-beginner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-beginner/subscriptions","organizations_url":"https://api.github.com/users/github-beginner/orgs","repos_url":"https://api.github.com/users/github-beginner/repos","events_url":"https://api.github.com/users/github-beginner/events{/privacy}","received_events_url":"https://api.github.com/users/github-beginner/received_events","type":"User","site_admin":false},"repo":{"id":121579625,"name":"e-navigator","full_name":"github-beginner/e-navigator","owner":{"login":"github-beginner","id":36471934,"avatar_url":"https://avatars3.githubusercontent.com/u/36471934?v=4","gravatar_id":"","url":"https://api.github.com/users/github-beginner","html_url":"https://github.com/github-beginner","followers_url":"https://api.github.com/users/github-beginner/followers","following_url":"https://api.github.com/users/github-beginner/following{/other_user}","gists_url":"https://api.github.com/users/github-beginner/gists{/gist_id}","starred_url":"https://api.github.com/users/github-beginner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github-beginner/subscriptions","organizations_url":"https://api.github.com/users/github-beginner/orgs","repos_url":"https://api.github.com/users/github-beginner/repos","events_url":"https://api.github.com/users/github-beginner/events{/privacy}","received_events_url":"https://api.github.com/users/github-beginner/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/github-beginner/e-navigator","description":"Rails template for e-Navigator applicaiton","fork":true,"url":"https://api.github.com/repos/github-beginner/e-navigator","forks_url":"https://api.github.com/repos/github-beginner/e-navigator/forks","keys_url":"https://api.github.com/repos/github-beginner/e-navigator/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github-beginner/e-navigator/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github-beginner/e-navigator/teams","hooks_url":"https://api.github.com/repos/github-beginner/e-navigator/hooks","issue_events_url":"https://api.github.com/repos/github-beginner/e-navigator/issues/events{/number}","events_url":"https://api.github.com/repos/github-beginner/e-navigator/events","assignees_url":"https://api.github.com/repos/github-beginner/e-navigator/assignees{/user}","branches_url":"https://api.github.com/repos/github-beginner/e-navigator/branches{/branch}","tags_url":"https://api.github.com/repos/github-beginner/e-navigator/tags","blobs_url":"https://api.github.com/repos/github-beginner/e-navigator/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github-beginner/e-navigator/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github-beginner/e-navigator/git/refs{/sha}","trees_url":"https://api.github.com/repos/github-beginner/e-navigator/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github-beginner/e-navigator/statuses/{sha}","languages_url":"https://api.github.com/repos/github-beginner/e-navigator/languages","stargazers_url":"https://api.github.com/repos/github-beginner/e-navigator/stargazers","contributors_url":"https://api.github.com/repos/github-beginner/e-navigator/contributors","subscribers_url":"https://api.github.com/repos/github-beginner/e-navigator/subscribers","subscription_url":"https://api.github.com/repos/github-beginner/e-navigator/subscription","commits_url":"https://api.github.com/repos/github-beginner/e-navigator/commits{/sha}","git_commits_url":"https://api.github.com/repos/github-beginner/e-navigator/git/commits{/sha}","comments_url":"https://api.github.com/repos/github-beginner/e-navigator/comments{/number}","issue_comment_url":"https://api.github.com/repos/github-beginner/e-navigator/issues/comments{/number}","contents_url":"https://api.github.com/repos/github-beginner/e-navigator/contents/{+path}","compare_url":"https://api.github.com/repos/github-beginner/e-navigator/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github-beginner/e-navigator/merges","archive_url":"https://api.github.com/repos/github-beginner/e-navigator/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github-beginner/e-navigator/downloads","issues_url":"https://api.github.com/repos/github-beginner/e-navigator/issues{/number}","pulls_url":"https://api.github.com/repos/github-beginner/e-navigator/pulls{/number}","milestones_url":"https://api.github.com/repos/github-beginner/e-navigator/milestones{/number}","notifications_url":"https://api.github.com/repos/github-beginner/e-navigator/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github-beginner/e-navigator/labels{/name}","releases_url":"https://api.github.com/repos/github-beginner/e-navigator/releases{/id}","deployments_url":"https://api.github.com/repos/github-beginner/e-navigator/deployments","created_at":"2018-02-15T01:08:33Z","updated_at":"2018-02-15T01:08:35Z","pushed_at":"2018-03-01T14:39:07Z","git_url":"git://github.com/github-beginner/e-navigator.git","ssh_url":"git@github.com:github-beginner/e-navigator.git","clone_url":"https://github.com/github-beginner/e-navigator.git","svn_url":"https://github.com/github-beginner/e-navigator","homepage":null,"size":90,"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":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/github-beginner/e-navigator/pulls/1"},"html":{"href":"https://github.com/github-beginner/e-navigator/pull/1"},"issue":{"href":"https://api.github.com/repos/github-beginner/e-navigator/issues/1"},"comments":{"href":"https://api.github.com/repos/github-beginner/e-navigator/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/github-beginner/e-navigator/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/github-beginner/e-navigator/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/github-beginner/e-navigator/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/github-beginner/e-navigator/statuses/ffbe86dae4ce8731566de6b0a67b242c84ddabf8"}},"author_association":"OWNER"}}
{"actor":{"display_login":"github-beginner"}}