{"action":"created","comment":{"url":"https://api.github.com/repos/apohllo/rocznik/pulls/comments/53970936","id":53970936,"diff_hunk":"@@ -41,6 +41,7 @@ class Person < ActiveRecord::Base\n   validates :sex, presence: true, inclusion: SEX_MAPPING.keys\n   validates :reviewer_status, allow_blank: true, inclusion: REVIEWER_MAP.keys\n   validate :roles_inclusion\n+  validates_format_of :degree, with: /(lic\\.|inż\\.|((mgr\\s?(inż\\.)?)|((prof\\.\\s?)?(dr\\s?)(hab\\.\\s?)?(inż\\.)?)))/, on: :create","path":"app/models/person.rb","position":4,"original_position":4,"commit_id":"3d933ad55589be9f2866bd7f433d93a59d16139d","original_commit_id":"3d933ad55589be9f2866bd7f433d93a59d16139d","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":"Zmienić na `validates :degree, format: {with: /.../}, allow_blank: true`","created_at":"2016-02-24T17:07:13Z","updated_at":"2016-02-24T17:07:13Z","html_url":"https://github.com/apohllo/rocznik/pull/392#discussion_r53970936","pull_request_url":"https://api.github.com/repos/apohllo/rocznik/pulls/392","_links":{"self":{"href":"https://api.github.com/repos/apohllo/rocznik/pulls/comments/53970936"},"html":{"href":"https://github.com/apohllo/rocznik/pull/392#discussion_r53970936"},"pull_request":{"href":"https://api.github.com/repos/apohllo/rocznik/pulls/392"}}},"pull_request":{"url":"https://api.github.com/repos/apohllo/rocznik/pulls/392","id":60536363,"html_url":"https://github.com/apohllo/rocznik/pull/392","diff_url":"https://github.com/apohllo/rocznik/pull/392.diff","patch_url":"https://github.com/apohllo/rocznik/pull/392.patch","issue_url":"https://api.github.com/repos/apohllo/rocznik/issues/392","number":392,"state":"open","locked":false,"title":"78 - Dodać wyrażenie regularne weryfikujące tytuł/stopień naukowy osoby","user":{"login":"jaworska","id":11856530,"avatar_url":"https://avatars.githubusercontent.com/u/11856530?v=3","gravatar_id":"","url":"https://api.github.com/users/jaworska","html_url":"https://github.com/jaworska","followers_url":"https://api.github.com/users/jaworska/followers","following_url":"https://api.github.com/users/jaworska/following{/other_user}","gists_url":"https://api.github.com/users/jaworska/gists{/gist_id}","starred_url":"https://api.github.com/users/jaworska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaworska/subscriptions","organizations_url":"https://api.github.com/users/jaworska/orgs","repos_url":"https://api.github.com/users/jaworska/repos","events_url":"https://api.github.com/users/jaworska/events{/privacy}","received_events_url":"https://api.github.com/users/jaworska/received_events","type":"User","site_admin":false},"body":"W ten sposób? \r\nCzy coś jeszcze powinnam zrobić? \r\n#78","created_at":"2016-02-24T16:28:10Z","updated_at":"2016-02-24T17:07:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7b698d8dd4bad26ed2fbd06137d520068fad3fc6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/apohllo/rocznik/pulls/392/commits","review_comments_url":"https://api.github.com/repos/apohllo/rocznik/pulls/392/comments","review_comment_url":"https://api.github.com/repos/apohllo/rocznik/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apohllo/rocznik/issues/392/comments","statuses_url":"https://api.github.com/repos/apohllo/rocznik/statuses/3d933ad55589be9f2866bd7f433d93a59d16139d","head":{"label":"jaworska:78-wyrazenie-regularne-weryfikujace-tytul/stopien-naukowy","ref":"78-wyrazenie-regularne-weryfikujace-tytul/stopien-naukowy","sha":"3d933ad55589be9f2866bd7f433d93a59d16139d","user":{"login":"jaworska","id":11856530,"avatar_url":"https://avatars.githubusercontent.com/u/11856530?v=3","gravatar_id":"","url":"https://api.github.com/users/jaworska","html_url":"https://github.com/jaworska","followers_url":"https://api.github.com/users/jaworska/followers","following_url":"https://api.github.com/users/jaworska/following{/other_user}","gists_url":"https://api.github.com/users/jaworska/gists{/gist_id}","starred_url":"https://api.github.com/users/jaworska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaworska/subscriptions","organizations_url":"https://api.github.com/users/jaworska/orgs","repos_url":"https://api.github.com/users/jaworska/repos","events_url":"https://api.github.com/users/jaworska/events{/privacy}","received_events_url":"https://api.github.com/users/jaworska/received_events","type":"User","site_admin":false},"repo":{"id":47695625,"name":"rocznik","full_name":"jaworska/rocznik","owner":{"login":"jaworska","id":11856530,"avatar_url":"https://avatars.githubusercontent.com/u/11856530?v=3","gravatar_id":"","url":"https://api.github.com/users/jaworska","html_url":"https://github.com/jaworska","followers_url":"https://api.github.com/users/jaworska/followers","following_url":"https://api.github.com/users/jaworska/following{/other_user}","gists_url":"https://api.github.com/users/jaworska/gists{/gist_id}","starred_url":"https://api.github.com/users/jaworska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaworska/subscriptions","organizations_url":"https://api.github.com/users/jaworska/orgs","repos_url":"https://api.github.com/users/jaworska/repos","events_url":"https://api.github.com/users/jaworska/events{/privacy}","received_events_url":"https://api.github.com/users/jaworska/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jaworska/rocznik","description":"Scientific article submission system","fork":true,"url":"https://api.github.com/repos/jaworska/rocznik","forks_url":"https://api.github.com/repos/jaworska/rocznik/forks","keys_url":"https://api.github.com/repos/jaworska/rocznik/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jaworska/rocznik/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jaworska/rocznik/teams","hooks_url":"https://api.github.com/repos/jaworska/rocznik/hooks","issue_events_url":"https://api.github.com/repos/jaworska/rocznik/issues/events{/number}","events_url":"https://api.github.com/repos/jaworska/rocznik/events","assignees_url":"https://api.github.com/repos/jaworska/rocznik/assignees{/user}","branches_url":"https://api.github.com/repos/jaworska/rocznik/branches{/branch}","tags_url":"https://api.github.com/repos/jaworska/rocznik/tags","blobs_url":"https://api.github.com/repos/jaworska/rocznik/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jaworska/rocznik/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jaworska/rocznik/git/refs{/sha}","trees_url":"https://api.github.com/repos/jaworska/rocznik/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jaworska/rocznik/statuses/{sha}","languages_url":"https://api.github.com/repos/jaworska/rocznik/languages","stargazers_url":"https://api.github.com/repos/jaworska/rocznik/stargazers","contributors_url":"https://api.github.com/repos/jaworska/rocznik/contributors","subscribers_url":"https://api.github.com/repos/jaworska/rocznik/subscribers","subscription_url":"https://api.github.com/repos/jaworska/rocznik/subscription","commits_url":"https://api.github.com/repos/jaworska/rocznik/commits{/sha}","git_commits_url":"https://api.github.com/repos/jaworska/rocznik/git/commits{/sha}","comments_url":"https://api.github.com/repos/jaworska/rocznik/comments{/number}","issue_comment_url":"https://api.github.com/repos/jaworska/rocznik/issues/comments{/number}","contents_url":"https://api.github.com/repos/jaworska/rocznik/contents/{+path}","compare_url":"https://api.github.com/repos/jaworska/rocznik/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jaworska/rocznik/merges","archive_url":"https://api.github.com/repos/jaworska/rocznik/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jaworska/rocznik/downloads","issues_url":"https://api.github.com/repos/jaworska/rocznik/issues{/number}","pulls_url":"https://api.github.com/repos/jaworska/rocznik/pulls{/number}","milestones_url":"https://api.github.com/repos/jaworska/rocznik/milestones{/number}","notifications_url":"https://api.github.com/repos/jaworska/rocznik/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jaworska/rocznik/labels{/name}","releases_url":"https://api.github.com/repos/jaworska/rocznik/releases{/id}","deployments_url":"https://api.github.com/repos/jaworska/rocznik/deployments","created_at":"2015-12-09T14:18:00Z","updated_at":"2015-12-09T14:18:01Z","pushed_at":"2016-02-24T16:22:33Z","git_url":"git://github.com/jaworska/rocznik.git","ssh_url":"git@github.com:jaworska/rocznik.git","clone_url":"https://github.com/jaworska/rocznik.git","svn_url":"https://github.com/jaworska/rocznik","homepage":"http://rocznik.kognitywistyka.eu","size":3951,"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":"3784b84ae9726b39d1fbe85dfa8358d0f439d16b","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-02-24T16:28:10Z","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":4356,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":49,"mirror_url":null,"open_issues_count":107,"forks":49,"open_issues":107,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apohllo/rocznik/pulls/392"},"html":{"href":"https://github.com/apohllo/rocznik/pull/392"},"issue":{"href":"https://api.github.com/repos/apohllo/rocznik/issues/392"},"comments":{"href":"https://api.github.com/repos/apohllo/rocznik/issues/392/comments"},"review_comments":{"href":"https://api.github.com/repos/apohllo/rocznik/pulls/392/comments"},"review_comment":{"href":"https://api.github.com/repos/apohllo/rocznik/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apohllo/rocznik/pulls/392/commits"},"statuses":{"href":"https://api.github.com/repos/apohllo/rocznik/statuses/3d933ad55589be9f2866bd7f433d93a59d16139d"}}}}