{"action":"closed","number":93,"pull_request":{"url":"https://api.github.com/repos/hanami/validations/pulls/93","id":62732664,"html_url":"https://github.com/hanami/validations/pull/93","diff_url":"https://github.com/hanami/validations/pull/93.diff","patch_url":"https://github.com/hanami/validations/pull/93.patch","issue_url":"https://api.github.com/repos/hanami/validations/issues/93","number":93,"state":"closed","locked":false,"title":"Added custom validations documentation","user":{"login":"vladfaust","id":7955682,"avatar_url":"https://avatars.githubusercontent.com/u/7955682?v=3","gravatar_id":"","url":"https://api.github.com/users/vladfaust","html_url":"https://github.com/vladfaust","followers_url":"https://api.github.com/users/vladfaust/followers","following_url":"https://api.github.com/users/vladfaust/following{/other_user}","gists_url":"https://api.github.com/users/vladfaust/gists{/gist_id}","starred_url":"https://api.github.com/users/vladfaust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladfaust/subscriptions","organizations_url":"https://api.github.com/users/vladfaust/orgs","repos_url":"https://api.github.com/users/vladfaust/repos","events_url":"https://api.github.com/users/vladfaust/events{/privacy}","received_events_url":"https://api.github.com/users/vladfaust/received_events","type":"User","site_admin":false},"body":"I recently got into a problem of validating if a number is positive. There was nothing in documentation, so I've found a solution myself (really by looking at Sequel README :smile:).","created_at":"2016-03-14T11:21:40Z","updated_at":"2016-03-14T14:50:47Z","closed_at":"2016-03-14T14:50:47Z","merged_at":null,"merge_commit_sha":"8b49de5e7ce119be68ba98f24df3cacb536c6439","assignee":{"login":"jodosha","id":5089,"avatar_url":"https://avatars.githubusercontent.com/u/5089?v=3","gravatar_id":"","url":"https://api.github.com/users/jodosha","html_url":"https://github.com/jodosha","followers_url":"https://api.github.com/users/jodosha/followers","following_url":"https://api.github.com/users/jodosha/following{/other_user}","gists_url":"https://api.github.com/users/jodosha/gists{/gist_id}","starred_url":"https://api.github.com/users/jodosha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jodosha/subscriptions","organizations_url":"https://api.github.com/users/jodosha/orgs","repos_url":"https://api.github.com/users/jodosha/repos","events_url":"https://api.github.com/users/jodosha/events{/privacy}","received_events_url":"https://api.github.com/users/jodosha/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/hanami/validations/pulls/93/commits","review_comments_url":"https://api.github.com/repos/hanami/validations/pulls/93/comments","review_comment_url":"https://api.github.com/repos/hanami/validations/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hanami/validations/issues/93/comments","statuses_url":"https://api.github.com/repos/hanami/validations/statuses/9f67b480a494f752f07ae07fbbbf1c736d9eefa4","head":{"label":"vladfaust:patch-1","ref":"patch-1","sha":"9f67b480a494f752f07ae07fbbbf1c736d9eefa4","user":{"login":"vladfaust","id":7955682,"avatar_url":"https://avatars.githubusercontent.com/u/7955682?v=3","gravatar_id":"","url":"https://api.github.com/users/vladfaust","html_url":"https://github.com/vladfaust","followers_url":"https://api.github.com/users/vladfaust/followers","following_url":"https://api.github.com/users/vladfaust/following{/other_user}","gists_url":"https://api.github.com/users/vladfaust/gists{/gist_id}","starred_url":"https://api.github.com/users/vladfaust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladfaust/subscriptions","organizations_url":"https://api.github.com/users/vladfaust/orgs","repos_url":"https://api.github.com/users/vladfaust/repos","events_url":"https://api.github.com/users/vladfaust/events{/privacy}","received_events_url":"https://api.github.com/users/vladfaust/received_events","type":"User","site_admin":false},"repo":{"id":53848495,"name":"validations","full_name":"vladfaust/validations","owner":{"login":"vladfaust","id":7955682,"avatar_url":"https://avatars.githubusercontent.com/u/7955682?v=3","gravatar_id":"","url":"https://api.github.com/users/vladfaust","html_url":"https://github.com/vladfaust","followers_url":"https://api.github.com/users/vladfaust/followers","following_url":"https://api.github.com/users/vladfaust/following{/other_user}","gists_url":"https://api.github.com/users/vladfaust/gists{/gist_id}","starred_url":"https://api.github.com/users/vladfaust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vladfaust/subscriptions","organizations_url":"https://api.github.com/users/vladfaust/orgs","repos_url":"https://api.github.com/users/vladfaust/repos","events_url":"https://api.github.com/users/vladfaust/events{/privacy}","received_events_url":"https://api.github.com/users/vladfaust/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vladfaust/validations","description":"Validation mixin for Ruby objects","fork":true,"url":"https://api.github.com/repos/vladfaust/validations","forks_url":"https://api.github.com/repos/vladfaust/validations/forks","keys_url":"https://api.github.com/repos/vladfaust/validations/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vladfaust/validations/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vladfaust/validations/teams","hooks_url":"https://api.github.com/repos/vladfaust/validations/hooks","issue_events_url":"https://api.github.com/repos/vladfaust/validations/issues/events{/number}","events_url":"https://api.github.com/repos/vladfaust/validations/events","assignees_url":"https://api.github.com/repos/vladfaust/validations/assignees{/user}","branches_url":"https://api.github.com/repos/vladfaust/validations/branches{/branch}","tags_url":"https://api.github.com/repos/vladfaust/validations/tags","blobs_url":"https://api.github.com/repos/vladfaust/validations/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vladfaust/validations/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vladfaust/validations/git/refs{/sha}","trees_url":"https://api.github.com/repos/vladfaust/validations/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vladfaust/validations/statuses/{sha}","languages_url":"https://api.github.com/repos/vladfaust/validations/languages","stargazers_url":"https://api.github.com/repos/vladfaust/validations/stargazers","contributors_url":"https://api.github.com/repos/vladfaust/validations/contributors","subscribers_url":"https://api.github.com/repos/vladfaust/validations/subscribers","subscription_url":"https://api.github.com/repos/vladfaust/validations/subscription","commits_url":"https://api.github.com/repos/vladfaust/validations/commits{/sha}","git_commits_url":"https://api.github.com/repos/vladfaust/validations/git/commits{/sha}","comments_url":"https://api.github.com/repos/vladfaust/validations/comments{/number}","issue_comment_url":"https://api.github.com/repos/vladfaust/validations/issues/comments{/number}","contents_url":"https://api.github.com/repos/vladfaust/validations/contents/{+path}","compare_url":"https://api.github.com/repos/vladfaust/validations/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vladfaust/validations/merges","archive_url":"https://api.github.com/repos/vladfaust/validations/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vladfaust/validations/downloads","issues_url":"https://api.github.com/repos/vladfaust/validations/issues{/number}","pulls_url":"https://api.github.com/repos/vladfaust/validations/pulls{/number}","milestones_url":"https://api.github.com/repos/vladfaust/validations/milestones{/number}","notifications_url":"https://api.github.com/repos/vladfaust/validations/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vladfaust/validations/labels{/name}","releases_url":"https://api.github.com/repos/vladfaust/validations/releases{/id}","deployments_url":"https://api.github.com/repos/vladfaust/validations/deployments","created_at":"2016-03-14T10:48:39Z","updated_at":"2016-03-14T10:48:41Z","pushed_at":"2016-03-14T13:13:30Z","git_url":"git://github.com/vladfaust/validations.git","ssh_url":"git@github.com:vladfaust/validations.git","clone_url":"https://github.com/vladfaust/validations.git","svn_url":"https://github.com/vladfaust/validations","homepage":"http://hanamirb.org","size":297,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"hanami:master","ref":"master","sha":"f7ab3056d15f28edf04c99241d529129e5d74880","user":{"login":"hanami","id":3210273,"avatar_url":"https://avatars.githubusercontent.com/u/3210273?v=3","gravatar_id":"","url":"https://api.github.com/users/hanami","html_url":"https://github.com/hanami","followers_url":"https://api.github.com/users/hanami/followers","following_url":"https://api.github.com/users/hanami/following{/other_user}","gists_url":"https://api.github.com/users/hanami/gists{/gist_id}","starred_url":"https://api.github.com/users/hanami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanami/subscriptions","organizations_url":"https://api.github.com/users/hanami/orgs","repos_url":"https://api.github.com/users/hanami/repos","events_url":"https://api.github.com/users/hanami/events{/privacy}","received_events_url":"https://api.github.com/users/hanami/received_events","type":"Organization","site_admin":false},"repo":{"id":22643222,"name":"validations","full_name":"hanami/validations","owner":{"login":"hanami","id":3210273,"avatar_url":"https://avatars.githubusercontent.com/u/3210273?v=3","gravatar_id":"","url":"https://api.github.com/users/hanami","html_url":"https://github.com/hanami","followers_url":"https://api.github.com/users/hanami/followers","following_url":"https://api.github.com/users/hanami/following{/other_user}","gists_url":"https://api.github.com/users/hanami/gists{/gist_id}","starred_url":"https://api.github.com/users/hanami/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hanami/subscriptions","organizations_url":"https://api.github.com/users/hanami/orgs","repos_url":"https://api.github.com/users/hanami/repos","events_url":"https://api.github.com/users/hanami/events{/privacy}","received_events_url":"https://api.github.com/users/hanami/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hanami/validations","description":"Validation mixin for Ruby objects","fork":false,"url":"https://api.github.com/repos/hanami/validations","forks_url":"https://api.github.com/repos/hanami/validations/forks","keys_url":"https://api.github.com/repos/hanami/validations/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hanami/validations/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hanami/validations/teams","hooks_url":"https://api.github.com/repos/hanami/validations/hooks","issue_events_url":"https://api.github.com/repos/hanami/validations/issues/events{/number}","events_url":"https://api.github.com/repos/hanami/validations/events","assignees_url":"https://api.github.com/repos/hanami/validations/assignees{/user}","branches_url":"https://api.github.com/repos/hanami/validations/branches{/branch}","tags_url":"https://api.github.com/repos/hanami/validations/tags","blobs_url":"https://api.github.com/repos/hanami/validations/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hanami/validations/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hanami/validations/git/refs{/sha}","trees_url":"https://api.github.com/repos/hanami/validations/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hanami/validations/statuses/{sha}","languages_url":"https://api.github.com/repos/hanami/validations/languages","stargazers_url":"https://api.github.com/repos/hanami/validations/stargazers","contributors_url":"https://api.github.com/repos/hanami/validations/contributors","subscribers_url":"https://api.github.com/repos/hanami/validations/subscribers","subscription_url":"https://api.github.com/repos/hanami/validations/subscription","commits_url":"https://api.github.com/repos/hanami/validations/commits{/sha}","git_commits_url":"https://api.github.com/repos/hanami/validations/git/commits{/sha}","comments_url":"https://api.github.com/repos/hanami/validations/comments{/number}","issue_comment_url":"https://api.github.com/repos/hanami/validations/issues/comments{/number}","contents_url":"https://api.github.com/repos/hanami/validations/contents/{+path}","compare_url":"https://api.github.com/repos/hanami/validations/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hanami/validations/merges","archive_url":"https://api.github.com/repos/hanami/validations/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hanami/validations/downloads","issues_url":"https://api.github.com/repos/hanami/validations/issues{/number}","pulls_url":"https://api.github.com/repos/hanami/validations/pulls{/number}","milestones_url":"https://api.github.com/repos/hanami/validations/milestones{/number}","notifications_url":"https://api.github.com/repos/hanami/validations/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hanami/validations/labels{/name}","releases_url":"https://api.github.com/repos/hanami/validations/releases{/id}","deployments_url":"https://api.github.com/repos/hanami/validations/deployments","created_at":"2014-08-05T12:49:35Z","updated_at":"2016-02-01T04:33:29Z","pushed_at":"2016-03-14T13:13:31Z","git_url":"git://github.com/hanami/validations.git","ssh_url":"git@github.com:hanami/validations.git","clone_url":"https://github.com/hanami/validations.git","svn_url":"https://github.com/hanami/validations","homepage":"http://hanamirb.org","size":380,"stargazers_count":71,"watchers_count":71,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":41,"mirror_url":null,"open_issues_count":8,"forks":41,"open_issues":8,"watchers":71,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hanami/validations/pulls/93"},"html":{"href":"https://github.com/hanami/validations/pull/93"},"issue":{"href":"https://api.github.com/repos/hanami/validations/issues/93"},"comments":{"href":"https://api.github.com/repos/hanami/validations/issues/93/comments"},"review_comments":{"href":"https://api.github.com/repos/hanami/validations/pulls/93/comments"},"review_comment":{"href":"https://api.github.com/repos/hanami/validations/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hanami/validations/pulls/93/commits"},"statuses":{"href":"https://api.github.com/repos/hanami/validations/statuses/9f67b480a494f752f07ae07fbbbf1c736d9eefa4"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":1,"review_comments":1,"commits":1,"additions":33,"deletions":0,"changed_files":1}}