{"action":"closed","number":717,"pull_request":{"url":"https://api.github.com/repos/publify/publify/pulls/717","id":75241239,"html_url":"https://github.com/publify/publify/pull/717","diff_url":"https://github.com/publify/publify/pull/717.diff","patch_url":"https://github.com/publify/publify/pull/717.patch","issue_url":"https://api.github.com/repos/publify/publify/issues/717","number":717,"state":"closed","locked":false,"title":"Sidebar registry","user":{"login":"mvz","id":10898,"avatar_url":"https://avatars.githubusercontent.com/u/10898?v=3","gravatar_id":"","url":"https://api.github.com/users/mvz","html_url":"https://github.com/mvz","followers_url":"https://api.github.com/users/mvz/followers","following_url":"https://api.github.com/users/mvz/following{/other_user}","gists_url":"https://api.github.com/users/mvz/gists{/gist_id}","starred_url":"https://api.github.com/users/mvz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvz/subscriptions","organizations_url":"https://api.github.com/users/mvz/orgs","repos_url":"https://api.github.com/users/mvz/repos","events_url":"https://api.github.com/users/mvz/events{/privacy}","received_events_url":"https://api.github.com/users/mvz/received_events","type":"User","site_admin":false},"body":"Solves the problem of needing to preload the Sidebar model more elegantly than #716. By simply moving the responsibility of registering the Sidebar subclasses to a separate class (SidebarRegistry), and storing only the class names there, both Sidebar and its subclasses can be autoloaded just like all the other Rails models.","created_at":"2016-06-26T21:30:11Z","updated_at":"2016-06-28T08:32:46Z","closed_at":"2016-06-28T08:32:46Z","merged_at":"2016-06-28T08:32:46Z","merge_commit_sha":"605317b17578d82ca03e15011a8c174c0c10a8d5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/publify/publify/pulls/717/commits","review_comments_url":"https://api.github.com/repos/publify/publify/pulls/717/comments","review_comment_url":"https://api.github.com/repos/publify/publify/pulls/comments{/number}","comments_url":"https://api.github.com/repos/publify/publify/issues/717/comments","statuses_url":"https://api.github.com/repos/publify/publify/statuses/5b4ca97f727eb5b326e16b660cb0028c39d83e54","head":{"label":"publify:sidebar-registry","ref":"sidebar-registry","sha":"5b4ca97f727eb5b326e16b660cb0028c39d83e54","user":{"login":"publify","id":6576968,"avatar_url":"https://avatars.githubusercontent.com/u/6576968?v=3","gravatar_id":"","url":"https://api.github.com/users/publify","html_url":"https://github.com/publify","followers_url":"https://api.github.com/users/publify/followers","following_url":"https://api.github.com/users/publify/following{/other_user}","gists_url":"https://api.github.com/users/publify/gists{/gist_id}","starred_url":"https://api.github.com/users/publify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/publify/subscriptions","organizations_url":"https://api.github.com/users/publify/orgs","repos_url":"https://api.github.com/users/publify/repos","events_url":"https://api.github.com/users/publify/events{/privacy}","received_events_url":"https://api.github.com/users/publify/received_events","type":"Organization","site_admin":false},"repo":{"id":66801,"name":"publify","full_name":"publify/publify","owner":{"login":"publify","id":6576968,"avatar_url":"https://avatars.githubusercontent.com/u/6576968?v=3","gravatar_id":"","url":"https://api.github.com/users/publify","html_url":"https://github.com/publify","followers_url":"https://api.github.com/users/publify/followers","following_url":"https://api.github.com/users/publify/following{/other_user}","gists_url":"https://api.github.com/users/publify/gists{/gist_id}","starred_url":"https://api.github.com/users/publify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/publify/subscriptions","organizations_url":"https://api.github.com/users/publify/orgs","repos_url":"https://api.github.com/users/publify/repos","events_url":"https://api.github.com/users/publify/events{/privacy}","received_events_url":"https://api.github.com/users/publify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/publify/publify","description":"A self hosted Web publishing platform on Rails.","fork":false,"url":"https://api.github.com/repos/publify/publify","forks_url":"https://api.github.com/repos/publify/publify/forks","keys_url":"https://api.github.com/repos/publify/publify/keys{/key_id}","collaborators_url":"https://api.github.com/repos/publify/publify/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/publify/publify/teams","hooks_url":"https://api.github.com/repos/publify/publify/hooks","issue_events_url":"https://api.github.com/repos/publify/publify/issues/events{/number}","events_url":"https://api.github.com/repos/publify/publify/events","assignees_url":"https://api.github.com/repos/publify/publify/assignees{/user}","branches_url":"https://api.github.com/repos/publify/publify/branches{/branch}","tags_url":"https://api.github.com/repos/publify/publify/tags","blobs_url":"https://api.github.com/repos/publify/publify/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/publify/publify/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/publify/publify/git/refs{/sha}","trees_url":"https://api.github.com/repos/publify/publify/git/trees{/sha}","statuses_url":"https://api.github.com/repos/publify/publify/statuses/{sha}","languages_url":"https://api.github.com/repos/publify/publify/languages","stargazers_url":"https://api.github.com/repos/publify/publify/stargazers","contributors_url":"https://api.github.com/repos/publify/publify/contributors","subscribers_url":"https://api.github.com/repos/publify/publify/subscribers","subscription_url":"https://api.github.com/repos/publify/publify/subscription","commits_url":"https://api.github.com/repos/publify/publify/commits{/sha}","git_commits_url":"https://api.github.com/repos/publify/publify/git/commits{/sha}","comments_url":"https://api.github.com/repos/publify/publify/comments{/number}","issue_comment_url":"https://api.github.com/repos/publify/publify/issues/comments{/number}","contents_url":"https://api.github.com/repos/publify/publify/contents/{+path}","compare_url":"https://api.github.com/repos/publify/publify/compare/{base}...{head}","merges_url":"https://api.github.com/repos/publify/publify/merges","archive_url":"https://api.github.com/repos/publify/publify/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/publify/publify/downloads","issues_url":"https://api.github.com/repos/publify/publify/issues{/number}","pulls_url":"https://api.github.com/repos/publify/publify/pulls{/number}","milestones_url":"https://api.github.com/repos/publify/publify/milestones{/number}","notifications_url":"https://api.github.com/repos/publify/publify/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/publify/publify/labels{/name}","releases_url":"https://api.github.com/repos/publify/publify/releases{/id}","deployments_url":"https://api.github.com/repos/publify/publify/deployments","created_at":"2008-10-23T14:45:23Z","updated_at":"2016-06-25T11:48:32Z","pushed_at":"2016-06-28T08:32:46Z","git_url":"git://github.com/publify/publify.git","ssh_url":"git@github.com:publify/publify.git","clone_url":"https://github.com/publify/publify.git","svn_url":"https://github.com/publify/publify","homepage":"http://demo.publify.co","size":51756,"stargazers_count":1601,"watchers_count":1601,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3680,"mirror_url":null,"open_issues_count":87,"forks":3680,"open_issues":87,"watchers":1601,"default_branch":"master"}},"base":{"label":"publify:master","ref":"master","sha":"47505bbf49c7c45a8888cd61c9f73788aec5eae1","user":{"login":"publify","id":6576968,"avatar_url":"https://avatars.githubusercontent.com/u/6576968?v=3","gravatar_id":"","url":"https://api.github.com/users/publify","html_url":"https://github.com/publify","followers_url":"https://api.github.com/users/publify/followers","following_url":"https://api.github.com/users/publify/following{/other_user}","gists_url":"https://api.github.com/users/publify/gists{/gist_id}","starred_url":"https://api.github.com/users/publify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/publify/subscriptions","organizations_url":"https://api.github.com/users/publify/orgs","repos_url":"https://api.github.com/users/publify/repos","events_url":"https://api.github.com/users/publify/events{/privacy}","received_events_url":"https://api.github.com/users/publify/received_events","type":"Organization","site_admin":false},"repo":{"id":66801,"name":"publify","full_name":"publify/publify","owner":{"login":"publify","id":6576968,"avatar_url":"https://avatars.githubusercontent.com/u/6576968?v=3","gravatar_id":"","url":"https://api.github.com/users/publify","html_url":"https://github.com/publify","followers_url":"https://api.github.com/users/publify/followers","following_url":"https://api.github.com/users/publify/following{/other_user}","gists_url":"https://api.github.com/users/publify/gists{/gist_id}","starred_url":"https://api.github.com/users/publify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/publify/subscriptions","organizations_url":"https://api.github.com/users/publify/orgs","repos_url":"https://api.github.com/users/publify/repos","events_url":"https://api.github.com/users/publify/events{/privacy}","received_events_url":"https://api.github.com/users/publify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/publify/publify","description":"A self hosted Web publishing platform on Rails.","fork":false,"url":"https://api.github.com/repos/publify/publify","forks_url":"https://api.github.com/repos/publify/publify/forks","keys_url":"https://api.github.com/repos/publify/publify/keys{/key_id}","collaborators_url":"https://api.github.com/repos/publify/publify/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/publify/publify/teams","hooks_url":"https://api.github.com/repos/publify/publify/hooks","issue_events_url":"https://api.github.com/repos/publify/publify/issues/events{/number}","events_url":"https://api.github.com/repos/publify/publify/events","assignees_url":"https://api.github.com/repos/publify/publify/assignees{/user}","branches_url":"https://api.github.com/repos/publify/publify/branches{/branch}","tags_url":"https://api.github.com/repos/publify/publify/tags","blobs_url":"https://api.github.com/repos/publify/publify/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/publify/publify/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/publify/publify/git/refs{/sha}","trees_url":"https://api.github.com/repos/publify/publify/git/trees{/sha}","statuses_url":"https://api.github.com/repos/publify/publify/statuses/{sha}","languages_url":"https://api.github.com/repos/publify/publify/languages","stargazers_url":"https://api.github.com/repos/publify/publify/stargazers","contributors_url":"https://api.github.com/repos/publify/publify/contributors","subscribers_url":"https://api.github.com/repos/publify/publify/subscribers","subscription_url":"https://api.github.com/repos/publify/publify/subscription","commits_url":"https://api.github.com/repos/publify/publify/commits{/sha}","git_commits_url":"https://api.github.com/repos/publify/publify/git/commits{/sha}","comments_url":"https://api.github.com/repos/publify/publify/comments{/number}","issue_comment_url":"https://api.github.com/repos/publify/publify/issues/comments{/number}","contents_url":"https://api.github.com/repos/publify/publify/contents/{+path}","compare_url":"https://api.github.com/repos/publify/publify/compare/{base}...{head}","merges_url":"https://api.github.com/repos/publify/publify/merges","archive_url":"https://api.github.com/repos/publify/publify/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/publify/publify/downloads","issues_url":"https://api.github.com/repos/publify/publify/issues{/number}","pulls_url":"https://api.github.com/repos/publify/publify/pulls{/number}","milestones_url":"https://api.github.com/repos/publify/publify/milestones{/number}","notifications_url":"https://api.github.com/repos/publify/publify/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/publify/publify/labels{/name}","releases_url":"https://api.github.com/repos/publify/publify/releases{/id}","deployments_url":"https://api.github.com/repos/publify/publify/deployments","created_at":"2008-10-23T14:45:23Z","updated_at":"2016-06-25T11:48:32Z","pushed_at":"2016-06-28T08:32:46Z","git_url":"git://github.com/publify/publify.git","ssh_url":"git@github.com:publify/publify.git","clone_url":"https://github.com/publify/publify.git","svn_url":"https://github.com/publify/publify","homepage":"http://demo.publify.co","size":51756,"stargazers_count":1601,"watchers_count":1601,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3680,"mirror_url":null,"open_issues_count":87,"forks":3680,"open_issues":87,"watchers":1601,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/publify/publify/pulls/717"},"html":{"href":"https://github.com/publify/publify/pull/717"},"issue":{"href":"https://api.github.com/repos/publify/publify/issues/717"},"comments":{"href":"https://api.github.com/repos/publify/publify/issues/717/comments"},"review_comments":{"href":"https://api.github.com/repos/publify/publify/pulls/717/comments"},"review_comment":{"href":"https://api.github.com/repos/publify/publify/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/publify/publify/pulls/717/commits"},"statuses":{"href":"https://api.github.com/repos/publify/publify/statuses/5b4ca97f727eb5b326e16b660cb0028c39d83e54"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"mvz","id":10898,"avatar_url":"https://avatars.githubusercontent.com/u/10898?v=3","gravatar_id":"","url":"https://api.github.com/users/mvz","html_url":"https://github.com/mvz","followers_url":"https://api.github.com/users/mvz/followers","following_url":"https://api.github.com/users/mvz/following{/other_user}","gists_url":"https://api.github.com/users/mvz/gists{/gist_id}","starred_url":"https://api.github.com/users/mvz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvz/subscriptions","organizations_url":"https://api.github.com/users/mvz/orgs","repos_url":"https://api.github.com/users/mvz/repos","events_url":"https://api.github.com/users/mvz/events{/privacy}","received_events_url":"https://api.github.com/users/mvz/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":5,"additions":53,"deletions":52,"changed_files":28}}
{"actor":{"display_login":"mvz"}}