{"action":"created","comment":{"url":"https://api.github.com/repos/codevise/pageflow/pulls/comments/65541625","id":65541625,"diff_hunk":"@@ -71,6 +71,30 @@ class PageflowModule\n \n         expect(result).to eq(true)\n       end\n+\n+      it 'raises helpful error when trying to enable unknown feature by default' do\n+        pageflow = PageflowModule.new\n+\n+        pageflow.configure do |config|\n+          config.features.enable_by_default('unknown')\n+          config.features.register('other_stuff')\n+        end\n+\n+        expect {","path":"spec/pageflow/global_config_api_spec.rb","position":13,"original_position":13,"commit_id":"00bbce8ac3b17baadc41c6286e89107ee67a955c","original_commit_id":"00bbce8ac3b17baadc41c6286e89107ee67a955c","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Avoid using `{...}` for multi-line blocks.","created_at":"2016-06-02T13:46:33Z","updated_at":"2016-06-02T13:46:33Z","html_url":"https://github.com/codevise/pageflow/pull/528#discussion_r65541625","pull_request_url":"https://api.github.com/repos/codevise/pageflow/pulls/528","_links":{"self":{"href":"https://api.github.com/repos/codevise/pageflow/pulls/comments/65541625"},"html":{"href":"https://github.com/codevise/pageflow/pull/528#discussion_r65541625"},"pull_request":{"href":"https://api.github.com/repos/codevise/pageflow/pulls/528"}}},"pull_request":{"url":"https://api.github.com/repos/codevise/pageflow/pulls/528","id":72348820,"html_url":"https://github.com/codevise/pageflow/pull/528","diff_url":"https://github.com/codevise/pageflow/pull/528.diff","patch_url":"https://github.com/codevise/pageflow/pull/528.patch","issue_url":"https://api.github.com/repos/codevise/pageflow/issues/528","number":528,"state":"open","locked":false,"title":"Improve feature state inheritance","user":{"login":"tf","id":26554,"avatar_url":"https://avatars.githubusercontent.com/u/26554?v=3","gravatar_id":"","url":"https://api.github.com/users/tf","html_url":"https://github.com/tf","followers_url":"https://api.github.com/users/tf/followers","following_url":"https://api.github.com/users/tf/following{/other_user}","gists_url":"https://api.github.com/users/tf/gists{/gist_id}","starred_url":"https://api.github.com/users/tf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tf/subscriptions","organizations_url":"https://api.github.com/users/tf/orgs","repos_url":"https://api.github.com/users/tf/repos","events_url":"https://api.github.com/users/tf/events{/privacy}","received_events_url":"https://api.github.com/users/tf/received_events","type":"User","site_admin":false},"body":"* Allow to define default feature state in initializer\r\n* Allow disabling features which are enabled in parent\r\n* Display inherited feature states in admin","created_at":"2016-06-02T13:46:26Z","updated_at":"2016-06-02T13:46:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bb98f86ffb869e0404dc37963c85881075529d7d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/codevise/pageflow/pulls/528/commits","review_comments_url":"https://api.github.com/repos/codevise/pageflow/pulls/528/comments","review_comment_url":"https://api.github.com/repos/codevise/pageflow/pulls/comments{/number}","comments_url":"https://api.github.com/repos/codevise/pageflow/issues/528/comments","statuses_url":"https://api.github.com/repos/codevise/pageflow/statuses/00bbce8ac3b17baadc41c6286e89107ee67a955c","head":{"label":"tf:inherited-feature-states","ref":"inherited-feature-states","sha":"00bbce8ac3b17baadc41c6286e89107ee67a955c","user":{"login":"tf","id":26554,"avatar_url":"https://avatars.githubusercontent.com/u/26554?v=3","gravatar_id":"","url":"https://api.github.com/users/tf","html_url":"https://github.com/tf","followers_url":"https://api.github.com/users/tf/followers","following_url":"https://api.github.com/users/tf/following{/other_user}","gists_url":"https://api.github.com/users/tf/gists{/gist_id}","starred_url":"https://api.github.com/users/tf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tf/subscriptions","organizations_url":"https://api.github.com/users/tf/orgs","repos_url":"https://api.github.com/users/tf/repos","events_url":"https://api.github.com/users/tf/events{/privacy}","received_events_url":"https://api.github.com/users/tf/received_events","type":"User","site_admin":false},"repo":{"id":21001960,"name":"pageflow","full_name":"tf/pageflow","owner":{"login":"tf","id":26554,"avatar_url":"https://avatars.githubusercontent.com/u/26554?v=3","gravatar_id":"","url":"https://api.github.com/users/tf","html_url":"https://github.com/tf","followers_url":"https://api.github.com/users/tf/followers","following_url":"https://api.github.com/users/tf/following{/other_user}","gists_url":"https://api.github.com/users/tf/gists{/gist_id}","starred_url":"https://api.github.com/users/tf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tf/subscriptions","organizations_url":"https://api.github.com/users/tf/orgs","repos_url":"https://api.github.com/users/tf/repos","events_url":"https://api.github.com/users/tf/events{/privacy}","received_events_url":"https://api.github.com/users/tf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tf/pageflow","description":"Multimedia story telling for the web.","fork":true,"url":"https://api.github.com/repos/tf/pageflow","forks_url":"https://api.github.com/repos/tf/pageflow/forks","keys_url":"https://api.github.com/repos/tf/pageflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tf/pageflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tf/pageflow/teams","hooks_url":"https://api.github.com/repos/tf/pageflow/hooks","issue_events_url":"https://api.github.com/repos/tf/pageflow/issues/events{/number}","events_url":"https://api.github.com/repos/tf/pageflow/events","assignees_url":"https://api.github.com/repos/tf/pageflow/assignees{/user}","branches_url":"https://api.github.com/repos/tf/pageflow/branches{/branch}","tags_url":"https://api.github.com/repos/tf/pageflow/tags","blobs_url":"https://api.github.com/repos/tf/pageflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tf/pageflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tf/pageflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/tf/pageflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tf/pageflow/statuses/{sha}","languages_url":"https://api.github.com/repos/tf/pageflow/languages","stargazers_url":"https://api.github.com/repos/tf/pageflow/stargazers","contributors_url":"https://api.github.com/repos/tf/pageflow/contributors","subscribers_url":"https://api.github.com/repos/tf/pageflow/subscribers","subscription_url":"https://api.github.com/repos/tf/pageflow/subscription","commits_url":"https://api.github.com/repos/tf/pageflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/tf/pageflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/tf/pageflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/tf/pageflow/issues/comments{/number}","contents_url":"https://api.github.com/repos/tf/pageflow/contents/{+path}","compare_url":"https://api.github.com/repos/tf/pageflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tf/pageflow/merges","archive_url":"https://api.github.com/repos/tf/pageflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tf/pageflow/downloads","issues_url":"https://api.github.com/repos/tf/pageflow/issues{/number}","pulls_url":"https://api.github.com/repos/tf/pageflow/pulls{/number}","milestones_url":"https://api.github.com/repos/tf/pageflow/milestones{/number}","notifications_url":"https://api.github.com/repos/tf/pageflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tf/pageflow/labels{/name}","releases_url":"https://api.github.com/repos/tf/pageflow/releases{/id}","deployments_url":"https://api.github.com/repos/tf/pageflow/deployments","created_at":"2014-06-19T13:50:32Z","updated_at":"2016-01-25T13:52:59Z","pushed_at":"2016-06-02T13:45:34Z","git_url":"git://github.com/tf/pageflow.git","ssh_url":"git@github.com:tf/pageflow.git","clone_url":"https://github.com/tf/pageflow.git","svn_url":"https://github.com/tf/pageflow","homepage":"http://pageflow.io","size":11135,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"codevise:master","ref":"master","sha":"38ccdb3c50864bc43a1936aeba70fd62cae081d7","user":{"login":"codevise","id":537804,"avatar_url":"https://avatars.githubusercontent.com/u/537804?v=3","gravatar_id":"","url":"https://api.github.com/users/codevise","html_url":"https://github.com/codevise","followers_url":"https://api.github.com/users/codevise/followers","following_url":"https://api.github.com/users/codevise/following{/other_user}","gists_url":"https://api.github.com/users/codevise/gists{/gist_id}","starred_url":"https://api.github.com/users/codevise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codevise/subscriptions","organizations_url":"https://api.github.com/users/codevise/orgs","repos_url":"https://api.github.com/users/codevise/repos","events_url":"https://api.github.com/users/codevise/events{/privacy}","received_events_url":"https://api.github.com/users/codevise/received_events","type":"Organization","site_admin":false},"repo":{"id":19446839,"name":"pageflow","full_name":"codevise/pageflow","owner":{"login":"codevise","id":537804,"avatar_url":"https://avatars.githubusercontent.com/u/537804?v=3","gravatar_id":"","url":"https://api.github.com/users/codevise","html_url":"https://github.com/codevise","followers_url":"https://api.github.com/users/codevise/followers","following_url":"https://api.github.com/users/codevise/following{/other_user}","gists_url":"https://api.github.com/users/codevise/gists{/gist_id}","starred_url":"https://api.github.com/users/codevise/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codevise/subscriptions","organizations_url":"https://api.github.com/users/codevise/orgs","repos_url":"https://api.github.com/users/codevise/repos","events_url":"https://api.github.com/users/codevise/events{/privacy}","received_events_url":"https://api.github.com/users/codevise/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/codevise/pageflow","description":"Multimedia story telling for the web.","fork":false,"url":"https://api.github.com/repos/codevise/pageflow","forks_url":"https://api.github.com/repos/codevise/pageflow/forks","keys_url":"https://api.github.com/repos/codevise/pageflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/codevise/pageflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/codevise/pageflow/teams","hooks_url":"https://api.github.com/repos/codevise/pageflow/hooks","issue_events_url":"https://api.github.com/repos/codevise/pageflow/issues/events{/number}","events_url":"https://api.github.com/repos/codevise/pageflow/events","assignees_url":"https://api.github.com/repos/codevise/pageflow/assignees{/user}","branches_url":"https://api.github.com/repos/codevise/pageflow/branches{/branch}","tags_url":"https://api.github.com/repos/codevise/pageflow/tags","blobs_url":"https://api.github.com/repos/codevise/pageflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/codevise/pageflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/codevise/pageflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/codevise/pageflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/codevise/pageflow/statuses/{sha}","languages_url":"https://api.github.com/repos/codevise/pageflow/languages","stargazers_url":"https://api.github.com/repos/codevise/pageflow/stargazers","contributors_url":"https://api.github.com/repos/codevise/pageflow/contributors","subscribers_url":"https://api.github.com/repos/codevise/pageflow/subscribers","subscription_url":"https://api.github.com/repos/codevise/pageflow/subscription","commits_url":"https://api.github.com/repos/codevise/pageflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/codevise/pageflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/codevise/pageflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/codevise/pageflow/issues/comments{/number}","contents_url":"https://api.github.com/repos/codevise/pageflow/contents/{+path}","compare_url":"https://api.github.com/repos/codevise/pageflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/codevise/pageflow/merges","archive_url":"https://api.github.com/repos/codevise/pageflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/codevise/pageflow/downloads","issues_url":"https://api.github.com/repos/codevise/pageflow/issues{/number}","pulls_url":"https://api.github.com/repos/codevise/pageflow/pulls{/number}","milestones_url":"https://api.github.com/repos/codevise/pageflow/milestones{/number}","notifications_url":"https://api.github.com/repos/codevise/pageflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/codevise/pageflow/labels{/name}","releases_url":"https://api.github.com/repos/codevise/pageflow/releases{/id}","deployments_url":"https://api.github.com/repos/codevise/pageflow/deployments","created_at":"2014-05-05T06:50:13Z","updated_at":"2016-04-29T08:03:27Z","pushed_at":"2016-06-02T13:46:26Z","git_url":"git://github.com/codevise/pageflow.git","ssh_url":"git@github.com:codevise/pageflow.git","clone_url":"https://github.com/codevise/pageflow.git","svn_url":"https://github.com/codevise/pageflow","homepage":"http://pageflow.io","size":11075,"stargazers_count":293,"watchers_count":293,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":75,"mirror_url":null,"open_issues_count":23,"forks":75,"open_issues":23,"watchers":293,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/codevise/pageflow/pulls/528"},"html":{"href":"https://github.com/codevise/pageflow/pull/528"},"issue":{"href":"https://api.github.com/repos/codevise/pageflow/issues/528"},"comments":{"href":"https://api.github.com/repos/codevise/pageflow/issues/528/comments"},"review_comments":{"href":"https://api.github.com/repos/codevise/pageflow/pulls/528/comments"},"review_comment":{"href":"https://api.github.com/repos/codevise/pageflow/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/codevise/pageflow/pulls/528/commits"},"statuses":{"href":"https://api.github.com/repos/codevise/pageflow/statuses/00bbce8ac3b17baadc41c6286e89107ee67a955c"}}}}
{"actor":{"display_login":"houndci-bot"}}