{"action":"opened","number":265,"pull_request":{"url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/pulls/265","id":62287971,"html_url":"https://github.com/Financial-Times/spoor-enrichment/pull/265","diff_url":"https://github.com/Financial-Times/spoor-enrichment/pull/265.diff","patch_url":"https://github.com/Financial-Times/spoor-enrichment/pull/265.patch","issue_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/issues/265","number":265,"state":"open","locked":false,"title":"Cast browserVersion.version to real float","user":{"login":"phamann","id":80089,"avatar_url":"https://avatars.githubusercontent.com/u/80089?v=3","gravatar_id":"","url":"https://api.github.com/users/phamann","html_url":"https://github.com/phamann","followers_url":"https://api.github.com/users/phamann/followers","following_url":"https://api.github.com/users/phamann/following{/other_user}","gists_url":"https://api.github.com/users/phamann/gists{/gist_id}","starred_url":"https://api.github.com/users/phamann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phamann/subscriptions","organizations_url":"https://api.github.com/users/phamann/orgs","repos_url":"https://api.github.com/users/phamann/repos","events_url":"https://api.github.com/users/phamann/events{/privacy}","received_events_url":"https://api.github.com/users/phamann/received_events","type":"User","site_admin":false},"body":"In #263 we had to revert to using the full `device.browserVersion.version` rather than just the major. It turns out this can sometimes be a string such as `47.0.2526.106`. This has screwed the metrics. Therefore, we have to parse into a real float for the logic to work.\r\n\r\n/cc @tom-parker @richard-still-ft ","created_at":"2016-03-09T20:08:52Z","updated_at":"2016-03-09T20:08:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e6dcbef822a17b32586a134b3b64cd15b3ce6377","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/pulls/265/commits","review_comments_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/pulls/265/comments","review_comment_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/issues/265/comments","statuses_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/statuses/39902c72e780f638e23c396a93e54a5483b901a4","head":{"label":"Financial-Times:fix-h2-capable","ref":"fix-h2-capable","sha":"39902c72e780f638e23c396a93e54a5483b901a4","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":35812583,"name":"spoor-enrichment","full_name":"Financial-Times/spoor-enrichment","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/spoor-enrichment","description":"","fork":false,"url":"https://api.github.com/repos/Financial-Times/spoor-enrichment","forks_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/forks","keys_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/teams","hooks_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/events","assignees_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/tags","blobs_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/subscription","commits_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/merges","archive_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/downloads","issues_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/releases{/id}","deployments_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/deployments","created_at":"2015-05-18T10:53:20Z","updated_at":"2016-01-11T12:20:57Z","pushed_at":"2016-03-09T20:08:52Z","git_url":"git://github.com/Financial-Times/spoor-enrichment.git","ssh_url":"git@github.com:Financial-Times/spoor-enrichment.git","clone_url":"https://github.com/Financial-Times/spoor-enrichment.git","svn_url":"https://github.com/Financial-Times/spoor-enrichment","homepage":null,"size":1804,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":43,"forks":3,"open_issues":43,"watchers":1,"default_branch":"master"}},"base":{"label":"Financial-Times:master","ref":"master","sha":"e3606b8de33b95541eb959d3357bd91841c2adec","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":35812583,"name":"spoor-enrichment","full_name":"Financial-Times/spoor-enrichment","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/spoor-enrichment","description":"","fork":false,"url":"https://api.github.com/repos/Financial-Times/spoor-enrichment","forks_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/forks","keys_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/teams","hooks_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/events","assignees_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/tags","blobs_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/subscription","commits_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/merges","archive_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/downloads","issues_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/releases{/id}","deployments_url":"https://api.github.com/repos/Financial-Times/spoor-enrichment/deployments","created_at":"2015-05-18T10:53:20Z","updated_at":"2016-01-11T12:20:57Z","pushed_at":"2016-03-09T20:08:52Z","git_url":"git://github.com/Financial-Times/spoor-enrichment.git","ssh_url":"git@github.com:Financial-Times/spoor-enrichment.git","clone_url":"https://github.com/Financial-Times/spoor-enrichment.git","svn_url":"https://github.com/Financial-Times/spoor-enrichment","homepage":null,"size":1804,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":43,"forks":3,"open_issues":43,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Financial-Times/spoor-enrichment/pulls/265"},"html":{"href":"https://github.com/Financial-Times/spoor-enrichment/pull/265"},"issue":{"href":"https://api.github.com/repos/Financial-Times/spoor-enrichment/issues/265"},"comments":{"href":"https://api.github.com/repos/Financial-Times/spoor-enrichment/issues/265/comments"},"review_comments":{"href":"https://api.github.com/repos/Financial-Times/spoor-enrichment/pulls/265/comments"},"review_comment":{"href":"https://api.github.com/repos/Financial-Times/spoor-enrichment/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Financial-Times/spoor-enrichment/pulls/265/commits"},"statuses":{"href":"https://api.github.com/repos/Financial-Times/spoor-enrichment/statuses/39902c72e780f638e23c396a93e54a5483b901a4"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}