{"action":"created","comment":{"url":"https://api.github.com/repos/18F/github-dashing/pulls/comments/43035949","id":43035949,"diff_hunk":"@@ -17,4 +17,10 @@\n   end\n \n   send_event('repos_without_about_yml', unordered: true, items: items)\n+\n+  total_org_repos = ENV['GITHUB_ORG_REPOS'].split(',').size.to_f\n+  repos_without_about = repos_without_about_yml.size.to_f\n+  percentage_adoption = (1 - repos_without_about / total_org_repos) * 100\n+\n+  send_event('about_percentage', value: percentage_adoption.round(2))","path":"jobs/repos_without_about_yml.rb","position":9,"original_position":9,"commit_id":"3c76f81087725d2e63061b4bf81475eddb2dce5d","original_commit_id":"3c76f81087725d2e63061b4bf81475eddb2dce5d","user":{"login":"monfresh","id":811150,"avatar_url":"https://avatars.githubusercontent.com/u/811150?v=3","gravatar_id":"","url":"https://api.github.com/users/monfresh","html_url":"https://github.com/monfresh","followers_url":"https://api.github.com/users/monfresh/followers","following_url":"https://api.github.com/users/monfresh/following{/other_user}","gists_url":"https://api.github.com/users/monfresh/gists{/gist_id}","starred_url":"https://api.github.com/users/monfresh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monfresh/subscriptions","organizations_url":"https://api.github.com/users/monfresh/orgs","repos_url":"https://api.github.com/users/monfresh/repos","events_url":"https://api.github.com/users/monfresh/events{/privacy}","received_events_url":"https://api.github.com/users/monfresh/received_events","type":"User","site_admin":false},"body":"I would if I could figure out how to. I haven't been able to find any examples in the wild of anyone testing what gets sent to a widget. I asked on the Dashing repo and never got a response: https://github.com/Shopify/dashing/issues/615","created_at":"2015-10-26T18:49:49Z","updated_at":"2015-10-26T18:49:49Z","html_url":"https://github.com/18F/github-dashing/pull/27#discussion_r43035949","pull_request_url":"https://api.github.com/repos/18F/github-dashing/pulls/27","_links":{"self":{"href":"https://api.github.com/repos/18F/github-dashing/pulls/comments/43035949"},"html":{"href":"https://github.com/18F/github-dashing/pull/27#discussion_r43035949"},"pull_request":{"href":"https://api.github.com/repos/18F/github-dashing/pulls/27"}}},"pull_request":{"url":"https://api.github.com/repos/18F/github-dashing/pulls/27","id":45726940,"html_url":"https://github.com/18F/github-dashing/pull/27","diff_url":"https://github.com/18F/github-dashing/pull/27.diff","patch_url":"https://github.com/18F/github-dashing/pull/27.patch","issue_url":"https://api.github.com/repos/18F/github-dashing/issues/27","number":27,"state":"open","locked":false,"title":"Add widget to show about.yml percentage adoption","user":{"login":"monfresh","id":811150,"avatar_url":"https://avatars.githubusercontent.com/u/811150?v=3","gravatar_id":"","url":"https://api.github.com/users/monfresh","html_url":"https://github.com/monfresh","followers_url":"https://api.github.com/users/monfresh/followers","following_url":"https://api.github.com/users/monfresh/following{/other_user}","gists_url":"https://api.github.com/users/monfresh/gists{/gist_id}","starred_url":"https://api.github.com/users/monfresh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monfresh/subscriptions","organizations_url":"https://api.github.com/users/monfresh/orgs","repos_url":"https://api.github.com/users/monfresh/repos","events_url":"https://api.github.com/users/monfresh/events{/privacy}","received_events_url":"https://api.github.com/users/monfresh/received_events","type":"User","site_admin":false},"body":"Note: The CSS is a little messed up and will need to be adjusted by someone with better frontend skills than me.\r\n\r\nThe CSS for the \"Last Updated\" at info is in the `.updated-at` class in `nested_list.scss` I believe.\r\nThe CSS for the Meter widget is in `widgets/meter/meter.scss`. These are all provided by default by the Dashing framework.\r\n\r\nI also updated the gridster and knob JS plugins to the latest versions.\r\n\r\nHere is what it looks like:\r\n<img width=\"608\" alt=\"screen shot 2015-09-22 at 6 45 00 pm\" src=\"https://cloud.githubusercontent.com/assets/811150/10033880/299c7586-615a-11e5-8071-c24da971fc79.png\">\r\n","created_at":"2015-09-22T22:48:53Z","updated_at":"2015-10-26T18:49:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1c6d294921f6474017132c954f05240b90b18d64","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/18F/github-dashing/pulls/27/commits","review_comments_url":"https://api.github.com/repos/18F/github-dashing/pulls/27/comments","review_comment_url":"https://api.github.com/repos/18F/github-dashing/pulls/comments{/number}","comments_url":"https://api.github.com/repos/18F/github-dashing/issues/27/comments","statuses_url":"https://api.github.com/repos/18F/github-dashing/statuses/3c76f81087725d2e63061b4bf81475eddb2dce5d","head":{"label":"18F:add-knob-for-about-yml","ref":"add-knob-for-about-yml","sha":"3c76f81087725d2e63061b4bf81475eddb2dce5d","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":35963070,"name":"github-dashing","full_name":"18F/github-dashing","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/github-dashing","description":"Dashboard to monitor the health of github projects based on their contribution statistics, based on the \"Dashing\" framework","fork":true,"url":"https://api.github.com/repos/18F/github-dashing","forks_url":"https://api.github.com/repos/18F/github-dashing/forks","keys_url":"https://api.github.com/repos/18F/github-dashing/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/github-dashing/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/github-dashing/teams","hooks_url":"https://api.github.com/repos/18F/github-dashing/hooks","issue_events_url":"https://api.github.com/repos/18F/github-dashing/issues/events{/number}","events_url":"https://api.github.com/repos/18F/github-dashing/events","assignees_url":"https://api.github.com/repos/18F/github-dashing/assignees{/user}","branches_url":"https://api.github.com/repos/18F/github-dashing/branches{/branch}","tags_url":"https://api.github.com/repos/18F/github-dashing/tags","blobs_url":"https://api.github.com/repos/18F/github-dashing/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/github-dashing/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/github-dashing/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/github-dashing/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/github-dashing/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/github-dashing/languages","stargazers_url":"https://api.github.com/repos/18F/github-dashing/stargazers","contributors_url":"https://api.github.com/repos/18F/github-dashing/contributors","subscribers_url":"https://api.github.com/repos/18F/github-dashing/subscribers","subscription_url":"https://api.github.com/repos/18F/github-dashing/subscription","commits_url":"https://api.github.com/repos/18F/github-dashing/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/github-dashing/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/github-dashing/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/github-dashing/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/github-dashing/contents/{+path}","compare_url":"https://api.github.com/repos/18F/github-dashing/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/github-dashing/merges","archive_url":"https://api.github.com/repos/18F/github-dashing/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/github-dashing/downloads","issues_url":"https://api.github.com/repos/18F/github-dashing/issues{/number}","pulls_url":"https://api.github.com/repos/18F/github-dashing/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/github-dashing/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/github-dashing/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/github-dashing/labels{/name}","releases_url":"https://api.github.com/repos/18F/github-dashing/releases{/id}","created_at":"2015-05-20T17:26:57Z","updated_at":"2015-09-17T17:52:32Z","pushed_at":"2015-09-22T23:39:40Z","git_url":"git://github.com/18F/github-dashing.git","ssh_url":"git@github.com:18F/github-dashing.git","clone_url":"https://github.com/18F/github-dashing.git","svn_url":"https://github.com/18F/github-dashing","homepage":"https://project-dashboard.18f.gov/default","size":2277,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"18F:master","ref":"master","sha":"16e1893e206e25570375fb95bed6b9211458599c","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":35963070,"name":"github-dashing","full_name":"18F/github-dashing","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/github-dashing","description":"Dashboard to monitor the health of github projects based on their contribution statistics, based on the \"Dashing\" framework","fork":true,"url":"https://api.github.com/repos/18F/github-dashing","forks_url":"https://api.github.com/repos/18F/github-dashing/forks","keys_url":"https://api.github.com/repos/18F/github-dashing/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/github-dashing/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/github-dashing/teams","hooks_url":"https://api.github.com/repos/18F/github-dashing/hooks","issue_events_url":"https://api.github.com/repos/18F/github-dashing/issues/events{/number}","events_url":"https://api.github.com/repos/18F/github-dashing/events","assignees_url":"https://api.github.com/repos/18F/github-dashing/assignees{/user}","branches_url":"https://api.github.com/repos/18F/github-dashing/branches{/branch}","tags_url":"https://api.github.com/repos/18F/github-dashing/tags","blobs_url":"https://api.github.com/repos/18F/github-dashing/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/github-dashing/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/github-dashing/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/github-dashing/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/github-dashing/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/github-dashing/languages","stargazers_url":"https://api.github.com/repos/18F/github-dashing/stargazers","contributors_url":"https://api.github.com/repos/18F/github-dashing/contributors","subscribers_url":"https://api.github.com/repos/18F/github-dashing/subscribers","subscription_url":"https://api.github.com/repos/18F/github-dashing/subscription","commits_url":"https://api.github.com/repos/18F/github-dashing/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/github-dashing/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/github-dashing/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/github-dashing/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/github-dashing/contents/{+path}","compare_url":"https://api.github.com/repos/18F/github-dashing/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/github-dashing/merges","archive_url":"https://api.github.com/repos/18F/github-dashing/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/github-dashing/downloads","issues_url":"https://api.github.com/repos/18F/github-dashing/issues{/number}","pulls_url":"https://api.github.com/repos/18F/github-dashing/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/github-dashing/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/github-dashing/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/github-dashing/labels{/name}","releases_url":"https://api.github.com/repos/18F/github-dashing/releases{/id}","created_at":"2015-05-20T17:26:57Z","updated_at":"2015-09-17T17:52:32Z","pushed_at":"2015-09-22T23:39:40Z","git_url":"git://github.com/18F/github-dashing.git","ssh_url":"git@github.com:18F/github-dashing.git","clone_url":"https://github.com/18F/github-dashing.git","svn_url":"https://github.com/18F/github-dashing","homepage":"https://project-dashboard.18f.gov/default","size":2277,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/18F/github-dashing/pulls/27"},"html":{"href":"https://github.com/18F/github-dashing/pull/27"},"issue":{"href":"https://api.github.com/repos/18F/github-dashing/issues/27"},"comments":{"href":"https://api.github.com/repos/18F/github-dashing/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/18F/github-dashing/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/18F/github-dashing/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/18F/github-dashing/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/18F/github-dashing/statuses/3c76f81087725d2e63061b4bf81475eddb2dce5d"}}}}