{"action":"created","comment":{"url":"https://api.github.com/repos/bbc/device_api-android/pulls/comments/49338269","id":49338269,"diff_hunk":"@@ -223,6 +223,17 @@\n           allow(Open3).to receive(:capture3) { [out, '', $STATUS_ZERO] }\n           expect(device.ip_address).to eq('192.168.1.1')\n         end\n+\n+        it 'will not crash if Wifi is not enabled' do\n+          out = <<EOF\n+lo       UP                                   127.0.0.1/8   0x00000049 00:00:00:00:00:00\n+rmnet_usb0 DOWN                                   0.0.0.0/0   0x00001002 9a:ca:4c:c4:25:5b","path":"spec/android_spec.rb","position":8,"original_position":8,"commit_id":"249548cb4736239345091adb760bdf302f771b00","original_commit_id":"249548cb4736239345091adb760bdf302f771b00","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long. [90/80]","created_at":"2016-01-11T16:03:34Z","updated_at":"2016-01-11T16:03:34Z","html_url":"https://github.com/bbc/device_api-android/pull/85#discussion_r49338269","pull_request_url":"https://api.github.com/repos/bbc/device_api-android/pulls/85","_links":{"self":{"href":"https://api.github.com/repos/bbc/device_api-android/pulls/comments/49338269"},"html":{"href":"https://github.com/bbc/device_api-android/pull/85#discussion_r49338269"},"pull_request":{"href":"https://api.github.com/repos/bbc/device_api-android/pulls/85"}}},"pull_request":{"url":"https://api.github.com/repos/bbc/device_api-android/pulls/85","id":55640497,"html_url":"https://github.com/bbc/device_api-android/pull/85","diff_url":"https://github.com/bbc/device_api-android/pull/85.diff","patch_url":"https://github.com/bbc/device_api-android/pull/85.patch","issue_url":"https://api.github.com/repos/bbc/device_api-android/issues/85","number":85,"state":"open","locked":false,"title":"Audio functions","user":{"login":"jonpwilson","id":6515084,"avatar_url":"https://avatars.githubusercontent.com/u/6515084?v=3","gravatar_id":"","url":"https://api.github.com/users/jonpwilson","html_url":"https://github.com/jonpwilson","followers_url":"https://api.github.com/users/jonpwilson/followers","following_url":"https://api.github.com/users/jonpwilson/following{/other_user}","gists_url":"https://api.github.com/users/jonpwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/jonpwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonpwilson/subscriptions","organizations_url":"https://api.github.com/users/jonpwilson/orgs","repos_url":"https://api.github.com/users/jonpwilson/repos","events_url":"https://api.github.com/users/jonpwilson/events{/privacy}","received_events_url":"https://api.github.com/users/jonpwilson/received_events","type":"User","site_admin":false},"body":"fixes #27 ","created_at":"2016-01-11T16:03:27Z","updated_at":"2016-01-11T16:03:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"07ad1546ea6bf2abe07ead3f4af9e9384d83f3d5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bbc/device_api-android/pulls/85/commits","review_comments_url":"https://api.github.com/repos/bbc/device_api-android/pulls/85/comments","review_comment_url":"https://api.github.com/repos/bbc/device_api-android/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bbc/device_api-android/issues/85/comments","statuses_url":"https://api.github.com/repos/bbc/device_api-android/statuses/249548cb4736239345091adb760bdf302f771b00","head":{"label":"bbc:audio_functions","ref":"audio_functions","sha":"249548cb4736239345091adb760bdf302f771b00","user":{"login":"bbc","id":828722,"avatar_url":"https://avatars.githubusercontent.com/u/828722?v=3","gravatar_id":"","url":"https://api.github.com/users/bbc","html_url":"https://github.com/bbc","followers_url":"https://api.github.com/users/bbc/followers","following_url":"https://api.github.com/users/bbc/following{/other_user}","gists_url":"https://api.github.com/users/bbc/gists{/gist_id}","starred_url":"https://api.github.com/users/bbc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbc/subscriptions","organizations_url":"https://api.github.com/users/bbc/orgs","repos_url":"https://api.github.com/users/bbc/repos","events_url":"https://api.github.com/users/bbc/events{/privacy}","received_events_url":"https://api.github.com/users/bbc/received_events","type":"Organization","site_admin":false},"repo":{"id":23389720,"name":"device_api-android","full_name":"bbc/device_api-android","owner":{"login":"bbc","id":828722,"avatar_url":"https://avatars.githubusercontent.com/u/828722?v=3","gravatar_id":"","url":"https://api.github.com/users/bbc","html_url":"https://github.com/bbc","followers_url":"https://api.github.com/users/bbc/followers","following_url":"https://api.github.com/users/bbc/following{/other_user}","gists_url":"https://api.github.com/users/bbc/gists{/gist_id}","starred_url":"https://api.github.com/users/bbc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbc/subscriptions","organizations_url":"https://api.github.com/users/bbc/orgs","repos_url":"https://api.github.com/users/bbc/repos","events_url":"https://api.github.com/users/bbc/events{/privacy}","received_events_url":"https://api.github.com/users/bbc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bbc/device_api-android","description":"DeviceAPI-Android","fork":false,"url":"https://api.github.com/repos/bbc/device_api-android","forks_url":"https://api.github.com/repos/bbc/device_api-android/forks","keys_url":"https://api.github.com/repos/bbc/device_api-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bbc/device_api-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bbc/device_api-android/teams","hooks_url":"https://api.github.com/repos/bbc/device_api-android/hooks","issue_events_url":"https://api.github.com/repos/bbc/device_api-android/issues/events{/number}","events_url":"https://api.github.com/repos/bbc/device_api-android/events","assignees_url":"https://api.github.com/repos/bbc/device_api-android/assignees{/user}","branches_url":"https://api.github.com/repos/bbc/device_api-android/branches{/branch}","tags_url":"https://api.github.com/repos/bbc/device_api-android/tags","blobs_url":"https://api.github.com/repos/bbc/device_api-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bbc/device_api-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bbc/device_api-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/bbc/device_api-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bbc/device_api-android/statuses/{sha}","languages_url":"https://api.github.com/repos/bbc/device_api-android/languages","stargazers_url":"https://api.github.com/repos/bbc/device_api-android/stargazers","contributors_url":"https://api.github.com/repos/bbc/device_api-android/contributors","subscribers_url":"https://api.github.com/repos/bbc/device_api-android/subscribers","subscription_url":"https://api.github.com/repos/bbc/device_api-android/subscription","commits_url":"https://api.github.com/repos/bbc/device_api-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/bbc/device_api-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/bbc/device_api-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/bbc/device_api-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/bbc/device_api-android/contents/{+path}","compare_url":"https://api.github.com/repos/bbc/device_api-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bbc/device_api-android/merges","archive_url":"https://api.github.com/repos/bbc/device_api-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bbc/device_api-android/downloads","issues_url":"https://api.github.com/repos/bbc/device_api-android/issues{/number}","pulls_url":"https://api.github.com/repos/bbc/device_api-android/pulls{/number}","milestones_url":"https://api.github.com/repos/bbc/device_api-android/milestones{/number}","notifications_url":"https://api.github.com/repos/bbc/device_api-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bbc/device_api-android/labels{/name}","releases_url":"https://api.github.com/repos/bbc/device_api-android/releases{/id}","created_at":"2014-08-27T12:59:11Z","updated_at":"2015-09-23T14:06:30Z","pushed_at":"2016-01-11T16:03:27Z","git_url":"git://github.com/bbc/device_api-android.git","ssh_url":"git@github.com:bbc/device_api-android.git","clone_url":"https://github.com/bbc/device_api-android.git","svn_url":"https://github.com/bbc/device_api-android","homepage":"http://bbc.github.io/hive-ci/test-tools.html","size":154,"stargazers_count":8,"watchers_count":8,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":11,"forks":0,"open_issues":11,"watchers":8,"default_branch":"master"}},"base":{"label":"bbc:master","ref":"master","sha":"f87833b804e305b15f89cc024c31ba1692bd5893","user":{"login":"bbc","id":828722,"avatar_url":"https://avatars.githubusercontent.com/u/828722?v=3","gravatar_id":"","url":"https://api.github.com/users/bbc","html_url":"https://github.com/bbc","followers_url":"https://api.github.com/users/bbc/followers","following_url":"https://api.github.com/users/bbc/following{/other_user}","gists_url":"https://api.github.com/users/bbc/gists{/gist_id}","starred_url":"https://api.github.com/users/bbc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbc/subscriptions","organizations_url":"https://api.github.com/users/bbc/orgs","repos_url":"https://api.github.com/users/bbc/repos","events_url":"https://api.github.com/users/bbc/events{/privacy}","received_events_url":"https://api.github.com/users/bbc/received_events","type":"Organization","site_admin":false},"repo":{"id":23389720,"name":"device_api-android","full_name":"bbc/device_api-android","owner":{"login":"bbc","id":828722,"avatar_url":"https://avatars.githubusercontent.com/u/828722?v=3","gravatar_id":"","url":"https://api.github.com/users/bbc","html_url":"https://github.com/bbc","followers_url":"https://api.github.com/users/bbc/followers","following_url":"https://api.github.com/users/bbc/following{/other_user}","gists_url":"https://api.github.com/users/bbc/gists{/gist_id}","starred_url":"https://api.github.com/users/bbc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbc/subscriptions","organizations_url":"https://api.github.com/users/bbc/orgs","repos_url":"https://api.github.com/users/bbc/repos","events_url":"https://api.github.com/users/bbc/events{/privacy}","received_events_url":"https://api.github.com/users/bbc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bbc/device_api-android","description":"DeviceAPI-Android","fork":false,"url":"https://api.github.com/repos/bbc/device_api-android","forks_url":"https://api.github.com/repos/bbc/device_api-android/forks","keys_url":"https://api.github.com/repos/bbc/device_api-android/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bbc/device_api-android/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bbc/device_api-android/teams","hooks_url":"https://api.github.com/repos/bbc/device_api-android/hooks","issue_events_url":"https://api.github.com/repos/bbc/device_api-android/issues/events{/number}","events_url":"https://api.github.com/repos/bbc/device_api-android/events","assignees_url":"https://api.github.com/repos/bbc/device_api-android/assignees{/user}","branches_url":"https://api.github.com/repos/bbc/device_api-android/branches{/branch}","tags_url":"https://api.github.com/repos/bbc/device_api-android/tags","blobs_url":"https://api.github.com/repos/bbc/device_api-android/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bbc/device_api-android/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bbc/device_api-android/git/refs{/sha}","trees_url":"https://api.github.com/repos/bbc/device_api-android/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bbc/device_api-android/statuses/{sha}","languages_url":"https://api.github.com/repos/bbc/device_api-android/languages","stargazers_url":"https://api.github.com/repos/bbc/device_api-android/stargazers","contributors_url":"https://api.github.com/repos/bbc/device_api-android/contributors","subscribers_url":"https://api.github.com/repos/bbc/device_api-android/subscribers","subscription_url":"https://api.github.com/repos/bbc/device_api-android/subscription","commits_url":"https://api.github.com/repos/bbc/device_api-android/commits{/sha}","git_commits_url":"https://api.github.com/repos/bbc/device_api-android/git/commits{/sha}","comments_url":"https://api.github.com/repos/bbc/device_api-android/comments{/number}","issue_comment_url":"https://api.github.com/repos/bbc/device_api-android/issues/comments{/number}","contents_url":"https://api.github.com/repos/bbc/device_api-android/contents/{+path}","compare_url":"https://api.github.com/repos/bbc/device_api-android/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bbc/device_api-android/merges","archive_url":"https://api.github.com/repos/bbc/device_api-android/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bbc/device_api-android/downloads","issues_url":"https://api.github.com/repos/bbc/device_api-android/issues{/number}","pulls_url":"https://api.github.com/repos/bbc/device_api-android/pulls{/number}","milestones_url":"https://api.github.com/repos/bbc/device_api-android/milestones{/number}","notifications_url":"https://api.github.com/repos/bbc/device_api-android/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bbc/device_api-android/labels{/name}","releases_url":"https://api.github.com/repos/bbc/device_api-android/releases{/id}","created_at":"2014-08-27T12:59:11Z","updated_at":"2015-09-23T14:06:30Z","pushed_at":"2016-01-11T16:03:27Z","git_url":"git://github.com/bbc/device_api-android.git","ssh_url":"git@github.com:bbc/device_api-android.git","clone_url":"https://github.com/bbc/device_api-android.git","svn_url":"https://github.com/bbc/device_api-android","homepage":"http://bbc.github.io/hive-ci/test-tools.html","size":154,"stargazers_count":8,"watchers_count":8,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":11,"forks":0,"open_issues":11,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bbc/device_api-android/pulls/85"},"html":{"href":"https://github.com/bbc/device_api-android/pull/85"},"issue":{"href":"https://api.github.com/repos/bbc/device_api-android/issues/85"},"comments":{"href":"https://api.github.com/repos/bbc/device_api-android/issues/85/comments"},"review_comments":{"href":"https://api.github.com/repos/bbc/device_api-android/pulls/85/comments"},"review_comment":{"href":"https://api.github.com/repos/bbc/device_api-android/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bbc/device_api-android/pulls/85/commits"},"statuses":{"href":"https://api.github.com/repos/bbc/device_api-android/statuses/249548cb4736239345091adb760bdf302f771b00"}}}}