{"action":"created","comment":{"url":"https://api.github.com/repos/superdesk/web-renderer/pulls/comments/35076914","id":35076914,"diff_hunk":"@@ -0,0 +1,98 @@\n+<?php\n+\n+namespace SWP\\TemplateEngineBundle\\Gimme\\Meta;\n+\n+use Symfony\\Component\\Yaml\\Parser;\n+\n+class Meta\n+{\n+    protected $configuration;\n+\n+    protected $values;\n+\n+    public function __construct($configuration, $values)\n+    {\n+        if (!is_readable($configuration)){\n+            throw new \\InvalidArgumentException(\"Configuration file is not readable for parser\");\n+        }\n+\n+        $yaml = new Parser();\n+        $c = array_slice($yaml->parse(file_get_contents($configuration)), 0, 1);","path":"src/SWP/TemplateEngineBundle/Gimme/Meta/Meta.php","position":20,"original_position":20,"commit_id":"10565cf73f3ce67200f304b28b40a86e0d73a065","original_commit_id":"10565cf73f3ce67200f304b28b40a86e0d73a065","user":{"login":"ahilles107","id":298610,"avatar_url":"https://avatars.githubusercontent.com/u/298610?v=3","gravatar_id":"","url":"https://api.github.com/users/ahilles107","html_url":"https://github.com/ahilles107","followers_url":"https://api.github.com/users/ahilles107/followers","following_url":"https://api.github.com/users/ahilles107/following{/other_user}","gists_url":"https://api.github.com/users/ahilles107/gists{/gist_id}","starred_url":"https://api.github.com/users/ahilles107/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahilles107/subscriptions","organizations_url":"https://api.github.com/users/ahilles107/orgs","repos_url":"https://api.github.com/users/ahilles107/repos","events_url":"https://api.github.com/users/ahilles107/events{/privacy}","received_events_url":"https://api.github.com/users/ahilles107/received_events","type":"User","site_admin":false},"body":":+1: ","created_at":"2015-07-21T07:46:06Z","updated_at":"2015-07-21T07:46:06Z","html_url":"https://github.com/superdesk/web-renderer/pull/14#discussion_r35076914","pull_request_url":"https://api.github.com/repos/superdesk/web-renderer/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/superdesk/web-renderer/pulls/comments/35076914"},"html":{"href":"https://github.com/superdesk/web-renderer/pull/14#discussion_r35076914"},"pull_request":{"href":"https://api.github.com/repos/superdesk/web-renderer/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/superdesk/web-renderer/pulls/14","id":40354482,"html_url":"https://github.com/superdesk/web-renderer/pull/14","diff_url":"https://github.com/superdesk/web-renderer/pull/14.diff","patch_url":"https://github.com/superdesk/web-renderer/pull/14.patch","issue_url":"https://api.github.com/repos/superdesk/web-renderer/issues/14","number":14,"state":"open","locked":false,"title":"[WIP] Implement new twig blocks, implement meta classes and meta loaders","user":{"login":"ahilles107","id":298610,"avatar_url":"https://avatars.githubusercontent.com/u/298610?v=3","gravatar_id":"","url":"https://api.github.com/users/ahilles107","html_url":"https://github.com/ahilles107","followers_url":"https://api.github.com/users/ahilles107/followers","following_url":"https://api.github.com/users/ahilles107/following{/other_user}","gists_url":"https://api.github.com/users/ahilles107/gists{/gist_id}","starred_url":"https://api.github.com/users/ahilles107/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahilles107/subscriptions","organizations_url":"https://api.github.com/users/ahilles107/orgs","repos_url":"https://api.github.com/users/ahilles107/repos","events_url":"https://api.github.com/users/ahilles107/events{/privacy}","received_events_url":"https://api.github.com/users/ahilles107/received_events","type":"User","site_admin":false},"body":"* [x] implement ```gimme``` block\r\n* [ ] implement ```gimme_list``` block\r\n* [x] implemnt meta loaders feature (chain loader and simple article loader)\r\n* [x] implement base Meta class\r\n* [ ] tests for node\r\n* [ ] tests for loaders and meta \r\n\r\nImplementation of #13 ","created_at":"2015-07-20T13:59:37Z","updated_at":"2015-07-21T07:46:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"612dcb4a0641f4ff76616335e541ceba6a114497","assignee":{"login":"ahilles107","id":298610,"avatar_url":"https://avatars.githubusercontent.com/u/298610?v=3","gravatar_id":"","url":"https://api.github.com/users/ahilles107","html_url":"https://github.com/ahilles107","followers_url":"https://api.github.com/users/ahilles107/followers","following_url":"https://api.github.com/users/ahilles107/following{/other_user}","gists_url":"https://api.github.com/users/ahilles107/gists{/gist_id}","starred_url":"https://api.github.com/users/ahilles107/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahilles107/subscriptions","organizations_url":"https://api.github.com/users/ahilles107/orgs","repos_url":"https://api.github.com/users/ahilles107/repos","events_url":"https://api.github.com/users/ahilles107/events{/privacy}","received_events_url":"https://api.github.com/users/ahilles107/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/superdesk/web-renderer/pulls/14/commits","review_comments_url":"https://api.github.com/repos/superdesk/web-renderer/pulls/14/comments","review_comment_url":"https://api.github.com/repos/superdesk/web-renderer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/superdesk/web-renderer/issues/14/comments","statuses_url":"https://api.github.com/repos/superdesk/web-renderer/statuses/10565cf73f3ce67200f304b28b40a86e0d73a065","head":{"label":"ahilles107:twig_features","ref":"twig_features","sha":"10565cf73f3ce67200f304b28b40a86e0d73a065","user":{"login":"ahilles107","id":298610,"avatar_url":"https://avatars.githubusercontent.com/u/298610?v=3","gravatar_id":"","url":"https://api.github.com/users/ahilles107","html_url":"https://github.com/ahilles107","followers_url":"https://api.github.com/users/ahilles107/followers","following_url":"https://api.github.com/users/ahilles107/following{/other_user}","gists_url":"https://api.github.com/users/ahilles107/gists{/gist_id}","starred_url":"https://api.github.com/users/ahilles107/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahilles107/subscriptions","organizations_url":"https://api.github.com/users/ahilles107/orgs","repos_url":"https://api.github.com/users/ahilles107/repos","events_url":"https://api.github.com/users/ahilles107/events{/privacy}","received_events_url":"https://api.github.com/users/ahilles107/received_events","type":"User","site_admin":false},"repo":{"id":36223851,"name":"web-renderer","full_name":"ahilles107/web-renderer","owner":{"login":"ahilles107","id":298610,"avatar_url":"https://avatars.githubusercontent.com/u/298610?v=3","gravatar_id":"","url":"https://api.github.com/users/ahilles107","html_url":"https://github.com/ahilles107","followers_url":"https://api.github.com/users/ahilles107/followers","following_url":"https://api.github.com/users/ahilles107/following{/other_user}","gists_url":"https://api.github.com/users/ahilles107/gists{/gist_id}","starred_url":"https://api.github.com/users/ahilles107/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahilles107/subscriptions","organizations_url":"https://api.github.com/users/ahilles107/orgs","repos_url":"https://api.github.com/users/ahilles107/repos","events_url":"https://api.github.com/users/ahilles107/events{/privacy}","received_events_url":"https://api.github.com/users/ahilles107/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ahilles107/web-renderer","description":"Superdesk Web renderer","fork":true,"url":"https://api.github.com/repos/ahilles107/web-renderer","forks_url":"https://api.github.com/repos/ahilles107/web-renderer/forks","keys_url":"https://api.github.com/repos/ahilles107/web-renderer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ahilles107/web-renderer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ahilles107/web-renderer/teams","hooks_url":"https://api.github.com/repos/ahilles107/web-renderer/hooks","issue_events_url":"https://api.github.com/repos/ahilles107/web-renderer/issues/events{/number}","events_url":"https://api.github.com/repos/ahilles107/web-renderer/events","assignees_url":"https://api.github.com/repos/ahilles107/web-renderer/assignees{/user}","branches_url":"https://api.github.com/repos/ahilles107/web-renderer/branches{/branch}","tags_url":"https://api.github.com/repos/ahilles107/web-renderer/tags","blobs_url":"https://api.github.com/repos/ahilles107/web-renderer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ahilles107/web-renderer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ahilles107/web-renderer/git/refs{/sha}","trees_url":"https://api.github.com/repos/ahilles107/web-renderer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ahilles107/web-renderer/statuses/{sha}","languages_url":"https://api.github.com/repos/ahilles107/web-renderer/languages","stargazers_url":"https://api.github.com/repos/ahilles107/web-renderer/stargazers","contributors_url":"https://api.github.com/repos/ahilles107/web-renderer/contributors","subscribers_url":"https://api.github.com/repos/ahilles107/web-renderer/subscribers","subscription_url":"https://api.github.com/repos/ahilles107/web-renderer/subscription","commits_url":"https://api.github.com/repos/ahilles107/web-renderer/commits{/sha}","git_commits_url":"https://api.github.com/repos/ahilles107/web-renderer/git/commits{/sha}","comments_url":"https://api.github.com/repos/ahilles107/web-renderer/comments{/number}","issue_comment_url":"https://api.github.com/repos/ahilles107/web-renderer/issues/comments{/number}","contents_url":"https://api.github.com/repos/ahilles107/web-renderer/contents/{+path}","compare_url":"https://api.github.com/repos/ahilles107/web-renderer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ahilles107/web-renderer/merges","archive_url":"https://api.github.com/repos/ahilles107/web-renderer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ahilles107/web-renderer/downloads","issues_url":"https://api.github.com/repos/ahilles107/web-renderer/issues{/number}","pulls_url":"https://api.github.com/repos/ahilles107/web-renderer/pulls{/number}","milestones_url":"https://api.github.com/repos/ahilles107/web-renderer/milestones{/number}","notifications_url":"https://api.github.com/repos/ahilles107/web-renderer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ahilles107/web-renderer/labels{/name}","releases_url":"https://api.github.com/repos/ahilles107/web-renderer/releases{/id}","created_at":"2015-05-25T10:04:31Z","updated_at":"2015-05-25T08:08:34Z","pushed_at":"2015-07-20T21:39:35Z","git_url":"git://github.com/ahilles107/web-renderer.git","ssh_url":"git@github.com:ahilles107/web-renderer.git","clone_url":"https://github.com/ahilles107/web-renderer.git","svn_url":"https://github.com/ahilles107/web-renderer","homepage":null,"size":249,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_downloads":true,"has_wiki":true,"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":"superdesk:master","ref":"master","sha":"981fb12d892ba2aaa748b3595359089c8c993ae6","user":{"login":"superdesk","id":5527298,"avatar_url":"https://avatars.githubusercontent.com/u/5527298?v=3","gravatar_id":"","url":"https://api.github.com/users/superdesk","html_url":"https://github.com/superdesk","followers_url":"https://api.github.com/users/superdesk/followers","following_url":"https://api.github.com/users/superdesk/following{/other_user}","gists_url":"https://api.github.com/users/superdesk/gists{/gist_id}","starred_url":"https://api.github.com/users/superdesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superdesk/subscriptions","organizations_url":"https://api.github.com/users/superdesk/orgs","repos_url":"https://api.github.com/users/superdesk/repos","events_url":"https://api.github.com/users/superdesk/events{/privacy}","received_events_url":"https://api.github.com/users/superdesk/received_events","type":"Organization","site_admin":false},"repo":{"id":36218357,"name":"web-renderer","full_name":"superdesk/web-renderer","owner":{"login":"superdesk","id":5527298,"avatar_url":"https://avatars.githubusercontent.com/u/5527298?v=3","gravatar_id":"","url":"https://api.github.com/users/superdesk","html_url":"https://github.com/superdesk","followers_url":"https://api.github.com/users/superdesk/followers","following_url":"https://api.github.com/users/superdesk/following{/other_user}","gists_url":"https://api.github.com/users/superdesk/gists{/gist_id}","starred_url":"https://api.github.com/users/superdesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superdesk/subscriptions","organizations_url":"https://api.github.com/users/superdesk/orgs","repos_url":"https://api.github.com/users/superdesk/repos","events_url":"https://api.github.com/users/superdesk/events{/privacy}","received_events_url":"https://api.github.com/users/superdesk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/superdesk/web-renderer","description":"Superdesk Web renderer","fork":false,"url":"https://api.github.com/repos/superdesk/web-renderer","forks_url":"https://api.github.com/repos/superdesk/web-renderer/forks","keys_url":"https://api.github.com/repos/superdesk/web-renderer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/superdesk/web-renderer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/superdesk/web-renderer/teams","hooks_url":"https://api.github.com/repos/superdesk/web-renderer/hooks","issue_events_url":"https://api.github.com/repos/superdesk/web-renderer/issues/events{/number}","events_url":"https://api.github.com/repos/superdesk/web-renderer/events","assignees_url":"https://api.github.com/repos/superdesk/web-renderer/assignees{/user}","branches_url":"https://api.github.com/repos/superdesk/web-renderer/branches{/branch}","tags_url":"https://api.github.com/repos/superdesk/web-renderer/tags","blobs_url":"https://api.github.com/repos/superdesk/web-renderer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/superdesk/web-renderer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/superdesk/web-renderer/git/refs{/sha}","trees_url":"https://api.github.com/repos/superdesk/web-renderer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/superdesk/web-renderer/statuses/{sha}","languages_url":"https://api.github.com/repos/superdesk/web-renderer/languages","stargazers_url":"https://api.github.com/repos/superdesk/web-renderer/stargazers","contributors_url":"https://api.github.com/repos/superdesk/web-renderer/contributors","subscribers_url":"https://api.github.com/repos/superdesk/web-renderer/subscribers","subscription_url":"https://api.github.com/repos/superdesk/web-renderer/subscription","commits_url":"https://api.github.com/repos/superdesk/web-renderer/commits{/sha}","git_commits_url":"https://api.github.com/repos/superdesk/web-renderer/git/commits{/sha}","comments_url":"https://api.github.com/repos/superdesk/web-renderer/comments{/number}","issue_comment_url":"https://api.github.com/repos/superdesk/web-renderer/issues/comments{/number}","contents_url":"https://api.github.com/repos/superdesk/web-renderer/contents/{+path}","compare_url":"https://api.github.com/repos/superdesk/web-renderer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/superdesk/web-renderer/merges","archive_url":"https://api.github.com/repos/superdesk/web-renderer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/superdesk/web-renderer/downloads","issues_url":"https://api.github.com/repos/superdesk/web-renderer/issues{/number}","pulls_url":"https://api.github.com/repos/superdesk/web-renderer/pulls{/number}","milestones_url":"https://api.github.com/repos/superdesk/web-renderer/milestones{/number}","notifications_url":"https://api.github.com/repos/superdesk/web-renderer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/superdesk/web-renderer/labels{/name}","releases_url":"https://api.github.com/repos/superdesk/web-renderer/releases{/id}","created_at":"2015-05-25T08:04:59Z","updated_at":"2015-06-03T08:07:51Z","pushed_at":"2015-07-20T21:39:36Z","git_url":"git://github.com/superdesk/web-renderer.git","ssh_url":"git@github.com:superdesk/web-renderer.git","clone_url":"https://github.com/superdesk/web-renderer.git","svn_url":"https://github.com/superdesk/web-renderer","homepage":null,"size":342,"stargazers_count":3,"watchers_count":3,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":4,"forks":4,"open_issues":4,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/superdesk/web-renderer/pulls/14"},"html":{"href":"https://github.com/superdesk/web-renderer/pull/14"},"issue":{"href":"https://api.github.com/repos/superdesk/web-renderer/issues/14"},"comments":{"href":"https://api.github.com/repos/superdesk/web-renderer/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/superdesk/web-renderer/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/superdesk/web-renderer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/superdesk/web-renderer/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/superdesk/web-renderer/statuses/10565cf73f3ce67200f304b28b40a86e0d73a065"}}}}