{"action":"created","comment":{"url":"https://api.github.com/repos/europeana/europeana-portal-collections/pulls/comments/71367884","id":71367884,"diff_hunk":"@@ -164,10 +164,36 @@ def technical_metadata\n         runtime: render_document_show_field_value('ebucoreDuration'),\n         runtime_unit: t('site.object.meta-label.runtime-unit-seconds'),\n         attribution_plain: render_document_show_field_value('textAttributionSnippet'),\n-        attribution_html: render_document_show_field_value('htmlAttributionSnippet')\n+        attribution_html: render_document_show_field_value('htmlAttributionSnippet'),\n+        colours: colour_palette_data\n       }\n     end\n \n+    def colour_search_url(colour)\n+      query_params = { f: { 'COLOURPALETTE' => [colour], 'TYPE' => ['IMAGE'] } }","path":"app/presenters/document/web_resource_presenter.rb","position":11,"original_position":11,"commit_id":"c606079473ef8579af62de3d3c51724adcd222fd","original_commit_id":"c606079473ef8579af62de3d3c51724adcd222fd","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":"Useless assignment to variable - `query_params`.","created_at":"2016-07-19T15:56:24Z","updated_at":"2016-07-19T15:56:24Z","html_url":"https://github.com/europeana/europeana-portal-collections/pull/590#discussion_r71367884","pull_request_url":"https://api.github.com/repos/europeana/europeana-portal-collections/pulls/590","_links":{"self":{"href":"https://api.github.com/repos/europeana/europeana-portal-collections/pulls/comments/71367884"},"html":{"href":"https://github.com/europeana/europeana-portal-collections/pull/590#discussion_r71367884"},"pull_request":{"href":"https://api.github.com/repos/europeana/europeana-portal-collections/pulls/590"}}},"pull_request":{"url":"https://api.github.com/repos/europeana/europeana-portal-collections/pulls/590","id":78002537,"html_url":"https://github.com/europeana/europeana-portal-collections/pull/590","diff_url":"https://github.com/europeana/europeana-portal-collections/pull/590.diff","patch_url":"https://github.com/europeana/europeana-portal-collections/pull/590.patch","issue_url":"https://api.github.com/repos/europeana/europeana-portal-collections/issues/590","number":590,"state":"open","locked":false,"title":"Re: #1143 Added provisional colour model","user":{"login":"andyjmaclean","id":4441899,"avatar_url":"https://avatars.githubusercontent.com/u/4441899?v=3","gravatar_id":"","url":"https://api.github.com/users/andyjmaclean","html_url":"https://github.com/andyjmaclean","followers_url":"https://api.github.com/users/andyjmaclean/followers","following_url":"https://api.github.com/users/andyjmaclean/following{/other_user}","gists_url":"https://api.github.com/users/andyjmaclean/gists{/gist_id}","starred_url":"https://api.github.com/users/andyjmaclean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andyjmaclean/subscriptions","organizations_url":"https://api.github.com/users/andyjmaclean/orgs","repos_url":"https://api.github.com/users/andyjmaclean/repos","events_url":"https://api.github.com/users/andyjmaclean/events{/privacy}","received_events_url":"https://api.github.com/users/andyjmaclean/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-19T15:56:20Z","updated_at":"2016-07-19T15:56:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"24feffffe4b54c6cd8e79ab0625159ffe09d4f24","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/europeana/europeana-portal-collections/pulls/590/commits","review_comments_url":"https://api.github.com/repos/europeana/europeana-portal-collections/pulls/590/comments","review_comment_url":"https://api.github.com/repos/europeana/europeana-portal-collections/pulls/comments{/number}","comments_url":"https://api.github.com/repos/europeana/europeana-portal-collections/issues/590/comments","statuses_url":"https://api.github.com/repos/europeana/europeana-portal-collections/statuses/c606079473ef8579af62de3d3c51724adcd222fd","head":{"label":"europeana:feat/1143-explore-by-colour","ref":"feat/1143-explore-by-colour","sha":"c606079473ef8579af62de3d3c51724adcd222fd","user":{"login":"europeana","id":4570681,"avatar_url":"https://avatars.githubusercontent.com/u/4570681?v=3","gravatar_id":"","url":"https://api.github.com/users/europeana","html_url":"https://github.com/europeana","followers_url":"https://api.github.com/users/europeana/followers","following_url":"https://api.github.com/users/europeana/following{/other_user}","gists_url":"https://api.github.com/users/europeana/gists{/gist_id}","starred_url":"https://api.github.com/users/europeana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/europeana/subscriptions","organizations_url":"https://api.github.com/users/europeana/orgs","repos_url":"https://api.github.com/users/europeana/repos","events_url":"https://api.github.com/users/europeana/events{/privacy}","received_events_url":"https://api.github.com/users/europeana/received_events","type":"Organization","site_admin":false},"repo":{"id":27171162,"name":"europeana-portal-collections","full_name":"europeana/europeana-portal-collections","owner":{"login":"europeana","id":4570681,"avatar_url":"https://avatars.githubusercontent.com/u/4570681?v=3","gravatar_id":"","url":"https://api.github.com/users/europeana","html_url":"https://github.com/europeana","followers_url":"https://api.github.com/users/europeana/followers","following_url":"https://api.github.com/users/europeana/following{/other_user}","gists_url":"https://api.github.com/users/europeana/gists{/gist_id}","starred_url":"https://api.github.com/users/europeana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/europeana/subscriptions","organizations_url":"https://api.github.com/users/europeana/orgs","repos_url":"https://api.github.com/users/europeana/repos","events_url":"https://api.github.com/users/europeana/events{/privacy}","received_events_url":"https://api.github.com/users/europeana/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/europeana/europeana-portal-collections","description":"Europeana Collections portal as a Rails + Blacklight application.","fork":false,"url":"https://api.github.com/repos/europeana/europeana-portal-collections","forks_url":"https://api.github.com/repos/europeana/europeana-portal-collections/forks","keys_url":"https://api.github.com/repos/europeana/europeana-portal-collections/keys{/key_id}","collaborators_url":"https://api.github.com/repos/europeana/europeana-portal-collections/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/europeana/europeana-portal-collections/teams","hooks_url":"https://api.github.com/repos/europeana/europeana-portal-collections/hooks","issue_events_url":"https://api.github.com/repos/europeana/europeana-portal-collections/issues/events{/number}","events_url":"https://api.github.com/repos/europeana/europeana-portal-collections/events","assignees_url":"https://api.github.com/repos/europeana/europeana-portal-collections/assignees{/user}","branches_url":"https://api.github.com/repos/europeana/europeana-portal-collections/branches{/branch}","tags_url":"https://api.github.com/repos/europeana/europeana-portal-collections/tags","blobs_url":"https://api.github.com/repos/europeana/europeana-portal-collections/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/europeana/europeana-portal-collections/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/europeana/europeana-portal-collections/git/refs{/sha}","trees_url":"https://api.github.com/repos/europeana/europeana-portal-collections/git/trees{/sha}","statuses_url":"https://api.github.com/repos/europeana/europeana-portal-collections/statuses/{sha}","languages_url":"https://api.github.com/repos/europeana/europeana-portal-collections/languages","stargazers_url":"https://api.github.com/repos/europeana/europeana-portal-collections/stargazers","contributors_url":"https://api.github.com/repos/europeana/europeana-portal-collections/contributors","subscribers_url":"https://api.github.com/repos/europeana/europeana-portal-collections/subscribers","subscription_url":"https://api.github.com/repos/europeana/europeana-portal-collections/subscription","commits_url":"https://api.github.com/repos/europeana/europeana-portal-collections/commits{/sha}","git_commits_url":"https://api.github.com/repos/europeana/europeana-portal-collections/git/commits{/sha}","comments_url":"https://api.github.com/repos/europeana/europeana-portal-collections/comments{/number}","issue_comment_url":"https://api.github.com/repos/europeana/europeana-portal-collections/issues/comments{/number}","contents_url":"https://api.github.com/repos/europeana/europeana-portal-collections/contents/{+path}","compare_url":"https://api.github.com/repos/europeana/europeana-portal-collections/compare/{base}...{head}","merges_url":"https://api.github.com/repos/europeana/europeana-portal-collections/merges","archive_url":"https://api.github.com/repos/europeana/europeana-portal-collections/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/europeana/europeana-portal-collections/downloads","issues_url":"https://api.github.com/repos/europeana/europeana-portal-collections/issues{/number}","pulls_url":"https://api.github.com/repos/europeana/europeana-portal-collections/pulls{/number}","milestones_url":"https://api.github.com/repos/europeana/europeana-portal-collections/milestones{/number}","notifications_url":"https://api.github.com/repos/europeana/europeana-portal-collections/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/europeana/europeana-portal-collections/labels{/name}","releases_url":"https://api.github.com/repos/europeana/europeana-portal-collections/releases{/id}","deployments_url":"https://api.github.com/repos/europeana/europeana-portal-collections/deployments","created_at":"2014-11-26T10:14:22Z","updated_at":"2016-07-07T07:44:00Z","pushed_at":"2016-07-19T15:56:20Z","git_url":"git://github.com/europeana/europeana-portal-collections.git","ssh_url":"git@github.com:europeana/europeana-portal-collections.git","clone_url":"https://github.com/europeana/europeana-portal-collections.git","svn_url":"https://github.com/europeana/europeana-portal-collections","homepage":"http://www.europeana.eu/portal","size":3196,"stargazers_count":4,"watchers_count":4,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":4,"default_branch":"develop"}},"base":{"label":"europeana:develop","ref":"develop","sha":"46f8b4b56a1679a663255fb14d2c9661a2cd995c","user":{"login":"europeana","id":4570681,"avatar_url":"https://avatars.githubusercontent.com/u/4570681?v=3","gravatar_id":"","url":"https://api.github.com/users/europeana","html_url":"https://github.com/europeana","followers_url":"https://api.github.com/users/europeana/followers","following_url":"https://api.github.com/users/europeana/following{/other_user}","gists_url":"https://api.github.com/users/europeana/gists{/gist_id}","starred_url":"https://api.github.com/users/europeana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/europeana/subscriptions","organizations_url":"https://api.github.com/users/europeana/orgs","repos_url":"https://api.github.com/users/europeana/repos","events_url":"https://api.github.com/users/europeana/events{/privacy}","received_events_url":"https://api.github.com/users/europeana/received_events","type":"Organization","site_admin":false},"repo":{"id":27171162,"name":"europeana-portal-collections","full_name":"europeana/europeana-portal-collections","owner":{"login":"europeana","id":4570681,"avatar_url":"https://avatars.githubusercontent.com/u/4570681?v=3","gravatar_id":"","url":"https://api.github.com/users/europeana","html_url":"https://github.com/europeana","followers_url":"https://api.github.com/users/europeana/followers","following_url":"https://api.github.com/users/europeana/following{/other_user}","gists_url":"https://api.github.com/users/europeana/gists{/gist_id}","starred_url":"https://api.github.com/users/europeana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/europeana/subscriptions","organizations_url":"https://api.github.com/users/europeana/orgs","repos_url":"https://api.github.com/users/europeana/repos","events_url":"https://api.github.com/users/europeana/events{/privacy}","received_events_url":"https://api.github.com/users/europeana/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/europeana/europeana-portal-collections","description":"Europeana Collections portal as a Rails + Blacklight application.","fork":false,"url":"https://api.github.com/repos/europeana/europeana-portal-collections","forks_url":"https://api.github.com/repos/europeana/europeana-portal-collections/forks","keys_url":"https://api.github.com/repos/europeana/europeana-portal-collections/keys{/key_id}","collaborators_url":"https://api.github.com/repos/europeana/europeana-portal-collections/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/europeana/europeana-portal-collections/teams","hooks_url":"https://api.github.com/repos/europeana/europeana-portal-collections/hooks","issue_events_url":"https://api.github.com/repos/europeana/europeana-portal-collections/issues/events{/number}","events_url":"https://api.github.com/repos/europeana/europeana-portal-collections/events","assignees_url":"https://api.github.com/repos/europeana/europeana-portal-collections/assignees{/user}","branches_url":"https://api.github.com/repos/europeana/europeana-portal-collections/branches{/branch}","tags_url":"https://api.github.com/repos/europeana/europeana-portal-collections/tags","blobs_url":"https://api.github.com/repos/europeana/europeana-portal-collections/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/europeana/europeana-portal-collections/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/europeana/europeana-portal-collections/git/refs{/sha}","trees_url":"https://api.github.com/repos/europeana/europeana-portal-collections/git/trees{/sha}","statuses_url":"https://api.github.com/repos/europeana/europeana-portal-collections/statuses/{sha}","languages_url":"https://api.github.com/repos/europeana/europeana-portal-collections/languages","stargazers_url":"https://api.github.com/repos/europeana/europeana-portal-collections/stargazers","contributors_url":"https://api.github.com/repos/europeana/europeana-portal-collections/contributors","subscribers_url":"https://api.github.com/repos/europeana/europeana-portal-collections/subscribers","subscription_url":"https://api.github.com/repos/europeana/europeana-portal-collections/subscription","commits_url":"https://api.github.com/repos/europeana/europeana-portal-collections/commits{/sha}","git_commits_url":"https://api.github.com/repos/europeana/europeana-portal-collections/git/commits{/sha}","comments_url":"https://api.github.com/repos/europeana/europeana-portal-collections/comments{/number}","issue_comment_url":"https://api.github.com/repos/europeana/europeana-portal-collections/issues/comments{/number}","contents_url":"https://api.github.com/repos/europeana/europeana-portal-collections/contents/{+path}","compare_url":"https://api.github.com/repos/europeana/europeana-portal-collections/compare/{base}...{head}","merges_url":"https://api.github.com/repos/europeana/europeana-portal-collections/merges","archive_url":"https://api.github.com/repos/europeana/europeana-portal-collections/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/europeana/europeana-portal-collections/downloads","issues_url":"https://api.github.com/repos/europeana/europeana-portal-collections/issues{/number}","pulls_url":"https://api.github.com/repos/europeana/europeana-portal-collections/pulls{/number}","milestones_url":"https://api.github.com/repos/europeana/europeana-portal-collections/milestones{/number}","notifications_url":"https://api.github.com/repos/europeana/europeana-portal-collections/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/europeana/europeana-portal-collections/labels{/name}","releases_url":"https://api.github.com/repos/europeana/europeana-portal-collections/releases{/id}","deployments_url":"https://api.github.com/repos/europeana/europeana-portal-collections/deployments","created_at":"2014-11-26T10:14:22Z","updated_at":"2016-07-07T07:44:00Z","pushed_at":"2016-07-19T15:56:20Z","git_url":"git://github.com/europeana/europeana-portal-collections.git","ssh_url":"git@github.com:europeana/europeana-portal-collections.git","clone_url":"https://github.com/europeana/europeana-portal-collections.git","svn_url":"https://github.com/europeana/europeana-portal-collections","homepage":"http://www.europeana.eu/portal","size":3196,"stargazers_count":4,"watchers_count":4,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":4,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/europeana/europeana-portal-collections/pulls/590"},"html":{"href":"https://github.com/europeana/europeana-portal-collections/pull/590"},"issue":{"href":"https://api.github.com/repos/europeana/europeana-portal-collections/issues/590"},"comments":{"href":"https://api.github.com/repos/europeana/europeana-portal-collections/issues/590/comments"},"review_comments":{"href":"https://api.github.com/repos/europeana/europeana-portal-collections/pulls/590/comments"},"review_comment":{"href":"https://api.github.com/repos/europeana/europeana-portal-collections/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/europeana/europeana-portal-collections/pulls/590/commits"},"statuses":{"href":"https://api.github.com/repos/europeana/europeana-portal-collections/statuses/c606079473ef8579af62de3d3c51724adcd222fd"}}}}
{"actor":{"display_login":"houndci-bot"}}