{"action":"created","issue":{"url":"https://api.github.com/repos/asciidoctor/asciidoctor.org/issues/214","repository_url":"https://api.github.com/repos/asciidoctor/asciidoctor.org","labels_url":"https://api.github.com/repos/asciidoctor/asciidoctor.org/issues/214/labels{/name}","comments_url":"https://api.github.com/repos/asciidoctor/asciidoctor.org/issues/214/comments","events_url":"https://api.github.com/repos/asciidoctor/asciidoctor.org/issues/214/events","html_url":"https://github.com/asciidoctor/asciidoctor.org/pull/214","id":32268201,"number":214,"title":"Remove trailing whitespace from docs.","user":{"login":"bk2204","id":497054,"avatar_url":"https://avatars.githubusercontent.com/u/497054?v=3","gravatar_id":"","url":"https://api.github.com/users/bk2204","html_url":"https://github.com/bk2204","followers_url":"https://api.github.com/users/bk2204/followers","following_url":"https://api.github.com/users/bk2204/following{/other_user}","gists_url":"https://api.github.com/users/bk2204/gists{/gist_id}","starred_url":"https://api.github.com/users/bk2204/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bk2204/subscriptions","organizations_url":"https://api.github.com/users/bk2204/orgs","repos_url":"https://api.github.com/users/bk2204/repos","events_url":"https://api.github.com/users/bk2204/events{/privacy}","received_events_url":"https://api.github.com/users/bk2204/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2014-04-25T21:28:03Z","updated_at":"2016-12-19T02:15:49Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/asciidoctor/asciidoctor.org/pulls/214","html_url":"https://github.com/asciidoctor/asciidoctor.org/pull/214","diff_url":"https://github.com/asciidoctor/asciidoctor.org/pull/214.diff","patch_url":"https://github.com/asciidoctor/asciidoctor.org/pull/214.patch"},"body":"Trailing whitespace is widely considered a bad idea, so this commit removes it from all the AsciiDoc files in the docs directory.\n\nThis change only affects the docs directory to keep the amount of changes something I could reasonably review. The only difference when processing the docs before and after this change is the last updated timestamp, so this change has no functional impact.\n\nThe command I used to perform this was:\n\n``` sh\ncd docs; for i in $(git grep -lP '\\s+$'); do [[ -z ${i%%*.pdf} ]] && continue;  ruby -pi -e '$_.gsub!(/\\s+$/, \"\\n\")' $i; done\n```\n"},"comment":{"url":"https://api.github.com/repos/asciidoctor/asciidoctor.org/issues/comments/267867230","html_url":"https://github.com/asciidoctor/asciidoctor.org/pull/214#issuecomment-267867230","issue_url":"https://api.github.com/repos/asciidoctor/asciidoctor.org/issues/214","id":267867230,"user":{"login":"bk2204","id":497054,"avatar_url":"https://avatars.githubusercontent.com/u/497054?v=3","gravatar_id":"","url":"https://api.github.com/users/bk2204","html_url":"https://github.com/bk2204","followers_url":"https://api.github.com/users/bk2204/followers","following_url":"https://api.github.com/users/bk2204/following{/other_user}","gists_url":"https://api.github.com/users/bk2204/gists{/gist_id}","starred_url":"https://api.github.com/users/bk2204/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bk2204/subscriptions","organizations_url":"https://api.github.com/users/bk2204/orgs","repos_url":"https://api.github.com/users/bk2204/repos","events_url":"https://api.github.com/users/bk2204/events{/privacy}","received_events_url":"https://api.github.com/users/bk2204/received_events","type":"User","site_admin":false},"created_at":"2016-12-19T02:15:49Z","updated_at":"2016-12-19T02:15:49Z","body":"I've adjusted the commit to remove all the existing trailing whitespace in *.adoc files.  Additionally, I've made the travis target raise an exception on trailing whitespace and added a .editorconfig covering *.adoc.\r\n\r\nI wasn't sure if we wanted to cover some settings more globally.  For example, we probably want to require UTF-8 for all files, as well as using LF for line endings.  Let me know what changes you want, and I'll resubmit."}}
{"actor":{"display_login":"bk2204"}}