{"action":"created","comment":{"url":"https://api.github.com/repos/bikeindex/serial_search_inspector/pulls/comments/81359182","pull_request_review_id":2345378,"id":81359182,"diff_hunk":"@@ -34,6 +41,20 @@\n         expect(log.serial.present?).to be_falsey\n       end\n     end\n+    context 'w235 53214' do\n+      let(:dirty_serial) { FactoryGirl.create(:serial_search, serial: 'w235 53214') }\n+      it 'cleans serial' do\n+        dirty_serial.sanitize_serial\n+        expect(dirty_serial.serial).to eq 'W235 53214'\n+      end\n+    end\n+    context ' b532 4324   ' do\n+      let(:dirty_serial) { FactoryGirl.create(:serial_search, serial: ' b532 4324   ') }","path":"spec/models/log_line_spec.rb","position":26,"original_position":26,"commit_id":"7e3185be75ad7e10cd286b6128d6325842313388","original_commit_id":"7e3185be75ad7e10cd286b6128d6325842313388","user":{"login":"sethherr","id":1235441,"avatar_url":"https://avatars.githubusercontent.com/u/1235441?v=3","gravatar_id":"","url":"https://api.github.com/users/sethherr","html_url":"https://github.com/sethherr","followers_url":"https://api.github.com/users/sethherr/followers","following_url":"https://api.github.com/users/sethherr/following{/other_user}","gists_url":"https://api.github.com/users/sethherr/gists{/gist_id}","starred_url":"https://api.github.com/users/sethherr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sethherr/subscriptions","organizations_url":"https://api.github.com/users/sethherr/orgs","repos_url":"https://api.github.com/users/sethherr/repos","events_url":"https://api.github.com/users/sethherr/events{/privacy}","received_events_url":"https://api.github.com/users/sethherr/received_events","type":"User","site_admin":false},"body":"Ditto for the above comment","created_at":"2016-09-30T15:18:47Z","updated_at":"2016-09-30T15:19:10Z","html_url":"https://github.com/bikeindex/serial_search_inspector/pull/4#discussion_r81359182","pull_request_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/bikeindex/serial_search_inspector/pulls/comments/81359182"},"html":{"href":"https://github.com/bikeindex/serial_search_inspector/pull/4#discussion_r81359182"},"pull_request":{"href":"https://api.github.com/repos/bikeindex/serial_search_inspector/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/bikeindex/serial_search_inspector/pulls/4","id":87022623,"html_url":"https://github.com/bikeindex/serial_search_inspector/pull/4","diff_url":"https://github.com/bikeindex/serial_search_inspector/pull/4.diff","patch_url":"https://github.com/bikeindex/serial_search_inspector/pull/4.patch","issue_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/issues/4","number":4,"state":"open","locked":false,"title":"create ip addresses and serial searches","user":{"login":"timlkelly","id":8271737,"avatar_url":"https://avatars.githubusercontent.com/u/8271737?v=3","gravatar_id":"","url":"https://api.github.com/users/timlkelly","html_url":"https://github.com/timlkelly","followers_url":"https://api.github.com/users/timlkelly/followers","following_url":"https://api.github.com/users/timlkelly/following{/other_user}","gists_url":"https://api.github.com/users/timlkelly/gists{/gist_id}","starred_url":"https://api.github.com/users/timlkelly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timlkelly/subscriptions","organizations_url":"https://api.github.com/users/timlkelly/orgs","repos_url":"https://api.github.com/users/timlkelly/repos","events_url":"https://api.github.com/users/timlkelly/events{/privacy}","received_events_url":"https://api.github.com/users/timlkelly/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-27T22:15:29Z","updated_at":"2016-09-30T15:19:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5c7050e31b7a7718181b08e91d940d608440426c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/pulls/4/commits","review_comments_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/pulls/4/comments","review_comment_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/issues/4/comments","statuses_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/statuses/7e3185be75ad7e10cd286b6128d6325842313388","head":{"label":"bikeindex:create_ip_address_and_serial","ref":"create_ip_address_and_serial","sha":"7e3185be75ad7e10cd286b6128d6325842313388","user":{"login":"bikeindex","id":4251544,"avatar_url":"https://avatars.githubusercontent.com/u/4251544?v=3","gravatar_id":"","url":"https://api.github.com/users/bikeindex","html_url":"https://github.com/bikeindex","followers_url":"https://api.github.com/users/bikeindex/followers","following_url":"https://api.github.com/users/bikeindex/following{/other_user}","gists_url":"https://api.github.com/users/bikeindex/gists{/gist_id}","starred_url":"https://api.github.com/users/bikeindex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bikeindex/subscriptions","organizations_url":"https://api.github.com/users/bikeindex/orgs","repos_url":"https://api.github.com/users/bikeindex/repos","events_url":"https://api.github.com/users/bikeindex/events{/privacy}","received_events_url":"https://api.github.com/users/bikeindex/received_events","type":"Organization","site_admin":false},"repo":{"id":68638059,"name":"serial_search_inspector","full_name":"bikeindex/serial_search_inspector","owner":{"login":"bikeindex","id":4251544,"avatar_url":"https://avatars.githubusercontent.com/u/4251544?v=3","gravatar_id":"","url":"https://api.github.com/users/bikeindex","html_url":"https://github.com/bikeindex","followers_url":"https://api.github.com/users/bikeindex/followers","following_url":"https://api.github.com/users/bikeindex/following{/other_user}","gists_url":"https://api.github.com/users/bikeindex/gists{/gist_id}","starred_url":"https://api.github.com/users/bikeindex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bikeindex/subscriptions","organizations_url":"https://api.github.com/users/bikeindex/orgs","repos_url":"https://api.github.com/users/bikeindex/repos","events_url":"https://api.github.com/users/bikeindex/events{/privacy}","received_events_url":"https://api.github.com/users/bikeindex/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bikeindex/serial_search_inspector","description":null,"fork":false,"url":"https://api.github.com/repos/bikeindex/serial_search_inspector","forks_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/forks","keys_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/teams","hooks_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/hooks","issue_events_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/issues/events{/number}","events_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/events","assignees_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/assignees{/user}","branches_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/branches{/branch}","tags_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/tags","blobs_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/git/refs{/sha}","trees_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/statuses/{sha}","languages_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/languages","stargazers_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/stargazers","contributors_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/contributors","subscribers_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/subscribers","subscription_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/subscription","commits_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/commits{/sha}","git_commits_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/git/commits{/sha}","comments_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/comments{/number}","issue_comment_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/issues/comments{/number}","contents_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/contents/{+path}","compare_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/merges","archive_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/downloads","issues_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/issues{/number}","pulls_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/pulls{/number}","milestones_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/milestones{/number}","notifications_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/labels{/name}","releases_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/releases{/id}","deployments_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/deployments","created_at":"2016-09-19T19:18:12Z","updated_at":"2016-09-24T20:09:26Z","pushed_at":"2016-09-29T21:53:31Z","git_url":"git://github.com/bikeindex/serial_search_inspector.git","ssh_url":"git@github.com:bikeindex/serial_search_inspector.git","clone_url":"https://github.com/bikeindex/serial_search_inspector.git","svn_url":"https://github.com/bikeindex/serial_search_inspector","homepage":null,"size":79,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":2,"default_branch":"master"}},"base":{"label":"bikeindex:master","ref":"master","sha":"7a9f445bf4b44303a19ee3dcf6dd29e4a6ac45f0","user":{"login":"bikeindex","id":4251544,"avatar_url":"https://avatars.githubusercontent.com/u/4251544?v=3","gravatar_id":"","url":"https://api.github.com/users/bikeindex","html_url":"https://github.com/bikeindex","followers_url":"https://api.github.com/users/bikeindex/followers","following_url":"https://api.github.com/users/bikeindex/following{/other_user}","gists_url":"https://api.github.com/users/bikeindex/gists{/gist_id}","starred_url":"https://api.github.com/users/bikeindex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bikeindex/subscriptions","organizations_url":"https://api.github.com/users/bikeindex/orgs","repos_url":"https://api.github.com/users/bikeindex/repos","events_url":"https://api.github.com/users/bikeindex/events{/privacy}","received_events_url":"https://api.github.com/users/bikeindex/received_events","type":"Organization","site_admin":false},"repo":{"id":68638059,"name":"serial_search_inspector","full_name":"bikeindex/serial_search_inspector","owner":{"login":"bikeindex","id":4251544,"avatar_url":"https://avatars.githubusercontent.com/u/4251544?v=3","gravatar_id":"","url":"https://api.github.com/users/bikeindex","html_url":"https://github.com/bikeindex","followers_url":"https://api.github.com/users/bikeindex/followers","following_url":"https://api.github.com/users/bikeindex/following{/other_user}","gists_url":"https://api.github.com/users/bikeindex/gists{/gist_id}","starred_url":"https://api.github.com/users/bikeindex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bikeindex/subscriptions","organizations_url":"https://api.github.com/users/bikeindex/orgs","repos_url":"https://api.github.com/users/bikeindex/repos","events_url":"https://api.github.com/users/bikeindex/events{/privacy}","received_events_url":"https://api.github.com/users/bikeindex/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bikeindex/serial_search_inspector","description":null,"fork":false,"url":"https://api.github.com/repos/bikeindex/serial_search_inspector","forks_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/forks","keys_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/teams","hooks_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/hooks","issue_events_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/issues/events{/number}","events_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/events","assignees_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/assignees{/user}","branches_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/branches{/branch}","tags_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/tags","blobs_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/git/refs{/sha}","trees_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/statuses/{sha}","languages_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/languages","stargazers_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/stargazers","contributors_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/contributors","subscribers_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/subscribers","subscription_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/subscription","commits_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/commits{/sha}","git_commits_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/git/commits{/sha}","comments_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/comments{/number}","issue_comment_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/issues/comments{/number}","contents_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/contents/{+path}","compare_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/merges","archive_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/downloads","issues_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/issues{/number}","pulls_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/pulls{/number}","milestones_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/milestones{/number}","notifications_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/labels{/name}","releases_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/releases{/id}","deployments_url":"https://api.github.com/repos/bikeindex/serial_search_inspector/deployments","created_at":"2016-09-19T19:18:12Z","updated_at":"2016-09-24T20:09:26Z","pushed_at":"2016-09-29T21:53:31Z","git_url":"git://github.com/bikeindex/serial_search_inspector.git","ssh_url":"git@github.com:bikeindex/serial_search_inspector.git","clone_url":"https://github.com/bikeindex/serial_search_inspector.git","svn_url":"https://github.com/bikeindex/serial_search_inspector","homepage":null,"size":79,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bikeindex/serial_search_inspector/pulls/4"},"html":{"href":"https://github.com/bikeindex/serial_search_inspector/pull/4"},"issue":{"href":"https://api.github.com/repos/bikeindex/serial_search_inspector/issues/4"},"comments":{"href":"https://api.github.com/repos/bikeindex/serial_search_inspector/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/bikeindex/serial_search_inspector/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/bikeindex/serial_search_inspector/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bikeindex/serial_search_inspector/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/bikeindex/serial_search_inspector/statuses/7e3185be75ad7e10cd286b6128d6325842313388"}}}}
{"actor":{"display_login":"sethherr"}}