{"action":"created","comment":{"url":"https://api.github.com/repos/cbdr/ruby-cb-api/pulls/comments/24416249","id":24416249,"diff_hunk":"@@ -1,3 +1,3 @@\n module Cb\n-  VERSION = '16.2.2'\n+  VERSION = '17.0.0'","path":"lib/cb/version.rb","position":3,"original_position":3,"commit_id":"b35ae3f58307f907f0ee51a2b41f90cda1a5da18","original_commit_id":"b35ae3f58307f907f0ee51a2b41f90cda1a5da18","user":{"login":"ausmith","id":6078539,"avatar_url":"https://avatars.githubusercontent.com/u/6078539?v=3","gravatar_id":"","url":"https://api.github.com/users/ausmith","html_url":"https://github.com/ausmith","followers_url":"https://api.github.com/users/ausmith/followers","following_url":"https://api.github.com/users/ausmith/following{/other_user}","gists_url":"https://api.github.com/users/ausmith/gists{/gist_id}","starred_url":"https://api.github.com/users/ausmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ausmith/subscriptions","organizations_url":"https://api.github.com/users/ausmith/orgs","repos_url":"https://api.github.com/users/ausmith/repos","events_url":"https://api.github.com/users/ausmith/events{/privacy}","received_events_url":"https://api.github.com/users/ausmith/received_events","type":"User","site_admin":false},"body":"Is this really a breaking change? It does now assume that `errors` is an array, but is that a deviation from the rest?","created_at":"2015-02-10T14:46:20Z","updated_at":"2015-02-10T14:46:20Z","html_url":"https://github.com/cbdr/ruby-cb-api/pull/191#discussion_r24416249","pull_request_url":"https://api.github.com/repos/cbdr/ruby-cb-api/pulls/191","_links":{"self":{"href":"https://api.github.com/repos/cbdr/ruby-cb-api/pulls/comments/24416249"},"html":{"href":"https://github.com/cbdr/ruby-cb-api/pull/191#discussion_r24416249"},"pull_request":{"href":"https://api.github.com/repos/cbdr/ruby-cb-api/pulls/191"}}},"pull_request":{"url":"https://api.github.com/repos/cbdr/ruby-cb-api/pulls/191","id":29009240,"html_url":"https://github.com/cbdr/ruby-cb-api/pull/191","diff_url":"https://github.com/cbdr/ruby-cb-api/pull/191.diff","patch_url":"https://github.com/cbdr/ruby-cb-api/pull/191.patch","issue_url":"https://api.github.com/repos/cbdr/ruby-cb-api/issues/191","number":191,"state":"open","locked":false,"title":"Error response","user":{"login":"marcusmoncayo","id":4705142,"avatar_url":"https://avatars.githubusercontent.com/u/4705142?v=3","gravatar_id":"","url":"https://api.github.com/users/marcusmoncayo","html_url":"https://github.com/marcusmoncayo","followers_url":"https://api.github.com/users/marcusmoncayo/followers","following_url":"https://api.github.com/users/marcusmoncayo/following{/other_user}","gists_url":"https://api.github.com/users/marcusmoncayo/gists{/gist_id}","starred_url":"https://api.github.com/users/marcusmoncayo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcusmoncayo/subscriptions","organizations_url":"https://api.github.com/users/marcusmoncayo/orgs","repos_url":"https://api.github.com/users/marcusmoncayo/repos","events_url":"https://api.github.com/users/marcusmoncayo/events{/privacy}","received_events_url":"https://api.github.com/users/marcusmoncayo/received_events","type":"User","site_admin":false},"body":"I want to propose a change to the @parsed variable. Currently if there is an api response error we create the message using the to_s method on the hash/array. \r\n\r\nThis returns an ugly string i.e. \"[\\\"File upload data is larger than the maximum of 1024KB.\\\"]\"\r\n\r\nI changed it to join(',')  which will now return 'File upload data is larger than the maximum of 1024KB.'\r\n\r\nIf there is an array such as [much, awesome, so api, wow]\r\nit will now return  'much awesome,so api,wow'\r\n\r\nwe are currently doing some message conversion and translation and instead of regexing this in our app I thought it would be more elegant to do this in the error class. Thoughts?","created_at":"2015-02-10T14:07:57Z","updated_at":"2015-02-10T14:46:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"79645fe2281f139cfae66901407c1aa9805944a8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cbdr/ruby-cb-api/pulls/191/commits","review_comments_url":"https://api.github.com/repos/cbdr/ruby-cb-api/pulls/191/comments","review_comment_url":"https://api.github.com/repos/cbdr/ruby-cb-api/pulls/comments/{number}","comments_url":"https://api.github.com/repos/cbdr/ruby-cb-api/issues/191/comments","statuses_url":"https://api.github.com/repos/cbdr/ruby-cb-api/statuses/b35ae3f58307f907f0ee51a2b41f90cda1a5da18","head":{"label":"cbdr:error_response","ref":"error_response","sha":"b35ae3f58307f907f0ee51a2b41f90cda1a5da18","user":{"login":"cbdr","id":1764768,"avatar_url":"https://avatars.githubusercontent.com/u/1764768?v=3","gravatar_id":"","url":"https://api.github.com/users/cbdr","html_url":"https://github.com/cbdr","followers_url":"https://api.github.com/users/cbdr/followers","following_url":"https://api.github.com/users/cbdr/following{/other_user}","gists_url":"https://api.github.com/users/cbdr/gists{/gist_id}","starred_url":"https://api.github.com/users/cbdr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbdr/subscriptions","organizations_url":"https://api.github.com/users/cbdr/orgs","repos_url":"https://api.github.com/users/cbdr/repos","events_url":"https://api.github.com/users/cbdr/events{/privacy}","received_events_url":"https://api.github.com/users/cbdr/received_events","type":"Organization","site_admin":false},"repo":{"id":7954699,"name":"ruby-cb-api","full_name":"cbdr/ruby-cb-api","owner":{"login":"cbdr","id":1764768,"avatar_url":"https://avatars.githubusercontent.com/u/1764768?v=3","gravatar_id":"","url":"https://api.github.com/users/cbdr","html_url":"https://github.com/cbdr","followers_url":"https://api.github.com/users/cbdr/followers","following_url":"https://api.github.com/users/cbdr/following{/other_user}","gists_url":"https://api.github.com/users/cbdr/gists{/gist_id}","starred_url":"https://api.github.com/users/cbdr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbdr/subscriptions","organizations_url":"https://api.github.com/users/cbdr/orgs","repos_url":"https://api.github.com/users/cbdr/repos","events_url":"https://api.github.com/users/cbdr/events{/privacy}","received_events_url":"https://api.github.com/users/cbdr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cbdr/ruby-cb-api","description":"Ruby wrapper around the CareerBuilder.com APIs","fork":false,"url":"https://api.github.com/repos/cbdr/ruby-cb-api","forks_url":"https://api.github.com/repos/cbdr/ruby-cb-api/forks","keys_url":"https://api.github.com/repos/cbdr/ruby-cb-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cbdr/ruby-cb-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cbdr/ruby-cb-api/teams","hooks_url":"https://api.github.com/repos/cbdr/ruby-cb-api/hooks","issue_events_url":"https://api.github.com/repos/cbdr/ruby-cb-api/issues/events{/number}","events_url":"https://api.github.com/repos/cbdr/ruby-cb-api/events","assignees_url":"https://api.github.com/repos/cbdr/ruby-cb-api/assignees{/user}","branches_url":"https://api.github.com/repos/cbdr/ruby-cb-api/branches{/branch}","tags_url":"https://api.github.com/repos/cbdr/ruby-cb-api/tags","blobs_url":"https://api.github.com/repos/cbdr/ruby-cb-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cbdr/ruby-cb-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cbdr/ruby-cb-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/cbdr/ruby-cb-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cbdr/ruby-cb-api/statuses/{sha}","languages_url":"https://api.github.com/repos/cbdr/ruby-cb-api/languages","stargazers_url":"https://api.github.com/repos/cbdr/ruby-cb-api/stargazers","contributors_url":"https://api.github.com/repos/cbdr/ruby-cb-api/contributors","subscribers_url":"https://api.github.com/repos/cbdr/ruby-cb-api/subscribers","subscription_url":"https://api.github.com/repos/cbdr/ruby-cb-api/subscription","commits_url":"https://api.github.com/repos/cbdr/ruby-cb-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/cbdr/ruby-cb-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/cbdr/ruby-cb-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/cbdr/ruby-cb-api/issues/comments/{number}","contents_url":"https://api.github.com/repos/cbdr/ruby-cb-api/contents/{+path}","compare_url":"https://api.github.com/repos/cbdr/ruby-cb-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cbdr/ruby-cb-api/merges","archive_url":"https://api.github.com/repos/cbdr/ruby-cb-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cbdr/ruby-cb-api/downloads","issues_url":"https://api.github.com/repos/cbdr/ruby-cb-api/issues{/number}","pulls_url":"https://api.github.com/repos/cbdr/ruby-cb-api/pulls{/number}","milestones_url":"https://api.github.com/repos/cbdr/ruby-cb-api/milestones{/number}","notifications_url":"https://api.github.com/repos/cbdr/ruby-cb-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cbdr/ruby-cb-api/labels{/name}","releases_url":"https://api.github.com/repos/cbdr/ruby-cb-api/releases{/id}","created_at":"2013-02-01T08:44:41Z","updated_at":"2015-02-06T22:07:01Z","pushed_at":"2015-02-10T14:02:26Z","git_url":"git://github.com/cbdr/ruby-cb-api.git","ssh_url":"git@github.com:cbdr/ruby-cb-api.git","clone_url":"https://github.com/cbdr/ruby-cb-api.git","svn_url":"https://github.com/cbdr/ruby-cb-api","homepage":"","size":5496,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":2,"forks":13,"open_issues":2,"watchers":6,"default_branch":"master"}},"base":{"label":"cbdr:master","ref":"master","sha":"ab5c986135561dde63708e72fb3a9e7ed7522782","user":{"login":"cbdr","id":1764768,"avatar_url":"https://avatars.githubusercontent.com/u/1764768?v=3","gravatar_id":"","url":"https://api.github.com/users/cbdr","html_url":"https://github.com/cbdr","followers_url":"https://api.github.com/users/cbdr/followers","following_url":"https://api.github.com/users/cbdr/following{/other_user}","gists_url":"https://api.github.com/users/cbdr/gists{/gist_id}","starred_url":"https://api.github.com/users/cbdr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbdr/subscriptions","organizations_url":"https://api.github.com/users/cbdr/orgs","repos_url":"https://api.github.com/users/cbdr/repos","events_url":"https://api.github.com/users/cbdr/events{/privacy}","received_events_url":"https://api.github.com/users/cbdr/received_events","type":"Organization","site_admin":false},"repo":{"id":7954699,"name":"ruby-cb-api","full_name":"cbdr/ruby-cb-api","owner":{"login":"cbdr","id":1764768,"avatar_url":"https://avatars.githubusercontent.com/u/1764768?v=3","gravatar_id":"","url":"https://api.github.com/users/cbdr","html_url":"https://github.com/cbdr","followers_url":"https://api.github.com/users/cbdr/followers","following_url":"https://api.github.com/users/cbdr/following{/other_user}","gists_url":"https://api.github.com/users/cbdr/gists{/gist_id}","starred_url":"https://api.github.com/users/cbdr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cbdr/subscriptions","organizations_url":"https://api.github.com/users/cbdr/orgs","repos_url":"https://api.github.com/users/cbdr/repos","events_url":"https://api.github.com/users/cbdr/events{/privacy}","received_events_url":"https://api.github.com/users/cbdr/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cbdr/ruby-cb-api","description":"Ruby wrapper around the CareerBuilder.com APIs","fork":false,"url":"https://api.github.com/repos/cbdr/ruby-cb-api","forks_url":"https://api.github.com/repos/cbdr/ruby-cb-api/forks","keys_url":"https://api.github.com/repos/cbdr/ruby-cb-api/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cbdr/ruby-cb-api/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cbdr/ruby-cb-api/teams","hooks_url":"https://api.github.com/repos/cbdr/ruby-cb-api/hooks","issue_events_url":"https://api.github.com/repos/cbdr/ruby-cb-api/issues/events{/number}","events_url":"https://api.github.com/repos/cbdr/ruby-cb-api/events","assignees_url":"https://api.github.com/repos/cbdr/ruby-cb-api/assignees{/user}","branches_url":"https://api.github.com/repos/cbdr/ruby-cb-api/branches{/branch}","tags_url":"https://api.github.com/repos/cbdr/ruby-cb-api/tags","blobs_url":"https://api.github.com/repos/cbdr/ruby-cb-api/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cbdr/ruby-cb-api/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cbdr/ruby-cb-api/git/refs{/sha}","trees_url":"https://api.github.com/repos/cbdr/ruby-cb-api/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cbdr/ruby-cb-api/statuses/{sha}","languages_url":"https://api.github.com/repos/cbdr/ruby-cb-api/languages","stargazers_url":"https://api.github.com/repos/cbdr/ruby-cb-api/stargazers","contributors_url":"https://api.github.com/repos/cbdr/ruby-cb-api/contributors","subscribers_url":"https://api.github.com/repos/cbdr/ruby-cb-api/subscribers","subscription_url":"https://api.github.com/repos/cbdr/ruby-cb-api/subscription","commits_url":"https://api.github.com/repos/cbdr/ruby-cb-api/commits{/sha}","git_commits_url":"https://api.github.com/repos/cbdr/ruby-cb-api/git/commits{/sha}","comments_url":"https://api.github.com/repos/cbdr/ruby-cb-api/comments{/number}","issue_comment_url":"https://api.github.com/repos/cbdr/ruby-cb-api/issues/comments/{number}","contents_url":"https://api.github.com/repos/cbdr/ruby-cb-api/contents/{+path}","compare_url":"https://api.github.com/repos/cbdr/ruby-cb-api/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cbdr/ruby-cb-api/merges","archive_url":"https://api.github.com/repos/cbdr/ruby-cb-api/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cbdr/ruby-cb-api/downloads","issues_url":"https://api.github.com/repos/cbdr/ruby-cb-api/issues{/number}","pulls_url":"https://api.github.com/repos/cbdr/ruby-cb-api/pulls{/number}","milestones_url":"https://api.github.com/repos/cbdr/ruby-cb-api/milestones{/number}","notifications_url":"https://api.github.com/repos/cbdr/ruby-cb-api/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cbdr/ruby-cb-api/labels{/name}","releases_url":"https://api.github.com/repos/cbdr/ruby-cb-api/releases{/id}","created_at":"2013-02-01T08:44:41Z","updated_at":"2015-02-06T22:07:01Z","pushed_at":"2015-02-10T14:02:26Z","git_url":"git://github.com/cbdr/ruby-cb-api.git","ssh_url":"git@github.com:cbdr/ruby-cb-api.git","clone_url":"https://github.com/cbdr/ruby-cb-api.git","svn_url":"https://github.com/cbdr/ruby-cb-api","homepage":"","size":5496,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":2,"forks":13,"open_issues":2,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cbdr/ruby-cb-api/pulls/191"},"html":{"href":"https://github.com/cbdr/ruby-cb-api/pull/191"},"issue":{"href":"https://api.github.com/repos/cbdr/ruby-cb-api/issues/191"},"comments":{"href":"https://api.github.com/repos/cbdr/ruby-cb-api/issues/191/comments"},"review_comments":{"href":"https://api.github.com/repos/cbdr/ruby-cb-api/pulls/191/comments"},"review_comment":{"href":"https://api.github.com/repos/cbdr/ruby-cb-api/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/cbdr/ruby-cb-api/pulls/191/commits"},"statuses":{"href":"https://api.github.com/repos/cbdr/ruby-cb-api/statuses/b35ae3f58307f907f0ee51a2b41f90cda1a5da18"}}}}