{"action":"created","comment":{"url":"https://api.github.com/repos/mitchellh/go-mruby/pulls/comments/85464179","pull_request_review_id":6179545,"id":85464179,"diff_hunk":"@@ -176,6 +179,34 @@ func (m *Mrb) LoadString(code string) (*MrbValue, error) {\n \treturn newValue(m.state, value), nil\n }\n \n+// LoadFile loads the given file, executes it, and returns its final\n+// value that it might return.\n+func (m *Mrb) LoadFile(file string) (*MrbValue, error) {\n+","path":"mruby.go","position":18,"original_position":18,"commit_id":"dc3e3f6ea5bb6281b85f497561b4a8dd0ffbfd2d","original_commit_id":"dc3e3f6ea5bb6281b85f497561b4a8dd0ffbfd2d","user":{"login":"mitchellh","id":1299,"avatar_url":"https://avatars.githubusercontent.com/u/1299?v=3","gravatar_id":"","url":"https://api.github.com/users/mitchellh","html_url":"https://github.com/mitchellh","followers_url":"https://api.github.com/users/mitchellh/followers","following_url":"https://api.github.com/users/mitchellh/following{/other_user}","gists_url":"https://api.github.com/users/mitchellh/gists{/gist_id}","starred_url":"https://api.github.com/users/mitchellh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitchellh/subscriptions","organizations_url":"https://api.github.com/users/mitchellh/orgs","repos_url":"https://api.github.com/users/mitchellh/repos","events_url":"https://api.github.com/users/mitchellh/events{/privacy}","received_events_url":"https://api.github.com/users/mitchellh/received_events","type":"User","site_admin":false},"body":"Superflous newline ","created_at":"2016-10-28T02:41:11Z","updated_at":"2016-10-28T02:41:48Z","html_url":"https://github.com/mitchellh/go-mruby/pull/38#discussion_r85464179","pull_request_url":"https://api.github.com/repos/mitchellh/go-mruby/pulls/38","_links":{"self":{"href":"https://api.github.com/repos/mitchellh/go-mruby/pulls/comments/85464179"},"html":{"href":"https://github.com/mitchellh/go-mruby/pull/38#discussion_r85464179"},"pull_request":{"href":"https://api.github.com/repos/mitchellh/go-mruby/pulls/38"}}},"pull_request":{"url":"https://api.github.com/repos/mitchellh/go-mruby/pulls/38","id":91313449,"html_url":"https://github.com/mitchellh/go-mruby/pull/38","diff_url":"https://github.com/mitchellh/go-mruby/pull/38.diff","patch_url":"https://github.com/mitchellh/go-mruby/pull/38.patch","issue_url":"https://api.github.com/repos/mitchellh/go-mruby/issues/38","number":38,"state":"open","locked":false,"title":"Load file + tests & fixes","user":{"login":"erikh","id":18923,"avatar_url":"https://avatars.githubusercontent.com/u/18923?v=3","gravatar_id":"","url":"https://api.github.com/users/erikh","html_url":"https://github.com/erikh","followers_url":"https://api.github.com/users/erikh/followers","following_url":"https://api.github.com/users/erikh/following{/other_user}","gists_url":"https://api.github.com/users/erikh/gists{/gist_id}","starred_url":"https://api.github.com/users/erikh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikh/subscriptions","organizations_url":"https://api.github.com/users/erikh/orgs","repos_url":"https://api.github.com/users/erikh/repos","events_url":"https://api.github.com/users/erikh/events{/privacy}","received_events_url":"https://api.github.com/users/erikh/received_events","type":"User","site_admin":false},"body":"Closes #15 \r\n\r\nThis extends #15 and adds some tests and errno checking.","created_at":"2016-10-28T02:37:27Z","updated_at":"2016-10-28T02:41:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cef0c4ec02d31f9fea1dc4969164389ac63bc465","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mitchellh/go-mruby/pulls/38/commits","review_comments_url":"https://api.github.com/repos/mitchellh/go-mruby/pulls/38/comments","review_comment_url":"https://api.github.com/repos/mitchellh/go-mruby/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mitchellh/go-mruby/issues/38/comments","statuses_url":"https://api.github.com/repos/mitchellh/go-mruby/statuses/dc3e3f6ea5bb6281b85f497561b4a8dd0ffbfd2d","head":{"label":"erikh:load_file","ref":"load_file","sha":"dc3e3f6ea5bb6281b85f497561b4a8dd0ffbfd2d","user":{"login":"erikh","id":18923,"avatar_url":"https://avatars.githubusercontent.com/u/18923?v=3","gravatar_id":"","url":"https://api.github.com/users/erikh","html_url":"https://github.com/erikh","followers_url":"https://api.github.com/users/erikh/followers","following_url":"https://api.github.com/users/erikh/following{/other_user}","gists_url":"https://api.github.com/users/erikh/gists{/gist_id}","starred_url":"https://api.github.com/users/erikh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikh/subscriptions","organizations_url":"https://api.github.com/users/erikh/orgs","repos_url":"https://api.github.com/users/erikh/repos","events_url":"https://api.github.com/users/erikh/events{/privacy}","received_events_url":"https://api.github.com/users/erikh/received_events","type":"User","site_admin":false},"repo":{"id":69933594,"name":"go-mruby","full_name":"erikh/go-mruby","owner":{"login":"erikh","id":18923,"avatar_url":"https://avatars.githubusercontent.com/u/18923?v=3","gravatar_id":"","url":"https://api.github.com/users/erikh","html_url":"https://github.com/erikh","followers_url":"https://api.github.com/users/erikh/followers","following_url":"https://api.github.com/users/erikh/following{/other_user}","gists_url":"https://api.github.com/users/erikh/gists{/gist_id}","starred_url":"https://api.github.com/users/erikh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erikh/subscriptions","organizations_url":"https://api.github.com/users/erikh/orgs","repos_url":"https://api.github.com/users/erikh/repos","events_url":"https://api.github.com/users/erikh/events{/privacy}","received_events_url":"https://api.github.com/users/erikh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/erikh/go-mruby","description":"Go (golang) bindings to mruby.","fork":true,"url":"https://api.github.com/repos/erikh/go-mruby","forks_url":"https://api.github.com/repos/erikh/go-mruby/forks","keys_url":"https://api.github.com/repos/erikh/go-mruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/erikh/go-mruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/erikh/go-mruby/teams","hooks_url":"https://api.github.com/repos/erikh/go-mruby/hooks","issue_events_url":"https://api.github.com/repos/erikh/go-mruby/issues/events{/number}","events_url":"https://api.github.com/repos/erikh/go-mruby/events","assignees_url":"https://api.github.com/repos/erikh/go-mruby/assignees{/user}","branches_url":"https://api.github.com/repos/erikh/go-mruby/branches{/branch}","tags_url":"https://api.github.com/repos/erikh/go-mruby/tags","blobs_url":"https://api.github.com/repos/erikh/go-mruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/erikh/go-mruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/erikh/go-mruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/erikh/go-mruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/erikh/go-mruby/statuses/{sha}","languages_url":"https://api.github.com/repos/erikh/go-mruby/languages","stargazers_url":"https://api.github.com/repos/erikh/go-mruby/stargazers","contributors_url":"https://api.github.com/repos/erikh/go-mruby/contributors","subscribers_url":"https://api.github.com/repos/erikh/go-mruby/subscribers","subscription_url":"https://api.github.com/repos/erikh/go-mruby/subscription","commits_url":"https://api.github.com/repos/erikh/go-mruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/erikh/go-mruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/erikh/go-mruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/erikh/go-mruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/erikh/go-mruby/contents/{+path}","compare_url":"https://api.github.com/repos/erikh/go-mruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/erikh/go-mruby/merges","archive_url":"https://api.github.com/repos/erikh/go-mruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/erikh/go-mruby/downloads","issues_url":"https://api.github.com/repos/erikh/go-mruby/issues{/number}","pulls_url":"https://api.github.com/repos/erikh/go-mruby/pulls{/number}","milestones_url":"https://api.github.com/repos/erikh/go-mruby/milestones{/number}","notifications_url":"https://api.github.com/repos/erikh/go-mruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/erikh/go-mruby/labels{/name}","releases_url":"https://api.github.com/repos/erikh/go-mruby/releases{/id}","deployments_url":"https://api.github.com/repos/erikh/go-mruby/deployments","created_at":"2016-10-04T04:12:41Z","updated_at":"2016-10-04T04:12:42Z","pushed_at":"2016-10-28T02:35:39Z","git_url":"git://github.com/erikh/go-mruby.git","ssh_url":"git@github.com:erikh/go-mruby.git","clone_url":"https://github.com/erikh/go-mruby.git","svn_url":"https://github.com/erikh/go-mruby","homepage":null,"size":79,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"mitchellh:master","ref":"master","sha":"45194a63776ce4af1b118af1cd641c1fb00c2e32","user":{"login":"mitchellh","id":1299,"avatar_url":"https://avatars.githubusercontent.com/u/1299?v=3","gravatar_id":"","url":"https://api.github.com/users/mitchellh","html_url":"https://github.com/mitchellh","followers_url":"https://api.github.com/users/mitchellh/followers","following_url":"https://api.github.com/users/mitchellh/following{/other_user}","gists_url":"https://api.github.com/users/mitchellh/gists{/gist_id}","starred_url":"https://api.github.com/users/mitchellh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitchellh/subscriptions","organizations_url":"https://api.github.com/users/mitchellh/orgs","repos_url":"https://api.github.com/users/mitchellh/repos","events_url":"https://api.github.com/users/mitchellh/events{/privacy}","received_events_url":"https://api.github.com/users/mitchellh/received_events","type":"User","site_admin":false},"repo":{"id":17768531,"name":"go-mruby","full_name":"mitchellh/go-mruby","owner":{"login":"mitchellh","id":1299,"avatar_url":"https://avatars.githubusercontent.com/u/1299?v=3","gravatar_id":"","url":"https://api.github.com/users/mitchellh","html_url":"https://github.com/mitchellh","followers_url":"https://api.github.com/users/mitchellh/followers","following_url":"https://api.github.com/users/mitchellh/following{/other_user}","gists_url":"https://api.github.com/users/mitchellh/gists{/gist_id}","starred_url":"https://api.github.com/users/mitchellh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mitchellh/subscriptions","organizations_url":"https://api.github.com/users/mitchellh/orgs","repos_url":"https://api.github.com/users/mitchellh/repos","events_url":"https://api.github.com/users/mitchellh/events{/privacy}","received_events_url":"https://api.github.com/users/mitchellh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mitchellh/go-mruby","description":"Go (golang) bindings to mruby.","fork":false,"url":"https://api.github.com/repos/mitchellh/go-mruby","forks_url":"https://api.github.com/repos/mitchellh/go-mruby/forks","keys_url":"https://api.github.com/repos/mitchellh/go-mruby/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mitchellh/go-mruby/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mitchellh/go-mruby/teams","hooks_url":"https://api.github.com/repos/mitchellh/go-mruby/hooks","issue_events_url":"https://api.github.com/repos/mitchellh/go-mruby/issues/events{/number}","events_url":"https://api.github.com/repos/mitchellh/go-mruby/events","assignees_url":"https://api.github.com/repos/mitchellh/go-mruby/assignees{/user}","branches_url":"https://api.github.com/repos/mitchellh/go-mruby/branches{/branch}","tags_url":"https://api.github.com/repos/mitchellh/go-mruby/tags","blobs_url":"https://api.github.com/repos/mitchellh/go-mruby/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mitchellh/go-mruby/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mitchellh/go-mruby/git/refs{/sha}","trees_url":"https://api.github.com/repos/mitchellh/go-mruby/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mitchellh/go-mruby/statuses/{sha}","languages_url":"https://api.github.com/repos/mitchellh/go-mruby/languages","stargazers_url":"https://api.github.com/repos/mitchellh/go-mruby/stargazers","contributors_url":"https://api.github.com/repos/mitchellh/go-mruby/contributors","subscribers_url":"https://api.github.com/repos/mitchellh/go-mruby/subscribers","subscription_url":"https://api.github.com/repos/mitchellh/go-mruby/subscription","commits_url":"https://api.github.com/repos/mitchellh/go-mruby/commits{/sha}","git_commits_url":"https://api.github.com/repos/mitchellh/go-mruby/git/commits{/sha}","comments_url":"https://api.github.com/repos/mitchellh/go-mruby/comments{/number}","issue_comment_url":"https://api.github.com/repos/mitchellh/go-mruby/issues/comments{/number}","contents_url":"https://api.github.com/repos/mitchellh/go-mruby/contents/{+path}","compare_url":"https://api.github.com/repos/mitchellh/go-mruby/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mitchellh/go-mruby/merges","archive_url":"https://api.github.com/repos/mitchellh/go-mruby/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mitchellh/go-mruby/downloads","issues_url":"https://api.github.com/repos/mitchellh/go-mruby/issues{/number}","pulls_url":"https://api.github.com/repos/mitchellh/go-mruby/pulls{/number}","milestones_url":"https://api.github.com/repos/mitchellh/go-mruby/milestones{/number}","notifications_url":"https://api.github.com/repos/mitchellh/go-mruby/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mitchellh/go-mruby/labels{/name}","releases_url":"https://api.github.com/repos/mitchellh/go-mruby/releases{/id}","deployments_url":"https://api.github.com/repos/mitchellh/go-mruby/deployments","created_at":"2014-03-15T05:01:38Z","updated_at":"2016-10-27T12:14:05Z","pushed_at":"2016-10-28T02:37:29Z","git_url":"git://github.com/mitchellh/go-mruby.git","ssh_url":"git@github.com:mitchellh/go-mruby.git","clone_url":"https://github.com/mitchellh/go-mruby.git","svn_url":"https://github.com/mitchellh/go-mruby","homepage":null,"size":99,"stargazers_count":317,"watchers_count":317,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":7,"forks":20,"open_issues":7,"watchers":317,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mitchellh/go-mruby/pulls/38"},"html":{"href":"https://github.com/mitchellh/go-mruby/pull/38"},"issue":{"href":"https://api.github.com/repos/mitchellh/go-mruby/issues/38"},"comments":{"href":"https://api.github.com/repos/mitchellh/go-mruby/issues/38/comments"},"review_comments":{"href":"https://api.github.com/repos/mitchellh/go-mruby/pulls/38/comments"},"review_comment":{"href":"https://api.github.com/repos/mitchellh/go-mruby/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mitchellh/go-mruby/pulls/38/commits"},"statuses":{"href":"https://api.github.com/repos/mitchellh/go-mruby/statuses/dc3e3f6ea5bb6281b85f497561b4a8dd0ffbfd2d"}}}}
{"actor":{"display_login":"mitchellh"}}