{"action":"opened","number":45,"pull_request":{"url":"https://api.github.com/repos/Eric-Guo/wechat/pulls/45","id":44294590,"html_url":"https://github.com/Eric-Guo/wechat/pull/45","diff_url":"https://github.com/Eric-Guo/wechat/pull/45.diff","patch_url":"https://github.com/Eric-Guo/wechat/pull/45.patch","issue_url":"https://api.github.com/repos/Eric-Guo/wechat/issues/45","number":45,"state":"open","locked":false,"title":"resolve the conflict with gem \"responders\"","user":{"login":"seamon","id":9775,"avatar_url":"https://avatars.githubusercontent.com/u/9775?v=3","gravatar_id":"","url":"https://api.github.com/users/seamon","html_url":"https://github.com/seamon","followers_url":"https://api.github.com/users/seamon/followers","following_url":"https://api.github.com/users/seamon/following{/other_user}","gists_url":"https://api.github.com/users/seamon/gists{/gist_id}","starred_url":"https://api.github.com/users/seamon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seamon/subscriptions","organizations_url":"https://api.github.com/users/seamon/orgs","repos_url":"https://api.github.com/users/seamon/repos","events_url":"https://api.github.com/users/seamon/events{/privacy}","received_events_url":"https://api.github.com/users/seamon/received_events","type":"User","site_admin":false},"body":"If we add both gems \"wechat\" and \"devise\", just like this:\n\ngem \"wechat\"\ngem \"devise\"\n\nwe’ll encounter an error when run \"rails c\":\n\n/Users/seamon/.rvm/gems/ruby-2.2.1/gems/responders-2.1.0/lib/action_controller/respond_with.rb:10:in `block in <module:RespondWith>': uninitialized constant ActionController::Responder\n\nIt’s because of the file action_controller/responder.rb in gem \"wechat”. that file conflicts with the gem \"responders\" for the same path of file \"responder.rb\".\n\nSo move responder.rb under action_controller/ to the directory wechat/, according to the name convention with module \"Wechat::Responder\" strictly. No conflict shows up anymore.","created_at":"2015-09-06T03:22:12Z","updated_at":"2015-09-06T03:22:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Eric-Guo/wechat/pulls/45/commits","review_comments_url":"https://api.github.com/repos/Eric-Guo/wechat/pulls/45/comments","review_comment_url":"https://api.github.com/repos/Eric-Guo/wechat/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Eric-Guo/wechat/issues/45/comments","statuses_url":"https://api.github.com/repos/Eric-Guo/wechat/statuses/838bedbcca634baacbac5b11b468d7396aea7d0e","head":{"label":"seamon:master","ref":"master","sha":"838bedbcca634baacbac5b11b468d7396aea7d0e","user":{"login":"seamon","id":9775,"avatar_url":"https://avatars.githubusercontent.com/u/9775?v=3","gravatar_id":"","url":"https://api.github.com/users/seamon","html_url":"https://github.com/seamon","followers_url":"https://api.github.com/users/seamon/followers","following_url":"https://api.github.com/users/seamon/following{/other_user}","gists_url":"https://api.github.com/users/seamon/gists{/gist_id}","starred_url":"https://api.github.com/users/seamon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seamon/subscriptions","organizations_url":"https://api.github.com/users/seamon/orgs","repos_url":"https://api.github.com/users/seamon/repos","events_url":"https://api.github.com/users/seamon/events{/privacy}","received_events_url":"https://api.github.com/users/seamon/received_events","type":"User","site_admin":false},"repo":{"id":41985167,"name":"wechat","full_name":"seamon/wechat","owner":{"login":"seamon","id":9775,"avatar_url":"https://avatars.githubusercontent.com/u/9775?v=3","gravatar_id":"","url":"https://api.github.com/users/seamon","html_url":"https://github.com/seamon","followers_url":"https://api.github.com/users/seamon/followers","following_url":"https://api.github.com/users/seamon/following{/other_user}","gists_url":"https://api.github.com/users/seamon/gists{/gist_id}","starred_url":"https://api.github.com/users/seamon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seamon/subscriptions","organizations_url":"https://api.github.com/users/seamon/orgs","repos_url":"https://api.github.com/users/seamon/repos","events_url":"https://api.github.com/users/seamon/events{/privacy}","received_events_url":"https://api.github.com/users/seamon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/seamon/wechat","description":"API and message handling for WeChat in Rails","fork":true,"url":"https://api.github.com/repos/seamon/wechat","forks_url":"https://api.github.com/repos/seamon/wechat/forks","keys_url":"https://api.github.com/repos/seamon/wechat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seamon/wechat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seamon/wechat/teams","hooks_url":"https://api.github.com/repos/seamon/wechat/hooks","issue_events_url":"https://api.github.com/repos/seamon/wechat/issues/events{/number}","events_url":"https://api.github.com/repos/seamon/wechat/events","assignees_url":"https://api.github.com/repos/seamon/wechat/assignees{/user}","branches_url":"https://api.github.com/repos/seamon/wechat/branches{/branch}","tags_url":"https://api.github.com/repos/seamon/wechat/tags","blobs_url":"https://api.github.com/repos/seamon/wechat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seamon/wechat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seamon/wechat/git/refs{/sha}","trees_url":"https://api.github.com/repos/seamon/wechat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seamon/wechat/statuses/{sha}","languages_url":"https://api.github.com/repos/seamon/wechat/languages","stargazers_url":"https://api.github.com/repos/seamon/wechat/stargazers","contributors_url":"https://api.github.com/repos/seamon/wechat/contributors","subscribers_url":"https://api.github.com/repos/seamon/wechat/subscribers","subscription_url":"https://api.github.com/repos/seamon/wechat/subscription","commits_url":"https://api.github.com/repos/seamon/wechat/commits{/sha}","git_commits_url":"https://api.github.com/repos/seamon/wechat/git/commits{/sha}","comments_url":"https://api.github.com/repos/seamon/wechat/comments{/number}","issue_comment_url":"https://api.github.com/repos/seamon/wechat/issues/comments{/number}","contents_url":"https://api.github.com/repos/seamon/wechat/contents/{+path}","compare_url":"https://api.github.com/repos/seamon/wechat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seamon/wechat/merges","archive_url":"https://api.github.com/repos/seamon/wechat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seamon/wechat/downloads","issues_url":"https://api.github.com/repos/seamon/wechat/issues{/number}","pulls_url":"https://api.github.com/repos/seamon/wechat/pulls{/number}","milestones_url":"https://api.github.com/repos/seamon/wechat/milestones{/number}","notifications_url":"https://api.github.com/repos/seamon/wechat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seamon/wechat/labels{/name}","releases_url":"https://api.github.com/repos/seamon/wechat/releases{/id}","created_at":"2015-09-06T03:17:17Z","updated_at":"2015-09-06T03:17:18Z","pushed_at":"2015-09-06T03:21:32Z","git_url":"git://github.com/seamon/wechat.git","ssh_url":"git@github.com:seamon/wechat.git","clone_url":"https://github.com/seamon/wechat.git","svn_url":"https://github.com/seamon/wechat","homepage":"","size":863,"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":"Eric-Guo:master","ref":"master","sha":"d6ab0ee052b12fb71245abc90cef146d8066c33a","user":{"login":"Eric-Guo","id":1131536,"avatar_url":"https://avatars.githubusercontent.com/u/1131536?v=3","gravatar_id":"","url":"https://api.github.com/users/Eric-Guo","html_url":"https://github.com/Eric-Guo","followers_url":"https://api.github.com/users/Eric-Guo/followers","following_url":"https://api.github.com/users/Eric-Guo/following{/other_user}","gists_url":"https://api.github.com/users/Eric-Guo/gists{/gist_id}","starred_url":"https://api.github.com/users/Eric-Guo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eric-Guo/subscriptions","organizations_url":"https://api.github.com/users/Eric-Guo/orgs","repos_url":"https://api.github.com/users/Eric-Guo/repos","events_url":"https://api.github.com/users/Eric-Guo/events{/privacy}","received_events_url":"https://api.github.com/users/Eric-Guo/received_events","type":"User","site_admin":false},"repo":{"id":18209875,"name":"wechat","full_name":"Eric-Guo/wechat","owner":{"login":"Eric-Guo","id":1131536,"avatar_url":"https://avatars.githubusercontent.com/u/1131536?v=3","gravatar_id":"","url":"https://api.github.com/users/Eric-Guo","html_url":"https://github.com/Eric-Guo","followers_url":"https://api.github.com/users/Eric-Guo/followers","following_url":"https://api.github.com/users/Eric-Guo/following{/other_user}","gists_url":"https://api.github.com/users/Eric-Guo/gists{/gist_id}","starred_url":"https://api.github.com/users/Eric-Guo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eric-Guo/subscriptions","organizations_url":"https://api.github.com/users/Eric-Guo/orgs","repos_url":"https://api.github.com/users/Eric-Guo/repos","events_url":"https://api.github.com/users/Eric-Guo/events{/privacy}","received_events_url":"https://api.github.com/users/Eric-Guo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Eric-Guo/wechat","description":"API and message handling for WeChat in Rails","fork":false,"url":"https://api.github.com/repos/Eric-Guo/wechat","forks_url":"https://api.github.com/repos/Eric-Guo/wechat/forks","keys_url":"https://api.github.com/repos/Eric-Guo/wechat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Eric-Guo/wechat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Eric-Guo/wechat/teams","hooks_url":"https://api.github.com/repos/Eric-Guo/wechat/hooks","issue_events_url":"https://api.github.com/repos/Eric-Guo/wechat/issues/events{/number}","events_url":"https://api.github.com/repos/Eric-Guo/wechat/events","assignees_url":"https://api.github.com/repos/Eric-Guo/wechat/assignees{/user}","branches_url":"https://api.github.com/repos/Eric-Guo/wechat/branches{/branch}","tags_url":"https://api.github.com/repos/Eric-Guo/wechat/tags","blobs_url":"https://api.github.com/repos/Eric-Guo/wechat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Eric-Guo/wechat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Eric-Guo/wechat/git/refs{/sha}","trees_url":"https://api.github.com/repos/Eric-Guo/wechat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Eric-Guo/wechat/statuses/{sha}","languages_url":"https://api.github.com/repos/Eric-Guo/wechat/languages","stargazers_url":"https://api.github.com/repos/Eric-Guo/wechat/stargazers","contributors_url":"https://api.github.com/repos/Eric-Guo/wechat/contributors","subscribers_url":"https://api.github.com/repos/Eric-Guo/wechat/subscribers","subscription_url":"https://api.github.com/repos/Eric-Guo/wechat/subscription","commits_url":"https://api.github.com/repos/Eric-Guo/wechat/commits{/sha}","git_commits_url":"https://api.github.com/repos/Eric-Guo/wechat/git/commits{/sha}","comments_url":"https://api.github.com/repos/Eric-Guo/wechat/comments{/number}","issue_comment_url":"https://api.github.com/repos/Eric-Guo/wechat/issues/comments{/number}","contents_url":"https://api.github.com/repos/Eric-Guo/wechat/contents/{+path}","compare_url":"https://api.github.com/repos/Eric-Guo/wechat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Eric-Guo/wechat/merges","archive_url":"https://api.github.com/repos/Eric-Guo/wechat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Eric-Guo/wechat/downloads","issues_url":"https://api.github.com/repos/Eric-Guo/wechat/issues{/number}","pulls_url":"https://api.github.com/repos/Eric-Guo/wechat/pulls{/number}","milestones_url":"https://api.github.com/repos/Eric-Guo/wechat/milestones{/number}","notifications_url":"https://api.github.com/repos/Eric-Guo/wechat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Eric-Guo/wechat/labels{/name}","releases_url":"https://api.github.com/repos/Eric-Guo/wechat/releases{/id}","created_at":"2014-03-28T11:23:11Z","updated_at":"2015-09-05T07:35:18Z","pushed_at":"2015-09-06T03:22:12Z","git_url":"git://github.com/Eric-Guo/wechat.git","ssh_url":"git@github.com:Eric-Guo/wechat.git","clone_url":"https://github.com/Eric-Guo/wechat.git","svn_url":"https://github.com/Eric-Guo/wechat","homepage":"","size":863,"stargazers_count":444,"watchers_count":444,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":149,"mirror_url":null,"open_issues_count":7,"forks":149,"open_issues":7,"watchers":444,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Eric-Guo/wechat/pulls/45"},"html":{"href":"https://github.com/Eric-Guo/wechat/pull/45"},"issue":{"href":"https://api.github.com/repos/Eric-Guo/wechat/issues/45"},"comments":{"href":"https://api.github.com/repos/Eric-Guo/wechat/issues/45/comments"},"review_comments":{"href":"https://api.github.com/repos/Eric-Guo/wechat/pulls/45/comments"},"review_comment":{"href":"https://api.github.com/repos/Eric-Guo/wechat/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Eric-Guo/wechat/pulls/45/commits"},"statuses":{"href":"https://api.github.com/repos/Eric-Guo/wechat/statuses/838bedbcca634baacbac5b11b468d7396aea7d0e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":2}}