{"action":"created","comment":{"url":"https://api.github.com/repos/u2i/rspec-hive/pulls/comments/61070770","id":61070770,"diff_hunk":"@@ -0,0 +1,15 @@\n+require 'retryable'\n+\n+module RSpec\n+  module Hive\n+    class ExponentialBackoff\n+      class << self\n+        def retryable(tries: 5, on:)\n+          Retryable.retryable(tries: tries, sleep: ->(r) { 2**r }, on: on) do","path":"lib/rspec/hive/exponential_backoff.rb","position":8,"original_position":8,"commit_id":"c19611addde751738b09a92825ea9b7190894407","original_commit_id":"38cb45da1803e519f900e10f187771f799086eb0","user":{"login":"mknapik","id":249141,"avatar_url":"https://avatars.githubusercontent.com/u/249141?v=3","gravatar_id":"","url":"https://api.github.com/users/mknapik","html_url":"https://github.com/mknapik","followers_url":"https://api.github.com/users/mknapik/followers","following_url":"https://api.github.com/users/mknapik/following{/other_user}","gists_url":"https://api.github.com/users/mknapik/gists{/gist_id}","starred_url":"https://api.github.com/users/mknapik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mknapik/subscriptions","organizations_url":"https://api.github.com/users/mknapik/orgs","repos_url":"https://api.github.com/users/mknapik/repos","events_url":"https://api.github.com/users/mknapik/events{/privacy}","received_events_url":"https://api.github.com/users/mknapik/received_events","type":"User","site_admin":false},"body":"According to `.travis.yml` we only use `2.1`.","created_at":"2016-04-26T11:41:06Z","updated_at":"2016-04-26T11:41:06Z","html_url":"https://github.com/u2i/rspec-hive/pull/9#discussion_r61070770","pull_request_url":"https://api.github.com/repos/u2i/rspec-hive/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/u2i/rspec-hive/pulls/comments/61070770"},"html":{"href":"https://github.com/u2i/rspec-hive/pull/9#discussion_r61070770"},"pull_request":{"href":"https://api.github.com/repos/u2i/rspec-hive/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/u2i/rspec-hive/pulls/9","id":67844356,"html_url":"https://github.com/u2i/rspec-hive/pull/9","diff_url":"https://github.com/u2i/rspec-hive/pull/9.diff","patch_url":"https://github.com/u2i/rspec-hive/pull/9.patch","issue_url":"https://api.github.com/repos/u2i/rspec-hive/issues/9","number":9,"state":"open","locked":false,"title":"Query Builder and RSpec matcher","user":{"login":"mknapik","id":249141,"avatar_url":"https://avatars.githubusercontent.com/u/249141?v=3","gravatar_id":"","url":"https://api.github.com/users/mknapik","html_url":"https://github.com/mknapik","followers_url":"https://api.github.com/users/mknapik/followers","following_url":"https://api.github.com/users/mknapik/following{/other_user}","gists_url":"https://api.github.com/users/mknapik/gists{/gist_id}","starred_url":"https://api.github.com/users/mknapik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mknapik/subscriptions","organizations_url":"https://api.github.com/users/mknapik/orgs","repos_url":"https://api.github.com/users/mknapik/repos","events_url":"https://api.github.com/users/mknapik/events{/privacy}","received_events_url":"https://api.github.com/users/mknapik/received_events","type":"User","site_admin":false},"body":"* Query Builder for easier setup\r\n* `match_result_set` for expectations\r\n* `rbhive` fork fixes types (https://github.com/forward3d/rbhive/pull/22)","created_at":"2016-04-26T08:21:38Z","updated_at":"2016-04-26T11:41:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"84f2b7d5765695185c6dc9726854156f48d6686f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/u2i/rspec-hive/pulls/9/commits","review_comments_url":"https://api.github.com/repos/u2i/rspec-hive/pulls/9/comments","review_comment_url":"https://api.github.com/repos/u2i/rspec-hive/pulls/comments{/number}","comments_url":"https://api.github.com/repos/u2i/rspec-hive/issues/9/comments","statuses_url":"https://api.github.com/repos/u2i/rspec-hive/statuses/c19611addde751738b09a92825ea9b7190894407","head":{"label":"u2i:feature/query_builder","ref":"feature/query_builder","sha":"c19611addde751738b09a92825ea9b7190894407","user":{"login":"u2i","id":856377,"avatar_url":"https://avatars.githubusercontent.com/u/856377?v=3","gravatar_id":"","url":"https://api.github.com/users/u2i","html_url":"https://github.com/u2i","followers_url":"https://api.github.com/users/u2i/followers","following_url":"https://api.github.com/users/u2i/following{/other_user}","gists_url":"https://api.github.com/users/u2i/gists{/gist_id}","starred_url":"https://api.github.com/users/u2i/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/u2i/subscriptions","organizations_url":"https://api.github.com/users/u2i/orgs","repos_url":"https://api.github.com/users/u2i/repos","events_url":"https://api.github.com/users/u2i/events{/privacy}","received_events_url":"https://api.github.com/users/u2i/received_events","type":"Organization","site_admin":false},"repo":{"id":48229840,"name":"rspec-hive","full_name":"u2i/rspec-hive","owner":{"login":"u2i","id":856377,"avatar_url":"https://avatars.githubusercontent.com/u/856377?v=3","gravatar_id":"","url":"https://api.github.com/users/u2i","html_url":"https://github.com/u2i","followers_url":"https://api.github.com/users/u2i/followers","following_url":"https://api.github.com/users/u2i/following{/other_user}","gists_url":"https://api.github.com/users/u2i/gists{/gist_id}","starred_url":"https://api.github.com/users/u2i/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/u2i/subscriptions","organizations_url":"https://api.github.com/users/u2i/orgs","repos_url":"https://api.github.com/users/u2i/repos","events_url":"https://api.github.com/users/u2i/events{/privacy}","received_events_url":"https://api.github.com/users/u2i/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/u2i/rspec-hive","description":"Ruby Gem allowing unit testing Hive queries using RbHive and Hive running in a docker container.","fork":false,"url":"https://api.github.com/repos/u2i/rspec-hive","forks_url":"https://api.github.com/repos/u2i/rspec-hive/forks","keys_url":"https://api.github.com/repos/u2i/rspec-hive/keys{/key_id}","collaborators_url":"https://api.github.com/repos/u2i/rspec-hive/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/u2i/rspec-hive/teams","hooks_url":"https://api.github.com/repos/u2i/rspec-hive/hooks","issue_events_url":"https://api.github.com/repos/u2i/rspec-hive/issues/events{/number}","events_url":"https://api.github.com/repos/u2i/rspec-hive/events","assignees_url":"https://api.github.com/repos/u2i/rspec-hive/assignees{/user}","branches_url":"https://api.github.com/repos/u2i/rspec-hive/branches{/branch}","tags_url":"https://api.github.com/repos/u2i/rspec-hive/tags","blobs_url":"https://api.github.com/repos/u2i/rspec-hive/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/u2i/rspec-hive/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/u2i/rspec-hive/git/refs{/sha}","trees_url":"https://api.github.com/repos/u2i/rspec-hive/git/trees{/sha}","statuses_url":"https://api.github.com/repos/u2i/rspec-hive/statuses/{sha}","languages_url":"https://api.github.com/repos/u2i/rspec-hive/languages","stargazers_url":"https://api.github.com/repos/u2i/rspec-hive/stargazers","contributors_url":"https://api.github.com/repos/u2i/rspec-hive/contributors","subscribers_url":"https://api.github.com/repos/u2i/rspec-hive/subscribers","subscription_url":"https://api.github.com/repos/u2i/rspec-hive/subscription","commits_url":"https://api.github.com/repos/u2i/rspec-hive/commits{/sha}","git_commits_url":"https://api.github.com/repos/u2i/rspec-hive/git/commits{/sha}","comments_url":"https://api.github.com/repos/u2i/rspec-hive/comments{/number}","issue_comment_url":"https://api.github.com/repos/u2i/rspec-hive/issues/comments{/number}","contents_url":"https://api.github.com/repos/u2i/rspec-hive/contents/{+path}","compare_url":"https://api.github.com/repos/u2i/rspec-hive/compare/{base}...{head}","merges_url":"https://api.github.com/repos/u2i/rspec-hive/merges","archive_url":"https://api.github.com/repos/u2i/rspec-hive/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/u2i/rspec-hive/downloads","issues_url":"https://api.github.com/repos/u2i/rspec-hive/issues{/number}","pulls_url":"https://api.github.com/repos/u2i/rspec-hive/pulls{/number}","milestones_url":"https://api.github.com/repos/u2i/rspec-hive/milestones{/number}","notifications_url":"https://api.github.com/repos/u2i/rspec-hive/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/u2i/rspec-hive/labels{/name}","releases_url":"https://api.github.com/repos/u2i/rspec-hive/releases{/id}","deployments_url":"https://api.github.com/repos/u2i/rspec-hive/deployments","created_at":"2015-12-18T10:42:35Z","updated_at":"2016-04-04T16:00:51Z","pushed_at":"2016-04-26T11:39:46Z","git_url":"git://github.com/u2i/rspec-hive.git","ssh_url":"git@github.com:u2i/rspec-hive.git","clone_url":"https://github.com/u2i/rspec-hive.git","svn_url":"https://github.com/u2i/rspec-hive","homepage":"","size":103,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":3,"default_branch":"master"}},"base":{"label":"u2i:master","ref":"master","sha":"da2affa70b67da3e0aee7fcafe958e98129f3ab6","user":{"login":"u2i","id":856377,"avatar_url":"https://avatars.githubusercontent.com/u/856377?v=3","gravatar_id":"","url":"https://api.github.com/users/u2i","html_url":"https://github.com/u2i","followers_url":"https://api.github.com/users/u2i/followers","following_url":"https://api.github.com/users/u2i/following{/other_user}","gists_url":"https://api.github.com/users/u2i/gists{/gist_id}","starred_url":"https://api.github.com/users/u2i/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/u2i/subscriptions","organizations_url":"https://api.github.com/users/u2i/orgs","repos_url":"https://api.github.com/users/u2i/repos","events_url":"https://api.github.com/users/u2i/events{/privacy}","received_events_url":"https://api.github.com/users/u2i/received_events","type":"Organization","site_admin":false},"repo":{"id":48229840,"name":"rspec-hive","full_name":"u2i/rspec-hive","owner":{"login":"u2i","id":856377,"avatar_url":"https://avatars.githubusercontent.com/u/856377?v=3","gravatar_id":"","url":"https://api.github.com/users/u2i","html_url":"https://github.com/u2i","followers_url":"https://api.github.com/users/u2i/followers","following_url":"https://api.github.com/users/u2i/following{/other_user}","gists_url":"https://api.github.com/users/u2i/gists{/gist_id}","starred_url":"https://api.github.com/users/u2i/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/u2i/subscriptions","organizations_url":"https://api.github.com/users/u2i/orgs","repos_url":"https://api.github.com/users/u2i/repos","events_url":"https://api.github.com/users/u2i/events{/privacy}","received_events_url":"https://api.github.com/users/u2i/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/u2i/rspec-hive","description":"Ruby Gem allowing unit testing Hive queries using RbHive and Hive running in a docker container.","fork":false,"url":"https://api.github.com/repos/u2i/rspec-hive","forks_url":"https://api.github.com/repos/u2i/rspec-hive/forks","keys_url":"https://api.github.com/repos/u2i/rspec-hive/keys{/key_id}","collaborators_url":"https://api.github.com/repos/u2i/rspec-hive/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/u2i/rspec-hive/teams","hooks_url":"https://api.github.com/repos/u2i/rspec-hive/hooks","issue_events_url":"https://api.github.com/repos/u2i/rspec-hive/issues/events{/number}","events_url":"https://api.github.com/repos/u2i/rspec-hive/events","assignees_url":"https://api.github.com/repos/u2i/rspec-hive/assignees{/user}","branches_url":"https://api.github.com/repos/u2i/rspec-hive/branches{/branch}","tags_url":"https://api.github.com/repos/u2i/rspec-hive/tags","blobs_url":"https://api.github.com/repos/u2i/rspec-hive/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/u2i/rspec-hive/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/u2i/rspec-hive/git/refs{/sha}","trees_url":"https://api.github.com/repos/u2i/rspec-hive/git/trees{/sha}","statuses_url":"https://api.github.com/repos/u2i/rspec-hive/statuses/{sha}","languages_url":"https://api.github.com/repos/u2i/rspec-hive/languages","stargazers_url":"https://api.github.com/repos/u2i/rspec-hive/stargazers","contributors_url":"https://api.github.com/repos/u2i/rspec-hive/contributors","subscribers_url":"https://api.github.com/repos/u2i/rspec-hive/subscribers","subscription_url":"https://api.github.com/repos/u2i/rspec-hive/subscription","commits_url":"https://api.github.com/repos/u2i/rspec-hive/commits{/sha}","git_commits_url":"https://api.github.com/repos/u2i/rspec-hive/git/commits{/sha}","comments_url":"https://api.github.com/repos/u2i/rspec-hive/comments{/number}","issue_comment_url":"https://api.github.com/repos/u2i/rspec-hive/issues/comments{/number}","contents_url":"https://api.github.com/repos/u2i/rspec-hive/contents/{+path}","compare_url":"https://api.github.com/repos/u2i/rspec-hive/compare/{base}...{head}","merges_url":"https://api.github.com/repos/u2i/rspec-hive/merges","archive_url":"https://api.github.com/repos/u2i/rspec-hive/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/u2i/rspec-hive/downloads","issues_url":"https://api.github.com/repos/u2i/rspec-hive/issues{/number}","pulls_url":"https://api.github.com/repos/u2i/rspec-hive/pulls{/number}","milestones_url":"https://api.github.com/repos/u2i/rspec-hive/milestones{/number}","notifications_url":"https://api.github.com/repos/u2i/rspec-hive/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/u2i/rspec-hive/labels{/name}","releases_url":"https://api.github.com/repos/u2i/rspec-hive/releases{/id}","deployments_url":"https://api.github.com/repos/u2i/rspec-hive/deployments","created_at":"2015-12-18T10:42:35Z","updated_at":"2016-04-04T16:00:51Z","pushed_at":"2016-04-26T11:39:46Z","git_url":"git://github.com/u2i/rspec-hive.git","ssh_url":"git@github.com:u2i/rspec-hive.git","clone_url":"https://github.com/u2i/rspec-hive.git","svn_url":"https://github.com/u2i/rspec-hive","homepage":"","size":103,"stargazers_count":3,"watchers_count":3,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/u2i/rspec-hive/pulls/9"},"html":{"href":"https://github.com/u2i/rspec-hive/pull/9"},"issue":{"href":"https://api.github.com/repos/u2i/rspec-hive/issues/9"},"comments":{"href":"https://api.github.com/repos/u2i/rspec-hive/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/u2i/rspec-hive/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/u2i/rspec-hive/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/u2i/rspec-hive/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/u2i/rspec-hive/statuses/c19611addde751738b09a92825ea9b7190894407"}}}}