{"action":"created","comment":{"url":"https://api.github.com/repos/apohllo/rocznik/pulls/comments/54969771","id":54969771,"diff_hunk":"@@ -1,6 +1,6 @@\n class Authorship < ActiveRecord::Base\n   validates :person, presence: true, uniqueness: { scope: :submission_id }\n-\n+  validates :role, presence: true","path":"app/models/authorship.rb","position":4,"original_position":4,"commit_id":"db0f41c90ed02270ca9c026c225f94444e48577b","original_commit_id":"db0f41c90ed02270ca9c026c225f94444e48577b","user":{"login":"apohllo","id":40543,"avatar_url":"https://avatars.githubusercontent.com/u/40543?v=3","gravatar_id":"","url":"https://api.github.com/users/apohllo","html_url":"https://github.com/apohllo","followers_url":"https://api.github.com/users/apohllo/followers","following_url":"https://api.github.com/users/apohllo/following{/other_user}","gists_url":"https://api.github.com/users/apohllo/gists{/gist_id}","starred_url":"https://api.github.com/users/apohllo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apohllo/subscriptions","organizations_url":"https://api.github.com/users/apohllo/orgs","repos_url":"https://api.github.com/users/apohllo/repos","events_url":"https://api.github.com/users/apohllo/events{/privacy}","received_events_url":"https://api.github.com/users/apohllo/received_events","type":"User","site_admin":false},"body":"Proszę to usunąć - to rozwiąże problem testów.","created_at":"2016-03-03T23:55:06Z","updated_at":"2016-03-03T23:55:06Z","html_url":"https://github.com/apohllo/rocznik/pull/361#discussion_r54969771","pull_request_url":"https://api.github.com/repos/apohllo/rocznik/pulls/361","_links":{"self":{"href":"https://api.github.com/repos/apohllo/rocznik/pulls/comments/54969771"},"html":{"href":"https://github.com/apohllo/rocznik/pull/361#discussion_r54969771"},"pull_request":{"href":"https://api.github.com/repos/apohllo/rocznik/pulls/361"}}},"pull_request":{"url":"https://api.github.com/repos/apohllo/rocznik/pulls/361","id":60032376,"html_url":"https://github.com/apohllo/rocznik/pull/361","diff_url":"https://github.com/apohllo/rocznik/pull/361.diff","patch_url":"https://github.com/apohllo/rocznik/pull/361.patch","issue_url":"https://api.github.com/repos/apohllo/rocznik/issues/361","number":361,"state":"open","locked":false,"title":"68-rola-autora","user":{"login":"chibika","id":10631255,"avatar_url":"https://avatars.githubusercontent.com/u/10631255?v=3","gravatar_id":"","url":"https://api.github.com/users/chibika","html_url":"https://github.com/chibika","followers_url":"https://api.github.com/users/chibika/followers","following_url":"https://api.github.com/users/chibika/following{/other_user}","gists_url":"https://api.github.com/users/chibika/gists{/gist_id}","starred_url":"https://api.github.com/users/chibika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chibika/subscriptions","organizations_url":"https://api.github.com/users/chibika/orgs","repos_url":"https://api.github.com/users/chibika/repos","events_url":"https://api.github.com/users/chibika/events{/privacy}","received_events_url":"https://api.github.com/users/chibika/received_events","type":"User","site_admin":false},"body":"Jeszcze nie zaczęłam, czy mógłby mi Pan jeszcze raz wyjaśnić jak rola autora ma być przyporządkowana do powiązania autora z danym artykułem? Teraz zrobiłam ją po prostu jako jeden z atrybutów zgłoszenia, ale to chyba ma być jakoś inaczej?\r\n#68 ","created_at":"2016-02-20T01:44:27Z","updated_at":"2016-03-03T23:55:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f746fb9c930ae196557b3cad249b9101ff54eb6d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apohllo/rocznik/pulls/361/commits","review_comments_url":"https://api.github.com/repos/apohllo/rocznik/pulls/361/comments","review_comment_url":"https://api.github.com/repos/apohllo/rocznik/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apohllo/rocznik/issues/361/comments","statuses_url":"https://api.github.com/repos/apohllo/rocznik/statuses/db0f41c90ed02270ca9c026c225f94444e48577b","head":{"label":"chibika:68-rola-autora","ref":"68-rola-autora","sha":"db0f41c90ed02270ca9c026c225f94444e48577b","user":{"login":"chibika","id":10631255,"avatar_url":"https://avatars.githubusercontent.com/u/10631255?v=3","gravatar_id":"","url":"https://api.github.com/users/chibika","html_url":"https://github.com/chibika","followers_url":"https://api.github.com/users/chibika/followers","following_url":"https://api.github.com/users/chibika/following{/other_user}","gists_url":"https://api.github.com/users/chibika/gists{/gist_id}","starred_url":"https://api.github.com/users/chibika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chibika/subscriptions","organizations_url":"https://api.github.com/users/chibika/orgs","repos_url":"https://api.github.com/users/chibika/repos","events_url":"https://api.github.com/users/chibika/events{/privacy}","received_events_url":"https://api.github.com/users/chibika/received_events","type":"User","site_admin":false},"repo":{"id":47632393,"name":"rocznik","full_name":"chibika/rocznik","owner":{"login":"chibika","id":10631255,"avatar_url":"https://avatars.githubusercontent.com/u/10631255?v=3","gravatar_id":"","url":"https://api.github.com/users/chibika","html_url":"https://github.com/chibika","followers_url":"https://api.github.com/users/chibika/followers","following_url":"https://api.github.com/users/chibika/following{/other_user}","gists_url":"https://api.github.com/users/chibika/gists{/gist_id}","starred_url":"https://api.github.com/users/chibika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chibika/subscriptions","organizations_url":"https://api.github.com/users/chibika/orgs","repos_url":"https://api.github.com/users/chibika/repos","events_url":"https://api.github.com/users/chibika/events{/privacy}","received_events_url":"https://api.github.com/users/chibika/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chibika/rocznik","description":"Scientific article submission system","fork":true,"url":"https://api.github.com/repos/chibika/rocznik","forks_url":"https://api.github.com/repos/chibika/rocznik/forks","keys_url":"https://api.github.com/repos/chibika/rocznik/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chibika/rocznik/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chibika/rocznik/teams","hooks_url":"https://api.github.com/repos/chibika/rocznik/hooks","issue_events_url":"https://api.github.com/repos/chibika/rocznik/issues/events{/number}","events_url":"https://api.github.com/repos/chibika/rocznik/events","assignees_url":"https://api.github.com/repos/chibika/rocznik/assignees{/user}","branches_url":"https://api.github.com/repos/chibika/rocznik/branches{/branch}","tags_url":"https://api.github.com/repos/chibika/rocznik/tags","blobs_url":"https://api.github.com/repos/chibika/rocznik/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chibika/rocznik/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chibika/rocznik/git/refs{/sha}","trees_url":"https://api.github.com/repos/chibika/rocznik/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chibika/rocznik/statuses/{sha}","languages_url":"https://api.github.com/repos/chibika/rocznik/languages","stargazers_url":"https://api.github.com/repos/chibika/rocznik/stargazers","contributors_url":"https://api.github.com/repos/chibika/rocznik/contributors","subscribers_url":"https://api.github.com/repos/chibika/rocznik/subscribers","subscription_url":"https://api.github.com/repos/chibika/rocznik/subscription","commits_url":"https://api.github.com/repos/chibika/rocznik/commits{/sha}","git_commits_url":"https://api.github.com/repos/chibika/rocznik/git/commits{/sha}","comments_url":"https://api.github.com/repos/chibika/rocznik/comments{/number}","issue_comment_url":"https://api.github.com/repos/chibika/rocznik/issues/comments{/number}","contents_url":"https://api.github.com/repos/chibika/rocznik/contents/{+path}","compare_url":"https://api.github.com/repos/chibika/rocznik/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chibika/rocznik/merges","archive_url":"https://api.github.com/repos/chibika/rocznik/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chibika/rocznik/downloads","issues_url":"https://api.github.com/repos/chibika/rocznik/issues{/number}","pulls_url":"https://api.github.com/repos/chibika/rocznik/pulls{/number}","milestones_url":"https://api.github.com/repos/chibika/rocznik/milestones{/number}","notifications_url":"https://api.github.com/repos/chibika/rocznik/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chibika/rocznik/labels{/name}","releases_url":"https://api.github.com/repos/chibika/rocznik/releases{/id}","deployments_url":"https://api.github.com/repos/chibika/rocznik/deployments","created_at":"2015-12-08T15:57:15Z","updated_at":"2015-12-08T15:57:16Z","pushed_at":"2016-03-03T21:32:27Z","git_url":"git://github.com/chibika/rocznik.git","ssh_url":"git@github.com:chibika/rocznik.git","clone_url":"https://github.com/chibika/rocznik.git","svn_url":"https://github.com/chibika/rocznik","homepage":"http://rocznik.kognitywistyka.eu","size":4509,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"apohllo:master","ref":"master","sha":"840ba0782e842abfd974ec55794a85e3672e2b63","user":{"login":"apohllo","id":40543,"avatar_url":"https://avatars.githubusercontent.com/u/40543?v=3","gravatar_id":"","url":"https://api.github.com/users/apohllo","html_url":"https://github.com/apohllo","followers_url":"https://api.github.com/users/apohllo/followers","following_url":"https://api.github.com/users/apohllo/following{/other_user}","gists_url":"https://api.github.com/users/apohllo/gists{/gist_id}","starred_url":"https://api.github.com/users/apohllo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apohllo/subscriptions","organizations_url":"https://api.github.com/users/apohllo/orgs","repos_url":"https://api.github.com/users/apohllo/repos","events_url":"https://api.github.com/users/apohllo/events{/privacy}","received_events_url":"https://api.github.com/users/apohllo/received_events","type":"User","site_admin":false},"repo":{"id":41358645,"name":"rocznik","full_name":"apohllo/rocznik","owner":{"login":"apohllo","id":40543,"avatar_url":"https://avatars.githubusercontent.com/u/40543?v=3","gravatar_id":"","url":"https://api.github.com/users/apohllo","html_url":"https://github.com/apohllo","followers_url":"https://api.github.com/users/apohllo/followers","following_url":"https://api.github.com/users/apohllo/following{/other_user}","gists_url":"https://api.github.com/users/apohllo/gists{/gist_id}","starred_url":"https://api.github.com/users/apohllo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apohllo/subscriptions","organizations_url":"https://api.github.com/users/apohllo/orgs","repos_url":"https://api.github.com/users/apohllo/repos","events_url":"https://api.github.com/users/apohllo/events{/privacy}","received_events_url":"https://api.github.com/users/apohllo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/apohllo/rocznik","description":"Scientific article submission system","fork":false,"url":"https://api.github.com/repos/apohllo/rocznik","forks_url":"https://api.github.com/repos/apohllo/rocznik/forks","keys_url":"https://api.github.com/repos/apohllo/rocznik/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apohllo/rocznik/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apohllo/rocznik/teams","hooks_url":"https://api.github.com/repos/apohllo/rocznik/hooks","issue_events_url":"https://api.github.com/repos/apohllo/rocznik/issues/events{/number}","events_url":"https://api.github.com/repos/apohllo/rocznik/events","assignees_url":"https://api.github.com/repos/apohllo/rocznik/assignees{/user}","branches_url":"https://api.github.com/repos/apohllo/rocznik/branches{/branch}","tags_url":"https://api.github.com/repos/apohllo/rocznik/tags","blobs_url":"https://api.github.com/repos/apohllo/rocznik/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apohllo/rocznik/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apohllo/rocznik/git/refs{/sha}","trees_url":"https://api.github.com/repos/apohllo/rocznik/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apohllo/rocznik/statuses/{sha}","languages_url":"https://api.github.com/repos/apohllo/rocznik/languages","stargazers_url":"https://api.github.com/repos/apohllo/rocznik/stargazers","contributors_url":"https://api.github.com/repos/apohllo/rocznik/contributors","subscribers_url":"https://api.github.com/repos/apohllo/rocznik/subscribers","subscription_url":"https://api.github.com/repos/apohllo/rocznik/subscription","commits_url":"https://api.github.com/repos/apohllo/rocznik/commits{/sha}","git_commits_url":"https://api.github.com/repos/apohllo/rocznik/git/commits{/sha}","comments_url":"https://api.github.com/repos/apohllo/rocznik/comments{/number}","issue_comment_url":"https://api.github.com/repos/apohllo/rocznik/issues/comments{/number}","contents_url":"https://api.github.com/repos/apohllo/rocznik/contents/{+path}","compare_url":"https://api.github.com/repos/apohllo/rocznik/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apohllo/rocznik/merges","archive_url":"https://api.github.com/repos/apohllo/rocznik/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apohllo/rocznik/downloads","issues_url":"https://api.github.com/repos/apohllo/rocznik/issues{/number}","pulls_url":"https://api.github.com/repos/apohllo/rocznik/pulls{/number}","milestones_url":"https://api.github.com/repos/apohllo/rocznik/milestones{/number}","notifications_url":"https://api.github.com/repos/apohllo/rocznik/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apohllo/rocznik/labels{/name}","releases_url":"https://api.github.com/repos/apohllo/rocznik/releases{/id}","deployments_url":"https://api.github.com/repos/apohllo/rocznik/deployments","created_at":"2015-08-25T10:54:21Z","updated_at":"2016-01-11T23:12:33Z","pushed_at":"2016-03-03T23:54:46Z","git_url":"git://github.com/apohllo/rocznik.git","ssh_url":"git@github.com:apohllo/rocznik.git","clone_url":"https://github.com/apohllo/rocznik.git","svn_url":"https://github.com/apohllo/rocznik","homepage":"http://rocznik.kognitywistyka.eu","size":8585,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":50,"mirror_url":null,"open_issues_count":77,"forks":50,"open_issues":77,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apohllo/rocznik/pulls/361"},"html":{"href":"https://github.com/apohllo/rocznik/pull/361"},"issue":{"href":"https://api.github.com/repos/apohllo/rocznik/issues/361"},"comments":{"href":"https://api.github.com/repos/apohllo/rocznik/issues/361/comments"},"review_comments":{"href":"https://api.github.com/repos/apohllo/rocznik/pulls/361/comments"},"review_comment":{"href":"https://api.github.com/repos/apohllo/rocznik/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apohllo/rocznik/pulls/361/commits"},"statuses":{"href":"https://api.github.com/repos/apohllo/rocznik/statuses/db0f41c90ed02270ca9c026c225f94444e48577b"}}}}