{"action":"opened","number":1099,"pull_request":{"url":"https://api.github.com/repos/rubygems/rubygems.org/pulls/1099","id":49770685,"html_url":"https://github.com/rubygems/rubygems.org/pull/1099","diff_url":"https://github.com/rubygems/rubygems.org/pull/1099.diff","patch_url":"https://github.com/rubygems/rubygems.org/pull/1099.patch","issue_url":"https://api.github.com/repos/rubygems/rubygems.org/issues/1099","number":1099,"state":"open","locked":false,"title":"Allow fetching only runtime reverse_dependencies from API","user":{"login":"olivierlacan","id":65950,"avatar_url":"https://avatars.githubusercontent.com/u/65950?v=3","gravatar_id":"","url":"https://api.github.com/users/olivierlacan","html_url":"https://github.com/olivierlacan","followers_url":"https://api.github.com/users/olivierlacan/followers","following_url":"https://api.github.com/users/olivierlacan/following{/other_user}","gists_url":"https://api.github.com/users/olivierlacan/gists{/gist_id}","starred_url":"https://api.github.com/users/olivierlacan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olivierlacan/subscriptions","organizations_url":"https://api.github.com/users/olivierlacan/orgs","repos_url":"https://api.github.com/users/olivierlacan/repos","events_url":"https://api.github.com/users/olivierlacan/events{/privacy}","received_events_url":"https://api.github.com/users/olivierlacan/received_events","type":"User","site_admin":false},"body":"This is a draft implementation to add a query parameter (`?runtime=true`) to\r\nthe Reverse Dependencies API endpoint in order to return exclusively gems that\r\ndeclare the provided gem as a runtime dependency.\r\n\r\nExample: \r\n\r\n```CURL\r\nGET /api/v1/gems/[GEM NAME]/reverse_dependencies.json\r\nGET /api/v1/gems/[GEM NAME]/reverse_dependencies.json?runtime=true\r\n```\r\n\r\nIt's often much more important to know which gems use your gem at runtime than\r\nall the gems that use your gem in development.\r\n\r\nIt may make sense to create a whole separate endpoint for this but it seemed\r\nsimple enough to add a query param for this.\r\n\r\nLet me know if this is entirely dumb. /cc @schneems","created_at":"2015-11-05T01:19:50Z","updated_at":"2015-11-05T01:19:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rubygems/rubygems.org/pulls/1099/commits","review_comments_url":"https://api.github.com/repos/rubygems/rubygems.org/pulls/1099/comments","review_comment_url":"https://api.github.com/repos/rubygems/rubygems.org/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rubygems/rubygems.org/issues/1099/comments","statuses_url":"https://api.github.com/repos/rubygems/rubygems.org/statuses/9139686389ba59b063bf83848d72eaa6afb6d88c","head":{"label":"olivierlacan:reverse-runtime-dependencies","ref":"reverse-runtime-dependencies","sha":"9139686389ba59b063bf83848d72eaa6afb6d88c","user":{"login":"olivierlacan","id":65950,"avatar_url":"https://avatars.githubusercontent.com/u/65950?v=3","gravatar_id":"","url":"https://api.github.com/users/olivierlacan","html_url":"https://github.com/olivierlacan","followers_url":"https://api.github.com/users/olivierlacan/followers","following_url":"https://api.github.com/users/olivierlacan/following{/other_user}","gists_url":"https://api.github.com/users/olivierlacan/gists{/gist_id}","starred_url":"https://api.github.com/users/olivierlacan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olivierlacan/subscriptions","organizations_url":"https://api.github.com/users/olivierlacan/orgs","repos_url":"https://api.github.com/users/olivierlacan/repos","events_url":"https://api.github.com/users/olivierlacan/events{/privacy}","received_events_url":"https://api.github.com/users/olivierlacan/received_events","type":"User","site_admin":false},"repo":{"id":17946351,"name":"rubygems.org","full_name":"olivierlacan/rubygems.org","owner":{"login":"olivierlacan","id":65950,"avatar_url":"https://avatars.githubusercontent.com/u/65950?v=3","gravatar_id":"","url":"https://api.github.com/users/olivierlacan","html_url":"https://github.com/olivierlacan","followers_url":"https://api.github.com/users/olivierlacan/followers","following_url":"https://api.github.com/users/olivierlacan/following{/other_user}","gists_url":"https://api.github.com/users/olivierlacan/gists{/gist_id}","starred_url":"https://api.github.com/users/olivierlacan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olivierlacan/subscriptions","organizations_url":"https://api.github.com/users/olivierlacan/orgs","repos_url":"https://api.github.com/users/olivierlacan/repos","events_url":"https://api.github.com/users/olivierlacan/events{/privacy}","received_events_url":"https://api.github.com/users/olivierlacan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/olivierlacan/rubygems.org","description":"The Ruby community's gem hosting service.","fork":true,"url":"https://api.github.com/repos/olivierlacan/rubygems.org","forks_url":"https://api.github.com/repos/olivierlacan/rubygems.org/forks","keys_url":"https://api.github.com/repos/olivierlacan/rubygems.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/olivierlacan/rubygems.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/olivierlacan/rubygems.org/teams","hooks_url":"https://api.github.com/repos/olivierlacan/rubygems.org/hooks","issue_events_url":"https://api.github.com/repos/olivierlacan/rubygems.org/issues/events{/number}","events_url":"https://api.github.com/repos/olivierlacan/rubygems.org/events","assignees_url":"https://api.github.com/repos/olivierlacan/rubygems.org/assignees{/user}","branches_url":"https://api.github.com/repos/olivierlacan/rubygems.org/branches{/branch}","tags_url":"https://api.github.com/repos/olivierlacan/rubygems.org/tags","blobs_url":"https://api.github.com/repos/olivierlacan/rubygems.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/olivierlacan/rubygems.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/olivierlacan/rubygems.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/olivierlacan/rubygems.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/olivierlacan/rubygems.org/statuses/{sha}","languages_url":"https://api.github.com/repos/olivierlacan/rubygems.org/languages","stargazers_url":"https://api.github.com/repos/olivierlacan/rubygems.org/stargazers","contributors_url":"https://api.github.com/repos/olivierlacan/rubygems.org/contributors","subscribers_url":"https://api.github.com/repos/olivierlacan/rubygems.org/subscribers","subscription_url":"https://api.github.com/repos/olivierlacan/rubygems.org/subscription","commits_url":"https://api.github.com/repos/olivierlacan/rubygems.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/olivierlacan/rubygems.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/olivierlacan/rubygems.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/olivierlacan/rubygems.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/olivierlacan/rubygems.org/contents/{+path}","compare_url":"https://api.github.com/repos/olivierlacan/rubygems.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/olivierlacan/rubygems.org/merges","archive_url":"https://api.github.com/repos/olivierlacan/rubygems.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/olivierlacan/rubygems.org/downloads","issues_url":"https://api.github.com/repos/olivierlacan/rubygems.org/issues{/number}","pulls_url":"https://api.github.com/repos/olivierlacan/rubygems.org/pulls{/number}","milestones_url":"https://api.github.com/repos/olivierlacan/rubygems.org/milestones{/number}","notifications_url":"https://api.github.com/repos/olivierlacan/rubygems.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/olivierlacan/rubygems.org/labels{/name}","releases_url":"https://api.github.com/repos/olivierlacan/rubygems.org/releases{/id}","created_at":"2014-03-20T14:50:00Z","updated_at":"2015-02-08T12:36:18Z","pushed_at":"2015-11-05T01:18:15Z","git_url":"git://github.com/olivierlacan/rubygems.org.git","ssh_url":"git@github.com:olivierlacan/rubygems.org.git","clone_url":"https://github.com/olivierlacan/rubygems.org.git","svn_url":"https://github.com/olivierlacan/rubygems.org","homepage":"https://rubygems.org","size":481710,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rubygems:master","ref":"master","sha":"3bf15bef3e44312c7c2aed7b46412be7bf74ade9","user":{"login":"rubygems","id":208761,"avatar_url":"https://avatars.githubusercontent.com/u/208761?v=3","gravatar_id":"","url":"https://api.github.com/users/rubygems","html_url":"https://github.com/rubygems","followers_url":"https://api.github.com/users/rubygems/followers","following_url":"https://api.github.com/users/rubygems/following{/other_user}","gists_url":"https://api.github.com/users/rubygems/gists{/gist_id}","starred_url":"https://api.github.com/users/rubygems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubygems/subscriptions","organizations_url":"https://api.github.com/users/rubygems/orgs","repos_url":"https://api.github.com/users/rubygems/repos","events_url":"https://api.github.com/users/rubygems/events{/privacy}","received_events_url":"https://api.github.com/users/rubygems/received_events","type":"Organization","site_admin":false},"repo":{"id":117646,"name":"rubygems.org","full_name":"rubygems/rubygems.org","owner":{"login":"rubygems","id":208761,"avatar_url":"https://avatars.githubusercontent.com/u/208761?v=3","gravatar_id":"","url":"https://api.github.com/users/rubygems","html_url":"https://github.com/rubygems","followers_url":"https://api.github.com/users/rubygems/followers","following_url":"https://api.github.com/users/rubygems/following{/other_user}","gists_url":"https://api.github.com/users/rubygems/gists{/gist_id}","starred_url":"https://api.github.com/users/rubygems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubygems/subscriptions","organizations_url":"https://api.github.com/users/rubygems/orgs","repos_url":"https://api.github.com/users/rubygems/repos","events_url":"https://api.github.com/users/rubygems/events{/privacy}","received_events_url":"https://api.github.com/users/rubygems/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rubygems/rubygems.org","description":"The Ruby community's gem hosting service.","fork":false,"url":"https://api.github.com/repos/rubygems/rubygems.org","forks_url":"https://api.github.com/repos/rubygems/rubygems.org/forks","keys_url":"https://api.github.com/repos/rubygems/rubygems.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rubygems/rubygems.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rubygems/rubygems.org/teams","hooks_url":"https://api.github.com/repos/rubygems/rubygems.org/hooks","issue_events_url":"https://api.github.com/repos/rubygems/rubygems.org/issues/events{/number}","events_url":"https://api.github.com/repos/rubygems/rubygems.org/events","assignees_url":"https://api.github.com/repos/rubygems/rubygems.org/assignees{/user}","branches_url":"https://api.github.com/repos/rubygems/rubygems.org/branches{/branch}","tags_url":"https://api.github.com/repos/rubygems/rubygems.org/tags","blobs_url":"https://api.github.com/repos/rubygems/rubygems.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rubygems/rubygems.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rubygems/rubygems.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/rubygems/rubygems.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rubygems/rubygems.org/statuses/{sha}","languages_url":"https://api.github.com/repos/rubygems/rubygems.org/languages","stargazers_url":"https://api.github.com/repos/rubygems/rubygems.org/stargazers","contributors_url":"https://api.github.com/repos/rubygems/rubygems.org/contributors","subscribers_url":"https://api.github.com/repos/rubygems/rubygems.org/subscribers","subscription_url":"https://api.github.com/repos/rubygems/rubygems.org/subscription","commits_url":"https://api.github.com/repos/rubygems/rubygems.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/rubygems/rubygems.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/rubygems/rubygems.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/rubygems/rubygems.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/rubygems/rubygems.org/contents/{+path}","compare_url":"https://api.github.com/repos/rubygems/rubygems.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rubygems/rubygems.org/merges","archive_url":"https://api.github.com/repos/rubygems/rubygems.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rubygems/rubygems.org/downloads","issues_url":"https://api.github.com/repos/rubygems/rubygems.org/issues{/number}","pulls_url":"https://api.github.com/repos/rubygems/rubygems.org/pulls{/number}","milestones_url":"https://api.github.com/repos/rubygems/rubygems.org/milestones{/number}","notifications_url":"https://api.github.com/repos/rubygems/rubygems.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rubygems/rubygems.org/labels{/name}","releases_url":"https://api.github.com/repos/rubygems/rubygems.org/releases{/id}","created_at":"2009-01-29T22:30:46Z","updated_at":"2015-11-04T16:43:34Z","pushed_at":"2015-11-04T16:41:55Z","git_url":"git://github.com/rubygems/rubygems.org.git","ssh_url":"git@github.com:rubygems/rubygems.org.git","clone_url":"https://github.com/rubygems/rubygems.org.git","svn_url":"https://github.com/rubygems/rubygems.org","homepage":"https://rubygems.org","size":644801,"stargazers_count":1257,"watchers_count":1257,"language":"HTML","has_issues":true,"has_downloads":false,"has_wiki":true,"has_pages":false,"forks_count":487,"mirror_url":null,"open_issues_count":39,"forks":487,"open_issues":39,"watchers":1257,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rubygems/rubygems.org/pulls/1099"},"html":{"href":"https://github.com/rubygems/rubygems.org/pull/1099"},"issue":{"href":"https://api.github.com/repos/rubygems/rubygems.org/issues/1099"},"comments":{"href":"https://api.github.com/repos/rubygems/rubygems.org/issues/1099/comments"},"review_comments":{"href":"https://api.github.com/repos/rubygems/rubygems.org/pulls/1099/comments"},"review_comment":{"href":"https://api.github.com/repos/rubygems/rubygems.org/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rubygems/rubygems.org/pulls/1099/commits"},"statuses":{"href":"https://api.github.com/repos/rubygems/rubygems.org/statuses/9139686389ba59b063bf83848d72eaa6afb6d88c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":15,"deletions":1,"changed_files":3}}