{"action":"created","comment":{"url":"https://api.github.com/repos/rails/rails/pulls/comments/49933444","id":49933444,"diff_hunk":"@@ -339,6 +340,15 @@ def psych_gemfile_entry\n         GemfileEntry.new('psych', '~> 2.0', comment, platforms: :rbx)\n       end\n \n+      def cable_gemfile_entry\n+        return [] if options[:skip_action_cable]\n+        comment = 'ActionCable dependency for the Redis adapter'","path":"railties/lib/rails/generators/app_base.rb","position":14,"original_position":14,"commit_id":"b58307b6d21fe336ab39737224d85182feb81347","original_commit_id":"b58307b6d21fe336ab39737224d85182feb81347","user":{"login":"kaspth","id":350807,"avatar_url":"https://avatars.githubusercontent.com/u/350807?v=3","gravatar_id":"","url":"https://api.github.com/users/kaspth","html_url":"https://github.com/kaspth","followers_url":"https://api.github.com/users/kaspth/followers","following_url":"https://api.github.com/users/kaspth/following{/other_user}","gists_url":"https://api.github.com/users/kaspth/gists{/gist_id}","starred_url":"https://api.github.com/users/kaspth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaspth/subscriptions","organizations_url":"https://api.github.com/users/kaspth/orgs","repos_url":"https://api.github.com/users/kaspth/repos","events_url":"https://api.github.com/users/kaspth/events{/privacy}","received_events_url":"https://api.github.com/users/kaspth/received_events","type":"User","site_admin":false},"body":"`Action Cable`","created_at":"2016-01-16T16:02:16Z","updated_at":"2016-01-16T16:02:16Z","html_url":"https://github.com/rails/rails/pull/22950#discussion_r49933444","pull_request_url":"https://api.github.com/repos/rails/rails/pulls/22950","_links":{"self":{"href":"https://api.github.com/repos/rails/rails/pulls/comments/49933444"},"html":{"href":"https://github.com/rails/rails/pull/22950#discussion_r49933444"},"pull_request":{"href":"https://api.github.com/repos/rails/rails/pulls/22950"}}},"pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/22950","id":55273865,"html_url":"https://github.com/rails/rails/pull/22950","diff_url":"https://github.com/rails/rails/pull/22950.diff","patch_url":"https://github.com/rails/rails/pull/22950.patch","issue_url":"https://api.github.com/repos/rails/rails/issues/22950","number":22950,"state":"open","locked":false,"title":"Adapterize storage for ActionCable","user":{"login":"maclover7","id":3020626,"avatar_url":"https://avatars.githubusercontent.com/u/3020626?v=3","gravatar_id":"","url":"https://api.github.com/users/maclover7","html_url":"https://github.com/maclover7","followers_url":"https://api.github.com/users/maclover7/followers","following_url":"https://api.github.com/users/maclover7/following{/other_user}","gists_url":"https://api.github.com/users/maclover7/gists{/gist_id}","starred_url":"https://api.github.com/users/maclover7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maclover7/subscriptions","organizations_url":"https://api.github.com/users/maclover7/orgs","repos_url":"https://api.github.com/users/maclover7/repos","events_url":"https://api.github.com/users/maclover7/events{/privacy}","received_events_url":"https://api.github.com/users/maclover7/received_events","type":"User","site_admin":false},"body":"This is an attempt to adapterize the storage adapters for ActionCable. Currently, the only option is Redis.\r\n\r\nKey Changes:\r\n- The default will remain to be Redis for the time being for ease of use via `ActionCable::SubscriptionAdapter::Redis`.\r\n- `ActionCable::SubscriptionAdapter::Base` is introduced to allow other people to write their own adapters.\r\n- `adapter` configuration option is permitted in the yml file, to allow different adapters to be specified.\r\n- To be storage adapter agnostic, the ActionCable yml configuration file is being moved from `config/redis/cable.yml` to just `config/cable.yml`.","created_at":"2016-01-06T22:25:11Z","updated_at":"2016-01-16T16:02:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f86aab0bc327b82b1e19fd1e4ccc61884140185a","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rails/rails/pulls/22950/commits","review_comments_url":"https://api.github.com/repos/rails/rails/pulls/22950/comments","review_comment_url":"https://api.github.com/repos/rails/rails/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rails/rails/issues/22950/comments","statuses_url":"https://api.github.com/repos/rails/rails/statuses/b58307b6d21fe336ab39737224d85182feb81347","head":{"label":"maclover7:adapterize-storage-actioncable","ref":"adapterize-storage-actioncable","sha":"b58307b6d21fe336ab39737224d85182feb81347","user":{"login":"maclover7","id":3020626,"avatar_url":"https://avatars.githubusercontent.com/u/3020626?v=3","gravatar_id":"","url":"https://api.github.com/users/maclover7","html_url":"https://github.com/maclover7","followers_url":"https://api.github.com/users/maclover7/followers","following_url":"https://api.github.com/users/maclover7/following{/other_user}","gists_url":"https://api.github.com/users/maclover7/gists{/gist_id}","starred_url":"https://api.github.com/users/maclover7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maclover7/subscriptions","organizations_url":"https://api.github.com/users/maclover7/orgs","repos_url":"https://api.github.com/users/maclover7/repos","events_url":"https://api.github.com/users/maclover7/events{/privacy}","received_events_url":"https://api.github.com/users/maclover7/received_events","type":"User","site_admin":false},"repo":{"id":40943063,"name":"rails","full_name":"maclover7/rails","owner":{"login":"maclover7","id":3020626,"avatar_url":"https://avatars.githubusercontent.com/u/3020626?v=3","gravatar_id":"","url":"https://api.github.com/users/maclover7","html_url":"https://github.com/maclover7","followers_url":"https://api.github.com/users/maclover7/followers","following_url":"https://api.github.com/users/maclover7/following{/other_user}","gists_url":"https://api.github.com/users/maclover7/gists{/gist_id}","starred_url":"https://api.github.com/users/maclover7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maclover7/subscriptions","organizations_url":"https://api.github.com/users/maclover7/orgs","repos_url":"https://api.github.com/users/maclover7/repos","events_url":"https://api.github.com/users/maclover7/events{/privacy}","received_events_url":"https://api.github.com/users/maclover7/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/maclover7/rails","description":"Ruby on Rails","fork":true,"url":"https://api.github.com/repos/maclover7/rails","forks_url":"https://api.github.com/repos/maclover7/rails/forks","keys_url":"https://api.github.com/repos/maclover7/rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/maclover7/rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/maclover7/rails/teams","hooks_url":"https://api.github.com/repos/maclover7/rails/hooks","issue_events_url":"https://api.github.com/repos/maclover7/rails/issues/events{/number}","events_url":"https://api.github.com/repos/maclover7/rails/events","assignees_url":"https://api.github.com/repos/maclover7/rails/assignees{/user}","branches_url":"https://api.github.com/repos/maclover7/rails/branches{/branch}","tags_url":"https://api.github.com/repos/maclover7/rails/tags","blobs_url":"https://api.github.com/repos/maclover7/rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/maclover7/rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/maclover7/rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/maclover7/rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/maclover7/rails/statuses/{sha}","languages_url":"https://api.github.com/repos/maclover7/rails/languages","stargazers_url":"https://api.github.com/repos/maclover7/rails/stargazers","contributors_url":"https://api.github.com/repos/maclover7/rails/contributors","subscribers_url":"https://api.github.com/repos/maclover7/rails/subscribers","subscription_url":"https://api.github.com/repos/maclover7/rails/subscription","commits_url":"https://api.github.com/repos/maclover7/rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/maclover7/rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/maclover7/rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/maclover7/rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/maclover7/rails/contents/{+path}","compare_url":"https://api.github.com/repos/maclover7/rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/maclover7/rails/merges","archive_url":"https://api.github.com/repos/maclover7/rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/maclover7/rails/downloads","issues_url":"https://api.github.com/repos/maclover7/rails/issues{/number}","pulls_url":"https://api.github.com/repos/maclover7/rails/pulls{/number}","milestones_url":"https://api.github.com/repos/maclover7/rails/milestones{/number}","notifications_url":"https://api.github.com/repos/maclover7/rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/maclover7/rails/labels{/name}","releases_url":"https://api.github.com/repos/maclover7/rails/releases{/id}","created_at":"2015-08-18T01:26:06Z","updated_at":"2015-08-18T01:26:32Z","pushed_at":"2016-01-16T15:47:45Z","git_url":"git://github.com/maclover7/rails.git","ssh_url":"git@github.com:maclover7/rails.git","clone_url":"https://github.com/maclover7/rails.git","svn_url":"https://github.com/maclover7/rails","homepage":"http://rubyonrails.org","size":122692,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"rails:master","ref":"master","sha":"39f383bad01e52c217c9007b5e9d3b239fe6a808","user":{"login":"rails","id":4223,"avatar_url":"https://avatars.githubusercontent.com/u/4223?v=3","gravatar_id":"","url":"https://api.github.com/users/rails","html_url":"https://github.com/rails","followers_url":"https://api.github.com/users/rails/followers","following_url":"https://api.github.com/users/rails/following{/other_user}","gists_url":"https://api.github.com/users/rails/gists{/gist_id}","starred_url":"https://api.github.com/users/rails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails/subscriptions","organizations_url":"https://api.github.com/users/rails/orgs","repos_url":"https://api.github.com/users/rails/repos","events_url":"https://api.github.com/users/rails/events{/privacy}","received_events_url":"https://api.github.com/users/rails/received_events","type":"Organization","site_admin":false},"repo":{"id":8514,"name":"rails","full_name":"rails/rails","owner":{"login":"rails","id":4223,"avatar_url":"https://avatars.githubusercontent.com/u/4223?v=3","gravatar_id":"","url":"https://api.github.com/users/rails","html_url":"https://github.com/rails","followers_url":"https://api.github.com/users/rails/followers","following_url":"https://api.github.com/users/rails/following{/other_user}","gists_url":"https://api.github.com/users/rails/gists{/gist_id}","starred_url":"https://api.github.com/users/rails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails/subscriptions","organizations_url":"https://api.github.com/users/rails/orgs","repos_url":"https://api.github.com/users/rails/repos","events_url":"https://api.github.com/users/rails/events{/privacy}","received_events_url":"https://api.github.com/users/rails/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rails/rails","description":"Ruby on Rails","fork":false,"url":"https://api.github.com/repos/rails/rails","forks_url":"https://api.github.com/repos/rails/rails/forks","keys_url":"https://api.github.com/repos/rails/rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rails/rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rails/rails/teams","hooks_url":"https://api.github.com/repos/rails/rails/hooks","issue_events_url":"https://api.github.com/repos/rails/rails/issues/events{/number}","events_url":"https://api.github.com/repos/rails/rails/events","assignees_url":"https://api.github.com/repos/rails/rails/assignees{/user}","branches_url":"https://api.github.com/repos/rails/rails/branches{/branch}","tags_url":"https://api.github.com/repos/rails/rails/tags","blobs_url":"https://api.github.com/repos/rails/rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rails/rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rails/rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/rails/rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rails/rails/statuses/{sha}","languages_url":"https://api.github.com/repos/rails/rails/languages","stargazers_url":"https://api.github.com/repos/rails/rails/stargazers","contributors_url":"https://api.github.com/repos/rails/rails/contributors","subscribers_url":"https://api.github.com/repos/rails/rails/subscribers","subscription_url":"https://api.github.com/repos/rails/rails/subscription","commits_url":"https://api.github.com/repos/rails/rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/rails/rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/rails/rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/rails/rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/rails/rails/contents/{+path}","compare_url":"https://api.github.com/repos/rails/rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rails/rails/merges","archive_url":"https://api.github.com/repos/rails/rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rails/rails/downloads","issues_url":"https://api.github.com/repos/rails/rails/issues{/number}","pulls_url":"https://api.github.com/repos/rails/rails/pulls{/number}","milestones_url":"https://api.github.com/repos/rails/rails/milestones{/number}","notifications_url":"https://api.github.com/repos/rails/rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rails/rails/labels{/name}","releases_url":"https://api.github.com/repos/rails/rails/releases{/id}","created_at":"2008-04-11T02:19:47Z","updated_at":"2016-01-16T12:59:13Z","pushed_at":"2016-01-16T15:47:48Z","git_url":"git://github.com/rails/rails.git","ssh_url":"git@github.com:rails/rails.git","clone_url":"https://github.com/rails/rails.git","svn_url":"https://github.com/rails/rails","homepage":"http://rubyonrails.org","size":321682,"stargazers_count":29203,"watchers_count":29203,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":11834,"mirror_url":null,"open_issues_count":838,"forks":11834,"open_issues":838,"watchers":29203,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rails/rails/pulls/22950"},"html":{"href":"https://github.com/rails/rails/pull/22950"},"issue":{"href":"https://api.github.com/repos/rails/rails/issues/22950"},"comments":{"href":"https://api.github.com/repos/rails/rails/issues/22950/comments"},"review_comments":{"href":"https://api.github.com/repos/rails/rails/pulls/22950/comments"},"review_comment":{"href":"https://api.github.com/repos/rails/rails/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rails/rails/pulls/22950/commits"},"statuses":{"href":"https://api.github.com/repos/rails/rails/statuses/b58307b6d21fe336ab39737224d85182feb81347"}}}}