{"action":"opened","number":34,"pull_request":{"url":"https://api.github.com/repos/lookout/elementary-rpc/pulls/34","id":33517365,"html_url":"https://github.com/lookout/elementary-rpc/pull/34","diff_url":"https://github.com/lookout/elementary-rpc/pull/34.diff","patch_url":"https://github.com/lookout/elementary-rpc/pull/34.patch","issue_url":"https://api.github.com/repos/lookout/elementary-rpc/issues/34","number":34,"state":"open","locked":false,"title":"Allow Faraday middleware to be passed in on Elementary::Connection initialization","user":{"login":"ismith","id":172694,"avatar_url":"https://avatars.githubusercontent.com/u/172694?v=3","gravatar_id":"","url":"https://api.github.com/users/ismith","html_url":"https://github.com/ismith","followers_url":"https://api.github.com/users/ismith/followers","following_url":"https://api.github.com/users/ismith/following{/other_user}","gists_url":"https://api.github.com/users/ismith/gists{/gist_id}","starred_url":"https://api.github.com/users/ismith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ismith/subscriptions","organizations_url":"https://api.github.com/users/ismith/orgs","repos_url":"https://api.github.com/users/ismith/repos","events_url":"https://api.github.com/users/ismith/events{/privacy}","received_events_url":"https://api.github.com/users/ismith/received_events","type":"User","site_admin":false},"body":"E.g.:\r\n\r\nc = Elementary::Connection.new(Echoserv::Simple,\r\n                                                     :hosts => hosts,\r\n                                                     :transport_options => {\r\n                                                       :faraday_middleware => [\r\n                                                         [ FaradayMiddleware::FollowRedirects, :limit => 2 ]]})","created_at":"2015-04-17T06:22:18Z","updated_at":"2015-04-17T06:22:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lookout/elementary-rpc/pulls/34/commits","review_comments_url":"https://api.github.com/repos/lookout/elementary-rpc/pulls/34/comments","review_comment_url":"https://api.github.com/repos/lookout/elementary-rpc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lookout/elementary-rpc/issues/34/comments","statuses_url":"https://api.github.com/repos/lookout/elementary-rpc/statuses/136f0f56c9bd1252967d9bd9eb18059eecf8609d","head":{"label":"ismith:faraday_middleware","ref":"faraday_middleware","sha":"136f0f56c9bd1252967d9bd9eb18059eecf8609d","user":{"login":"ismith","id":172694,"avatar_url":"https://avatars.githubusercontent.com/u/172694?v=3","gravatar_id":"","url":"https://api.github.com/users/ismith","html_url":"https://github.com/ismith","followers_url":"https://api.github.com/users/ismith/followers","following_url":"https://api.github.com/users/ismith/following{/other_user}","gists_url":"https://api.github.com/users/ismith/gists{/gist_id}","starred_url":"https://api.github.com/users/ismith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ismith/subscriptions","organizations_url":"https://api.github.com/users/ismith/orgs","repos_url":"https://api.github.com/users/ismith/repos","events_url":"https://api.github.com/users/ismith/events{/privacy}","received_events_url":"https://api.github.com/users/ismith/received_events","type":"User","site_admin":false},"repo":{"id":34100091,"name":"elementary-rpc","full_name":"ismith/elementary-rpc","owner":{"login":"ismith","id":172694,"avatar_url":"https://avatars.githubusercontent.com/u/172694?v=3","gravatar_id":"","url":"https://api.github.com/users/ismith","html_url":"https://github.com/ismith","followers_url":"https://api.github.com/users/ismith/followers","following_url":"https://api.github.com/users/ismith/following{/other_user}","gists_url":"https://api.github.com/users/ismith/gists{/gist_id}","starred_url":"https://api.github.com/users/ismith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ismith/subscriptions","organizations_url":"https://api.github.com/users/ismith/orgs","repos_url":"https://api.github.com/users/ismith/repos","events_url":"https://api.github.com/users/ismith/events{/privacy}","received_events_url":"https://api.github.com/users/ismith/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ismith/elementary-rpc","description":"Elementary RPC is a simple, async client library for interacting with Protobuf RPC servers","fork":true,"url":"https://api.github.com/repos/ismith/elementary-rpc","forks_url":"https://api.github.com/repos/ismith/elementary-rpc/forks","keys_url":"https://api.github.com/repos/ismith/elementary-rpc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ismith/elementary-rpc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ismith/elementary-rpc/teams","hooks_url":"https://api.github.com/repos/ismith/elementary-rpc/hooks","issue_events_url":"https://api.github.com/repos/ismith/elementary-rpc/issues/events{/number}","events_url":"https://api.github.com/repos/ismith/elementary-rpc/events","assignees_url":"https://api.github.com/repos/ismith/elementary-rpc/assignees{/user}","branches_url":"https://api.github.com/repos/ismith/elementary-rpc/branches{/branch}","tags_url":"https://api.github.com/repos/ismith/elementary-rpc/tags","blobs_url":"https://api.github.com/repos/ismith/elementary-rpc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ismith/elementary-rpc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ismith/elementary-rpc/git/refs{/sha}","trees_url":"https://api.github.com/repos/ismith/elementary-rpc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ismith/elementary-rpc/statuses/{sha}","languages_url":"https://api.github.com/repos/ismith/elementary-rpc/languages","stargazers_url":"https://api.github.com/repos/ismith/elementary-rpc/stargazers","contributors_url":"https://api.github.com/repos/ismith/elementary-rpc/contributors","subscribers_url":"https://api.github.com/repos/ismith/elementary-rpc/subscribers","subscription_url":"https://api.github.com/repos/ismith/elementary-rpc/subscription","commits_url":"https://api.github.com/repos/ismith/elementary-rpc/commits{/sha}","git_commits_url":"https://api.github.com/repos/ismith/elementary-rpc/git/commits{/sha}","comments_url":"https://api.github.com/repos/ismith/elementary-rpc/comments{/number}","issue_comment_url":"https://api.github.com/repos/ismith/elementary-rpc/issues/comments{/number}","contents_url":"https://api.github.com/repos/ismith/elementary-rpc/contents/{+path}","compare_url":"https://api.github.com/repos/ismith/elementary-rpc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ismith/elementary-rpc/merges","archive_url":"https://api.github.com/repos/ismith/elementary-rpc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ismith/elementary-rpc/downloads","issues_url":"https://api.github.com/repos/ismith/elementary-rpc/issues{/number}","pulls_url":"https://api.github.com/repos/ismith/elementary-rpc/pulls{/number}","milestones_url":"https://api.github.com/repos/ismith/elementary-rpc/milestones{/number}","notifications_url":"https://api.github.com/repos/ismith/elementary-rpc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ismith/elementary-rpc/labels{/name}","releases_url":"https://api.github.com/repos/ismith/elementary-rpc/releases{/id}","created_at":"2015-04-17T06:19:29Z","updated_at":"2015-04-17T06:19:30Z","pushed_at":"2015-04-17T06:20:07Z","git_url":"git://github.com/ismith/elementary-rpc.git","ssh_url":"git@github.com:ismith/elementary-rpc.git","clone_url":"https://github.com/ismith/elementary-rpc.git","svn_url":"https://github.com/ismith/elementary-rpc","homepage":null,"size":451,"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":"lookout:master","ref":"master","sha":"dcb01c9c08dbb16ce5ff2f90119ef2788daa92a6","user":{"login":"lookout","id":47237,"avatar_url":"https://avatars.githubusercontent.com/u/47237?v=3","gravatar_id":"","url":"https://api.github.com/users/lookout","html_url":"https://github.com/lookout","followers_url":"https://api.github.com/users/lookout/followers","following_url":"https://api.github.com/users/lookout/following{/other_user}","gists_url":"https://api.github.com/users/lookout/gists{/gist_id}","starred_url":"https://api.github.com/users/lookout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lookout/subscriptions","organizations_url":"https://api.github.com/users/lookout/orgs","repos_url":"https://api.github.com/users/lookout/repos","events_url":"https://api.github.com/users/lookout/events{/privacy}","received_events_url":"https://api.github.com/users/lookout/received_events","type":"Organization","site_admin":false},"repo":{"id":20469665,"name":"elementary-rpc","full_name":"lookout/elementary-rpc","owner":{"login":"lookout","id":47237,"avatar_url":"https://avatars.githubusercontent.com/u/47237?v=3","gravatar_id":"","url":"https://api.github.com/users/lookout","html_url":"https://github.com/lookout","followers_url":"https://api.github.com/users/lookout/followers","following_url":"https://api.github.com/users/lookout/following{/other_user}","gists_url":"https://api.github.com/users/lookout/gists{/gist_id}","starred_url":"https://api.github.com/users/lookout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lookout/subscriptions","organizations_url":"https://api.github.com/users/lookout/orgs","repos_url":"https://api.github.com/users/lookout/repos","events_url":"https://api.github.com/users/lookout/events{/privacy}","received_events_url":"https://api.github.com/users/lookout/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/lookout/elementary-rpc","description":"Elementary RPC is a simple, async client library for interacting with Protobuf RPC servers","fork":false,"url":"https://api.github.com/repos/lookout/elementary-rpc","forks_url":"https://api.github.com/repos/lookout/elementary-rpc/forks","keys_url":"https://api.github.com/repos/lookout/elementary-rpc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lookout/elementary-rpc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lookout/elementary-rpc/teams","hooks_url":"https://api.github.com/repos/lookout/elementary-rpc/hooks","issue_events_url":"https://api.github.com/repos/lookout/elementary-rpc/issues/events{/number}","events_url":"https://api.github.com/repos/lookout/elementary-rpc/events","assignees_url":"https://api.github.com/repos/lookout/elementary-rpc/assignees{/user}","branches_url":"https://api.github.com/repos/lookout/elementary-rpc/branches{/branch}","tags_url":"https://api.github.com/repos/lookout/elementary-rpc/tags","blobs_url":"https://api.github.com/repos/lookout/elementary-rpc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lookout/elementary-rpc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lookout/elementary-rpc/git/refs{/sha}","trees_url":"https://api.github.com/repos/lookout/elementary-rpc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lookout/elementary-rpc/statuses/{sha}","languages_url":"https://api.github.com/repos/lookout/elementary-rpc/languages","stargazers_url":"https://api.github.com/repos/lookout/elementary-rpc/stargazers","contributors_url":"https://api.github.com/repos/lookout/elementary-rpc/contributors","subscribers_url":"https://api.github.com/repos/lookout/elementary-rpc/subscribers","subscription_url":"https://api.github.com/repos/lookout/elementary-rpc/subscription","commits_url":"https://api.github.com/repos/lookout/elementary-rpc/commits{/sha}","git_commits_url":"https://api.github.com/repos/lookout/elementary-rpc/git/commits{/sha}","comments_url":"https://api.github.com/repos/lookout/elementary-rpc/comments{/number}","issue_comment_url":"https://api.github.com/repos/lookout/elementary-rpc/issues/comments{/number}","contents_url":"https://api.github.com/repos/lookout/elementary-rpc/contents/{+path}","compare_url":"https://api.github.com/repos/lookout/elementary-rpc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lookout/elementary-rpc/merges","archive_url":"https://api.github.com/repos/lookout/elementary-rpc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lookout/elementary-rpc/downloads","issues_url":"https://api.github.com/repos/lookout/elementary-rpc/issues{/number}","pulls_url":"https://api.github.com/repos/lookout/elementary-rpc/pulls{/number}","milestones_url":"https://api.github.com/repos/lookout/elementary-rpc/milestones{/number}","notifications_url":"https://api.github.com/repos/lookout/elementary-rpc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lookout/elementary-rpc/labels{/name}","releases_url":"https://api.github.com/repos/lookout/elementary-rpc/releases{/id}","created_at":"2014-06-04T04:04:04Z","updated_at":"2015-04-15T01:00:50Z","pushed_at":"2015-04-15T01:00:49Z","git_url":"git://github.com/lookout/elementary-rpc.git","ssh_url":"git@github.com:lookout/elementary-rpc.git","clone_url":"https://github.com/lookout/elementary-rpc.git","svn_url":"https://github.com/lookout/elementary-rpc","homepage":null,"size":451,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":11,"forks":6,"open_issues":11,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lookout/elementary-rpc/pulls/34"},"html":{"href":"https://github.com/lookout/elementary-rpc/pull/34"},"issue":{"href":"https://api.github.com/repos/lookout/elementary-rpc/issues/34"},"comments":{"href":"https://api.github.com/repos/lookout/elementary-rpc/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/lookout/elementary-rpc/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/lookout/elementary-rpc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lookout/elementary-rpc/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/lookout/elementary-rpc/statuses/136f0f56c9bd1252967d9bd9eb18059eecf8609d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":51,"deletions":0,"changed_files":3}}