{"action":"opened","number":49,"pull_request":{"url":"https://api.github.com/repos/pocket-playlab/optimus-prime/pulls/49","id":31504962,"html_url":"https://github.com/pocket-playlab/optimus-prime/pull/49","diff_url":"https://github.com/pocket-playlab/optimus-prime/pull/49.diff","patch_url":"https://github.com/pocket-playlab/optimus-prime/pull/49.patch","issue_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/issues/49","number":49,"state":"open","locked":false,"title":"Validator transformer fix","user":{"login":"T-Dnzt","id":2647689,"avatar_url":"https://avatars.githubusercontent.com/u/2647689?v=3","gravatar_id":"","url":"https://api.github.com/users/T-Dnzt","html_url":"https://github.com/T-Dnzt","followers_url":"https://api.github.com/users/T-Dnzt/followers","following_url":"https://api.github.com/users/T-Dnzt/following{/other_user}","gists_url":"https://api.github.com/users/T-Dnzt/gists{/gist_id}","starred_url":"https://api.github.com/users/T-Dnzt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/T-Dnzt/subscriptions","organizations_url":"https://api.github.com/users/T-Dnzt/orgs","repos_url":"https://api.github.com/users/T-Dnzt/repos","events_url":"https://api.github.com/users/T-Dnzt/events{/privacy}","received_events_url":"https://api.github.com/users/T-Dnzt/received_events","type":"User","site_admin":false},"body":"This PR change the way the `Validator` transformers validates. Instead of looping through the record, it look through the rules. The idea behind this change is to be able to validate that one record does not have one field. To do this, the `set` validation can be used by passing `[nil]`.","created_at":"2015-03-19T09:01:08Z","updated_at":"2015-03-19T09:01:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/pulls/49/commits","review_comments_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/pulls/49/comments","review_comment_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/issues/49/comments","statuses_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/statuses/854627a547ed8a5b8eb866db4398c316629f81a9","head":{"label":"pocket-playlab:validator-transformer-fix","ref":"validator-transformer-fix","sha":"854627a547ed8a5b8eb866db4398c316629f81a9","user":{"login":"pocket-playlab","id":6857738,"avatar_url":"https://avatars.githubusercontent.com/u/6857738?v=3","gravatar_id":"","url":"https://api.github.com/users/pocket-playlab","html_url":"https://github.com/pocket-playlab","followers_url":"https://api.github.com/users/pocket-playlab/followers","following_url":"https://api.github.com/users/pocket-playlab/following{/other_user}","gists_url":"https://api.github.com/users/pocket-playlab/gists{/gist_id}","starred_url":"https://api.github.com/users/pocket-playlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pocket-playlab/subscriptions","organizations_url":"https://api.github.com/users/pocket-playlab/orgs","repos_url":"https://api.github.com/users/pocket-playlab/repos","events_url":"https://api.github.com/users/pocket-playlab/events{/privacy}","received_events_url":"https://api.github.com/users/pocket-playlab/received_events","type":"Organization","site_admin":false},"repo":{"id":29717247,"name":"optimus-prime","full_name":"pocket-playlab/optimus-prime","owner":{"login":"pocket-playlab","id":6857738,"avatar_url":"https://avatars.githubusercontent.com/u/6857738?v=3","gravatar_id":"","url":"https://api.github.com/users/pocket-playlab","html_url":"https://github.com/pocket-playlab","followers_url":"https://api.github.com/users/pocket-playlab/followers","following_url":"https://api.github.com/users/pocket-playlab/following{/other_user}","gists_url":"https://api.github.com/users/pocket-playlab/gists{/gist_id}","starred_url":"https://api.github.com/users/pocket-playlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pocket-playlab/subscriptions","organizations_url":"https://api.github.com/users/pocket-playlab/orgs","repos_url":"https://api.github.com/users/pocket-playlab/repos","events_url":"https://api.github.com/users/pocket-playlab/events{/privacy}","received_events_url":"https://api.github.com/users/pocket-playlab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pocket-playlab/optimus-prime","description":"alpha ETL framework","fork":false,"url":"https://api.github.com/repos/pocket-playlab/optimus-prime","forks_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/forks","keys_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/teams","hooks_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/hooks","issue_events_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/issues/events{/number}","events_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/events","assignees_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/assignees{/user}","branches_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/branches{/branch}","tags_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/tags","blobs_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/git/refs{/sha}","trees_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/statuses/{sha}","languages_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/languages","stargazers_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/stargazers","contributors_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/contributors","subscribers_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/subscribers","subscription_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/subscription","commits_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/commits{/sha}","git_commits_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/git/commits{/sha}","comments_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/comments{/number}","issue_comment_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/issues/comments{/number}","contents_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/contents/{+path}","compare_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/merges","archive_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/downloads","issues_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/issues{/number}","pulls_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/pulls{/number}","milestones_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/milestones{/number}","notifications_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/labels{/name}","releases_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/releases{/id}","created_at":"2015-01-23T04:57:13Z","updated_at":"2015-03-19T06:51:14Z","pushed_at":"2015-03-19T08:58:37Z","git_url":"git://github.com/pocket-playlab/optimus-prime.git","ssh_url":"git@github.com:pocket-playlab/optimus-prime.git","clone_url":"https://github.com/pocket-playlab/optimus-prime.git","svn_url":"https://github.com/pocket-playlab/optimus-prime","homepage":null,"size":2108,"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":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"pocket-playlab:master","ref":"master","sha":"9c5a904f792d81e42dee9290ac4394e46ba7cf3f","user":{"login":"pocket-playlab","id":6857738,"avatar_url":"https://avatars.githubusercontent.com/u/6857738?v=3","gravatar_id":"","url":"https://api.github.com/users/pocket-playlab","html_url":"https://github.com/pocket-playlab","followers_url":"https://api.github.com/users/pocket-playlab/followers","following_url":"https://api.github.com/users/pocket-playlab/following{/other_user}","gists_url":"https://api.github.com/users/pocket-playlab/gists{/gist_id}","starred_url":"https://api.github.com/users/pocket-playlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pocket-playlab/subscriptions","organizations_url":"https://api.github.com/users/pocket-playlab/orgs","repos_url":"https://api.github.com/users/pocket-playlab/repos","events_url":"https://api.github.com/users/pocket-playlab/events{/privacy}","received_events_url":"https://api.github.com/users/pocket-playlab/received_events","type":"Organization","site_admin":false},"repo":{"id":29717247,"name":"optimus-prime","full_name":"pocket-playlab/optimus-prime","owner":{"login":"pocket-playlab","id":6857738,"avatar_url":"https://avatars.githubusercontent.com/u/6857738?v=3","gravatar_id":"","url":"https://api.github.com/users/pocket-playlab","html_url":"https://github.com/pocket-playlab","followers_url":"https://api.github.com/users/pocket-playlab/followers","following_url":"https://api.github.com/users/pocket-playlab/following{/other_user}","gists_url":"https://api.github.com/users/pocket-playlab/gists{/gist_id}","starred_url":"https://api.github.com/users/pocket-playlab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pocket-playlab/subscriptions","organizations_url":"https://api.github.com/users/pocket-playlab/orgs","repos_url":"https://api.github.com/users/pocket-playlab/repos","events_url":"https://api.github.com/users/pocket-playlab/events{/privacy}","received_events_url":"https://api.github.com/users/pocket-playlab/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pocket-playlab/optimus-prime","description":"alpha ETL framework","fork":false,"url":"https://api.github.com/repos/pocket-playlab/optimus-prime","forks_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/forks","keys_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/teams","hooks_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/hooks","issue_events_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/issues/events{/number}","events_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/events","assignees_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/assignees{/user}","branches_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/branches{/branch}","tags_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/tags","blobs_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/git/refs{/sha}","trees_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/statuses/{sha}","languages_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/languages","stargazers_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/stargazers","contributors_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/contributors","subscribers_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/subscribers","subscription_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/subscription","commits_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/commits{/sha}","git_commits_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/git/commits{/sha}","comments_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/comments{/number}","issue_comment_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/issues/comments{/number}","contents_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/contents/{+path}","compare_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/merges","archive_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/downloads","issues_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/issues{/number}","pulls_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/pulls{/number}","milestones_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/milestones{/number}","notifications_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/labels{/name}","releases_url":"https://api.github.com/repos/pocket-playlab/optimus-prime/releases{/id}","created_at":"2015-01-23T04:57:13Z","updated_at":"2015-03-19T06:51:14Z","pushed_at":"2015-03-19T08:58:37Z","git_url":"git://github.com/pocket-playlab/optimus-prime.git","ssh_url":"git@github.com:pocket-playlab/optimus-prime.git","clone_url":"https://github.com/pocket-playlab/optimus-prime.git","svn_url":"https://github.com/pocket-playlab/optimus-prime","homepage":null,"size":2108,"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":4,"forks":0,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pocket-playlab/optimus-prime/pulls/49"},"html":{"href":"https://github.com/pocket-playlab/optimus-prime/pull/49"},"issue":{"href":"https://api.github.com/repos/pocket-playlab/optimus-prime/issues/49"},"comments":{"href":"https://api.github.com/repos/pocket-playlab/optimus-prime/issues/49/comments"},"review_comments":{"href":"https://api.github.com/repos/pocket-playlab/optimus-prime/pulls/49/comments"},"review_comment":{"href":"https://api.github.com/repos/pocket-playlab/optimus-prime/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pocket-playlab/optimus-prime/pulls/49/commits"},"statuses":{"href":"https://api.github.com/repos/pocket-playlab/optimus-prime/statuses/854627a547ed8a5b8eb866db4398c316629f81a9"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":7,"deletions":8,"changed_files":1}}