{"action":"created","comment":{"url":"https://api.github.com/repos/takugi/protospace/pulls/comments/78949443","id":78949443,"diff_hunk":"@@ -0,0 +1,16 @@\n+class User < ActiveRecord::Base\n+  # Include default devise modules. Others available are:\n+  # :confirmable, :lockable, :timeoutable and :omniauthable\n+\n+  validates :username, presence: true\n+  validates :email, presence: true\n+  validates :password, presence: true\n+  validates :member, presence: true\n+  validates :profile, presence: true\n+  validates :works, presence: true","path":"app/models/user.rb","position":null,"original_position":10,"commit_id":"b2da74e149017fa28bb5a74533cb739ebb6ad907","original_commit_id":"7f6afb2632d960f7b02587bfbbe93669b9c6d772","user":{"login":"takugi","id":17661500,"avatar_url":"https://avatars.githubusercontent.com/u/17661500?v=3","gravatar_id":"","url":"https://api.github.com/users/takugi","html_url":"https://github.com/takugi","followers_url":"https://api.github.com/users/takugi/followers","following_url":"https://api.github.com/users/takugi/following{/other_user}","gists_url":"https://api.github.com/users/takugi/gists{/gist_id}","starred_url":"https://api.github.com/users/takugi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takugi/subscriptions","organizations_url":"https://api.github.com/users/takugi/orgs","repos_url":"https://api.github.com/users/takugi/repos","events_url":"https://api.github.com/users/takugi/events{/privacy}","received_events_url":"https://api.github.com/users/takugi/received_events","type":"User","site_admin":false},"body":"emailとpasswordのvalidationをなくし、他のvalidationを一つにまとめました。","created_at":"2016-09-15T12:16:45Z","updated_at":"2016-09-15T12:16:45Z","html_url":"https://github.com/takugi/protospace/pull/4#discussion_r78949443","pull_request_url":"https://api.github.com/repos/takugi/protospace/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/takugi/protospace/pulls/comments/78949443"},"html":{"href":"https://github.com/takugi/protospace/pull/4#discussion_r78949443"},"pull_request":{"href":"https://api.github.com/repos/takugi/protospace/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/takugi/protospace/pulls/4","id":85341165,"html_url":"https://github.com/takugi/protospace/pull/4","diff_url":"https://github.com/takugi/protospace/pull/4.diff","patch_url":"https://github.com/takugi/protospace/pull/4.patch","issue_url":"https://api.github.com/repos/takugi/protospace/issues/4","number":4,"state":"open","locked":false,"title":"ユーザー管理機能の追加","user":{"login":"takugi","id":17661500,"avatar_url":"https://avatars.githubusercontent.com/u/17661500?v=3","gravatar_id":"","url":"https://api.github.com/users/takugi","html_url":"https://github.com/takugi","followers_url":"https://api.github.com/users/takugi/followers","following_url":"https://api.github.com/users/takugi/following{/other_user}","gists_url":"https://api.github.com/users/takugi/gists{/gist_id}","starred_url":"https://api.github.com/users/takugi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takugi/subscriptions","organizations_url":"https://api.github.com/users/takugi/orgs","repos_url":"https://api.github.com/users/takugi/repos","events_url":"https://api.github.com/users/takugi/events{/privacy}","received_events_url":"https://api.github.com/users/takugi/received_events","type":"User","site_admin":false},"body":"# WHAT\r\n- 素材のダウンロード\r\n- deviseの導入\r\n- deviseのビューファイルの追加\r\n- サインイン / サインアウト機能の追加\r\n- サインアップ機能の追加\r\n- マイページ閲覧機能の追加\r\n- ユーザー情報編集機能の追加\r\n- フラッシュメッセージの表示機能の実装\r\n\r\n# WHY\r\ndevise_gemを用いて、protospaceにユーザー管理機能を追加することを通して、大きく以下の4点を学ぶことを目的とする。\r\n- deviseのビューファイルとダウンロードしたビューファイルの取り扱いについて\r\n- プロフィール写真アップロードの実装に関して\r\n- deviseのユーザー情報編集機能に関して\r\n-フラッシュメッセージ機能に関して","created_at":"2016-09-15T03:39:47Z","updated_at":"2016-09-15T12:16:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9d7f2c06c62ce5f321167206f0dd14fdc74eb379","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/takugi/protospace/pulls/4/commits","review_comments_url":"https://api.github.com/repos/takugi/protospace/pulls/4/comments","review_comment_url":"https://api.github.com/repos/takugi/protospace/pulls/comments{/number}","comments_url":"https://api.github.com/repos/takugi/protospace/issues/4/comments","statuses_url":"https://api.github.com/repos/takugi/protospace/statuses/b2da74e149017fa28bb5a74533cb739ebb6ad907","head":{"label":"takugi:add_user_management_function","ref":"add_user_management_function","sha":"b2da74e149017fa28bb5a74533cb739ebb6ad907","user":{"login":"takugi","id":17661500,"avatar_url":"https://avatars.githubusercontent.com/u/17661500?v=3","gravatar_id":"","url":"https://api.github.com/users/takugi","html_url":"https://github.com/takugi","followers_url":"https://api.github.com/users/takugi/followers","following_url":"https://api.github.com/users/takugi/following{/other_user}","gists_url":"https://api.github.com/users/takugi/gists{/gist_id}","starred_url":"https://api.github.com/users/takugi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takugi/subscriptions","organizations_url":"https://api.github.com/users/takugi/orgs","repos_url":"https://api.github.com/users/takugi/repos","events_url":"https://api.github.com/users/takugi/events{/privacy}","received_events_url":"https://api.github.com/users/takugi/received_events","type":"User","site_admin":false},"repo":{"id":68070560,"name":"protospace","full_name":"takugi/protospace","owner":{"login":"takugi","id":17661500,"avatar_url":"https://avatars.githubusercontent.com/u/17661500?v=3","gravatar_id":"","url":"https://api.github.com/users/takugi","html_url":"https://github.com/takugi","followers_url":"https://api.github.com/users/takugi/followers","following_url":"https://api.github.com/users/takugi/following{/other_user}","gists_url":"https://api.github.com/users/takugi/gists{/gist_id}","starred_url":"https://api.github.com/users/takugi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takugi/subscriptions","organizations_url":"https://api.github.com/users/takugi/orgs","repos_url":"https://api.github.com/users/takugi/repos","events_url":"https://api.github.com/users/takugi/events{/privacy}","received_events_url":"https://api.github.com/users/takugi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/takugi/protospace","description":null,"fork":false,"url":"https://api.github.com/repos/takugi/protospace","forks_url":"https://api.github.com/repos/takugi/protospace/forks","keys_url":"https://api.github.com/repos/takugi/protospace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/takugi/protospace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/takugi/protospace/teams","hooks_url":"https://api.github.com/repos/takugi/protospace/hooks","issue_events_url":"https://api.github.com/repos/takugi/protospace/issues/events{/number}","events_url":"https://api.github.com/repos/takugi/protospace/events","assignees_url":"https://api.github.com/repos/takugi/protospace/assignees{/user}","branches_url":"https://api.github.com/repos/takugi/protospace/branches{/branch}","tags_url":"https://api.github.com/repos/takugi/protospace/tags","blobs_url":"https://api.github.com/repos/takugi/protospace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/takugi/protospace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/takugi/protospace/git/refs{/sha}","trees_url":"https://api.github.com/repos/takugi/protospace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/takugi/protospace/statuses/{sha}","languages_url":"https://api.github.com/repos/takugi/protospace/languages","stargazers_url":"https://api.github.com/repos/takugi/protospace/stargazers","contributors_url":"https://api.github.com/repos/takugi/protospace/contributors","subscribers_url":"https://api.github.com/repos/takugi/protospace/subscribers","subscription_url":"https://api.github.com/repos/takugi/protospace/subscription","commits_url":"https://api.github.com/repos/takugi/protospace/commits{/sha}","git_commits_url":"https://api.github.com/repos/takugi/protospace/git/commits{/sha}","comments_url":"https://api.github.com/repos/takugi/protospace/comments{/number}","issue_comment_url":"https://api.github.com/repos/takugi/protospace/issues/comments{/number}","contents_url":"https://api.github.com/repos/takugi/protospace/contents/{+path}","compare_url":"https://api.github.com/repos/takugi/protospace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/takugi/protospace/merges","archive_url":"https://api.github.com/repos/takugi/protospace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/takugi/protospace/downloads","issues_url":"https://api.github.com/repos/takugi/protospace/issues{/number}","pulls_url":"https://api.github.com/repos/takugi/protospace/pulls{/number}","milestones_url":"https://api.github.com/repos/takugi/protospace/milestones{/number}","notifications_url":"https://api.github.com/repos/takugi/protospace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/takugi/protospace/labels{/name}","releases_url":"https://api.github.com/repos/takugi/protospace/releases{/id}","deployments_url":"https://api.github.com/repos/takugi/protospace/deployments","created_at":"2016-09-13T03:23:36Z","updated_at":"2016-09-13T03:26:00Z","pushed_at":"2016-09-15T12:15:41Z","git_url":"git://github.com/takugi/protospace.git","ssh_url":"git@github.com:takugi/protospace.git","clone_url":"https://github.com/takugi/protospace.git","svn_url":"https://github.com/takugi/protospace","homepage":"","size":586,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":0,"default_branch":"master"}},"base":{"label":"takugi:master","ref":"master","sha":"64cee4f2e026ce60b1e2821eefc9050165738ffa","user":{"login":"takugi","id":17661500,"avatar_url":"https://avatars.githubusercontent.com/u/17661500?v=3","gravatar_id":"","url":"https://api.github.com/users/takugi","html_url":"https://github.com/takugi","followers_url":"https://api.github.com/users/takugi/followers","following_url":"https://api.github.com/users/takugi/following{/other_user}","gists_url":"https://api.github.com/users/takugi/gists{/gist_id}","starred_url":"https://api.github.com/users/takugi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takugi/subscriptions","organizations_url":"https://api.github.com/users/takugi/orgs","repos_url":"https://api.github.com/users/takugi/repos","events_url":"https://api.github.com/users/takugi/events{/privacy}","received_events_url":"https://api.github.com/users/takugi/received_events","type":"User","site_admin":false},"repo":{"id":68070560,"name":"protospace","full_name":"takugi/protospace","owner":{"login":"takugi","id":17661500,"avatar_url":"https://avatars.githubusercontent.com/u/17661500?v=3","gravatar_id":"","url":"https://api.github.com/users/takugi","html_url":"https://github.com/takugi","followers_url":"https://api.github.com/users/takugi/followers","following_url":"https://api.github.com/users/takugi/following{/other_user}","gists_url":"https://api.github.com/users/takugi/gists{/gist_id}","starred_url":"https://api.github.com/users/takugi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takugi/subscriptions","organizations_url":"https://api.github.com/users/takugi/orgs","repos_url":"https://api.github.com/users/takugi/repos","events_url":"https://api.github.com/users/takugi/events{/privacy}","received_events_url":"https://api.github.com/users/takugi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/takugi/protospace","description":null,"fork":false,"url":"https://api.github.com/repos/takugi/protospace","forks_url":"https://api.github.com/repos/takugi/protospace/forks","keys_url":"https://api.github.com/repos/takugi/protospace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/takugi/protospace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/takugi/protospace/teams","hooks_url":"https://api.github.com/repos/takugi/protospace/hooks","issue_events_url":"https://api.github.com/repos/takugi/protospace/issues/events{/number}","events_url":"https://api.github.com/repos/takugi/protospace/events","assignees_url":"https://api.github.com/repos/takugi/protospace/assignees{/user}","branches_url":"https://api.github.com/repos/takugi/protospace/branches{/branch}","tags_url":"https://api.github.com/repos/takugi/protospace/tags","blobs_url":"https://api.github.com/repos/takugi/protospace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/takugi/protospace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/takugi/protospace/git/refs{/sha}","trees_url":"https://api.github.com/repos/takugi/protospace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/takugi/protospace/statuses/{sha}","languages_url":"https://api.github.com/repos/takugi/protospace/languages","stargazers_url":"https://api.github.com/repos/takugi/protospace/stargazers","contributors_url":"https://api.github.com/repos/takugi/protospace/contributors","subscribers_url":"https://api.github.com/repos/takugi/protospace/subscribers","subscription_url":"https://api.github.com/repos/takugi/protospace/subscription","commits_url":"https://api.github.com/repos/takugi/protospace/commits{/sha}","git_commits_url":"https://api.github.com/repos/takugi/protospace/git/commits{/sha}","comments_url":"https://api.github.com/repos/takugi/protospace/comments{/number}","issue_comment_url":"https://api.github.com/repos/takugi/protospace/issues/comments{/number}","contents_url":"https://api.github.com/repos/takugi/protospace/contents/{+path}","compare_url":"https://api.github.com/repos/takugi/protospace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/takugi/protospace/merges","archive_url":"https://api.github.com/repos/takugi/protospace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/takugi/protospace/downloads","issues_url":"https://api.github.com/repos/takugi/protospace/issues{/number}","pulls_url":"https://api.github.com/repos/takugi/protospace/pulls{/number}","milestones_url":"https://api.github.com/repos/takugi/protospace/milestones{/number}","notifications_url":"https://api.github.com/repos/takugi/protospace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/takugi/protospace/labels{/name}","releases_url":"https://api.github.com/repos/takugi/protospace/releases{/id}","deployments_url":"https://api.github.com/repos/takugi/protospace/deployments","created_at":"2016-09-13T03:23:36Z","updated_at":"2016-09-13T03:26:00Z","pushed_at":"2016-09-15T12:15:41Z","git_url":"git://github.com/takugi/protospace.git","ssh_url":"git@github.com:takugi/protospace.git","clone_url":"https://github.com/takugi/protospace.git","svn_url":"https://github.com/takugi/protospace","homepage":"","size":586,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/takugi/protospace/pulls/4"},"html":{"href":"https://github.com/takugi/protospace/pull/4"},"issue":{"href":"https://api.github.com/repos/takugi/protospace/issues/4"},"comments":{"href":"https://api.github.com/repos/takugi/protospace/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/takugi/protospace/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/takugi/protospace/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/takugi/protospace/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/takugi/protospace/statuses/b2da74e149017fa28bb5a74533cb739ebb6ad907"}}}}
{"actor":{"display_login":"takugi"}}