{"action":"created","issue":{"url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/issues/506","labels_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/issues/506/labels{/name}","comments_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/issues/506/comments","events_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/issues/506/events","html_url":"https://github.com/redhat-developer/developers.redhat.com/pull/506","id":113059837,"number":506,"title":"RHD-934 - Removed the for loop to reduce the complexity.","user":{"login":"Dantheman720","id":938664,"avatar_url":"https://avatars.githubusercontent.com/u/938664?v=3","gravatar_id":"","url":"https://api.github.com/users/Dantheman720","html_url":"https://github.com/Dantheman720","followers_url":"https://api.github.com/users/Dantheman720/followers","following_url":"https://api.github.com/users/Dantheman720/following{/other_user}","gists_url":"https://api.github.com/users/Dantheman720/gists{/gist_id}","starred_url":"https://api.github.com/users/Dantheman720/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dantheman720/subscriptions","organizations_url":"https://api.github.com/users/Dantheman720/orgs","repos_url":"https://api.github.com/users/Dantheman720/repos","events_url":"https://api.github.com/users/Dantheman720/events{/privacy}","received_events_url":"https://api.github.com/users/Dantheman720/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-10-23T17:00:09Z","updated_at":"2015-10-23T17:17:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/pulls/506","html_url":"https://github.com/redhat-developer/developers.redhat.com/pull/506","diff_url":"https://github.com/redhat-developer/developers.redhat.com/pull/506.diff","patch_url":"https://github.com/redhat-developer/developers.redhat.com/pull/506.patch"},"body":"I realized now that I cast the array to a string before.  I think this should now remove some of the complexity since the for loop doesn't exit upon finding the item in the array.  I believe include? will exit if the item is in the array"},"comment":{"url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/issues/comments/150637314","html_url":"https://github.com/redhat-developer/developers.redhat.com/pull/506#issuecomment-150637314","issue_url":"https://api.github.com/repos/redhat-developer/developers.redhat.com/issues/506","id":150637314,"user":{"login":"redhat-developer-ci","id":11758712,"avatar_url":"https://avatars.githubusercontent.com/u/11758712?v=3","gravatar_id":"","url":"https://api.github.com/users/redhat-developer-ci","html_url":"https://github.com/redhat-developer-ci","followers_url":"https://api.github.com/users/redhat-developer-ci/followers","following_url":"https://api.github.com/users/redhat-developer-ci/following{/other_user}","gists_url":"https://api.github.com/users/redhat-developer-ci/gists{/gist_id}","starred_url":"https://api.github.com/users/redhat-developer-ci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redhat-developer-ci/subscriptions","organizations_url":"https://api.github.com/users/redhat-developer-ci/orgs","repos_url":"https://api.github.com/users/redhat-developer-ci/repos","events_url":"https://api.github.com/users/redhat-developer-ci/events{/privacy}","received_events_url":"https://api.github.com/users/redhat-developer-ci/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T17:17:27Z","updated_at":"2015-10-23T17:17:27Z","body":"Build 1046 outcome was success using a merge of 47e7c53065d249a446f4e8335da74b87c762562e on branch master:\nPrivate: https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/developers.redhat.com-pull-player-executor/1046\nPreview: http://it-developers-pr.stage.redhat.com/pr/506/build/1046\n"}}