{"action":"created","comment":{"url":"https://api.github.com/repos/bundler/bundler/pulls/comments/36498766","id":36498766,"diff_hunk":"@@ -0,0 +1,22 @@\n+module Bundler\n+  module Plugin\n+    module V1\n+      class Command\n+        attr_reader :command_name, :command_short_description, :command_long_description\n+\n+        def initialize\n+          @command_name = \"Plugin [OPTIONS]\"\n+          @command_short_description = \"Unimplemented short description\"\n+          @command_long_description = \"Unimplemented long description\"\n+        end\n+\n+        def run(options, args)\n+          Bundler.ui.info \"The plugin hasn't implemented the run method\"","path":"lib/bundler/plugin/v1/command.rb","position":14,"original_position":14,"commit_id":"ca21fe543a42e5620a3cd730323e924aa5c058f3","original_commit_id":"ca21fe543a42e5620a3cd730323e924aa5c058f3","user":{"login":"suhastech","id":1110844,"avatar_url":"https://avatars.githubusercontent.com/u/1110844?v=3","gravatar_id":"","url":"https://api.github.com/users/suhastech","html_url":"https://github.com/suhastech","followers_url":"https://api.github.com/users/suhastech/followers","following_url":"https://api.github.com/users/suhastech/following{/other_user}","gists_url":"https://api.github.com/users/suhastech/gists{/gist_id}","starred_url":"https://api.github.com/users/suhastech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suhastech/subscriptions","organizations_url":"https://api.github.com/users/suhastech/orgs","repos_url":"https://api.github.com/users/suhastech/repos","events_url":"https://api.github.com/users/suhastech/events{/privacy}","received_events_url":"https://api.github.com/users/suhastech/received_events","type":"User","site_admin":false},"body":"I was thinking that improperly implemented plugin shouldn't be allowed to crash bundler. That's why some errors were \"swallowed\". \r\n\r\nOf course, we can let bundler crash and let the user decide to uninstall the misbehaving plugin. Now that I think about it, it does make sense.","created_at":"2015-08-07T08:09:45Z","updated_at":"2015-08-07T08:09:45Z","html_url":"https://github.com/bundler/bundler/pull/3807#discussion_r36498766","pull_request_url":"https://api.github.com/repos/bundler/bundler/pulls/3807","_links":{"self":{"href":"https://api.github.com/repos/bundler/bundler/pulls/comments/36498766"},"html":{"href":"https://github.com/bundler/bundler/pull/3807#discussion_r36498766"},"pull_request":{"href":"https://api.github.com/repos/bundler/bundler/pulls/3807"}}},"pull_request":{"url":"https://api.github.com/repos/bundler/bundler/pulls/3807","id":39207038,"html_url":"https://github.com/bundler/bundler/pull/3807","diff_url":"https://github.com/bundler/bundler/pull/3807.diff","patch_url":"https://github.com/bundler/bundler/pull/3807.patch","issue_url":"https://api.github.com/repos/bundler/bundler/issues/3807","number":3807,"state":"open","locked":false,"title":"Plugin System Proof of Concept","user":{"login":"suhastech","id":1110844,"avatar_url":"https://avatars.githubusercontent.com/u/1110844?v=3","gravatar_id":"","url":"https://api.github.com/users/suhastech","html_url":"https://github.com/suhastech","followers_url":"https://api.github.com/users/suhastech/followers","following_url":"https://api.github.com/users/suhastech/following{/other_user}","gists_url":"https://api.github.com/users/suhastech/gists{/gist_id}","starred_url":"https://api.github.com/users/suhastech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suhastech/subscriptions","organizations_url":"https://api.github.com/users/suhastech/orgs","repos_url":"https://api.github.com/users/suhastech/repos","events_url":"https://api.github.com/users/suhastech/events{/privacy}","received_events_url":"https://api.github.com/users/suhastech/received_events","type":"User","site_admin":false},"body":"Hi,\r\n\r\nI had created a proof of concept for the Plugin system. The sample plugin can be found at https://github.com/suhastech/bundler-sample-plugin \r\n\r\nIt is still early stage. Only subcommand module has been implemented.\r\n\r\nCurrently in the pipeline: Source and Lifecycle.","created_at":"2015-07-04T12:18:00Z","updated_at":"2015-08-07T08:09:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"04bb28e0950f22a650a1482da1669283f04ceb11","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bundler/bundler/pulls/3807/commits","review_comments_url":"https://api.github.com/repos/bundler/bundler/pulls/3807/comments","review_comment_url":"https://api.github.com/repos/bundler/bundler/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bundler/bundler/issues/3807/comments","statuses_url":"https://api.github.com/repos/bundler/bundler/statuses/ca21fe543a42e5620a3cd730323e924aa5c058f3","head":{"label":"suhastech:master","ref":"master","sha":"ca21fe543a42e5620a3cd730323e924aa5c058f3","user":{"login":"suhastech","id":1110844,"avatar_url":"https://avatars.githubusercontent.com/u/1110844?v=3","gravatar_id":"","url":"https://api.github.com/users/suhastech","html_url":"https://github.com/suhastech","followers_url":"https://api.github.com/users/suhastech/followers","following_url":"https://api.github.com/users/suhastech/following{/other_user}","gists_url":"https://api.github.com/users/suhastech/gists{/gist_id}","starred_url":"https://api.github.com/users/suhastech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suhastech/subscriptions","organizations_url":"https://api.github.com/users/suhastech/orgs","repos_url":"https://api.github.com/users/suhastech/repos","events_url":"https://api.github.com/users/suhastech/events{/privacy}","received_events_url":"https://api.github.com/users/suhastech/received_events","type":"User","site_admin":false},"repo":{"id":15647076,"name":"bundler","full_name":"suhastech/bundler","owner":{"login":"suhastech","id":1110844,"avatar_url":"https://avatars.githubusercontent.com/u/1110844?v=3","gravatar_id":"","url":"https://api.github.com/users/suhastech","html_url":"https://github.com/suhastech","followers_url":"https://api.github.com/users/suhastech/followers","following_url":"https://api.github.com/users/suhastech/following{/other_user}","gists_url":"https://api.github.com/users/suhastech/gists{/gist_id}","starred_url":"https://api.github.com/users/suhastech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/suhastech/subscriptions","organizations_url":"https://api.github.com/users/suhastech/orgs","repos_url":"https://api.github.com/users/suhastech/repos","events_url":"https://api.github.com/users/suhastech/events{/privacy}","received_events_url":"https://api.github.com/users/suhastech/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/suhastech/bundler","description":"Manage your application's gem dependencies with less pain","fork":true,"url":"https://api.github.com/repos/suhastech/bundler","forks_url":"https://api.github.com/repos/suhastech/bundler/forks","keys_url":"https://api.github.com/repos/suhastech/bundler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/suhastech/bundler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/suhastech/bundler/teams","hooks_url":"https://api.github.com/repos/suhastech/bundler/hooks","issue_events_url":"https://api.github.com/repos/suhastech/bundler/issues/events{/number}","events_url":"https://api.github.com/repos/suhastech/bundler/events","assignees_url":"https://api.github.com/repos/suhastech/bundler/assignees{/user}","branches_url":"https://api.github.com/repos/suhastech/bundler/branches{/branch}","tags_url":"https://api.github.com/repos/suhastech/bundler/tags","blobs_url":"https://api.github.com/repos/suhastech/bundler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/suhastech/bundler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/suhastech/bundler/git/refs{/sha}","trees_url":"https://api.github.com/repos/suhastech/bundler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/suhastech/bundler/statuses/{sha}","languages_url":"https://api.github.com/repos/suhastech/bundler/languages","stargazers_url":"https://api.github.com/repos/suhastech/bundler/stargazers","contributors_url":"https://api.github.com/repos/suhastech/bundler/contributors","subscribers_url":"https://api.github.com/repos/suhastech/bundler/subscribers","subscription_url":"https://api.github.com/repos/suhastech/bundler/subscription","commits_url":"https://api.github.com/repos/suhastech/bundler/commits{/sha}","git_commits_url":"https://api.github.com/repos/suhastech/bundler/git/commits{/sha}","comments_url":"https://api.github.com/repos/suhastech/bundler/comments{/number}","issue_comment_url":"https://api.github.com/repos/suhastech/bundler/issues/comments{/number}","contents_url":"https://api.github.com/repos/suhastech/bundler/contents/{+path}","compare_url":"https://api.github.com/repos/suhastech/bundler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/suhastech/bundler/merges","archive_url":"https://api.github.com/repos/suhastech/bundler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/suhastech/bundler/downloads","issues_url":"https://api.github.com/repos/suhastech/bundler/issues{/number}","pulls_url":"https://api.github.com/repos/suhastech/bundler/pulls{/number}","milestones_url":"https://api.github.com/repos/suhastech/bundler/milestones{/number}","notifications_url":"https://api.github.com/repos/suhastech/bundler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/suhastech/bundler/labels{/name}","releases_url":"https://api.github.com/repos/suhastech/bundler/releases{/id}","created_at":"2014-01-05T07:07:48Z","updated_at":"2015-06-10T10:18:30Z","pushed_at":"2015-08-05T06:58:15Z","git_url":"git://github.com/suhastech/bundler.git","ssh_url":"git@github.com:suhastech/bundler.git","clone_url":"https://github.com/suhastech/bundler.git","svn_url":"https://github.com/suhastech/bundler","homepage":"http://gembundler.com","size":17225,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":false,"has_wiki":false,"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":"bundler:master","ref":"master","sha":"6a3096ba13e5760e2962f152a39830087f464a87","user":{"login":"bundler","id":1137638,"avatar_url":"https://avatars.githubusercontent.com/u/1137638?v=3","gravatar_id":"","url":"https://api.github.com/users/bundler","html_url":"https://github.com/bundler","followers_url":"https://api.github.com/users/bundler/followers","following_url":"https://api.github.com/users/bundler/following{/other_user}","gists_url":"https://api.github.com/users/bundler/gists{/gist_id}","starred_url":"https://api.github.com/users/bundler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bundler/subscriptions","organizations_url":"https://api.github.com/users/bundler/orgs","repos_url":"https://api.github.com/users/bundler/repos","events_url":"https://api.github.com/users/bundler/events{/privacy}","received_events_url":"https://api.github.com/users/bundler/received_events","type":"Organization","site_admin":false},"repo":{"id":488514,"name":"bundler","full_name":"bundler/bundler","owner":{"login":"bundler","id":1137638,"avatar_url":"https://avatars.githubusercontent.com/u/1137638?v=3","gravatar_id":"","url":"https://api.github.com/users/bundler","html_url":"https://github.com/bundler","followers_url":"https://api.github.com/users/bundler/followers","following_url":"https://api.github.com/users/bundler/following{/other_user}","gists_url":"https://api.github.com/users/bundler/gists{/gist_id}","starred_url":"https://api.github.com/users/bundler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bundler/subscriptions","organizations_url":"https://api.github.com/users/bundler/orgs","repos_url":"https://api.github.com/users/bundler/repos","events_url":"https://api.github.com/users/bundler/events{/privacy}","received_events_url":"https://api.github.com/users/bundler/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bundler/bundler","description":"Manage your application's gem dependencies with less pain","fork":false,"url":"https://api.github.com/repos/bundler/bundler","forks_url":"https://api.github.com/repos/bundler/bundler/forks","keys_url":"https://api.github.com/repos/bundler/bundler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bundler/bundler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bundler/bundler/teams","hooks_url":"https://api.github.com/repos/bundler/bundler/hooks","issue_events_url":"https://api.github.com/repos/bundler/bundler/issues/events{/number}","events_url":"https://api.github.com/repos/bundler/bundler/events","assignees_url":"https://api.github.com/repos/bundler/bundler/assignees{/user}","branches_url":"https://api.github.com/repos/bundler/bundler/branches{/branch}","tags_url":"https://api.github.com/repos/bundler/bundler/tags","blobs_url":"https://api.github.com/repos/bundler/bundler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bundler/bundler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bundler/bundler/git/refs{/sha}","trees_url":"https://api.github.com/repos/bundler/bundler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bundler/bundler/statuses/{sha}","languages_url":"https://api.github.com/repos/bundler/bundler/languages","stargazers_url":"https://api.github.com/repos/bundler/bundler/stargazers","contributors_url":"https://api.github.com/repos/bundler/bundler/contributors","subscribers_url":"https://api.github.com/repos/bundler/bundler/subscribers","subscription_url":"https://api.github.com/repos/bundler/bundler/subscription","commits_url":"https://api.github.com/repos/bundler/bundler/commits{/sha}","git_commits_url":"https://api.github.com/repos/bundler/bundler/git/commits{/sha}","comments_url":"https://api.github.com/repos/bundler/bundler/comments{/number}","issue_comment_url":"https://api.github.com/repos/bundler/bundler/issues/comments{/number}","contents_url":"https://api.github.com/repos/bundler/bundler/contents/{+path}","compare_url":"https://api.github.com/repos/bundler/bundler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bundler/bundler/merges","archive_url":"https://api.github.com/repos/bundler/bundler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bundler/bundler/downloads","issues_url":"https://api.github.com/repos/bundler/bundler/issues{/number}","pulls_url":"https://api.github.com/repos/bundler/bundler/pulls{/number}","milestones_url":"https://api.github.com/repos/bundler/bundler/milestones{/number}","notifications_url":"https://api.github.com/repos/bundler/bundler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bundler/bundler/labels{/name}","releases_url":"https://api.github.com/repos/bundler/bundler/releases{/id}","created_at":"2010-01-26T00:46:38Z","updated_at":"2015-08-07T07:52:01Z","pushed_at":"2015-08-06T19:45:51Z","git_url":"git://github.com/bundler/bundler.git","ssh_url":"git@github.com:bundler/bundler.git","clone_url":"https://github.com/bundler/bundler.git","svn_url":"https://github.com/bundler/bundler","homepage":"http://bundler.io","size":34392,"stargazers_count":2973,"watchers_count":2973,"language":"Ruby","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":true,"forks_count":1358,"mirror_url":null,"open_issues_count":100,"forks":1358,"open_issues":100,"watchers":2973,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bundler/bundler/pulls/3807"},"html":{"href":"https://github.com/bundler/bundler/pull/3807"},"issue":{"href":"https://api.github.com/repos/bundler/bundler/issues/3807"},"comments":{"href":"https://api.github.com/repos/bundler/bundler/issues/3807/comments"},"review_comments":{"href":"https://api.github.com/repos/bundler/bundler/pulls/3807/comments"},"review_comment":{"href":"https://api.github.com/repos/bundler/bundler/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bundler/bundler/pulls/3807/commits"},"statuses":{"href":"https://api.github.com/repos/bundler/bundler/statuses/ca21fe543a42e5620a3cd730323e924aa5c058f3"}}}}