{"action":"closed","number":16,"pull_request":{"url":"https://api.github.com/repos/mRs-/HexColors/pulls/16","id":26040821,"html_url":"https://github.com/mRs-/HexColors/pull/16","diff_url":"https://github.com/mRs-/HexColors/pull/16.diff","patch_url":"https://github.com/mRs-/HexColors/pull/16.patch","issue_url":"https://api.github.com/repos/mRs-/HexColors/issues/16","number":16,"state":"closed","locked":false,"title":"Fixed error that would lead to an exception when receiving an empty string","user":{"login":"iOSCowboy","id":612990,"avatar_url":"https://avatars.githubusercontent.com/u/612990?v=3","gravatar_id":"","url":"https://api.github.com/users/iOSCowboy","html_url":"https://github.com/iOSCowboy","followers_url":"https://api.github.com/users/iOSCowboy/followers","following_url":"https://api.github.com/users/iOSCowboy/following{/other_user}","gists_url":"https://api.github.com/users/iOSCowboy/gists{/gist_id}","starred_url":"https://api.github.com/users/iOSCowboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iOSCowboy/subscriptions","organizations_url":"https://api.github.com/users/iOSCowboy/orgs","repos_url":"https://api.github.com/users/iOSCowboy/repos","events_url":"https://api.github.com/users/iOSCowboy/events{/privacy}","received_events_url":"https://api.github.com/users/iOSCowboy/received_events","type":"User","site_admin":false},"body":"The case:\r\n\r\n```objc\r\n[HXColor colorWithHexString:@\"\"];\r\n```\r\n\r\nwould raise an exception. \r\n\r\nThis commit places a 'safe-net' for `nil` or empty strings received as argument. ","created_at":"2014-12-14T23:12:10Z","updated_at":"2015-03-31T12:44:28Z","closed_at":"2015-03-31T12:44:28Z","merged_at":"2015-03-31T12:44:28Z","merge_commit_sha":"cef8e7a1ed6df694b42fee21b1903db4242764fa","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mRs-/HexColors/pulls/16/commits","review_comments_url":"https://api.github.com/repos/mRs-/HexColors/pulls/16/comments","review_comment_url":"https://api.github.com/repos/mRs-/HexColors/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mRs-/HexColors/issues/16/comments","statuses_url":"https://api.github.com/repos/mRs-/HexColors/statuses/ff4ab97e896b8cf3b98cd89c915c527ea163760d","head":{"label":"iOSCowboy:master","ref":"master","sha":"ff4ab97e896b8cf3b98cd89c915c527ea163760d","user":{"login":"iOSCowboy","id":612990,"avatar_url":"https://avatars.githubusercontent.com/u/612990?v=3","gravatar_id":"","url":"https://api.github.com/users/iOSCowboy","html_url":"https://github.com/iOSCowboy","followers_url":"https://api.github.com/users/iOSCowboy/followers","following_url":"https://api.github.com/users/iOSCowboy/following{/other_user}","gists_url":"https://api.github.com/users/iOSCowboy/gists{/gist_id}","starred_url":"https://api.github.com/users/iOSCowboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iOSCowboy/subscriptions","organizations_url":"https://api.github.com/users/iOSCowboy/orgs","repos_url":"https://api.github.com/users/iOSCowboy/repos","events_url":"https://api.github.com/users/iOSCowboy/events{/privacy}","received_events_url":"https://api.github.com/users/iOSCowboy/received_events","type":"User","site_admin":false},"repo":{"id":28011154,"name":"HexColors","full_name":"iOSCowboy/HexColors","owner":{"login":"iOSCowboy","id":612990,"avatar_url":"https://avatars.githubusercontent.com/u/612990?v=3","gravatar_id":"","url":"https://api.github.com/users/iOSCowboy","html_url":"https://github.com/iOSCowboy","followers_url":"https://api.github.com/users/iOSCowboy/followers","following_url":"https://api.github.com/users/iOSCowboy/following{/other_user}","gists_url":"https://api.github.com/users/iOSCowboy/gists{/gist_id}","starred_url":"https://api.github.com/users/iOSCowboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iOSCowboy/subscriptions","organizations_url":"https://api.github.com/users/iOSCowboy/orgs","repos_url":"https://api.github.com/users/iOSCowboy/repos","events_url":"https://api.github.com/users/iOSCowboy/events{/privacy}","received_events_url":"https://api.github.com/users/iOSCowboy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iOSCowboy/HexColors","description":"Easy HEX- and RGB-Color Handling for UIColor and NSColor as a drop in category.","fork":true,"url":"https://api.github.com/repos/iOSCowboy/HexColors","forks_url":"https://api.github.com/repos/iOSCowboy/HexColors/forks","keys_url":"https://api.github.com/repos/iOSCowboy/HexColors/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iOSCowboy/HexColors/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iOSCowboy/HexColors/teams","hooks_url":"https://api.github.com/repos/iOSCowboy/HexColors/hooks","issue_events_url":"https://api.github.com/repos/iOSCowboy/HexColors/issues/events{/number}","events_url":"https://api.github.com/repos/iOSCowboy/HexColors/events","assignees_url":"https://api.github.com/repos/iOSCowboy/HexColors/assignees{/user}","branches_url":"https://api.github.com/repos/iOSCowboy/HexColors/branches{/branch}","tags_url":"https://api.github.com/repos/iOSCowboy/HexColors/tags","blobs_url":"https://api.github.com/repos/iOSCowboy/HexColors/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iOSCowboy/HexColors/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iOSCowboy/HexColors/git/refs{/sha}","trees_url":"https://api.github.com/repos/iOSCowboy/HexColors/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iOSCowboy/HexColors/statuses/{sha}","languages_url":"https://api.github.com/repos/iOSCowboy/HexColors/languages","stargazers_url":"https://api.github.com/repos/iOSCowboy/HexColors/stargazers","contributors_url":"https://api.github.com/repos/iOSCowboy/HexColors/contributors","subscribers_url":"https://api.github.com/repos/iOSCowboy/HexColors/subscribers","subscription_url":"https://api.github.com/repos/iOSCowboy/HexColors/subscription","commits_url":"https://api.github.com/repos/iOSCowboy/HexColors/commits{/sha}","git_commits_url":"https://api.github.com/repos/iOSCowboy/HexColors/git/commits{/sha}","comments_url":"https://api.github.com/repos/iOSCowboy/HexColors/comments{/number}","issue_comment_url":"https://api.github.com/repos/iOSCowboy/HexColors/issues/comments{/number}","contents_url":"https://api.github.com/repos/iOSCowboy/HexColors/contents/{+path}","compare_url":"https://api.github.com/repos/iOSCowboy/HexColors/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iOSCowboy/HexColors/merges","archive_url":"https://api.github.com/repos/iOSCowboy/HexColors/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iOSCowboy/HexColors/downloads","issues_url":"https://api.github.com/repos/iOSCowboy/HexColors/issues{/number}","pulls_url":"https://api.github.com/repos/iOSCowboy/HexColors/pulls{/number}","milestones_url":"https://api.github.com/repos/iOSCowboy/HexColors/milestones{/number}","notifications_url":"https://api.github.com/repos/iOSCowboy/HexColors/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iOSCowboy/HexColors/labels{/name}","releases_url":"https://api.github.com/repos/iOSCowboy/HexColors/releases{/id}","created_at":"2014-12-14T22:56:57Z","updated_at":"2014-12-14T23:01:15Z","pushed_at":"2014-12-14T23:01:15Z","git_url":"git://github.com/iOSCowboy/HexColors.git","ssh_url":"git@github.com:iOSCowboy/HexColors.git","clone_url":"https://github.com/iOSCowboy/HexColors.git","svn_url":"https://github.com/iOSCowboy/HexColors","homepage":"","size":134,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","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":"mRs-:master","ref":"master","sha":"140f02fee7d4873fbba84c8266a5e2f71fe066af","user":{"login":"mRs-","id":736421,"avatar_url":"https://avatars.githubusercontent.com/u/736421?v=3","gravatar_id":"","url":"https://api.github.com/users/mRs-","html_url":"https://github.com/mRs-","followers_url":"https://api.github.com/users/mRs-/followers","following_url":"https://api.github.com/users/mRs-/following{/other_user}","gists_url":"https://api.github.com/users/mRs-/gists{/gist_id}","starred_url":"https://api.github.com/users/mRs-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mRs-/subscriptions","organizations_url":"https://api.github.com/users/mRs-/orgs","repos_url":"https://api.github.com/users/mRs-/repos","events_url":"https://api.github.com/users/mRs-/events{/privacy}","received_events_url":"https://api.github.com/users/mRs-/received_events","type":"User","site_admin":false},"repo":{"id":6971630,"name":"HexColors","full_name":"mRs-/HexColors","owner":{"login":"mRs-","id":736421,"avatar_url":"https://avatars.githubusercontent.com/u/736421?v=3","gravatar_id":"","url":"https://api.github.com/users/mRs-","html_url":"https://github.com/mRs-","followers_url":"https://api.github.com/users/mRs-/followers","following_url":"https://api.github.com/users/mRs-/following{/other_user}","gists_url":"https://api.github.com/users/mRs-/gists{/gist_id}","starred_url":"https://api.github.com/users/mRs-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mRs-/subscriptions","organizations_url":"https://api.github.com/users/mRs-/orgs","repos_url":"https://api.github.com/users/mRs-/repos","events_url":"https://api.github.com/users/mRs-/events{/privacy}","received_events_url":"https://api.github.com/users/mRs-/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mRs-/HexColors","description":"Easy HEX- and RGB-Color Handling for UIColor and NSColor as a drop in category.","fork":false,"url":"https://api.github.com/repos/mRs-/HexColors","forks_url":"https://api.github.com/repos/mRs-/HexColors/forks","keys_url":"https://api.github.com/repos/mRs-/HexColors/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mRs-/HexColors/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mRs-/HexColors/teams","hooks_url":"https://api.github.com/repos/mRs-/HexColors/hooks","issue_events_url":"https://api.github.com/repos/mRs-/HexColors/issues/events{/number}","events_url":"https://api.github.com/repos/mRs-/HexColors/events","assignees_url":"https://api.github.com/repos/mRs-/HexColors/assignees{/user}","branches_url":"https://api.github.com/repos/mRs-/HexColors/branches{/branch}","tags_url":"https://api.github.com/repos/mRs-/HexColors/tags","blobs_url":"https://api.github.com/repos/mRs-/HexColors/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mRs-/HexColors/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mRs-/HexColors/git/refs{/sha}","trees_url":"https://api.github.com/repos/mRs-/HexColors/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mRs-/HexColors/statuses/{sha}","languages_url":"https://api.github.com/repos/mRs-/HexColors/languages","stargazers_url":"https://api.github.com/repos/mRs-/HexColors/stargazers","contributors_url":"https://api.github.com/repos/mRs-/HexColors/contributors","subscribers_url":"https://api.github.com/repos/mRs-/HexColors/subscribers","subscription_url":"https://api.github.com/repos/mRs-/HexColors/subscription","commits_url":"https://api.github.com/repos/mRs-/HexColors/commits{/sha}","git_commits_url":"https://api.github.com/repos/mRs-/HexColors/git/commits{/sha}","comments_url":"https://api.github.com/repos/mRs-/HexColors/comments{/number}","issue_comment_url":"https://api.github.com/repos/mRs-/HexColors/issues/comments{/number}","contents_url":"https://api.github.com/repos/mRs-/HexColors/contents/{+path}","compare_url":"https://api.github.com/repos/mRs-/HexColors/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mRs-/HexColors/merges","archive_url":"https://api.github.com/repos/mRs-/HexColors/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mRs-/HexColors/downloads","issues_url":"https://api.github.com/repos/mRs-/HexColors/issues{/number}","pulls_url":"https://api.github.com/repos/mRs-/HexColors/pulls{/number}","milestones_url":"https://api.github.com/repos/mRs-/HexColors/milestones{/number}","notifications_url":"https://api.github.com/repos/mRs-/HexColors/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mRs-/HexColors/labels{/name}","releases_url":"https://api.github.com/repos/mRs-/HexColors/releases{/id}","created_at":"2012-12-02T20:10:04Z","updated_at":"2015-03-31T12:44:28Z","pushed_at":"2015-03-31T12:44:28Z","git_url":"git://github.com/mRs-/HexColors.git","ssh_url":"git@github.com:mRs-/HexColors.git","clone_url":"https://github.com/mRs-/HexColors.git","svn_url":"https://github.com/mRs-/HexColors","homepage":"","size":191,"stargazers_count":228,"watchers_count":228,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":28,"mirror_url":null,"open_issues_count":9,"forks":28,"open_issues":9,"watchers":228,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mRs-/HexColors/pulls/16"},"html":{"href":"https://github.com/mRs-/HexColors/pull/16"},"issue":{"href":"https://api.github.com/repos/mRs-/HexColors/issues/16"},"comments":{"href":"https://api.github.com/repos/mRs-/HexColors/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/mRs-/HexColors/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/mRs-/HexColors/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mRs-/HexColors/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/mRs-/HexColors/statuses/ff4ab97e896b8cf3b98cd89c915c527ea163760d"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"mRs-","id":736421,"avatar_url":"https://avatars.githubusercontent.com/u/736421?v=3","gravatar_id":"","url":"https://api.github.com/users/mRs-","html_url":"https://github.com/mRs-","followers_url":"https://api.github.com/users/mRs-/followers","following_url":"https://api.github.com/users/mRs-/following{/other_user}","gists_url":"https://api.github.com/users/mRs-/gists{/gist_id}","starred_url":"https://api.github.com/users/mRs-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mRs-/subscriptions","organizations_url":"https://api.github.com/users/mRs-/orgs","repos_url":"https://api.github.com/users/mRs-/repos","events_url":"https://api.github.com/users/mRs-/events{/privacy}","received_events_url":"https://api.github.com/users/mRs-/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":0,"changed_files":1}}