{"action":"created","comment":{"url":"https://api.github.com/repos/Apipie/apipie-bindings/pulls/comments/86946477","pull_request_review_id":7577329,"id":86946477,"diff_hunk":"@@ -90,6 +90,9 @@ def initialize(config, options={})\n \n       @credentials = config[:credentials] if config[:credentials] && config[:credentials].respond_to?(:to_params)\n \n+      if (config[:timeout] && config[:timeout].to_i < 0)\n+        config[:timeout] = (RestClient.version < '2.0.0') ? -1 : nil","path":"lib/apipie_bindings/api.rb","position":14,"original_position":14,"commit_id":"83d15875f70c573e0f946f1d2f0ac89e3ae7c096","original_commit_id":"83d15875f70c573e0f946f1d2f0ac89e3ae7c096","user":{"login":"domcleal","id":482089,"avatar_url":"https://avatars.githubusercontent.com/u/482089?v=3","gravatar_id":"","url":"https://api.github.com/users/domcleal","html_url":"https://github.com/domcleal","followers_url":"https://api.github.com/users/domcleal/followers","following_url":"https://api.github.com/users/domcleal/following{/other_user}","gists_url":"https://api.github.com/users/domcleal/gists{/gist_id}","starred_url":"https://api.github.com/users/domcleal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/domcleal/subscriptions","organizations_url":"https://api.github.com/users/domcleal/orgs","repos_url":"https://api.github.com/users/domcleal/repos","events_url":"https://api.github.com/users/domcleal/events{/privacy}","received_events_url":"https://api.github.com/users/domcleal/received_events","type":"User","site_admin":false},"body":"This should be `< 1.7.0` rather than 2.0.0, it's been deprecated longer than this: https://github.com/rest-client/rest-client/blob/v1.7.0/history.md","created_at":"2016-11-08T08:58:18Z","updated_at":"2016-11-08T08:58:52Z","html_url":"https://github.com/Apipie/apipie-bindings/pull/53#discussion_r86946477","pull_request_url":"https://api.github.com/repos/Apipie/apipie-bindings/pulls/53","_links":{"self":{"href":"https://api.github.com/repos/Apipie/apipie-bindings/pulls/comments/86946477"},"html":{"href":"https://github.com/Apipie/apipie-bindings/pull/53#discussion_r86946477"},"pull_request":{"href":"https://api.github.com/repos/Apipie/apipie-bindings/pulls/53"}}},"pull_request":{"url":"https://api.github.com/repos/Apipie/apipie-bindings/pulls/53","id":92319086,"html_url":"https://github.com/Apipie/apipie-bindings/pull/53","diff_url":"https://github.com/Apipie/apipie-bindings/pull/53.diff","patch_url":"https://github.com/Apipie/apipie-bindings/pull/53.patch","issue_url":"https://api.github.com/repos/Apipie/apipie-bindings/issues/53","number":53,"state":"open","locked":false,"title":"Fixes #16775 - timeout deprecation warning","user":{"login":"tstrachota","id":1186631,"avatar_url":"https://avatars.githubusercontent.com/u/1186631?v=3","gravatar_id":"","url":"https://api.github.com/users/tstrachota","html_url":"https://github.com/tstrachota","followers_url":"https://api.github.com/users/tstrachota/followers","following_url":"https://api.github.com/users/tstrachota/following{/other_user}","gists_url":"https://api.github.com/users/tstrachota/gists{/gist_id}","starred_url":"https://api.github.com/users/tstrachota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tstrachota/subscriptions","organizations_url":"https://api.github.com/users/tstrachota/orgs","repos_url":"https://api.github.com/users/tstrachota/repos","events_url":"https://api.github.com/users/tstrachota/events{/privacy}","received_events_url":"https://api.github.com/users/tstrachota/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-04T10:55:36Z","updated_at":"2016-11-08T08:58:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8c0e8c797ee259748daabda9894beddda86fb7cb","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Apipie/apipie-bindings/pulls/53/commits","review_comments_url":"https://api.github.com/repos/Apipie/apipie-bindings/pulls/53/comments","review_comment_url":"https://api.github.com/repos/Apipie/apipie-bindings/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Apipie/apipie-bindings/issues/53/comments","statuses_url":"https://api.github.com/repos/Apipie/apipie-bindings/statuses/83d15875f70c573e0f946f1d2f0ac89e3ae7c096","head":{"label":"tstrachota:timeout_warning_16775","ref":"timeout_warning_16775","sha":"83d15875f70c573e0f946f1d2f0ac89e3ae7c096","user":{"login":"tstrachota","id":1186631,"avatar_url":"https://avatars.githubusercontent.com/u/1186631?v=3","gravatar_id":"","url":"https://api.github.com/users/tstrachota","html_url":"https://github.com/tstrachota","followers_url":"https://api.github.com/users/tstrachota/followers","following_url":"https://api.github.com/users/tstrachota/following{/other_user}","gists_url":"https://api.github.com/users/tstrachota/gists{/gist_id}","starred_url":"https://api.github.com/users/tstrachota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tstrachota/subscriptions","organizations_url":"https://api.github.com/users/tstrachota/orgs","repos_url":"https://api.github.com/users/tstrachota/repos","events_url":"https://api.github.com/users/tstrachota/events{/privacy}","received_events_url":"https://api.github.com/users/tstrachota/received_events","type":"User","site_admin":false},"repo":{"id":20287215,"name":"apipie-bindings","full_name":"tstrachota/apipie-bindings","owner":{"login":"tstrachota","id":1186631,"avatar_url":"https://avatars.githubusercontent.com/u/1186631?v=3","gravatar_id":"","url":"https://api.github.com/users/tstrachota","html_url":"https://github.com/tstrachota","followers_url":"https://api.github.com/users/tstrachota/followers","following_url":"https://api.github.com/users/tstrachota/following{/other_user}","gists_url":"https://api.github.com/users/tstrachota/gists{/gist_id}","starred_url":"https://api.github.com/users/tstrachota/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tstrachota/subscriptions","organizations_url":"https://api.github.com/users/tstrachota/orgs","repos_url":"https://api.github.com/users/tstrachota/repos","events_url":"https://api.github.com/users/tstrachota/events{/privacy}","received_events_url":"https://api.github.com/users/tstrachota/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tstrachota/apipie-bindings","description":null,"fork":true,"url":"https://api.github.com/repos/tstrachota/apipie-bindings","forks_url":"https://api.github.com/repos/tstrachota/apipie-bindings/forks","keys_url":"https://api.github.com/repos/tstrachota/apipie-bindings/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tstrachota/apipie-bindings/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tstrachota/apipie-bindings/teams","hooks_url":"https://api.github.com/repos/tstrachota/apipie-bindings/hooks","issue_events_url":"https://api.github.com/repos/tstrachota/apipie-bindings/issues/events{/number}","events_url":"https://api.github.com/repos/tstrachota/apipie-bindings/events","assignees_url":"https://api.github.com/repos/tstrachota/apipie-bindings/assignees{/user}","branches_url":"https://api.github.com/repos/tstrachota/apipie-bindings/branches{/branch}","tags_url":"https://api.github.com/repos/tstrachota/apipie-bindings/tags","blobs_url":"https://api.github.com/repos/tstrachota/apipie-bindings/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tstrachota/apipie-bindings/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tstrachota/apipie-bindings/git/refs{/sha}","trees_url":"https://api.github.com/repos/tstrachota/apipie-bindings/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tstrachota/apipie-bindings/statuses/{sha}","languages_url":"https://api.github.com/repos/tstrachota/apipie-bindings/languages","stargazers_url":"https://api.github.com/repos/tstrachota/apipie-bindings/stargazers","contributors_url":"https://api.github.com/repos/tstrachota/apipie-bindings/contributors","subscribers_url":"https://api.github.com/repos/tstrachota/apipie-bindings/subscribers","subscription_url":"https://api.github.com/repos/tstrachota/apipie-bindings/subscription","commits_url":"https://api.github.com/repos/tstrachota/apipie-bindings/commits{/sha}","git_commits_url":"https://api.github.com/repos/tstrachota/apipie-bindings/git/commits{/sha}","comments_url":"https://api.github.com/repos/tstrachota/apipie-bindings/comments{/number}","issue_comment_url":"https://api.github.com/repos/tstrachota/apipie-bindings/issues/comments{/number}","contents_url":"https://api.github.com/repos/tstrachota/apipie-bindings/contents/{+path}","compare_url":"https://api.github.com/repos/tstrachota/apipie-bindings/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tstrachota/apipie-bindings/merges","archive_url":"https://api.github.com/repos/tstrachota/apipie-bindings/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tstrachota/apipie-bindings/downloads","issues_url":"https://api.github.com/repos/tstrachota/apipie-bindings/issues{/number}","pulls_url":"https://api.github.com/repos/tstrachota/apipie-bindings/pulls{/number}","milestones_url":"https://api.github.com/repos/tstrachota/apipie-bindings/milestones{/number}","notifications_url":"https://api.github.com/repos/tstrachota/apipie-bindings/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tstrachota/apipie-bindings/labels{/name}","releases_url":"https://api.github.com/repos/tstrachota/apipie-bindings/releases{/id}","deployments_url":"https://api.github.com/repos/tstrachota/apipie-bindings/deployments","created_at":"2014-05-29T08:22:19Z","updated_at":"2016-03-02T13:29:34Z","pushed_at":"2016-11-04T15:11:08Z","git_url":"git://github.com/tstrachota/apipie-bindings.git","ssh_url":"git@github.com:tstrachota/apipie-bindings.git","clone_url":"https://github.com/tstrachota/apipie-bindings.git","svn_url":"https://github.com/tstrachota/apipie-bindings","homepage":null,"size":186,"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":"Apipie:master","ref":"master","sha":"7bd705347e607b7a1baf87fa8cade50c494fd129","user":{"login":"Apipie","id":6650720,"avatar_url":"https://avatars.githubusercontent.com/u/6650720?v=3","gravatar_id":"","url":"https://api.github.com/users/Apipie","html_url":"https://github.com/Apipie","followers_url":"https://api.github.com/users/Apipie/followers","following_url":"https://api.github.com/users/Apipie/following{/other_user}","gists_url":"https://api.github.com/users/Apipie/gists{/gist_id}","starred_url":"https://api.github.com/users/Apipie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Apipie/subscriptions","organizations_url":"https://api.github.com/users/Apipie/orgs","repos_url":"https://api.github.com/users/Apipie/repos","events_url":"https://api.github.com/users/Apipie/events{/privacy}","received_events_url":"https://api.github.com/users/Apipie/received_events","type":"Organization","site_admin":false},"repo":{"id":17141267,"name":"apipie-bindings","full_name":"Apipie/apipie-bindings","owner":{"login":"Apipie","id":6650720,"avatar_url":"https://avatars.githubusercontent.com/u/6650720?v=3","gravatar_id":"","url":"https://api.github.com/users/Apipie","html_url":"https://github.com/Apipie","followers_url":"https://api.github.com/users/Apipie/followers","following_url":"https://api.github.com/users/Apipie/following{/other_user}","gists_url":"https://api.github.com/users/Apipie/gists{/gist_id}","starred_url":"https://api.github.com/users/Apipie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Apipie/subscriptions","organizations_url":"https://api.github.com/users/Apipie/orgs","repos_url":"https://api.github.com/users/Apipie/repos","events_url":"https://api.github.com/users/Apipie/events{/privacy}","received_events_url":"https://api.github.com/users/Apipie/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Apipie/apipie-bindings","description":null,"fork":false,"url":"https://api.github.com/repos/Apipie/apipie-bindings","forks_url":"https://api.github.com/repos/Apipie/apipie-bindings/forks","keys_url":"https://api.github.com/repos/Apipie/apipie-bindings/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Apipie/apipie-bindings/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Apipie/apipie-bindings/teams","hooks_url":"https://api.github.com/repos/Apipie/apipie-bindings/hooks","issue_events_url":"https://api.github.com/repos/Apipie/apipie-bindings/issues/events{/number}","events_url":"https://api.github.com/repos/Apipie/apipie-bindings/events","assignees_url":"https://api.github.com/repos/Apipie/apipie-bindings/assignees{/user}","branches_url":"https://api.github.com/repos/Apipie/apipie-bindings/branches{/branch}","tags_url":"https://api.github.com/repos/Apipie/apipie-bindings/tags","blobs_url":"https://api.github.com/repos/Apipie/apipie-bindings/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Apipie/apipie-bindings/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Apipie/apipie-bindings/git/refs{/sha}","trees_url":"https://api.github.com/repos/Apipie/apipie-bindings/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Apipie/apipie-bindings/statuses/{sha}","languages_url":"https://api.github.com/repos/Apipie/apipie-bindings/languages","stargazers_url":"https://api.github.com/repos/Apipie/apipie-bindings/stargazers","contributors_url":"https://api.github.com/repos/Apipie/apipie-bindings/contributors","subscribers_url":"https://api.github.com/repos/Apipie/apipie-bindings/subscribers","subscription_url":"https://api.github.com/repos/Apipie/apipie-bindings/subscription","commits_url":"https://api.github.com/repos/Apipie/apipie-bindings/commits{/sha}","git_commits_url":"https://api.github.com/repos/Apipie/apipie-bindings/git/commits{/sha}","comments_url":"https://api.github.com/repos/Apipie/apipie-bindings/comments{/number}","issue_comment_url":"https://api.github.com/repos/Apipie/apipie-bindings/issues/comments{/number}","contents_url":"https://api.github.com/repos/Apipie/apipie-bindings/contents/{+path}","compare_url":"https://api.github.com/repos/Apipie/apipie-bindings/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Apipie/apipie-bindings/merges","archive_url":"https://api.github.com/repos/Apipie/apipie-bindings/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Apipie/apipie-bindings/downloads","issues_url":"https://api.github.com/repos/Apipie/apipie-bindings/issues{/number}","pulls_url":"https://api.github.com/repos/Apipie/apipie-bindings/pulls{/number}","milestones_url":"https://api.github.com/repos/Apipie/apipie-bindings/milestones{/number}","notifications_url":"https://api.github.com/repos/Apipie/apipie-bindings/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Apipie/apipie-bindings/labels{/name}","releases_url":"https://api.github.com/repos/Apipie/apipie-bindings/releases{/id}","deployments_url":"https://api.github.com/repos/Apipie/apipie-bindings/deployments","created_at":"2014-02-24T15:51:02Z","updated_at":"2016-10-22T13:22:34Z","pushed_at":"2016-11-04T15:11:08Z","git_url":"git://github.com/Apipie/apipie-bindings.git","ssh_url":"git@github.com:Apipie/apipie-bindings.git","clone_url":"https://github.com/Apipie/apipie-bindings.git","svn_url":"https://github.com/Apipie/apipie-bindings","homepage":null,"size":146,"stargazers_count":6,"watchers_count":6,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":4,"forks":14,"open_issues":4,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Apipie/apipie-bindings/pulls/53"},"html":{"href":"https://github.com/Apipie/apipie-bindings/pull/53"},"issue":{"href":"https://api.github.com/repos/Apipie/apipie-bindings/issues/53"},"comments":{"href":"https://api.github.com/repos/Apipie/apipie-bindings/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/Apipie/apipie-bindings/pulls/53/comments"},"review_comment":{"href":"https://api.github.com/repos/Apipie/apipie-bindings/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Apipie/apipie-bindings/pulls/53/commits"},"statuses":{"href":"https://api.github.com/repos/Apipie/apipie-bindings/statuses/83d15875f70c573e0f946f1d2f0ac89e3ae7c096"}}}}
{"actor":{"display_login":"domcleal"}}