{"action":"closed","number":4,"pull_request":{"url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/pulls/4","id":231086188,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMxMDg2MTg4","html_url":"https://github.com/Blacksmoke16/CrSerializer/pull/4","diff_url":"https://github.com/Blacksmoke16/CrSerializer/pull/4.diff","patch_url":"https://github.com/Blacksmoke16/CrSerializer/pull/4.patch","issue_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/issues/4","number":4,"state":"closed","locked":false,"title":"Additional assertions + Better error messages","user":{"login":"Blacksmoke16","id":12136995,"node_id":"MDQ6VXNlcjEyMTM2OTk1","avatar_url":"https://avatars1.githubusercontent.com/u/12136995?v=4","gravatar_id":"","url":"https://api.github.com/users/Blacksmoke16","html_url":"https://github.com/Blacksmoke16","followers_url":"https://api.github.com/users/Blacksmoke16/followers","following_url":"https://api.github.com/users/Blacksmoke16/following{/other_user}","gists_url":"https://api.github.com/users/Blacksmoke16/gists{/gist_id}","starred_url":"https://api.github.com/users/Blacksmoke16/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Blacksmoke16/subscriptions","organizations_url":"https://api.github.com/users/Blacksmoke16/orgs","repos_url":"https://api.github.com/users/Blacksmoke16/repos","events_url":"https://api.github.com/users/Blacksmoke16/events{/privacy}","received_events_url":"https://api.github.com/users/Blacksmoke16/received_events","type":"User","site_admin":false},"body":"# New Assertions\r\n* RegexMatch\r\n* Url\r\n* Uuid\r\n* IP\r\n* Email\r\n* Valid (to validate child sub classes)\r\n\r\n# More explicit assertion annoations\r\n`@[Assert::NotNil]`\r\n\r\n# Better default error messages\r\n`'name' has failed the is_blank_assertion` now becomes `'name' should be blank`\r\nor\r\n`'age' has failed the greater_than_or_equal_assertion` now becomes `'age' should be greater than or equal to 0`\r\n\r\n# Error message place holders:\r\nSee `docs/validations.md#error-messages` for more info","created_at":"2018-11-15T06:48:17Z","updated_at":"2018-11-15T16:25:56Z","closed_at":"2018-11-15T16:25:56Z","merged_at":"2018-11-15T16:25:56Z","merge_commit_sha":"42878ed6f4f08fb878a0f9aed079461d1be55a96","assignee":{"login":"Blacksmoke16","id":12136995,"node_id":"MDQ6VXNlcjEyMTM2OTk1","avatar_url":"https://avatars1.githubusercontent.com/u/12136995?v=4","gravatar_id":"","url":"https://api.github.com/users/Blacksmoke16","html_url":"https://github.com/Blacksmoke16","followers_url":"https://api.github.com/users/Blacksmoke16/followers","following_url":"https://api.github.com/users/Blacksmoke16/following{/other_user}","gists_url":"https://api.github.com/users/Blacksmoke16/gists{/gist_id}","starred_url":"https://api.github.com/users/Blacksmoke16/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Blacksmoke16/subscriptions","organizations_url":"https://api.github.com/users/Blacksmoke16/orgs","repos_url":"https://api.github.com/users/Blacksmoke16/repos","events_url":"https://api.github.com/users/Blacksmoke16/events{/privacy}","received_events_url":"https://api.github.com/users/Blacksmoke16/received_events","type":"User","site_admin":false},"assignees":[{"login":"Blacksmoke16","id":12136995,"node_id":"MDQ6VXNlcjEyMTM2OTk1","avatar_url":"https://avatars1.githubusercontent.com/u/12136995?v=4","gravatar_id":"","url":"https://api.github.com/users/Blacksmoke16","html_url":"https://github.com/Blacksmoke16","followers_url":"https://api.github.com/users/Blacksmoke16/followers","following_url":"https://api.github.com/users/Blacksmoke16/following{/other_user}","gists_url":"https://api.github.com/users/Blacksmoke16/gists{/gist_id}","starred_url":"https://api.github.com/users/Blacksmoke16/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Blacksmoke16/subscriptions","organizations_url":"https://api.github.com/users/Blacksmoke16/orgs","repos_url":"https://api.github.com/users/Blacksmoke16/repos","events_url":"https://api.github.com/users/Blacksmoke16/events{/privacy}","received_events_url":"https://api.github.com/users/Blacksmoke16/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1128909643,"node_id":"MDU6TGFiZWwxMTI4OTA5NjQz","url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/labels/*Breaking%20Change*","name":"*Breaking Change*","color":"ff0000","default":false},{"id":1089494453,"node_id":"MDU6TGFiZWwxMDg5NDk0NDUz","url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"milestone":null,"commits_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/pulls/4/commits","review_comments_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/pulls/4/comments","review_comment_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/issues/4/comments","statuses_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/statuses/17afb527f66ecc7b984c87101c78ae4345afc69f","head":{"label":"Blacksmoke16:additional-assertions","ref":"additional-assertions","sha":"17afb527f66ecc7b984c87101c78ae4345afc69f","user":{"login":"Blacksmoke16","id":12136995,"node_id":"MDQ6VXNlcjEyMTM2OTk1","avatar_url":"https://avatars1.githubusercontent.com/u/12136995?v=4","gravatar_id":"","url":"https://api.github.com/users/Blacksmoke16","html_url":"https://github.com/Blacksmoke16","followers_url":"https://api.github.com/users/Blacksmoke16/followers","following_url":"https://api.github.com/users/Blacksmoke16/following{/other_user}","gists_url":"https://api.github.com/users/Blacksmoke16/gists{/gist_id}","starred_url":"https://api.github.com/users/Blacksmoke16/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Blacksmoke16/subscriptions","organizations_url":"https://api.github.com/users/Blacksmoke16/orgs","repos_url":"https://api.github.com/users/Blacksmoke16/repos","events_url":"https://api.github.com/users/Blacksmoke16/events{/privacy}","received_events_url":"https://api.github.com/users/Blacksmoke16/received_events","type":"User","site_admin":false},"repo":{"id":152839236,"node_id":"MDEwOlJlcG9zaXRvcnkxNTI4MzkyMzY=","name":"CrSerializer","full_name":"Blacksmoke16/CrSerializer","private":false,"owner":{"login":"Blacksmoke16","id":12136995,"node_id":"MDQ6VXNlcjEyMTM2OTk1","avatar_url":"https://avatars1.githubusercontent.com/u/12136995?v=4","gravatar_id":"","url":"https://api.github.com/users/Blacksmoke16","html_url":"https://github.com/Blacksmoke16","followers_url":"https://api.github.com/users/Blacksmoke16/followers","following_url":"https://api.github.com/users/Blacksmoke16/following{/other_user}","gists_url":"https://api.github.com/users/Blacksmoke16/gists{/gist_id}","starred_url":"https://api.github.com/users/Blacksmoke16/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Blacksmoke16/subscriptions","organizations_url":"https://api.github.com/users/Blacksmoke16/orgs","repos_url":"https://api.github.com/users/Blacksmoke16/repos","events_url":"https://api.github.com/users/Blacksmoke16/events{/privacy}","received_events_url":"https://api.github.com/users/Blacksmoke16/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Blacksmoke16/CrSerializer","description":"Extensible annotation based serialization/deserialization/validation library for Crystal","fork":false,"url":"https://api.github.com/repos/Blacksmoke16/CrSerializer","forks_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/forks","keys_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/teams","hooks_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/hooks","issue_events_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/issues/events{/number}","events_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/events","assignees_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/assignees{/user}","branches_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/branches{/branch}","tags_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/tags","blobs_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/git/refs{/sha}","trees_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/statuses/{sha}","languages_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/languages","stargazers_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/stargazers","contributors_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/contributors","subscribers_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/subscribers","subscription_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/subscription","commits_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/commits{/sha}","git_commits_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/git/commits{/sha}","comments_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/comments{/number}","issue_comment_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/issues/comments{/number}","contents_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/contents/{+path}","compare_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/merges","archive_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/downloads","issues_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/issues{/number}","pulls_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/pulls{/number}","milestones_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/milestones{/number}","notifications_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/labels{/name}","releases_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/releases{/id}","deployments_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/deployments","created_at":"2018-10-13T05:40:14Z","updated_at":"2018-11-15T03:30:02Z","pushed_at":"2018-11-15T16:25:56Z","git_url":"git://github.com/Blacksmoke16/CrSerializer.git","ssh_url":"git@github.com:Blacksmoke16/CrSerializer.git","clone_url":"https://github.com/Blacksmoke16/CrSerializer.git","svn_url":"https://github.com/Blacksmoke16/CrSerializer","homepage":"https://blacksmoke16.github.io/CrSerializer/","size":145,"stargazers_count":12,"watchers_count":12,"language":"Crystal","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":0,"watchers":12,"default_branch":"master"}},"base":{"label":"Blacksmoke16:master","ref":"master","sha":"ad781b71663def0ef3fa01784910341ac3f486bc","user":{"login":"Blacksmoke16","id":12136995,"node_id":"MDQ6VXNlcjEyMTM2OTk1","avatar_url":"https://avatars1.githubusercontent.com/u/12136995?v=4","gravatar_id":"","url":"https://api.github.com/users/Blacksmoke16","html_url":"https://github.com/Blacksmoke16","followers_url":"https://api.github.com/users/Blacksmoke16/followers","following_url":"https://api.github.com/users/Blacksmoke16/following{/other_user}","gists_url":"https://api.github.com/users/Blacksmoke16/gists{/gist_id}","starred_url":"https://api.github.com/users/Blacksmoke16/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Blacksmoke16/subscriptions","organizations_url":"https://api.github.com/users/Blacksmoke16/orgs","repos_url":"https://api.github.com/users/Blacksmoke16/repos","events_url":"https://api.github.com/users/Blacksmoke16/events{/privacy}","received_events_url":"https://api.github.com/users/Blacksmoke16/received_events","type":"User","site_admin":false},"repo":{"id":152839236,"node_id":"MDEwOlJlcG9zaXRvcnkxNTI4MzkyMzY=","name":"CrSerializer","full_name":"Blacksmoke16/CrSerializer","private":false,"owner":{"login":"Blacksmoke16","id":12136995,"node_id":"MDQ6VXNlcjEyMTM2OTk1","avatar_url":"https://avatars1.githubusercontent.com/u/12136995?v=4","gravatar_id":"","url":"https://api.github.com/users/Blacksmoke16","html_url":"https://github.com/Blacksmoke16","followers_url":"https://api.github.com/users/Blacksmoke16/followers","following_url":"https://api.github.com/users/Blacksmoke16/following{/other_user}","gists_url":"https://api.github.com/users/Blacksmoke16/gists{/gist_id}","starred_url":"https://api.github.com/users/Blacksmoke16/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Blacksmoke16/subscriptions","organizations_url":"https://api.github.com/users/Blacksmoke16/orgs","repos_url":"https://api.github.com/users/Blacksmoke16/repos","events_url":"https://api.github.com/users/Blacksmoke16/events{/privacy}","received_events_url":"https://api.github.com/users/Blacksmoke16/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Blacksmoke16/CrSerializer","description":"Extensible annotation based serialization/deserialization/validation library for Crystal","fork":false,"url":"https://api.github.com/repos/Blacksmoke16/CrSerializer","forks_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/forks","keys_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/teams","hooks_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/hooks","issue_events_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/issues/events{/number}","events_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/events","assignees_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/assignees{/user}","branches_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/branches{/branch}","tags_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/tags","blobs_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/git/refs{/sha}","trees_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/statuses/{sha}","languages_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/languages","stargazers_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/stargazers","contributors_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/contributors","subscribers_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/subscribers","subscription_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/subscription","commits_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/commits{/sha}","git_commits_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/git/commits{/sha}","comments_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/comments{/number}","issue_comment_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/issues/comments{/number}","contents_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/contents/{+path}","compare_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/merges","archive_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/downloads","issues_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/issues{/number}","pulls_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/pulls{/number}","milestones_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/milestones{/number}","notifications_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/labels{/name}","releases_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/releases{/id}","deployments_url":"https://api.github.com/repos/Blacksmoke16/CrSerializer/deployments","created_at":"2018-10-13T05:40:14Z","updated_at":"2018-11-15T03:30:02Z","pushed_at":"2018-11-15T16:25:56Z","git_url":"git://github.com/Blacksmoke16/CrSerializer.git","ssh_url":"git@github.com:Blacksmoke16/CrSerializer.git","clone_url":"https://github.com/Blacksmoke16/CrSerializer.git","svn_url":"https://github.com/Blacksmoke16/CrSerializer","homepage":"https://blacksmoke16.github.io/CrSerializer/","size":145,"stargazers_count":12,"watchers_count":12,"language":"Crystal","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":0,"watchers":12,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Blacksmoke16/CrSerializer/pulls/4"},"html":{"href":"https://github.com/Blacksmoke16/CrSerializer/pull/4"},"issue":{"href":"https://api.github.com/repos/Blacksmoke16/CrSerializer/issues/4"},"comments":{"href":"https://api.github.com/repos/Blacksmoke16/CrSerializer/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/Blacksmoke16/CrSerializer/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/Blacksmoke16/CrSerializer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Blacksmoke16/CrSerializer/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/Blacksmoke16/CrSerializer/statuses/17afb527f66ecc7b984c87101c78ae4345afc69f"}},"author_association":"OWNER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"Blacksmoke16","id":12136995,"node_id":"MDQ6VXNlcjEyMTM2OTk1","avatar_url":"https://avatars1.githubusercontent.com/u/12136995?v=4","gravatar_id":"","url":"https://api.github.com/users/Blacksmoke16","html_url":"https://github.com/Blacksmoke16","followers_url":"https://api.github.com/users/Blacksmoke16/followers","following_url":"https://api.github.com/users/Blacksmoke16/following{/other_user}","gists_url":"https://api.github.com/users/Blacksmoke16/gists{/gist_id}","starred_url":"https://api.github.com/users/Blacksmoke16/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Blacksmoke16/subscriptions","organizations_url":"https://api.github.com/users/Blacksmoke16/orgs","repos_url":"https://api.github.com/users/Blacksmoke16/repos","events_url":"https://api.github.com/users/Blacksmoke16/events{/privacy}","received_events_url":"https://api.github.com/users/Blacksmoke16/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":10,"additions":1890,"deletions":394,"changed_files":59}}
{"actor":{"display_login":"Blacksmoke16"}}