{"action":"opened","number":47,"pull_request":{"url":"https://api.github.com/repos/kingpong/perl-Test-Spec/pulls/47","id":227030080,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI3MDMwMDgw","html_url":"https://github.com/kingpong/perl-Test-Spec/pull/47","diff_url":"https://github.com/kingpong/perl-Test-Spec/pull/47.diff","patch_url":"https://github.com/kingpong/perl-Test-Spec/pull/47.patch","issue_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/issues/47","number":47,"state":"open","locked":false,"title":"Read content file outside of eval block","user":{"login":"atoomic","id":405282,"node_id":"MDQ6VXNlcjQwNTI4Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/405282?v=4","gravatar_id":"","url":"https://api.github.com/users/atoomic","html_url":"https://github.com/atoomic","followers_url":"https://api.github.com/users/atoomic/followers","following_url":"https://api.github.com/users/atoomic/following{/other_user}","gists_url":"https://api.github.com/users/atoomic/gists{/gist_id}","starred_url":"https://api.github.com/users/atoomic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atoomic/subscriptions","organizations_url":"https://api.github.com/users/atoomic/orgs","repos_url":"https://api.github.com/users/atoomic/repos","events_url":"https://api.github.com/users/atoomic/events{/privacy}","received_events_url":"https://api.github.com/users/atoomic/received_events","type":"User","site_admin":false},"body":"spec_helper is sneaking in some content\r\nfrom a file to a namespace.\r\n\r\nBut it's not required to read the file\r\ninside the quoted eval.\r\n\r\nReading it earlier provides the advantage\r\nof building the OP tree for it, so\r\nwe can use Test::Mockfile without impacting\r\nthis test module.\r\n\r\nIt also reduces the length of the string eval\r\nand optimize it and make it easier to maintain\r\nat the same time.","created_at":"2018-10-30T18:16:34Z","updated_at":"2018-10-30T18:16:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/pulls/47/commits","review_comments_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/pulls/47/comments","review_comment_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/issues/47/comments","statuses_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/statuses/1a43ead8458c77dd5fa75eb245a0f81313c0e31a","head":{"label":"atoomic:spec_helper-read-earlier","ref":"spec_helper-read-earlier","sha":"1a43ead8458c77dd5fa75eb245a0f81313c0e31a","user":{"login":"atoomic","id":405282,"node_id":"MDQ6VXNlcjQwNTI4Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/405282?v=4","gravatar_id":"","url":"https://api.github.com/users/atoomic","html_url":"https://github.com/atoomic","followers_url":"https://api.github.com/users/atoomic/followers","following_url":"https://api.github.com/users/atoomic/following{/other_user}","gists_url":"https://api.github.com/users/atoomic/gists{/gist_id}","starred_url":"https://api.github.com/users/atoomic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atoomic/subscriptions","organizations_url":"https://api.github.com/users/atoomic/orgs","repos_url":"https://api.github.com/users/atoomic/repos","events_url":"https://api.github.com/users/atoomic/events{/privacy}","received_events_url":"https://api.github.com/users/atoomic/received_events","type":"User","site_admin":false},"repo":{"id":155433540,"node_id":"MDEwOlJlcG9zaXRvcnkxNTU0MzM1NDA=","name":"perl-Test-Spec","full_name":"atoomic/perl-Test-Spec","private":false,"owner":{"login":"atoomic","id":405282,"node_id":"MDQ6VXNlcjQwNTI4Mg==","avatar_url":"https://avatars1.githubusercontent.com/u/405282?v=4","gravatar_id":"","url":"https://api.github.com/users/atoomic","html_url":"https://github.com/atoomic","followers_url":"https://api.github.com/users/atoomic/followers","following_url":"https://api.github.com/users/atoomic/following{/other_user}","gists_url":"https://api.github.com/users/atoomic/gists{/gist_id}","starred_url":"https://api.github.com/users/atoomic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atoomic/subscriptions","organizations_url":"https://api.github.com/users/atoomic/orgs","repos_url":"https://api.github.com/users/atoomic/repos","events_url":"https://api.github.com/users/atoomic/events{/privacy}","received_events_url":"https://api.github.com/users/atoomic/received_events","type":"User","site_admin":false},"html_url":"https://github.com/atoomic/perl-Test-Spec","description":"rSpec-like test system for Perl","fork":true,"url":"https://api.github.com/repos/atoomic/perl-Test-Spec","forks_url":"https://api.github.com/repos/atoomic/perl-Test-Spec/forks","keys_url":"https://api.github.com/repos/atoomic/perl-Test-Spec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atoomic/perl-Test-Spec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atoomic/perl-Test-Spec/teams","hooks_url":"https://api.github.com/repos/atoomic/perl-Test-Spec/hooks","issue_events_url":"https://api.github.com/repos/atoomic/perl-Test-Spec/issues/events{/number}","events_url":"https://api.github.com/repos/atoomic/perl-Test-Spec/events","assignees_url":"https://api.github.com/repos/atoomic/perl-Test-Spec/assignees{/user}","branches_url":"https://api.github.com/repos/atoomic/perl-Test-Spec/branches{/branch}","tags_url":"https://api.github.com/repos/atoomic/perl-Test-Spec/tags","blobs_url":"https://api.github.com/repos/atoomic/perl-Test-Spec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atoomic/perl-Test-Spec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atoomic/perl-Test-Spec/git/refs{/sha}","trees_url":"https://api.github.com/repos/atoomic/perl-Test-Spec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atoomic/perl-Test-Spec/statuses/{sha}","languages_url":"https://api.github.com/repos/atoomic/perl-Test-Spec/languages","stargazers_url":"https://api.github.com/repos/atoomic/perl-Test-Spec/stargazers","contributors_url":"https://api.github.com/repos/atoomic/perl-Test-Spec/contributors","subscribers_url":"https://api.github.com/repos/atoomic/perl-Test-Spec/subscribers","subscription_url":"https://api.github.com/repos/atoomic/perl-Test-Spec/subscription","commits_url":"https://api.github.com/repos/atoomic/perl-Test-Spec/commits{/sha}","git_commits_url":"https://api.github.com/repos/atoomic/perl-Test-Spec/git/commits{/sha}","comments_url":"https://api.github.com/repos/atoomic/perl-Test-Spec/comments{/number}","issue_comment_url":"https://api.github.com/repos/atoomic/perl-Test-Spec/issues/comments{/number}","contents_url":"https://api.github.com/repos/atoomic/perl-Test-Spec/contents/{+path}","compare_url":"https://api.github.com/repos/atoomic/perl-Test-Spec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atoomic/perl-Test-Spec/merges","archive_url":"https://api.github.com/repos/atoomic/perl-Test-Spec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atoomic/perl-Test-Spec/downloads","issues_url":"https://api.github.com/repos/atoomic/perl-Test-Spec/issues{/number}","pulls_url":"https://api.github.com/repos/atoomic/perl-Test-Spec/pulls{/number}","milestones_url":"https://api.github.com/repos/atoomic/perl-Test-Spec/milestones{/number}","notifications_url":"https://api.github.com/repos/atoomic/perl-Test-Spec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atoomic/perl-Test-Spec/labels{/name}","releases_url":"https://api.github.com/repos/atoomic/perl-Test-Spec/releases{/id}","deployments_url":"https://api.github.com/repos/atoomic/perl-Test-Spec/deployments","created_at":"2018-10-30T18:06:13Z","updated_at":"2018-10-30T18:06:15Z","pushed_at":"2018-10-30T18:15:56Z","git_url":"git://github.com/atoomic/perl-Test-Spec.git","ssh_url":"git@github.com:atoomic/perl-Test-Spec.git","clone_url":"https://github.com/atoomic/perl-Test-Spec.git","svn_url":"https://github.com/atoomic/perl-Test-Spec","homepage":"http://search.cpan.org/dist/Test-Spec/lib/Test/Spec.pm","size":166,"stargazers_count":0,"watchers_count":0,"language":"Perl","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"kingpong:develop","ref":"develop","sha":"9b07bca2b7645704007e1e9f88f9bf63a8abbb50","user":{"login":"kingpong","id":118347,"node_id":"MDQ6VXNlcjExODM0Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/118347?v=4","gravatar_id":"","url":"https://api.github.com/users/kingpong","html_url":"https://github.com/kingpong","followers_url":"https://api.github.com/users/kingpong/followers","following_url":"https://api.github.com/users/kingpong/following{/other_user}","gists_url":"https://api.github.com/users/kingpong/gists{/gist_id}","starred_url":"https://api.github.com/users/kingpong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kingpong/subscriptions","organizations_url":"https://api.github.com/users/kingpong/orgs","repos_url":"https://api.github.com/users/kingpong/repos","events_url":"https://api.github.com/users/kingpong/events{/privacy}","received_events_url":"https://api.github.com/users/kingpong/received_events","type":"User","site_admin":false},"repo":{"id":1773146,"node_id":"MDEwOlJlcG9zaXRvcnkxNzczMTQ2","name":"perl-Test-Spec","full_name":"kingpong/perl-Test-Spec","private":false,"owner":{"login":"kingpong","id":118347,"node_id":"MDQ6VXNlcjExODM0Nw==","avatar_url":"https://avatars0.githubusercontent.com/u/118347?v=4","gravatar_id":"","url":"https://api.github.com/users/kingpong","html_url":"https://github.com/kingpong","followers_url":"https://api.github.com/users/kingpong/followers","following_url":"https://api.github.com/users/kingpong/following{/other_user}","gists_url":"https://api.github.com/users/kingpong/gists{/gist_id}","starred_url":"https://api.github.com/users/kingpong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kingpong/subscriptions","organizations_url":"https://api.github.com/users/kingpong/orgs","repos_url":"https://api.github.com/users/kingpong/repos","events_url":"https://api.github.com/users/kingpong/events{/privacy}","received_events_url":"https://api.github.com/users/kingpong/received_events","type":"User","site_admin":false},"html_url":"https://github.com/kingpong/perl-Test-Spec","description":"rSpec-like test system for Perl","fork":false,"url":"https://api.github.com/repos/kingpong/perl-Test-Spec","forks_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/forks","keys_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/teams","hooks_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/hooks","issue_events_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/issues/events{/number}","events_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/events","assignees_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/assignees{/user}","branches_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/branches{/branch}","tags_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/tags","blobs_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/git/refs{/sha}","trees_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/statuses/{sha}","languages_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/languages","stargazers_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/stargazers","contributors_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/contributors","subscribers_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/subscribers","subscription_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/subscription","commits_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/commits{/sha}","git_commits_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/git/commits{/sha}","comments_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/comments{/number}","issue_comment_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/issues/comments{/number}","contents_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/contents/{+path}","compare_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/merges","archive_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/downloads","issues_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/issues{/number}","pulls_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/pulls{/number}","milestones_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/milestones{/number}","notifications_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/labels{/name}","releases_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/releases{/id}","deployments_url":"https://api.github.com/repos/kingpong/perl-Test-Spec/deployments","created_at":"2011-05-19T20:06:01Z","updated_at":"2017-10-30T21:51:09Z","pushed_at":"2017-11-24T17:20:02Z","git_url":"git://github.com/kingpong/perl-Test-Spec.git","ssh_url":"git@github.com:kingpong/perl-Test-Spec.git","clone_url":"https://github.com/kingpong/perl-Test-Spec.git","svn_url":"https://github.com/kingpong/perl-Test-Spec","homepage":"http://search.cpan.org/dist/Test-Spec/lib/Test/Spec.pm","size":166,"stargazers_count":23,"watchers_count":23,"language":"Perl","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":18,"mirror_url":null,"archived":false,"open_issues_count":11,"license":null,"forks":18,"open_issues":11,"watchers":23,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/kingpong/perl-Test-Spec/pulls/47"},"html":{"href":"https://github.com/kingpong/perl-Test-Spec/pull/47"},"issue":{"href":"https://api.github.com/repos/kingpong/perl-Test-Spec/issues/47"},"comments":{"href":"https://api.github.com/repos/kingpong/perl-Test-Spec/issues/47/comments"},"review_comments":{"href":"https://api.github.com/repos/kingpong/perl-Test-Spec/pulls/47/comments"},"review_comment":{"href":"https://api.github.com/repos/kingpong/perl-Test-Spec/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kingpong/perl-Test-Spec/pulls/47/commits"},"statuses":{"href":"https://api.github.com/repos/kingpong/perl-Test-Spec/statuses/1a43ead8458c77dd5fa75eb245a0f81313c0e31a"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":13,"deletions":10,"changed_files":1}}
{"actor":{"display_login":"atoomic"}}