{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/pulls/1","id":51174121,"html_url":"https://github.com/leonrusso/acceptance-testing-tv-shows/pull/1","diff_url":"https://github.com/leonrusso/acceptance-testing-tv-shows/pull/1.diff","patch_url":"https://github.com/leonrusso/acceptance-testing-tv-shows/pull/1.patch","issue_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/issues/1","number":1,"state":"open","locked":false,"title":"finish refactoring tv model. Turned negative logic into the positive …","user":{"login":"itiswicked","id":8851553,"avatar_url":"https://avatars.githubusercontent.com/u/8851553?v=3","gravatar_id":"","url":"https://api.github.com/users/itiswicked","html_url":"https://github.com/itiswicked","followers_url":"https://api.github.com/users/itiswicked/followers","following_url":"https://api.github.com/users/itiswicked/following{/other_user}","gists_url":"https://api.github.com/users/itiswicked/gists{/gist_id}","starred_url":"https://api.github.com/users/itiswicked/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itiswicked/subscriptions","organizations_url":"https://api.github.com/users/itiswicked/orgs","repos_url":"https://api.github.com/users/itiswicked/repos","events_url":"https://api.github.com/users/itiswicked/events{/privacy}","received_events_url":"https://api.github.com/users/itiswicked/received_events","type":"User","site_admin":false},"body":"…form. Basically, I realized there was a lot of negative form logic and negation(!) that I refactored. I also changed the TVShow#errors to expect nil instead of an empty array. ","created_at":"2015-11-19T02:56:33Z","updated_at":"2015-11-19T02:56:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/pulls/1/commits","review_comments_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/pulls/1/comments","review_comment_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/pulls/comments{/number}","comments_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/issues/1/comments","statuses_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/statuses/ea5ac1538636c8467438bb0fcebcc976cfc5127b","head":{"label":"itiswicked:refactor_tv_model","ref":"refactor_tv_model","sha":"ea5ac1538636c8467438bb0fcebcc976cfc5127b","user":{"login":"itiswicked","id":8851553,"avatar_url":"https://avatars.githubusercontent.com/u/8851553?v=3","gravatar_id":"","url":"https://api.github.com/users/itiswicked","html_url":"https://github.com/itiswicked","followers_url":"https://api.github.com/users/itiswicked/followers","following_url":"https://api.github.com/users/itiswicked/following{/other_user}","gists_url":"https://api.github.com/users/itiswicked/gists{/gist_id}","starred_url":"https://api.github.com/users/itiswicked/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itiswicked/subscriptions","organizations_url":"https://api.github.com/users/itiswicked/orgs","repos_url":"https://api.github.com/users/itiswicked/repos","events_url":"https://api.github.com/users/itiswicked/events{/privacy}","received_events_url":"https://api.github.com/users/itiswicked/received_events","type":"User","site_admin":false},"repo":{"id":46462433,"name":"acceptance-testing-tv-shows","full_name":"itiswicked/acceptance-testing-tv-shows","owner":{"login":"itiswicked","id":8851553,"avatar_url":"https://avatars.githubusercontent.com/u/8851553?v=3","gravatar_id":"","url":"https://api.github.com/users/itiswicked","html_url":"https://github.com/itiswicked","followers_url":"https://api.github.com/users/itiswicked/followers","following_url":"https://api.github.com/users/itiswicked/following{/other_user}","gists_url":"https://api.github.com/users/itiswicked/gists{/gist_id}","starred_url":"https://api.github.com/users/itiswicked/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/itiswicked/subscriptions","organizations_url":"https://api.github.com/users/itiswicked/orgs","repos_url":"https://api.github.com/users/itiswicked/repos","events_url":"https://api.github.com/users/itiswicked/events{/privacy}","received_events_url":"https://api.github.com/users/itiswicked/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/itiswicked/acceptance-testing-tv-shows","description":"","fork":true,"url":"https://api.github.com/repos/itiswicked/acceptance-testing-tv-shows","forks_url":"https://api.github.com/repos/itiswicked/acceptance-testing-tv-shows/forks","keys_url":"https://api.github.com/repos/itiswicked/acceptance-testing-tv-shows/keys{/key_id}","collaborators_url":"https://api.github.com/repos/itiswicked/acceptance-testing-tv-shows/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/itiswicked/acceptance-testing-tv-shows/teams","hooks_url":"https://api.github.com/repos/itiswicked/acceptance-testing-tv-shows/hooks","issue_events_url":"https://api.github.com/repos/itiswicked/acceptance-testing-tv-shows/issues/events{/number}","events_url":"https://api.github.com/repos/itiswicked/acceptance-testing-tv-shows/events","assignees_url":"https://api.github.com/repos/itiswicked/acceptance-testing-tv-shows/assignees{/user}","branches_url":"https://api.github.com/repos/itiswicked/acceptance-testing-tv-shows/branches{/branch}","tags_url":"https://api.github.com/repos/itiswicked/acceptance-testing-tv-shows/tags","blobs_url":"https://api.github.com/repos/itiswicked/acceptance-testing-tv-shows/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/itiswicked/acceptance-testing-tv-shows/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/itiswicked/acceptance-testing-tv-shows/git/refs{/sha}","trees_url":"https://api.github.com/repos/itiswicked/acceptance-testing-tv-shows/git/trees{/sha}","statuses_url":"https://api.github.com/repos/itiswicked/acceptance-testing-tv-shows/statuses/{sha}","languages_url":"https://api.github.com/repos/itiswicked/acceptance-testing-tv-shows/languages","stargazers_url":"https://api.github.com/repos/itiswicked/acceptance-testing-tv-shows/stargazers","contributors_url":"https://api.github.com/repos/itiswicked/acceptance-testing-tv-shows/contributors","subscribers_url":"https://api.github.com/repos/itiswicked/acceptance-testing-tv-shows/subscribers","subscription_url":"https://api.github.com/repos/itiswicked/acceptance-testing-tv-shows/subscription","commits_url":"https://api.github.com/repos/itiswicked/acceptance-testing-tv-shows/commits{/sha}","git_commits_url":"https://api.github.com/repos/itiswicked/acceptance-testing-tv-shows/git/commits{/sha}","comments_url":"https://api.github.com/repos/itiswicked/acceptance-testing-tv-shows/comments{/number}","issue_comment_url":"https://api.github.com/repos/itiswicked/acceptance-testing-tv-shows/issues/comments{/number}","contents_url":"https://api.github.com/repos/itiswicked/acceptance-testing-tv-shows/contents/{+path}","compare_url":"https://api.github.com/repos/itiswicked/acceptance-testing-tv-shows/compare/{base}...{head}","merges_url":"https://api.github.com/repos/itiswicked/acceptance-testing-tv-shows/merges","archive_url":"https://api.github.com/repos/itiswicked/acceptance-testing-tv-shows/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/itiswicked/acceptance-testing-tv-shows/downloads","issues_url":"https://api.github.com/repos/itiswicked/acceptance-testing-tv-shows/issues{/number}","pulls_url":"https://api.github.com/repos/itiswicked/acceptance-testing-tv-shows/pulls{/number}","milestones_url":"https://api.github.com/repos/itiswicked/acceptance-testing-tv-shows/milestones{/number}","notifications_url":"https://api.github.com/repos/itiswicked/acceptance-testing-tv-shows/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/itiswicked/acceptance-testing-tv-shows/labels{/name}","releases_url":"https://api.github.com/repos/itiswicked/acceptance-testing-tv-shows/releases{/id}","created_at":"2015-11-19T02:37:17Z","updated_at":"2015-11-19T02:37:17Z","pushed_at":"2015-11-19T02:54:03Z","git_url":"git://github.com/itiswicked/acceptance-testing-tv-shows.git","ssh_url":"git@github.com:itiswicked/acceptance-testing-tv-shows.git","clone_url":"https://github.com/itiswicked/acceptance-testing-tv-shows.git","svn_url":"https://github.com/itiswicked/acceptance-testing-tv-shows","homepage":null,"size":9,"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":"leonrusso:master","ref":"master","sha":"c6fb5db2bd8cd7cade574528e7d63054bba73e71","user":{"login":"leonrusso","id":14282123,"avatar_url":"https://avatars.githubusercontent.com/u/14282123?v=3","gravatar_id":"","url":"https://api.github.com/users/leonrusso","html_url":"https://github.com/leonrusso","followers_url":"https://api.github.com/users/leonrusso/followers","following_url":"https://api.github.com/users/leonrusso/following{/other_user}","gists_url":"https://api.github.com/users/leonrusso/gists{/gist_id}","starred_url":"https://api.github.com/users/leonrusso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonrusso/subscriptions","organizations_url":"https://api.github.com/users/leonrusso/orgs","repos_url":"https://api.github.com/users/leonrusso/repos","events_url":"https://api.github.com/users/leonrusso/events{/privacy}","received_events_url":"https://api.github.com/users/leonrusso/received_events","type":"User","site_admin":false},"repo":{"id":46448756,"name":"acceptance-testing-tv-shows","full_name":"leonrusso/acceptance-testing-tv-shows","owner":{"login":"leonrusso","id":14282123,"avatar_url":"https://avatars.githubusercontent.com/u/14282123?v=3","gravatar_id":"","url":"https://api.github.com/users/leonrusso","html_url":"https://github.com/leonrusso","followers_url":"https://api.github.com/users/leonrusso/followers","following_url":"https://api.github.com/users/leonrusso/following{/other_user}","gists_url":"https://api.github.com/users/leonrusso/gists{/gist_id}","starred_url":"https://api.github.com/users/leonrusso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leonrusso/subscriptions","organizations_url":"https://api.github.com/users/leonrusso/orgs","repos_url":"https://api.github.com/users/leonrusso/repos","events_url":"https://api.github.com/users/leonrusso/events{/privacy}","received_events_url":"https://api.github.com/users/leonrusso/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/leonrusso/acceptance-testing-tv-shows","description":"","fork":false,"url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows","forks_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/forks","keys_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/keys{/key_id}","collaborators_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/teams","hooks_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/hooks","issue_events_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/issues/events{/number}","events_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/events","assignees_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/assignees{/user}","branches_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/branches{/branch}","tags_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/tags","blobs_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/git/refs{/sha}","trees_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/git/trees{/sha}","statuses_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/statuses/{sha}","languages_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/languages","stargazers_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/stargazers","contributors_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/contributors","subscribers_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/subscribers","subscription_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/subscription","commits_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/commits{/sha}","git_commits_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/git/commits{/sha}","comments_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/comments{/number}","issue_comment_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/issues/comments{/number}","contents_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/contents/{+path}","compare_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/compare/{base}...{head}","merges_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/merges","archive_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/downloads","issues_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/issues{/number}","pulls_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/pulls{/number}","milestones_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/milestones{/number}","notifications_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/labels{/name}","releases_url":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/releases{/id}","created_at":"2015-11-18T21:30:53Z","updated_at":"2015-11-18T21:32:20Z","pushed_at":"2015-11-18T21:32:19Z","git_url":"git://github.com/leonrusso/acceptance-testing-tv-shows.git","ssh_url":"git@github.com:leonrusso/acceptance-testing-tv-shows.git","clone_url":"https://github.com/leonrusso/acceptance-testing-tv-shows.git","svn_url":"https://github.com/leonrusso/acceptance-testing-tv-shows","homepage":null,"size":8,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/pulls/1"},"html":{"href":"https://github.com/leonrusso/acceptance-testing-tv-shows/pull/1"},"issue":{"href":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/issues/1"},"comments":{"href":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/leonrusso/acceptance-testing-tv-shows/statuses/ea5ac1538636c8467438bb0fcebcc976cfc5127b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":20,"deletions":16,"changed_files":6}}