{"action":"closed","number":13,"pull_request":{"url":"https://api.github.com/repos/yammer/circuitbox/pulls/13","id":33373678,"html_url":"https://github.com/yammer/circuitbox/pull/13","diff_url":"https://github.com/yammer/circuitbox/pull/13.diff","patch_url":"https://github.com/yammer/circuitbox/pull/13.patch","issue_url":"https://api.github.com/repos/yammer/circuitbox/issues/13","number":13,"state":"closed","locked":false,"title":"Add run! method to support raising exceptions from a circuit","user":{"login":"morganjbruce","id":731163,"avatar_url":"https://avatars.githubusercontent.com/u/731163?v=3","gravatar_id":"","url":"https://api.github.com/users/morganjbruce","html_url":"https://github.com/morganjbruce","followers_url":"https://api.github.com/users/morganjbruce/followers","following_url":"https://api.github.com/users/morganjbruce/following{/other_user}","gists_url":"https://api.github.com/users/morganjbruce/gists{/gist_id}","starred_url":"https://api.github.com/users/morganjbruce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morganjbruce/subscriptions","organizations_url":"https://api.github.com/users/morganjbruce/orgs","repos_url":"https://api.github.com/users/morganjbruce/repos","events_url":"https://api.github.com/users/morganjbruce/events{/privacy}","received_events_url":"https://api.github.com/users/morganjbruce/received_events","type":"User","site_admin":false},"body":"Really like this gem, but for our use case, we needed circuits to throw exceptions when problems occur:\r\n\r\n* `run!` method added to CircuitBreaker; implementation changed to throw exceptions rather than returning nil\r\n* existing behaviour of `run` has been maintained","created_at":"2015-04-15T16:42:25Z","updated_at":"2015-04-16T09:26:44Z","closed_at":"2015-04-16T09:26:44Z","merged_at":"2015-04-16T09:26:44Z","merge_commit_sha":"df2808fbfa4de7d485b0f274431dcb55479a13fd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yammer/circuitbox/pulls/13/commits","review_comments_url":"https://api.github.com/repos/yammer/circuitbox/pulls/13/comments","review_comment_url":"https://api.github.com/repos/yammer/circuitbox/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yammer/circuitbox/issues/13/comments","statuses_url":"https://api.github.com/repos/yammer/circuitbox/statuses/4c087939a87aba9af227bf7fb13e665f43fccd93","head":{"label":"morganjbruce:feature/exceptions","ref":"feature/exceptions","sha":"4c087939a87aba9af227bf7fb13e665f43fccd93","user":{"login":"morganjbruce","id":731163,"avatar_url":"https://avatars.githubusercontent.com/u/731163?v=3","gravatar_id":"","url":"https://api.github.com/users/morganjbruce","html_url":"https://github.com/morganjbruce","followers_url":"https://api.github.com/users/morganjbruce/followers","following_url":"https://api.github.com/users/morganjbruce/following{/other_user}","gists_url":"https://api.github.com/users/morganjbruce/gists{/gist_id}","starred_url":"https://api.github.com/users/morganjbruce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morganjbruce/subscriptions","organizations_url":"https://api.github.com/users/morganjbruce/orgs","repos_url":"https://api.github.com/users/morganjbruce/repos","events_url":"https://api.github.com/users/morganjbruce/events{/privacy}","received_events_url":"https://api.github.com/users/morganjbruce/received_events","type":"User","site_admin":false},"repo":{"id":33865496,"name":"circuitbox","full_name":"morganjbruce/circuitbox","owner":{"login":"morganjbruce","id":731163,"avatar_url":"https://avatars.githubusercontent.com/u/731163?v=3","gravatar_id":"","url":"https://api.github.com/users/morganjbruce","html_url":"https://github.com/morganjbruce","followers_url":"https://api.github.com/users/morganjbruce/followers","following_url":"https://api.github.com/users/morganjbruce/following{/other_user}","gists_url":"https://api.github.com/users/morganjbruce/gists{/gist_id}","starred_url":"https://api.github.com/users/morganjbruce/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morganjbruce/subscriptions","organizations_url":"https://api.github.com/users/morganjbruce/orgs","repos_url":"https://api.github.com/users/morganjbruce/repos","events_url":"https://api.github.com/users/morganjbruce/events{/privacy}","received_events_url":"https://api.github.com/users/morganjbruce/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/morganjbruce/circuitbox","description":"Circuit breaker built with large Ruby apps in mind.","fork":true,"url":"https://api.github.com/repos/morganjbruce/circuitbox","forks_url":"https://api.github.com/repos/morganjbruce/circuitbox/forks","keys_url":"https://api.github.com/repos/morganjbruce/circuitbox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/morganjbruce/circuitbox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/morganjbruce/circuitbox/teams","hooks_url":"https://api.github.com/repos/morganjbruce/circuitbox/hooks","issue_events_url":"https://api.github.com/repos/morganjbruce/circuitbox/issues/events{/number}","events_url":"https://api.github.com/repos/morganjbruce/circuitbox/events","assignees_url":"https://api.github.com/repos/morganjbruce/circuitbox/assignees{/user}","branches_url":"https://api.github.com/repos/morganjbruce/circuitbox/branches{/branch}","tags_url":"https://api.github.com/repos/morganjbruce/circuitbox/tags","blobs_url":"https://api.github.com/repos/morganjbruce/circuitbox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/morganjbruce/circuitbox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/morganjbruce/circuitbox/git/refs{/sha}","trees_url":"https://api.github.com/repos/morganjbruce/circuitbox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/morganjbruce/circuitbox/statuses/{sha}","languages_url":"https://api.github.com/repos/morganjbruce/circuitbox/languages","stargazers_url":"https://api.github.com/repos/morganjbruce/circuitbox/stargazers","contributors_url":"https://api.github.com/repos/morganjbruce/circuitbox/contributors","subscribers_url":"https://api.github.com/repos/morganjbruce/circuitbox/subscribers","subscription_url":"https://api.github.com/repos/morganjbruce/circuitbox/subscription","commits_url":"https://api.github.com/repos/morganjbruce/circuitbox/commits{/sha}","git_commits_url":"https://api.github.com/repos/morganjbruce/circuitbox/git/commits{/sha}","comments_url":"https://api.github.com/repos/morganjbruce/circuitbox/comments{/number}","issue_comment_url":"https://api.github.com/repos/morganjbruce/circuitbox/issues/comments{/number}","contents_url":"https://api.github.com/repos/morganjbruce/circuitbox/contents/{+path}","compare_url":"https://api.github.com/repos/morganjbruce/circuitbox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/morganjbruce/circuitbox/merges","archive_url":"https://api.github.com/repos/morganjbruce/circuitbox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/morganjbruce/circuitbox/downloads","issues_url":"https://api.github.com/repos/morganjbruce/circuitbox/issues{/number}","pulls_url":"https://api.github.com/repos/morganjbruce/circuitbox/pulls{/number}","milestones_url":"https://api.github.com/repos/morganjbruce/circuitbox/milestones{/number}","notifications_url":"https://api.github.com/repos/morganjbruce/circuitbox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/morganjbruce/circuitbox/labels{/name}","releases_url":"https://api.github.com/repos/morganjbruce/circuitbox/releases{/id}","created_at":"2015-04-13T11:49:06Z","updated_at":"2015-04-13T11:49:06Z","pushed_at":"2015-04-15T16:40:46Z","git_url":"git://github.com/morganjbruce/circuitbox.git","ssh_url":"git@github.com:morganjbruce/circuitbox.git","clone_url":"https://github.com/morganjbruce/circuitbox.git","svn_url":"https://github.com/morganjbruce/circuitbox","homepage":"","size":128,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"yammer:master","ref":"master","sha":"8987dde1263b511e055c56fedc294b7708c619c8","user":{"login":"yammer","id":119402,"avatar_url":"https://avatars.githubusercontent.com/u/119402?v=3","gravatar_id":"","url":"https://api.github.com/users/yammer","html_url":"https://github.com/yammer","followers_url":"https://api.github.com/users/yammer/followers","following_url":"https://api.github.com/users/yammer/following{/other_user}","gists_url":"https://api.github.com/users/yammer/gists{/gist_id}","starred_url":"https://api.github.com/users/yammer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yammer/subscriptions","organizations_url":"https://api.github.com/users/yammer/orgs","repos_url":"https://api.github.com/users/yammer/repos","events_url":"https://api.github.com/users/yammer/events{/privacy}","received_events_url":"https://api.github.com/users/yammer/received_events","type":"Organization","site_admin":false},"repo":{"id":22921641,"name":"circuitbox","full_name":"yammer/circuitbox","owner":{"login":"yammer","id":119402,"avatar_url":"https://avatars.githubusercontent.com/u/119402?v=3","gravatar_id":"","url":"https://api.github.com/users/yammer","html_url":"https://github.com/yammer","followers_url":"https://api.github.com/users/yammer/followers","following_url":"https://api.github.com/users/yammer/following{/other_user}","gists_url":"https://api.github.com/users/yammer/gists{/gist_id}","starred_url":"https://api.github.com/users/yammer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yammer/subscriptions","organizations_url":"https://api.github.com/users/yammer/orgs","repos_url":"https://api.github.com/users/yammer/repos","events_url":"https://api.github.com/users/yammer/events{/privacy}","received_events_url":"https://api.github.com/users/yammer/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/yammer/circuitbox","description":"Circuit breaker built with large Ruby apps in mind.","fork":false,"url":"https://api.github.com/repos/yammer/circuitbox","forks_url":"https://api.github.com/repos/yammer/circuitbox/forks","keys_url":"https://api.github.com/repos/yammer/circuitbox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yammer/circuitbox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yammer/circuitbox/teams","hooks_url":"https://api.github.com/repos/yammer/circuitbox/hooks","issue_events_url":"https://api.github.com/repos/yammer/circuitbox/issues/events{/number}","events_url":"https://api.github.com/repos/yammer/circuitbox/events","assignees_url":"https://api.github.com/repos/yammer/circuitbox/assignees{/user}","branches_url":"https://api.github.com/repos/yammer/circuitbox/branches{/branch}","tags_url":"https://api.github.com/repos/yammer/circuitbox/tags","blobs_url":"https://api.github.com/repos/yammer/circuitbox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yammer/circuitbox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yammer/circuitbox/git/refs{/sha}","trees_url":"https://api.github.com/repos/yammer/circuitbox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yammer/circuitbox/statuses/{sha}","languages_url":"https://api.github.com/repos/yammer/circuitbox/languages","stargazers_url":"https://api.github.com/repos/yammer/circuitbox/stargazers","contributors_url":"https://api.github.com/repos/yammer/circuitbox/contributors","subscribers_url":"https://api.github.com/repos/yammer/circuitbox/subscribers","subscription_url":"https://api.github.com/repos/yammer/circuitbox/subscription","commits_url":"https://api.github.com/repos/yammer/circuitbox/commits{/sha}","git_commits_url":"https://api.github.com/repos/yammer/circuitbox/git/commits{/sha}","comments_url":"https://api.github.com/repos/yammer/circuitbox/comments{/number}","issue_comment_url":"https://api.github.com/repos/yammer/circuitbox/issues/comments{/number}","contents_url":"https://api.github.com/repos/yammer/circuitbox/contents/{+path}","compare_url":"https://api.github.com/repos/yammer/circuitbox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yammer/circuitbox/merges","archive_url":"https://api.github.com/repos/yammer/circuitbox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yammer/circuitbox/downloads","issues_url":"https://api.github.com/repos/yammer/circuitbox/issues{/number}","pulls_url":"https://api.github.com/repos/yammer/circuitbox/pulls{/number}","milestones_url":"https://api.github.com/repos/yammer/circuitbox/milestones{/number}","notifications_url":"https://api.github.com/repos/yammer/circuitbox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yammer/circuitbox/labels{/name}","releases_url":"https://api.github.com/repos/yammer/circuitbox/releases{/id}","created_at":"2014-08-13T15:57:25Z","updated_at":"2015-04-16T09:26:45Z","pushed_at":"2015-04-16T09:26:44Z","git_url":"git://github.com/yammer/circuitbox.git","ssh_url":"git@github.com:yammer/circuitbox.git","clone_url":"https://github.com/yammer/circuitbox.git","svn_url":"https://github.com/yammer/circuitbox","homepage":"","size":473,"stargazers_count":16,"watchers_count":16,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yammer/circuitbox/pulls/13"},"html":{"href":"https://github.com/yammer/circuitbox/pull/13"},"issue":{"href":"https://api.github.com/repos/yammer/circuitbox/issues/13"},"comments":{"href":"https://api.github.com/repos/yammer/circuitbox/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/yammer/circuitbox/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/yammer/circuitbox/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yammer/circuitbox/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/yammer/circuitbox/statuses/4c087939a87aba9af227bf7fb13e665f43fccd93"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"yarmand","id":555374,"avatar_url":"https://avatars.githubusercontent.com/u/555374?v=3","gravatar_id":"","url":"https://api.github.com/users/yarmand","html_url":"https://github.com/yarmand","followers_url":"https://api.github.com/users/yarmand/followers","following_url":"https://api.github.com/users/yarmand/following{/other_user}","gists_url":"https://api.github.com/users/yarmand/gists{/gist_id}","starred_url":"https://api.github.com/users/yarmand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yarmand/subscriptions","organizations_url":"https://api.github.com/users/yarmand/orgs","repos_url":"https://api.github.com/users/yarmand/repos","events_url":"https://api.github.com/users/yarmand/events{/privacy}","received_events_url":"https://api.github.com/users/yarmand/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"commits":2,"additions":76,"deletions":6,"changed_files":8}}