{"action":"created","comment":{"url":"https://api.github.com/repos/Galooshi/happo/pulls/comments/76522558","id":76522558,"diff_hunk":"@@ -32,7 +32,11 @@ def self.config\n \n     def self.config_from_file\n       config_file_name = ENV['HAPPO_CONFIG_FILE'] || '.happo.yaml'\n-      YAML.load(ERB.new(File.read(config_file_name)).result)\n+      if File.exist?(config_file_name)\n+        YAML.load(ERB.new(File.read(config_file_name)).result)\n+      else\n+        {}\n+      end","path":"lib/happo/utils.rb","position":9,"original_position":9,"commit_id":"9da13594750a6a572a48d5b136a314a9fb1655fe","original_commit_id":"f2cd0d6f905c3968cb920852c4957be71bf482fd","user":{"login":"trotzig","id":578277,"avatar_url":"https://avatars.githubusercontent.com/u/578277?v=3","gravatar_id":"","url":"https://api.github.com/users/trotzig","html_url":"https://github.com/trotzig","followers_url":"https://api.github.com/users/trotzig/followers","following_url":"https://api.github.com/users/trotzig/following{/other_user}","gists_url":"https://api.github.com/users/trotzig/gists{/gist_id}","starred_url":"https://api.github.com/users/trotzig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trotzig/subscriptions","organizations_url":"https://api.github.com/users/trotzig/orgs","repos_url":"https://api.github.com/users/trotzig/repos","events_url":"https://api.github.com/users/trotzig/events{/privacy}","received_events_url":"https://api.github.com/users/trotzig/received_events","type":"User","site_admin":false},"body":"Thanks for fixing, I ran into this issue yesterday. ","created_at":"2016-08-27T21:25:18Z","updated_at":"2016-08-27T21:25:18Z","html_url":"https://github.com/Galooshi/happo/pull/117#discussion_r76522558","pull_request_url":"https://api.github.com/repos/Galooshi/happo/pulls/117","_links":{"self":{"href":"https://api.github.com/repos/Galooshi/happo/pulls/comments/76522558"},"html":{"href":"https://github.com/Galooshi/happo/pull/117#discussion_r76522558"},"pull_request":{"href":"https://api.github.com/repos/Galooshi/happo/pulls/117"}}},"pull_request":{"url":"https://api.github.com/repos/Galooshi/happo/pulls/117","id":82992155,"html_url":"https://github.com/Galooshi/happo/pull/117","diff_url":"https://github.com/Galooshi/happo/pull/117.diff","patch_url":"https://github.com/Galooshi/happo/pull/117.patch","issue_url":"https://api.github.com/repos/Galooshi/happo/issues/117","number":117,"state":"open","locked":false,"title":"Add way to demo the review page, improve review page","user":{"login":"lencioni","id":195534,"avatar_url":"https://avatars.githubusercontent.com/u/195534?v=3","gravatar_id":"","url":"https://api.github.com/users/lencioni","html_url":"https://github.com/lencioni","followers_url":"https://api.github.com/users/lencioni/followers","following_url":"https://api.github.com/users/lencioni/following{/other_user}","gists_url":"https://api.github.com/users/lencioni/gists{/gist_id}","starred_url":"https://api.github.com/users/lencioni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lencioni/subscriptions","organizations_url":"https://api.github.com/users/lencioni/orgs","repos_url":"https://api.github.com/users/lencioni/repos","events_url":"https://api.github.com/users/lencioni/events{/privacy}","received_events_url":"https://api.github.com/users/lencioni/received_events","type":"User","site_admin":false},"body":"We want to vastly improve the diffs page, but that is slow going because\r\nwe don't have a super easy way to preview our changes. This commit fixes\r\nthis by adding a review-demo.rb script that starts up a server with some\r\ndummy data in it so we can see what a diffs page might look like. This\r\nshould make it easier to improve this page.\r\n\r\nFixes #103","created_at":"2016-08-27T16:30:22Z","updated_at":"2016-08-27T21:25:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3d52312715335a0bfa1d14499a8bd6651bb71939","assignee":{"login":"trotzig","id":578277,"avatar_url":"https://avatars.githubusercontent.com/u/578277?v=3","gravatar_id":"","url":"https://api.github.com/users/trotzig","html_url":"https://github.com/trotzig","followers_url":"https://api.github.com/users/trotzig/followers","following_url":"https://api.github.com/users/trotzig/following{/other_user}","gists_url":"https://api.github.com/users/trotzig/gists{/gist_id}","starred_url":"https://api.github.com/users/trotzig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trotzig/subscriptions","organizations_url":"https://api.github.com/users/trotzig/orgs","repos_url":"https://api.github.com/users/trotzig/repos","events_url":"https://api.github.com/users/trotzig/events{/privacy}","received_events_url":"https://api.github.com/users/trotzig/received_events","type":"User","site_admin":false},"assignees":[{"login":"trotzig","id":578277,"avatar_url":"https://avatars.githubusercontent.com/u/578277?v=3","gravatar_id":"","url":"https://api.github.com/users/trotzig","html_url":"https://github.com/trotzig","followers_url":"https://api.github.com/users/trotzig/followers","following_url":"https://api.github.com/users/trotzig/following{/other_user}","gists_url":"https://api.github.com/users/trotzig/gists{/gist_id}","starred_url":"https://api.github.com/users/trotzig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trotzig/subscriptions","organizations_url":"https://api.github.com/users/trotzig/orgs","repos_url":"https://api.github.com/users/trotzig/repos","events_url":"https://api.github.com/users/trotzig/events{/privacy}","received_events_url":"https://api.github.com/users/trotzig/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/Galooshi/happo/pulls/117/commits","review_comments_url":"https://api.github.com/repos/Galooshi/happo/pulls/117/comments","review_comment_url":"https://api.github.com/repos/Galooshi/happo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Galooshi/happo/issues/117/comments","statuses_url":"https://api.github.com/repos/Galooshi/happo/statuses/9da13594750a6a572a48d5b136a314a9fb1655fe","head":{"label":"Galooshi:review-demo","ref":"review-demo","sha":"9da13594750a6a572a48d5b136a314a9fb1655fe","user":{"login":"Galooshi","id":17908199,"avatar_url":"https://avatars.githubusercontent.com/u/17908199?v=3","gravatar_id":"","url":"https://api.github.com/users/Galooshi","html_url":"https://github.com/Galooshi","followers_url":"https://api.github.com/users/Galooshi/followers","following_url":"https://api.github.com/users/Galooshi/following{/other_user}","gists_url":"https://api.github.com/users/Galooshi/gists{/gist_id}","starred_url":"https://api.github.com/users/Galooshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Galooshi/subscriptions","organizations_url":"https://api.github.com/users/Galooshi/orgs","repos_url":"https://api.github.com/users/Galooshi/repos","events_url":"https://api.github.com/users/Galooshi/events{/privacy}","received_events_url":"https://api.github.com/users/Galooshi/received_events","type":"Organization","site_admin":false},"repo":{"id":31054513,"name":"happo","full_name":"Galooshi/happo","owner":{"login":"Galooshi","id":17908199,"avatar_url":"https://avatars.githubusercontent.com/u/17908199?v=3","gravatar_id":"","url":"https://api.github.com/users/Galooshi","html_url":"https://github.com/Galooshi","followers_url":"https://api.github.com/users/Galooshi/followers","following_url":"https://api.github.com/users/Galooshi/following{/other_user}","gists_url":"https://api.github.com/users/Galooshi/gists{/gist_id}","starred_url":"https://api.github.com/users/Galooshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Galooshi/subscriptions","organizations_url":"https://api.github.com/users/Galooshi/orgs","repos_url":"https://api.github.com/users/Galooshi/repos","events_url":"https://api.github.com/users/Galooshi/events{/privacy}","received_events_url":"https://api.github.com/users/Galooshi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Galooshi/happo","description":"Happo is a visual diffing tool for JS components designed to run in a CI environment","fork":false,"url":"https://api.github.com/repos/Galooshi/happo","forks_url":"https://api.github.com/repos/Galooshi/happo/forks","keys_url":"https://api.github.com/repos/Galooshi/happo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Galooshi/happo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Galooshi/happo/teams","hooks_url":"https://api.github.com/repos/Galooshi/happo/hooks","issue_events_url":"https://api.github.com/repos/Galooshi/happo/issues/events{/number}","events_url":"https://api.github.com/repos/Galooshi/happo/events","assignees_url":"https://api.github.com/repos/Galooshi/happo/assignees{/user}","branches_url":"https://api.github.com/repos/Galooshi/happo/branches{/branch}","tags_url":"https://api.github.com/repos/Galooshi/happo/tags","blobs_url":"https://api.github.com/repos/Galooshi/happo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Galooshi/happo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Galooshi/happo/git/refs{/sha}","trees_url":"https://api.github.com/repos/Galooshi/happo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Galooshi/happo/statuses/{sha}","languages_url":"https://api.github.com/repos/Galooshi/happo/languages","stargazers_url":"https://api.github.com/repos/Galooshi/happo/stargazers","contributors_url":"https://api.github.com/repos/Galooshi/happo/contributors","subscribers_url":"https://api.github.com/repos/Galooshi/happo/subscribers","subscription_url":"https://api.github.com/repos/Galooshi/happo/subscription","commits_url":"https://api.github.com/repos/Galooshi/happo/commits{/sha}","git_commits_url":"https://api.github.com/repos/Galooshi/happo/git/commits{/sha}","comments_url":"https://api.github.com/repos/Galooshi/happo/comments{/number}","issue_comment_url":"https://api.github.com/repos/Galooshi/happo/issues/comments{/number}","contents_url":"https://api.github.com/repos/Galooshi/happo/contents/{+path}","compare_url":"https://api.github.com/repos/Galooshi/happo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Galooshi/happo/merges","archive_url":"https://api.github.com/repos/Galooshi/happo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Galooshi/happo/downloads","issues_url":"https://api.github.com/repos/Galooshi/happo/issues{/number}","pulls_url":"https://api.github.com/repos/Galooshi/happo/pulls{/number}","milestones_url":"https://api.github.com/repos/Galooshi/happo/milestones{/number}","notifications_url":"https://api.github.com/repos/Galooshi/happo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Galooshi/happo/labels{/name}","releases_url":"https://api.github.com/repos/Galooshi/happo/releases{/id}","deployments_url":"https://api.github.com/repos/Galooshi/happo/deployments","created_at":"2015-02-20T07:05:44Z","updated_at":"2016-08-21T09:58:27Z","pushed_at":"2016-08-27T17:18:11Z","git_url":"git://github.com/Galooshi/happo.git","ssh_url":"git@github.com:Galooshi/happo.git","clone_url":"https://github.com/Galooshi/happo.git","svn_url":"https://github.com/Galooshi/happo","homepage":"","size":1765,"stargazers_count":69,"watchers_count":69,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":16,"forks":5,"open_issues":16,"watchers":69,"default_branch":"master"}},"base":{"label":"Galooshi:master","ref":"master","sha":"a6066003ebf83f921a71b361bd18f63b828cf183","user":{"login":"Galooshi","id":17908199,"avatar_url":"https://avatars.githubusercontent.com/u/17908199?v=3","gravatar_id":"","url":"https://api.github.com/users/Galooshi","html_url":"https://github.com/Galooshi","followers_url":"https://api.github.com/users/Galooshi/followers","following_url":"https://api.github.com/users/Galooshi/following{/other_user}","gists_url":"https://api.github.com/users/Galooshi/gists{/gist_id}","starred_url":"https://api.github.com/users/Galooshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Galooshi/subscriptions","organizations_url":"https://api.github.com/users/Galooshi/orgs","repos_url":"https://api.github.com/users/Galooshi/repos","events_url":"https://api.github.com/users/Galooshi/events{/privacy}","received_events_url":"https://api.github.com/users/Galooshi/received_events","type":"Organization","site_admin":false},"repo":{"id":31054513,"name":"happo","full_name":"Galooshi/happo","owner":{"login":"Galooshi","id":17908199,"avatar_url":"https://avatars.githubusercontent.com/u/17908199?v=3","gravatar_id":"","url":"https://api.github.com/users/Galooshi","html_url":"https://github.com/Galooshi","followers_url":"https://api.github.com/users/Galooshi/followers","following_url":"https://api.github.com/users/Galooshi/following{/other_user}","gists_url":"https://api.github.com/users/Galooshi/gists{/gist_id}","starred_url":"https://api.github.com/users/Galooshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Galooshi/subscriptions","organizations_url":"https://api.github.com/users/Galooshi/orgs","repos_url":"https://api.github.com/users/Galooshi/repos","events_url":"https://api.github.com/users/Galooshi/events{/privacy}","received_events_url":"https://api.github.com/users/Galooshi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Galooshi/happo","description":"Happo is a visual diffing tool for JS components designed to run in a CI environment","fork":false,"url":"https://api.github.com/repos/Galooshi/happo","forks_url":"https://api.github.com/repos/Galooshi/happo/forks","keys_url":"https://api.github.com/repos/Galooshi/happo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Galooshi/happo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Galooshi/happo/teams","hooks_url":"https://api.github.com/repos/Galooshi/happo/hooks","issue_events_url":"https://api.github.com/repos/Galooshi/happo/issues/events{/number}","events_url":"https://api.github.com/repos/Galooshi/happo/events","assignees_url":"https://api.github.com/repos/Galooshi/happo/assignees{/user}","branches_url":"https://api.github.com/repos/Galooshi/happo/branches{/branch}","tags_url":"https://api.github.com/repos/Galooshi/happo/tags","blobs_url":"https://api.github.com/repos/Galooshi/happo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Galooshi/happo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Galooshi/happo/git/refs{/sha}","trees_url":"https://api.github.com/repos/Galooshi/happo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Galooshi/happo/statuses/{sha}","languages_url":"https://api.github.com/repos/Galooshi/happo/languages","stargazers_url":"https://api.github.com/repos/Galooshi/happo/stargazers","contributors_url":"https://api.github.com/repos/Galooshi/happo/contributors","subscribers_url":"https://api.github.com/repos/Galooshi/happo/subscribers","subscription_url":"https://api.github.com/repos/Galooshi/happo/subscription","commits_url":"https://api.github.com/repos/Galooshi/happo/commits{/sha}","git_commits_url":"https://api.github.com/repos/Galooshi/happo/git/commits{/sha}","comments_url":"https://api.github.com/repos/Galooshi/happo/comments{/number}","issue_comment_url":"https://api.github.com/repos/Galooshi/happo/issues/comments{/number}","contents_url":"https://api.github.com/repos/Galooshi/happo/contents/{+path}","compare_url":"https://api.github.com/repos/Galooshi/happo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Galooshi/happo/merges","archive_url":"https://api.github.com/repos/Galooshi/happo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Galooshi/happo/downloads","issues_url":"https://api.github.com/repos/Galooshi/happo/issues{/number}","pulls_url":"https://api.github.com/repos/Galooshi/happo/pulls{/number}","milestones_url":"https://api.github.com/repos/Galooshi/happo/milestones{/number}","notifications_url":"https://api.github.com/repos/Galooshi/happo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Galooshi/happo/labels{/name}","releases_url":"https://api.github.com/repos/Galooshi/happo/releases{/id}","deployments_url":"https://api.github.com/repos/Galooshi/happo/deployments","created_at":"2015-02-20T07:05:44Z","updated_at":"2016-08-21T09:58:27Z","pushed_at":"2016-08-27T17:18:11Z","git_url":"git://github.com/Galooshi/happo.git","ssh_url":"git@github.com:Galooshi/happo.git","clone_url":"https://github.com/Galooshi/happo.git","svn_url":"https://github.com/Galooshi/happo","homepage":"","size":1765,"stargazers_count":69,"watchers_count":69,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":16,"forks":5,"open_issues":16,"watchers":69,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Galooshi/happo/pulls/117"},"html":{"href":"https://github.com/Galooshi/happo/pull/117"},"issue":{"href":"https://api.github.com/repos/Galooshi/happo/issues/117"},"comments":{"href":"https://api.github.com/repos/Galooshi/happo/issues/117/comments"},"review_comments":{"href":"https://api.github.com/repos/Galooshi/happo/pulls/117/comments"},"review_comment":{"href":"https://api.github.com/repos/Galooshi/happo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Galooshi/happo/pulls/117/commits"},"statuses":{"href":"https://api.github.com/repos/Galooshi/happo/statuses/9da13594750a6a572a48d5b136a314a9fb1655fe"}}}}
{"actor":{"display_login":"trotzig"}}