{"action":"created","comment":{"url":"https://api.github.com/repos/18F/about_yml/pulls/comments/46455680","id":46455680,"diff_hunk":"@@ -34,6 +34,7 @@ def_command :update_gems, 'Update Ruby gems' do |gems = []|\n end\n \n def_command :test, 'Execute automated tests' do |args = []|\n+  exec_cmd 'bundle exec rake test'","path":"go","position":4,"original_position":4,"commit_id":"bee04e0607f15ab037654eb4d458c122977bfb90","original_commit_id":"bee04e0607f15ab037654eb4d458c122977bfb90","user":{"login":"ertzeid","id":6598247,"avatar_url":"https://avatars.githubusercontent.com/u/6598247?v=3","gravatar_id":"","url":"https://api.github.com/users/ertzeid","html_url":"https://github.com/ertzeid","followers_url":"https://api.github.com/users/ertzeid/followers","following_url":"https://api.github.com/users/ertzeid/following{/other_user}","gists_url":"https://api.github.com/users/ertzeid/gists{/gist_id}","starred_url":"https://api.github.com/users/ertzeid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ertzeid/subscriptions","organizations_url":"https://api.github.com/users/ertzeid/orgs","repos_url":"https://api.github.com/users/ertzeid/repos","events_url":"https://api.github.com/users/ertzeid/events{/privacy}","received_events_url":"https://api.github.com/users/ertzeid/received_events","type":"User","site_admin":false},"body":"Is this so that projects that include this gem get the test for free with their ./go test? Because `bundle exec rspec` already picks up the test within this branch.","created_at":"2015-12-02T18:45:12Z","updated_at":"2015-12-02T18:45:12Z","html_url":"https://github.com/18F/about_yml/pull/57#discussion_r46455680","pull_request_url":"https://api.github.com/repos/18F/about_yml/pulls/57","_links":{"self":{"href":"https://api.github.com/repos/18F/about_yml/pulls/comments/46455680"},"html":{"href":"https://github.com/18F/about_yml/pull/57#discussion_r46455680"},"pull_request":{"href":"https://api.github.com/repos/18F/about_yml/pulls/57"}}},"pull_request":{"url":"https://api.github.com/repos/18F/about_yml/pulls/57","id":52427173,"html_url":"https://github.com/18F/about_yml/pull/57","diff_url":"https://github.com/18F/about_yml/pull/57.diff","patch_url":"https://github.com/18F/about_yml/pull/57.patch","issue_url":"https://api.github.com/repos/18F/about_yml/issues/57","number":57,"state":"open","locked":false,"title":"Enable run_about_yml_check to work in other repos","user":{"login":"mbland","id":301547,"avatar_url":"https://avatars.githubusercontent.com/u/301547?v=3","gravatar_id":"","url":"https://api.github.com/users/mbland","html_url":"https://github.com/mbland","followers_url":"https://api.github.com/users/mbland/followers","following_url":"https://api.github.com/users/mbland/following{/other_user}","gists_url":"https://api.github.com/users/mbland/gists{/gist_id}","starred_url":"https://api.github.com/users/mbland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbland/subscriptions","organizations_url":"https://api.github.com/users/mbland/orgs","repos_url":"https://api.github.com/users/mbland/repos","events_url":"https://api.github.com/users/mbland/events{/privacy}","received_events_url":"https://api.github.com/users/mbland/received_events","type":"User","site_admin":false},"body":"@ertzeid This is a PR against your #56. I was able to take what you had there and figure out how to get it to work for other repos. Specifically, I added this to the `Gemfile` of my local 18F/team-api.18f.gov clone:\r\n\r\n```ruby\r\ngem 'about_yml', path: '../about_yml'\r\n```\r\n\r\nAnd then in the `Rakefile`:\r\n\r\n```ruby\r\nrequire 'about_yml/tasks/check_about_yml'\r\ntask test: :run_about_yml_check\r\n```\r\n\r\nConsequently, running `./go test` produces this:\r\n\r\n```\r\n.about.yml contains the following validation errors:\r\n  The property '#/licenses' of type Array did not match the following type: object in schema 075cd37b-f2cc-50d9-aa8a-9664a012b9eb#\r\n  The property '#/contact' of type String did not match the following type: array in schema 075cd37b-f2cc-50d9-aa8a-9664a012b9eb#\r\n```\r\n\r\nI've documented this in the `README` as well.","created_at":"2015-12-02T17:26:55Z","updated_at":"2015-12-02T18:45:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fb597078352e5d5e19d92a0c1192ded4c197356d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/18F/about_yml/pulls/57/commits","review_comments_url":"https://api.github.com/repos/18F/about_yml/pulls/57/comments","review_comment_url":"https://api.github.com/repos/18F/about_yml/pulls/comments{/number}","comments_url":"https://api.github.com/repos/18F/about_yml/issues/57/comments","statuses_url":"https://api.github.com/repos/18F/about_yml/statuses/bee04e0607f15ab037654eb4d458c122977bfb90","head":{"label":"18F:test-about-yml-file-#37-update","ref":"test-about-yml-file-#37-update","sha":"bee04e0607f15ab037654eb4d458c122977bfb90","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":41642019,"name":"about_yml","full_name":"18F/about_yml","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/about_yml","description":".about.yml project metadata schema and tools","fork":false,"url":"https://api.github.com/repos/18F/about_yml","forks_url":"https://api.github.com/repos/18F/about_yml/forks","keys_url":"https://api.github.com/repos/18F/about_yml/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/about_yml/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/about_yml/teams","hooks_url":"https://api.github.com/repos/18F/about_yml/hooks","issue_events_url":"https://api.github.com/repos/18F/about_yml/issues/events{/number}","events_url":"https://api.github.com/repos/18F/about_yml/events","assignees_url":"https://api.github.com/repos/18F/about_yml/assignees{/user}","branches_url":"https://api.github.com/repos/18F/about_yml/branches{/branch}","tags_url":"https://api.github.com/repos/18F/about_yml/tags","blobs_url":"https://api.github.com/repos/18F/about_yml/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/about_yml/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/about_yml/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/about_yml/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/about_yml/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/about_yml/languages","stargazers_url":"https://api.github.com/repos/18F/about_yml/stargazers","contributors_url":"https://api.github.com/repos/18F/about_yml/contributors","subscribers_url":"https://api.github.com/repos/18F/about_yml/subscribers","subscription_url":"https://api.github.com/repos/18F/about_yml/subscription","commits_url":"https://api.github.com/repos/18F/about_yml/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/about_yml/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/about_yml/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/about_yml/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/about_yml/contents/{+path}","compare_url":"https://api.github.com/repos/18F/about_yml/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/about_yml/merges","archive_url":"https://api.github.com/repos/18F/about_yml/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/about_yml/downloads","issues_url":"https://api.github.com/repos/18F/about_yml/issues{/number}","pulls_url":"https://api.github.com/repos/18F/about_yml/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/about_yml/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/about_yml/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/about_yml/labels{/name}","releases_url":"https://api.github.com/repos/18F/about_yml/releases{/id}","created_at":"2015-08-30T20:27:30Z","updated_at":"2015-11-05T06:12:18Z","pushed_at":"2015-12-02T17:26:55Z","git_url":"git://github.com/18F/about_yml.git","ssh_url":"git@github.com:18F/about_yml.git","clone_url":"https://github.com/18F/about_yml.git","svn_url":"https://github.com/18F/about_yml","homepage":"https://rubygems.org/gems/about_yml","size":51,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":28,"forks":1,"open_issues":28,"watchers":5,"default_branch":"master"}},"base":{"label":"18F:test-about-yml-file-#37","ref":"test-about-yml-file-#37","sha":"f7ccffaf8b560a813f950b8b1e3660ea42859eb8","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":41642019,"name":"about_yml","full_name":"18F/about_yml","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/about_yml","description":".about.yml project metadata schema and tools","fork":false,"url":"https://api.github.com/repos/18F/about_yml","forks_url":"https://api.github.com/repos/18F/about_yml/forks","keys_url":"https://api.github.com/repos/18F/about_yml/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/about_yml/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/about_yml/teams","hooks_url":"https://api.github.com/repos/18F/about_yml/hooks","issue_events_url":"https://api.github.com/repos/18F/about_yml/issues/events{/number}","events_url":"https://api.github.com/repos/18F/about_yml/events","assignees_url":"https://api.github.com/repos/18F/about_yml/assignees{/user}","branches_url":"https://api.github.com/repos/18F/about_yml/branches{/branch}","tags_url":"https://api.github.com/repos/18F/about_yml/tags","blobs_url":"https://api.github.com/repos/18F/about_yml/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/about_yml/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/about_yml/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/about_yml/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/about_yml/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/about_yml/languages","stargazers_url":"https://api.github.com/repos/18F/about_yml/stargazers","contributors_url":"https://api.github.com/repos/18F/about_yml/contributors","subscribers_url":"https://api.github.com/repos/18F/about_yml/subscribers","subscription_url":"https://api.github.com/repos/18F/about_yml/subscription","commits_url":"https://api.github.com/repos/18F/about_yml/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/about_yml/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/about_yml/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/about_yml/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/about_yml/contents/{+path}","compare_url":"https://api.github.com/repos/18F/about_yml/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/about_yml/merges","archive_url":"https://api.github.com/repos/18F/about_yml/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/about_yml/downloads","issues_url":"https://api.github.com/repos/18F/about_yml/issues{/number}","pulls_url":"https://api.github.com/repos/18F/about_yml/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/about_yml/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/about_yml/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/about_yml/labels{/name}","releases_url":"https://api.github.com/repos/18F/about_yml/releases{/id}","created_at":"2015-08-30T20:27:30Z","updated_at":"2015-11-05T06:12:18Z","pushed_at":"2015-12-02T17:26:55Z","git_url":"git://github.com/18F/about_yml.git","ssh_url":"git@github.com:18F/about_yml.git","clone_url":"https://github.com/18F/about_yml.git","svn_url":"https://github.com/18F/about_yml","homepage":"https://rubygems.org/gems/about_yml","size":51,"stargazers_count":5,"watchers_count":5,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":28,"forks":1,"open_issues":28,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/18F/about_yml/pulls/57"},"html":{"href":"https://github.com/18F/about_yml/pull/57"},"issue":{"href":"https://api.github.com/repos/18F/about_yml/issues/57"},"comments":{"href":"https://api.github.com/repos/18F/about_yml/issues/57/comments"},"review_comments":{"href":"https://api.github.com/repos/18F/about_yml/pulls/57/comments"},"review_comment":{"href":"https://api.github.com/repos/18F/about_yml/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/18F/about_yml/pulls/57/commits"},"statuses":{"href":"https://api.github.com/repos/18F/about_yml/statuses/bee04e0607f15ab037654eb4d458c122977bfb90"}}}}