{"action":"created","comment":{"url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/pulls/comments/43560695","id":43560695,"diff_hunk":"@@ -26,18 +26,18 @@ module MyProjectPage\n     def self.plugin_blocks\n       #look at the gemspecs of all plugins trying to find views in a /my_project_page/blocks subdirectory\n       @@additional_blocks ||= Dir.glob(\n-          Redmine::Plugin.registered_plugins.map do |plugin_id,_|\n-            gem_name = plugin_id.to_s.gsub('openproject_','openproject-') if plugin_id.to_s.starts_with?('openproject_')\n-            gem_spec = Gem.loaded_specs[gem_name]\n-            if gem_spec.nil?\n-              error = \"No Gemspec found for plugin: \" + plugin_id.to_s \\\n-                + \", expected gem name to match the plugin name but starting with openproject-\"\n-                ActiveSupport::Deprecation.warn(error)\n-              nil\n-            else\n-              gem_spec.full_gem_path + '/app/views/my_projects_overviews/blocks/_*.{rhtml,erb}'\n-            end\n-          end.compact\n+        Redmine::Plugin.registered_plugins.map do |plugin_id,_|","path":"lib/open_project/my_project_page/plugin_blocks.rb","position":16,"original_position":16,"commit_id":"8a554305cbf0993aabb1d38f4db64a096eeea634","original_commit_id":"8a554305cbf0993aabb1d38f4db64a096eeea634","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Space missing after comma.","created_at":"2015-10-30T22:56:38Z","updated_at":"2015-10-30T22:56:38Z","html_url":"https://github.com/finnlabs/openproject-my_project_page/pull/66#discussion_r43560695","pull_request_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/pulls/66","_links":{"self":{"href":"https://api.github.com/repos/finnlabs/openproject-my_project_page/pulls/comments/43560695"},"html":{"href":"https://github.com/finnlabs/openproject-my_project_page/pull/66#discussion_r43560695"},"pull_request":{"href":"https://api.github.com/repos/finnlabs/openproject-my_project_page/pulls/66"}}},"pull_request":{"url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/pulls/66","id":49331576,"html_url":"https://github.com/finnlabs/openproject-my_project_page/pull/66","diff_url":"https://github.com/finnlabs/openproject-my_project_page/pull/66.diff","patch_url":"https://github.com/finnlabs/openproject-my_project_page/pull/66.patch","issue_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/issues/66","number":66,"state":"open","locked":false,"title":"Rubocop issues","user":{"login":"basiszwo","id":24071,"avatar_url":"https://avatars.githubusercontent.com/u/24071?v=3","gravatar_id":"","url":"https://api.github.com/users/basiszwo","html_url":"https://github.com/basiszwo","followers_url":"https://api.github.com/users/basiszwo/followers","following_url":"https://api.github.com/users/basiszwo/following{/other_user}","gists_url":"https://api.github.com/users/basiszwo/gists{/gist_id}","starred_url":"https://api.github.com/users/basiszwo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/basiszwo/subscriptions","organizations_url":"https://api.github.com/users/basiszwo/orgs","repos_url":"https://api.github.com/users/basiszwo/repos","events_url":"https://api.github.com/users/basiszwo/events{/privacy}","received_events_url":"https://api.github.com/users/basiszwo/received_events","type":"User","site_admin":false},"body":null,"created_at":"2015-10-30T22:56:31Z","updated_at":"2015-10-30T22:56:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"664e89cf2239ddc0af6a64cb5d20fc76098375cd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/pulls/66/commits","review_comments_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/pulls/66/comments","review_comment_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/pulls/comments{/number}","comments_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/issues/66/comments","statuses_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/statuses/8a554305cbf0993aabb1d38f4db64a096eeea634","head":{"label":"finnlabs:rubocop","ref":"rubocop","sha":"8a554305cbf0993aabb1d38f4db64a096eeea634","user":{"login":"finnlabs","id":86719,"avatar_url":"https://avatars.githubusercontent.com/u/86719?v=3","gravatar_id":"","url":"https://api.github.com/users/finnlabs","html_url":"https://github.com/finnlabs","followers_url":"https://api.github.com/users/finnlabs/followers","following_url":"https://api.github.com/users/finnlabs/following{/other_user}","gists_url":"https://api.github.com/users/finnlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/finnlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/finnlabs/subscriptions","organizations_url":"https://api.github.com/users/finnlabs/orgs","repos_url":"https://api.github.com/users/finnlabs/repos","events_url":"https://api.github.com/users/finnlabs/events{/privacy}","received_events_url":"https://api.github.com/users/finnlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":2755781,"name":"openproject-my_project_page","full_name":"finnlabs/openproject-my_project_page","owner":{"login":"finnlabs","id":86719,"avatar_url":"https://avatars.githubusercontent.com/u/86719?v=3","gravatar_id":"","url":"https://api.github.com/users/finnlabs","html_url":"https://github.com/finnlabs","followers_url":"https://api.github.com/users/finnlabs/followers","following_url":"https://api.github.com/users/finnlabs/following{/other_user}","gists_url":"https://api.github.com/users/finnlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/finnlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/finnlabs/subscriptions","organizations_url":"https://api.github.com/users/finnlabs/orgs","repos_url":"https://api.github.com/users/finnlabs/repos","events_url":"https://api.github.com/users/finnlabs/events{/privacy}","received_events_url":"https://api.github.com/users/finnlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/finnlabs/openproject-my_project_page","description":"The \"My Page\". For the project overview.","fork":false,"url":"https://api.github.com/repos/finnlabs/openproject-my_project_page","forks_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/forks","keys_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/keys{/key_id}","collaborators_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/teams","hooks_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/hooks","issue_events_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/issues/events{/number}","events_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/events","assignees_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/assignees{/user}","branches_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/branches{/branch}","tags_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/tags","blobs_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/git/refs{/sha}","trees_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/git/trees{/sha}","statuses_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/statuses/{sha}","languages_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/languages","stargazers_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/stargazers","contributors_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/contributors","subscribers_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/subscribers","subscription_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/subscription","commits_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/commits{/sha}","git_commits_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/git/commits{/sha}","comments_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/comments{/number}","issue_comment_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/issues/comments{/number}","contents_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/contents/{+path}","compare_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/compare/{base}...{head}","merges_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/merges","archive_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/downloads","issues_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/issues{/number}","pulls_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/pulls{/number}","milestones_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/milestones{/number}","notifications_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/labels{/name}","releases_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/releases{/id}","created_at":"2011-11-11T12:58:01Z","updated_at":"2015-09-15T00:08:24Z","pushed_at":"2015-10-30T22:56:32Z","git_url":"git://github.com/finnlabs/openproject-my_project_page.git","ssh_url":"git@github.com:finnlabs/openproject-my_project_page.git","clone_url":"https://github.com/finnlabs/openproject-my_project_page.git","svn_url":"https://github.com/finnlabs/openproject-my_project_page","homepage":"","size":1557,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":3,"forks":13,"open_issues":3,"watchers":5,"default_branch":"dev"}},"base":{"label":"finnlabs:dev","ref":"dev","sha":"45ad64b3745d70a83f00401347ee7a33fada04a9","user":{"login":"finnlabs","id":86719,"avatar_url":"https://avatars.githubusercontent.com/u/86719?v=3","gravatar_id":"","url":"https://api.github.com/users/finnlabs","html_url":"https://github.com/finnlabs","followers_url":"https://api.github.com/users/finnlabs/followers","following_url":"https://api.github.com/users/finnlabs/following{/other_user}","gists_url":"https://api.github.com/users/finnlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/finnlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/finnlabs/subscriptions","organizations_url":"https://api.github.com/users/finnlabs/orgs","repos_url":"https://api.github.com/users/finnlabs/repos","events_url":"https://api.github.com/users/finnlabs/events{/privacy}","received_events_url":"https://api.github.com/users/finnlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":2755781,"name":"openproject-my_project_page","full_name":"finnlabs/openproject-my_project_page","owner":{"login":"finnlabs","id":86719,"avatar_url":"https://avatars.githubusercontent.com/u/86719?v=3","gravatar_id":"","url":"https://api.github.com/users/finnlabs","html_url":"https://github.com/finnlabs","followers_url":"https://api.github.com/users/finnlabs/followers","following_url":"https://api.github.com/users/finnlabs/following{/other_user}","gists_url":"https://api.github.com/users/finnlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/finnlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/finnlabs/subscriptions","organizations_url":"https://api.github.com/users/finnlabs/orgs","repos_url":"https://api.github.com/users/finnlabs/repos","events_url":"https://api.github.com/users/finnlabs/events{/privacy}","received_events_url":"https://api.github.com/users/finnlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/finnlabs/openproject-my_project_page","description":"The \"My Page\". For the project overview.","fork":false,"url":"https://api.github.com/repos/finnlabs/openproject-my_project_page","forks_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/forks","keys_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/keys{/key_id}","collaborators_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/teams","hooks_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/hooks","issue_events_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/issues/events{/number}","events_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/events","assignees_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/assignees{/user}","branches_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/branches{/branch}","tags_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/tags","blobs_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/git/refs{/sha}","trees_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/git/trees{/sha}","statuses_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/statuses/{sha}","languages_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/languages","stargazers_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/stargazers","contributors_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/contributors","subscribers_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/subscribers","subscription_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/subscription","commits_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/commits{/sha}","git_commits_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/git/commits{/sha}","comments_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/comments{/number}","issue_comment_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/issues/comments{/number}","contents_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/contents/{+path}","compare_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/compare/{base}...{head}","merges_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/merges","archive_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/downloads","issues_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/issues{/number}","pulls_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/pulls{/number}","milestones_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/milestones{/number}","notifications_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/labels{/name}","releases_url":"https://api.github.com/repos/finnlabs/openproject-my_project_page/releases{/id}","created_at":"2011-11-11T12:58:01Z","updated_at":"2015-09-15T00:08:24Z","pushed_at":"2015-10-30T22:56:32Z","git_url":"git://github.com/finnlabs/openproject-my_project_page.git","ssh_url":"git@github.com:finnlabs/openproject-my_project_page.git","clone_url":"https://github.com/finnlabs/openproject-my_project_page.git","svn_url":"https://github.com/finnlabs/openproject-my_project_page","homepage":"","size":1557,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":3,"forks":13,"open_issues":3,"watchers":5,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/finnlabs/openproject-my_project_page/pulls/66"},"html":{"href":"https://github.com/finnlabs/openproject-my_project_page/pull/66"},"issue":{"href":"https://api.github.com/repos/finnlabs/openproject-my_project_page/issues/66"},"comments":{"href":"https://api.github.com/repos/finnlabs/openproject-my_project_page/issues/66/comments"},"review_comments":{"href":"https://api.github.com/repos/finnlabs/openproject-my_project_page/pulls/66/comments"},"review_comment":{"href":"https://api.github.com/repos/finnlabs/openproject-my_project_page/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/finnlabs/openproject-my_project_page/pulls/66/commits"},"statuses":{"href":"https://api.github.com/repos/finnlabs/openproject-my_project_page/statuses/8a554305cbf0993aabb1d38f4db64a096eeea634"}}}}