{"action":"created","comment":{"url":"https://api.github.com/repos/thoughtbot/griddler/pulls/comments/30440714","id":30440714,"diff_hunk":"@@ -289,6 +289,19 @@\n     expect(body_from_email(text: body)).to eq 'Hello.'\n   end\n \n+  it 'should trim signature with non-breaking space after hyphens' do\n+    body = <<-EOF\n+      Hello.\n+\n+      --\\xC2\\xA0\n+      Mr. Smith\n+      CEO, company\n+      t: 6174821300\n+    EOF\n+\n+    expect(body_from_email(text: body)).to eq 'Hello.'","path":"spec/griddler/email_spec.rb","position":14,"original_position":14,"commit_id":"575faf850903e71f8c71d8d4f3b68dcfefc9762c","original_commit_id":"575faf850903e71f8c71d8d4f3b68dcfefc9762c","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.","created_at":"2015-05-15T19:56:16Z","updated_at":"2015-05-15T19:56:16Z","html_url":"https://github.com/thoughtbot/griddler/pull/208#discussion_r30440714","pull_request_url":"https://api.github.com/repos/thoughtbot/griddler/pulls/208","_links":{"self":{"href":"https://api.github.com/repos/thoughtbot/griddler/pulls/comments/30440714"},"html":{"href":"https://github.com/thoughtbot/griddler/pull/208#discussion_r30440714"},"pull_request":{"href":"https://api.github.com/repos/thoughtbot/griddler/pulls/208"}}},"pull_request":{"url":"https://api.github.com/repos/thoughtbot/griddler/pulls/208","id":35545361,"html_url":"https://github.com/thoughtbot/griddler/pull/208","diff_url":"https://github.com/thoughtbot/griddler/pull/208.diff","patch_url":"https://github.com/thoughtbot/griddler/pull/208.patch","issue_url":"https://api.github.com/repos/thoughtbot/griddler/issues/208","number":208,"state":"open","locked":false,"title":"Use Ruby unicode compatible regexes for UTF8 strings","user":{"login":"wireframe","id":12001,"avatar_url":"https://avatars.githubusercontent.com/u/12001?v=3","gravatar_id":"","url":"https://api.github.com/users/wireframe","html_url":"https://github.com/wireframe","followers_url":"https://api.github.com/users/wireframe/followers","following_url":"https://api.github.com/users/wireframe/following{/other_user}","gists_url":"https://api.github.com/users/wireframe/gists{/gist_id}","starred_url":"https://api.github.com/users/wireframe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wireframe/subscriptions","organizations_url":"https://api.github.com/users/wireframe/orgs","repos_url":"https://api.github.com/users/wireframe/repos","events_url":"https://api.github.com/users/wireframe/events{/privacy}","received_events_url":"https://api.github.com/users/wireframe/received_events","type":"User","site_admin":false},"body":"Fixes #207\r\n\r\nThe Ruby \\s metacharacter only detects ASCII whitespace characters,\r\nand emails encoded in UTF8 may contain \\xC2\\xA0 non-breaking spaces\r\n(aka &nbsp;) which requires the [[:space:]] bracket expression instead.","created_at":"2015-05-15T19:56:08Z","updated_at":"2015-05-15T19:56:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cde36e92b3338a59723312f0789d1610465d6419","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/thoughtbot/griddler/pulls/208/commits","review_comments_url":"https://api.github.com/repos/thoughtbot/griddler/pulls/208/comments","review_comment_url":"https://api.github.com/repos/thoughtbot/griddler/pulls/comments{/number}","comments_url":"https://api.github.com/repos/thoughtbot/griddler/issues/208/comments","statuses_url":"https://api.github.com/repos/thoughtbot/griddler/statuses/575faf850903e71f8c71d8d4f3b68dcfefc9762c","head":{"label":"wireframe:detect-utf8-whitespace","ref":"detect-utf8-whitespace","sha":"575faf850903e71f8c71d8d4f3b68dcfefc9762c","user":{"login":"wireframe","id":12001,"avatar_url":"https://avatars.githubusercontent.com/u/12001?v=3","gravatar_id":"","url":"https://api.github.com/users/wireframe","html_url":"https://github.com/wireframe","followers_url":"https://api.github.com/users/wireframe/followers","following_url":"https://api.github.com/users/wireframe/following{/other_user}","gists_url":"https://api.github.com/users/wireframe/gists{/gist_id}","starred_url":"https://api.github.com/users/wireframe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wireframe/subscriptions","organizations_url":"https://api.github.com/users/wireframe/orgs","repos_url":"https://api.github.com/users/wireframe/repos","events_url":"https://api.github.com/users/wireframe/events{/privacy}","received_events_url":"https://api.github.com/users/wireframe/received_events","type":"User","site_admin":false},"repo":{"id":35693673,"name":"griddler","full_name":"wireframe/griddler","owner":{"login":"wireframe","id":12001,"avatar_url":"https://avatars.githubusercontent.com/u/12001?v=3","gravatar_id":"","url":"https://api.github.com/users/wireframe","html_url":"https://github.com/wireframe","followers_url":"https://api.github.com/users/wireframe/followers","following_url":"https://api.github.com/users/wireframe/following{/other_user}","gists_url":"https://api.github.com/users/wireframe/gists{/gist_id}","starred_url":"https://api.github.com/users/wireframe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wireframe/subscriptions","organizations_url":"https://api.github.com/users/wireframe/orgs","repos_url":"https://api.github.com/users/wireframe/repos","events_url":"https://api.github.com/users/wireframe/events{/privacy}","received_events_url":"https://api.github.com/users/wireframe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wireframe/griddler","description":"Simplify receiving email in Rails","fork":true,"url":"https://api.github.com/repos/wireframe/griddler","forks_url":"https://api.github.com/repos/wireframe/griddler/forks","keys_url":"https://api.github.com/repos/wireframe/griddler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wireframe/griddler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wireframe/griddler/teams","hooks_url":"https://api.github.com/repos/wireframe/griddler/hooks","issue_events_url":"https://api.github.com/repos/wireframe/griddler/issues/events{/number}","events_url":"https://api.github.com/repos/wireframe/griddler/events","assignees_url":"https://api.github.com/repos/wireframe/griddler/assignees{/user}","branches_url":"https://api.github.com/repos/wireframe/griddler/branches{/branch}","tags_url":"https://api.github.com/repos/wireframe/griddler/tags","blobs_url":"https://api.github.com/repos/wireframe/griddler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wireframe/griddler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wireframe/griddler/git/refs{/sha}","trees_url":"https://api.github.com/repos/wireframe/griddler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wireframe/griddler/statuses/{sha}","languages_url":"https://api.github.com/repos/wireframe/griddler/languages","stargazers_url":"https://api.github.com/repos/wireframe/griddler/stargazers","contributors_url":"https://api.github.com/repos/wireframe/griddler/contributors","subscribers_url":"https://api.github.com/repos/wireframe/griddler/subscribers","subscription_url":"https://api.github.com/repos/wireframe/griddler/subscription","commits_url":"https://api.github.com/repos/wireframe/griddler/commits{/sha}","git_commits_url":"https://api.github.com/repos/wireframe/griddler/git/commits{/sha}","comments_url":"https://api.github.com/repos/wireframe/griddler/comments{/number}","issue_comment_url":"https://api.github.com/repos/wireframe/griddler/issues/comments{/number}","contents_url":"https://api.github.com/repos/wireframe/griddler/contents/{+path}","compare_url":"https://api.github.com/repos/wireframe/griddler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wireframe/griddler/merges","archive_url":"https://api.github.com/repos/wireframe/griddler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wireframe/griddler/downloads","issues_url":"https://api.github.com/repos/wireframe/griddler/issues{/number}","pulls_url":"https://api.github.com/repos/wireframe/griddler/pulls{/number}","milestones_url":"https://api.github.com/repos/wireframe/griddler/milestones{/number}","notifications_url":"https://api.github.com/repos/wireframe/griddler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wireframe/griddler/labels{/name}","releases_url":"https://api.github.com/repos/wireframe/griddler/releases{/id}","created_at":"2015-05-15T19:55:20Z","updated_at":"2015-05-15T19:55:21Z","pushed_at":"2015-05-15T19:55:53Z","git_url":"git://github.com/wireframe/griddler.git","ssh_url":"git@github.com:wireframe/griddler.git","clone_url":"https://github.com/wireframe/griddler.git","svn_url":"https://github.com/wireframe/griddler","homepage":"http://griddler.io/","size":1962,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"thoughtbot:master","ref":"master","sha":"d95f41e8c2ed5636a7fdde8c1ce7c98d9d59e9a4","user":{"login":"thoughtbot","id":6183,"avatar_url":"https://avatars.githubusercontent.com/u/6183?v=3","gravatar_id":"","url":"https://api.github.com/users/thoughtbot","html_url":"https://github.com/thoughtbot","followers_url":"https://api.github.com/users/thoughtbot/followers","following_url":"https://api.github.com/users/thoughtbot/following{/other_user}","gists_url":"https://api.github.com/users/thoughtbot/gists{/gist_id}","starred_url":"https://api.github.com/users/thoughtbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoughtbot/subscriptions","organizations_url":"https://api.github.com/users/thoughtbot/orgs","repos_url":"https://api.github.com/users/thoughtbot/repos","events_url":"https://api.github.com/users/thoughtbot/events{/privacy}","received_events_url":"https://api.github.com/users/thoughtbot/received_events","type":"Organization","site_admin":false},"repo":{"id":6405017,"name":"griddler","full_name":"thoughtbot/griddler","owner":{"login":"thoughtbot","id":6183,"avatar_url":"https://avatars.githubusercontent.com/u/6183?v=3","gravatar_id":"","url":"https://api.github.com/users/thoughtbot","html_url":"https://github.com/thoughtbot","followers_url":"https://api.github.com/users/thoughtbot/followers","following_url":"https://api.github.com/users/thoughtbot/following{/other_user}","gists_url":"https://api.github.com/users/thoughtbot/gists{/gist_id}","starred_url":"https://api.github.com/users/thoughtbot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thoughtbot/subscriptions","organizations_url":"https://api.github.com/users/thoughtbot/orgs","repos_url":"https://api.github.com/users/thoughtbot/repos","events_url":"https://api.github.com/users/thoughtbot/events{/privacy}","received_events_url":"https://api.github.com/users/thoughtbot/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/thoughtbot/griddler","description":"Simplify receiving email in Rails","fork":false,"url":"https://api.github.com/repos/thoughtbot/griddler","forks_url":"https://api.github.com/repos/thoughtbot/griddler/forks","keys_url":"https://api.github.com/repos/thoughtbot/griddler/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thoughtbot/griddler/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thoughtbot/griddler/teams","hooks_url":"https://api.github.com/repos/thoughtbot/griddler/hooks","issue_events_url":"https://api.github.com/repos/thoughtbot/griddler/issues/events{/number}","events_url":"https://api.github.com/repos/thoughtbot/griddler/events","assignees_url":"https://api.github.com/repos/thoughtbot/griddler/assignees{/user}","branches_url":"https://api.github.com/repos/thoughtbot/griddler/branches{/branch}","tags_url":"https://api.github.com/repos/thoughtbot/griddler/tags","blobs_url":"https://api.github.com/repos/thoughtbot/griddler/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thoughtbot/griddler/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thoughtbot/griddler/git/refs{/sha}","trees_url":"https://api.github.com/repos/thoughtbot/griddler/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thoughtbot/griddler/statuses/{sha}","languages_url":"https://api.github.com/repos/thoughtbot/griddler/languages","stargazers_url":"https://api.github.com/repos/thoughtbot/griddler/stargazers","contributors_url":"https://api.github.com/repos/thoughtbot/griddler/contributors","subscribers_url":"https://api.github.com/repos/thoughtbot/griddler/subscribers","subscription_url":"https://api.github.com/repos/thoughtbot/griddler/subscription","commits_url":"https://api.github.com/repos/thoughtbot/griddler/commits{/sha}","git_commits_url":"https://api.github.com/repos/thoughtbot/griddler/git/commits{/sha}","comments_url":"https://api.github.com/repos/thoughtbot/griddler/comments{/number}","issue_comment_url":"https://api.github.com/repos/thoughtbot/griddler/issues/comments{/number}","contents_url":"https://api.github.com/repos/thoughtbot/griddler/contents/{+path}","compare_url":"https://api.github.com/repos/thoughtbot/griddler/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thoughtbot/griddler/merges","archive_url":"https://api.github.com/repos/thoughtbot/griddler/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thoughtbot/griddler/downloads","issues_url":"https://api.github.com/repos/thoughtbot/griddler/issues{/number}","pulls_url":"https://api.github.com/repos/thoughtbot/griddler/pulls{/number}","milestones_url":"https://api.github.com/repos/thoughtbot/griddler/milestones{/number}","notifications_url":"https://api.github.com/repos/thoughtbot/griddler/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thoughtbot/griddler/labels{/name}","releases_url":"https://api.github.com/repos/thoughtbot/griddler/releases{/id}","created_at":"2012-10-26T14:27:49Z","updated_at":"2015-05-14T19:17:32Z","pushed_at":"2015-05-15T19:56:09Z","git_url":"git://github.com/thoughtbot/griddler.git","ssh_url":"git@github.com:thoughtbot/griddler.git","clone_url":"https://github.com/thoughtbot/griddler.git","svn_url":"https://github.com/thoughtbot/griddler","homepage":"http://griddler.io/","size":1962,"stargazers_count":787,"watchers_count":787,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":105,"mirror_url":null,"open_issues_count":10,"forks":105,"open_issues":10,"watchers":787,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/thoughtbot/griddler/pulls/208"},"html":{"href":"https://github.com/thoughtbot/griddler/pull/208"},"issue":{"href":"https://api.github.com/repos/thoughtbot/griddler/issues/208"},"comments":{"href":"https://api.github.com/repos/thoughtbot/griddler/issues/208/comments"},"review_comments":{"href":"https://api.github.com/repos/thoughtbot/griddler/pulls/208/comments"},"review_comment":{"href":"https://api.github.com/repos/thoughtbot/griddler/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/thoughtbot/griddler/pulls/208/commits"},"statuses":{"href":"https://api.github.com/repos/thoughtbot/griddler/statuses/575faf850903e71f8c71d8d4f3b68dcfefc9762c"}}}}