{"action":"opened","number":108,"pull_request":{"url":"https://api.github.com/repos/redding/ardb/pulls/108","id":70964781,"html_url":"https://github.com/redding/ardb/pull/108","diff_url":"https://github.com/redding/ardb/pull/108.diff","patch_url":"https://github.com/redding/ardb/pull/108.patch","issue_url":"https://api.github.com/repos/redding/ardb/issues/108","number":108,"state":"open","locked":false,"title":"Switch to using `sample` instead of `choice`, backfill for 1.8.7","user":{"login":"jcredding","id":85966,"avatar_url":"https://avatars.githubusercontent.com/u/85966?v=3","gravatar_id":"","url":"https://api.github.com/users/jcredding","html_url":"https://github.com/jcredding","followers_url":"https://api.github.com/users/jcredding/followers","following_url":"https://api.github.com/users/jcredding/following{/other_user}","gists_url":"https://api.github.com/users/jcredding/gists{/gist_id}","starred_url":"https://api.github.com/users/jcredding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jcredding/subscriptions","organizations_url":"https://api.github.com/users/jcredding/orgs","repos_url":"https://api.github.com/users/jcredding/repos","events_url":"https://api.github.com/users/jcredding/events{/privacy}","received_events_url":"https://api.github.com/users/jcredding/received_events","type":"User","site_admin":false},"body":"This switches to using `sample` instead of `choice` but backfills\r\n`sample` so it works in ruby 1.8.7. This is part of making sure the\r\ngem works for newer versions of ruby. This allows the test suite to\r\nbe run on newer versions of ruby which can be used to tell if the\r\ngem is compatible with the version or not.\r\n\r\n@kellyredding - Ready for review.","created_at":"2016-05-22T01:01:11Z","updated_at":"2016-05-22T01:01:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/redding/ardb/pulls/108/commits","review_comments_url":"https://api.github.com/repos/redding/ardb/pulls/108/comments","review_comment_url":"https://api.github.com/repos/redding/ardb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/redding/ardb/issues/108/comments","statuses_url":"https://api.github.com/repos/redding/ardb/statuses/0fdb15c0371554546a9cc505b445662999f35503","head":{"label":"redding:jcr-use-array-sample","ref":"jcr-use-array-sample","sha":"0fdb15c0371554546a9cc505b445662999f35503","user":{"login":"redding","id":2427810,"avatar_url":"https://avatars.githubusercontent.com/u/2427810?v=3","gravatar_id":"","url":"https://api.github.com/users/redding","html_url":"https://github.com/redding","followers_url":"https://api.github.com/users/redding/followers","following_url":"https://api.github.com/users/redding/following{/other_user}","gists_url":"https://api.github.com/users/redding/gists{/gist_id}","starred_url":"https://api.github.com/users/redding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redding/subscriptions","organizations_url":"https://api.github.com/users/redding/orgs","repos_url":"https://api.github.com/users/redding/repos","events_url":"https://api.github.com/users/redding/events{/privacy}","received_events_url":"https://api.github.com/users/redding/received_events","type":"Organization","site_admin":false},"repo":{"id":9097854,"name":"ardb","full_name":"redding/ardb","owner":{"login":"redding","id":2427810,"avatar_url":"https://avatars.githubusercontent.com/u/2427810?v=3","gravatar_id":"","url":"https://api.github.com/users/redding","html_url":"https://github.com/redding","followers_url":"https://api.github.com/users/redding/followers","following_url":"https://api.github.com/users/redding/following{/other_user}","gists_url":"https://api.github.com/users/redding/gists{/gist_id}","starred_url":"https://api.github.com/users/redding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redding/subscriptions","organizations_url":"https://api.github.com/users/redding/orgs","repos_url":"https://api.github.com/users/redding/repos","events_url":"https://api.github.com/users/redding/events{/privacy}","received_events_url":"https://api.github.com/users/redding/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/redding/ardb","description":"Activerecord database tools.","fork":false,"url":"https://api.github.com/repos/redding/ardb","forks_url":"https://api.github.com/repos/redding/ardb/forks","keys_url":"https://api.github.com/repos/redding/ardb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/redding/ardb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/redding/ardb/teams","hooks_url":"https://api.github.com/repos/redding/ardb/hooks","issue_events_url":"https://api.github.com/repos/redding/ardb/issues/events{/number}","events_url":"https://api.github.com/repos/redding/ardb/events","assignees_url":"https://api.github.com/repos/redding/ardb/assignees{/user}","branches_url":"https://api.github.com/repos/redding/ardb/branches{/branch}","tags_url":"https://api.github.com/repos/redding/ardb/tags","blobs_url":"https://api.github.com/repos/redding/ardb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/redding/ardb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/redding/ardb/git/refs{/sha}","trees_url":"https://api.github.com/repos/redding/ardb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/redding/ardb/statuses/{sha}","languages_url":"https://api.github.com/repos/redding/ardb/languages","stargazers_url":"https://api.github.com/repos/redding/ardb/stargazers","contributors_url":"https://api.github.com/repos/redding/ardb/contributors","subscribers_url":"https://api.github.com/repos/redding/ardb/subscribers","subscription_url":"https://api.github.com/repos/redding/ardb/subscription","commits_url":"https://api.github.com/repos/redding/ardb/commits{/sha}","git_commits_url":"https://api.github.com/repos/redding/ardb/git/commits{/sha}","comments_url":"https://api.github.com/repos/redding/ardb/comments{/number}","issue_comment_url":"https://api.github.com/repos/redding/ardb/issues/comments{/number}","contents_url":"https://api.github.com/repos/redding/ardb/contents/{+path}","compare_url":"https://api.github.com/repos/redding/ardb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/redding/ardb/merges","archive_url":"https://api.github.com/repos/redding/ardb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/redding/ardb/downloads","issues_url":"https://api.github.com/repos/redding/ardb/issues{/number}","pulls_url":"https://api.github.com/repos/redding/ardb/pulls{/number}","milestones_url":"https://api.github.com/repos/redding/ardb/milestones{/number}","notifications_url":"https://api.github.com/repos/redding/ardb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/redding/ardb/labels{/name}","releases_url":"https://api.github.com/repos/redding/ardb/releases{/id}","deployments_url":"https://api.github.com/repos/redding/ardb/deployments","created_at":"2013-03-29T12:18:17Z","updated_at":"2016-03-09T23:06:04Z","pushed_at":"2016-05-22T01:01:11Z","git_url":"git://github.com/redding/ardb.git","ssh_url":"git@github.com:redding/ardb.git","clone_url":"https://github.com/redding/ardb.git","svn_url":"https://github.com/redding/ardb","homepage":null,"size":240,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":10,"forks":1,"open_issues":10,"watchers":2,"default_branch":"master"}},"base":{"label":"redding:master","ref":"master","sha":"b239b7344f83aef678ede0d33ab1978e2fbf28c4","user":{"login":"redding","id":2427810,"avatar_url":"https://avatars.githubusercontent.com/u/2427810?v=3","gravatar_id":"","url":"https://api.github.com/users/redding","html_url":"https://github.com/redding","followers_url":"https://api.github.com/users/redding/followers","following_url":"https://api.github.com/users/redding/following{/other_user}","gists_url":"https://api.github.com/users/redding/gists{/gist_id}","starred_url":"https://api.github.com/users/redding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redding/subscriptions","organizations_url":"https://api.github.com/users/redding/orgs","repos_url":"https://api.github.com/users/redding/repos","events_url":"https://api.github.com/users/redding/events{/privacy}","received_events_url":"https://api.github.com/users/redding/received_events","type":"Organization","site_admin":false},"repo":{"id":9097854,"name":"ardb","full_name":"redding/ardb","owner":{"login":"redding","id":2427810,"avatar_url":"https://avatars.githubusercontent.com/u/2427810?v=3","gravatar_id":"","url":"https://api.github.com/users/redding","html_url":"https://github.com/redding","followers_url":"https://api.github.com/users/redding/followers","following_url":"https://api.github.com/users/redding/following{/other_user}","gists_url":"https://api.github.com/users/redding/gists{/gist_id}","starred_url":"https://api.github.com/users/redding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redding/subscriptions","organizations_url":"https://api.github.com/users/redding/orgs","repos_url":"https://api.github.com/users/redding/repos","events_url":"https://api.github.com/users/redding/events{/privacy}","received_events_url":"https://api.github.com/users/redding/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/redding/ardb","description":"Activerecord database tools.","fork":false,"url":"https://api.github.com/repos/redding/ardb","forks_url":"https://api.github.com/repos/redding/ardb/forks","keys_url":"https://api.github.com/repos/redding/ardb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/redding/ardb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/redding/ardb/teams","hooks_url":"https://api.github.com/repos/redding/ardb/hooks","issue_events_url":"https://api.github.com/repos/redding/ardb/issues/events{/number}","events_url":"https://api.github.com/repos/redding/ardb/events","assignees_url":"https://api.github.com/repos/redding/ardb/assignees{/user}","branches_url":"https://api.github.com/repos/redding/ardb/branches{/branch}","tags_url":"https://api.github.com/repos/redding/ardb/tags","blobs_url":"https://api.github.com/repos/redding/ardb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/redding/ardb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/redding/ardb/git/refs{/sha}","trees_url":"https://api.github.com/repos/redding/ardb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/redding/ardb/statuses/{sha}","languages_url":"https://api.github.com/repos/redding/ardb/languages","stargazers_url":"https://api.github.com/repos/redding/ardb/stargazers","contributors_url":"https://api.github.com/repos/redding/ardb/contributors","subscribers_url":"https://api.github.com/repos/redding/ardb/subscribers","subscription_url":"https://api.github.com/repos/redding/ardb/subscription","commits_url":"https://api.github.com/repos/redding/ardb/commits{/sha}","git_commits_url":"https://api.github.com/repos/redding/ardb/git/commits{/sha}","comments_url":"https://api.github.com/repos/redding/ardb/comments{/number}","issue_comment_url":"https://api.github.com/repos/redding/ardb/issues/comments{/number}","contents_url":"https://api.github.com/repos/redding/ardb/contents/{+path}","compare_url":"https://api.github.com/repos/redding/ardb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/redding/ardb/merges","archive_url":"https://api.github.com/repos/redding/ardb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/redding/ardb/downloads","issues_url":"https://api.github.com/repos/redding/ardb/issues{/number}","pulls_url":"https://api.github.com/repos/redding/ardb/pulls{/number}","milestones_url":"https://api.github.com/repos/redding/ardb/milestones{/number}","notifications_url":"https://api.github.com/repos/redding/ardb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/redding/ardb/labels{/name}","releases_url":"https://api.github.com/repos/redding/ardb/releases{/id}","deployments_url":"https://api.github.com/repos/redding/ardb/deployments","created_at":"2013-03-29T12:18:17Z","updated_at":"2016-03-09T23:06:04Z","pushed_at":"2016-05-22T01:01:11Z","git_url":"git://github.com/redding/ardb.git","ssh_url":"git@github.com:redding/ardb.git","clone_url":"https://github.com/redding/ardb.git","svn_url":"https://github.com/redding/ardb","homepage":null,"size":240,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":10,"forks":1,"open_issues":10,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/redding/ardb/pulls/108"},"html":{"href":"https://github.com/redding/ardb/pull/108"},"issue":{"href":"https://api.github.com/repos/redding/ardb/issues/108"},"comments":{"href":"https://api.github.com/repos/redding/ardb/issues/108/comments"},"review_comments":{"href":"https://api.github.com/repos/redding/ardb/pulls/108/comments"},"review_comment":{"href":"https://api.github.com/repos/redding/ardb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/redding/ardb/pulls/108/commits"},"statuses":{"href":"https://api.github.com/repos/redding/ardb/statuses/0fdb15c0371554546a9cc505b445662999f35503"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":31,"deletions":22,"changed_files":8}}
{"actor":{"display_login":"jcredding"}}