{"action":"created","comment":{"url":"https://api.github.com/repos/amaabca/ama_validators/pulls/comments/42683067","id":42683067,"diff_hunk":"@@ -0,0 +1,7 @@\n+class NameFormatValidator < ActiveModel::EachValidator\n+  def validate_each(object, attribute, value)\n+    unless value =~ /\\A[a-zA-ZÀàÂâÄäÈèÉéÊêËëÎîÏïÔôŒœÙùÛûÜüŸÿÇç,.'- ]+\\z/","path":"lib/ama_validators/name_format_validator.rb","position":3,"original_position":3,"commit_id":"3f06718289317e10440c35966d8654aa857f6524","original_commit_id":"3f06718289317e10440c35966d8654aa857f6524","user":{"login":"mvandenbeuken","id":1053677,"avatar_url":"https://avatars.githubusercontent.com/u/1053677?v=3","gravatar_id":"","url":"https://api.github.com/users/mvandenbeuken","html_url":"https://github.com/mvandenbeuken","followers_url":"https://api.github.com/users/mvandenbeuken/followers","following_url":"https://api.github.com/users/mvandenbeuken/following{/other_user}","gists_url":"https://api.github.com/users/mvandenbeuken/gists{/gist_id}","starred_url":"https://api.github.com/users/mvandenbeuken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvandenbeuken/subscriptions","organizations_url":"https://api.github.com/users/mvandenbeuken/orgs","repos_url":"https://api.github.com/users/mvandenbeuken/repos","events_url":"https://api.github.com/users/mvandenbeuken/events{/privacy}","received_events_url":"https://api.github.com/users/mvandenbeuken/received_events","type":"User","site_admin":false},"body":"I think space has to be ```\\s```. You might have to put it at the start of the group too. ```/\\A[\\sa-z...```","created_at":"2015-10-21T21:13:48Z","updated_at":"2015-10-21T21:13:48Z","html_url":"https://github.com/amaabca/ama_validators/pull/7#discussion_r42683067","pull_request_url":"https://api.github.com/repos/amaabca/ama_validators/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/amaabca/ama_validators/pulls/comments/42683067"},"html":{"href":"https://github.com/amaabca/ama_validators/pull/7#discussion_r42683067"},"pull_request":{"href":"https://api.github.com/repos/amaabca/ama_validators/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/amaabca/ama_validators/pulls/7","id":48249815,"html_url":"https://github.com/amaabca/ama_validators/pull/7","diff_url":"https://github.com/amaabca/ama_validators/pull/7.diff","patch_url":"https://github.com/amaabca/ama_validators/pull/7.patch","issue_url":"https://api.github.com/repos/amaabca/ama_validators/issues/7","number":7,"state":"open","locked":false,"title":"Custom first last name validator","user":{"login":"adamrmelnyk","id":6963287,"avatar_url":"https://avatars.githubusercontent.com/u/6963287?v=3","gravatar_id":"","url":"https://api.github.com/users/adamrmelnyk","html_url":"https://github.com/adamrmelnyk","followers_url":"https://api.github.com/users/adamrmelnyk/followers","following_url":"https://api.github.com/users/adamrmelnyk/following{/other_user}","gists_url":"https://api.github.com/users/adamrmelnyk/gists{/gist_id}","starred_url":"https://api.github.com/users/adamrmelnyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamrmelnyk/subscriptions","organizations_url":"https://api.github.com/users/adamrmelnyk/orgs","repos_url":"https://api.github.com/users/adamrmelnyk/repos","events_url":"https://api.github.com/users/adamrmelnyk/events{/privacy}","received_events_url":"https://api.github.com/users/adamrmelnyk/received_events","type":"User","site_admin":false},"body":"Some of our vendors do not support certain types of characters, such as the company that prints the membership cards. This addition is to ensure that people do not add special characters in their name such as ß∂ƒ©˙∆˚¬ˆ¨¥†®´®ƒ©∫˜.\r\n\r\n* Also had to bump the version of ruby since it was having issues with most of the special characters causing travis to break.\r\n\r\nhttps://ama-digital.myjetbrains.com/youtrack/issue/MEMBR-1113\r\n\r\nTODO: Will need spaces in names as well as dashes\r\nWIP: Still looking for a full list of acceptable or unacceptable characters","created_at":"2015-10-20T19:59:38Z","updated_at":"2015-10-21T21:13:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"19a747bdfa518e2f57586143e12850828a479aaf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/amaabca/ama_validators/pulls/7/commits","review_comments_url":"https://api.github.com/repos/amaabca/ama_validators/pulls/7/comments","review_comment_url":"https://api.github.com/repos/amaabca/ama_validators/pulls/comments{/number}","comments_url":"https://api.github.com/repos/amaabca/ama_validators/issues/7/comments","statuses_url":"https://api.github.com/repos/amaabca/ama_validators/statuses/3f06718289317e10440c35966d8654aa857f6524","head":{"label":"amaabca:custom-first-last-name-validator","ref":"custom-first-last-name-validator","sha":"3f06718289317e10440c35966d8654aa857f6524","user":{"login":"amaabca","id":1038934,"avatar_url":"https://avatars.githubusercontent.com/u/1038934?v=3","gravatar_id":"","url":"https://api.github.com/users/amaabca","html_url":"https://github.com/amaabca","followers_url":"https://api.github.com/users/amaabca/followers","following_url":"https://api.github.com/users/amaabca/following{/other_user}","gists_url":"https://api.github.com/users/amaabca/gists{/gist_id}","starred_url":"https://api.github.com/users/amaabca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amaabca/subscriptions","organizations_url":"https://api.github.com/users/amaabca/orgs","repos_url":"https://api.github.com/users/amaabca/repos","events_url":"https://api.github.com/users/amaabca/events{/privacy}","received_events_url":"https://api.github.com/users/amaabca/received_events","type":"Organization","site_admin":false},"repo":{"id":15979225,"name":"ama_validators","full_name":"amaabca/ama_validators","owner":{"login":"amaabca","id":1038934,"avatar_url":"https://avatars.githubusercontent.com/u/1038934?v=3","gravatar_id":"","url":"https://api.github.com/users/amaabca","html_url":"https://github.com/amaabca","followers_url":"https://api.github.com/users/amaabca/followers","following_url":"https://api.github.com/users/amaabca/following{/other_user}","gists_url":"https://api.github.com/users/amaabca/gists{/gist_id}","starred_url":"https://api.github.com/users/amaabca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amaabca/subscriptions","organizations_url":"https://api.github.com/users/amaabca/orgs","repos_url":"https://api.github.com/users/amaabca/repos","events_url":"https://api.github.com/users/amaabca/events{/privacy}","received_events_url":"https://api.github.com/users/amaabca/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/amaabca/ama_validators","description":"AMA's validators","fork":false,"url":"https://api.github.com/repos/amaabca/ama_validators","forks_url":"https://api.github.com/repos/amaabca/ama_validators/forks","keys_url":"https://api.github.com/repos/amaabca/ama_validators/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amaabca/ama_validators/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amaabca/ama_validators/teams","hooks_url":"https://api.github.com/repos/amaabca/ama_validators/hooks","issue_events_url":"https://api.github.com/repos/amaabca/ama_validators/issues/events{/number}","events_url":"https://api.github.com/repos/amaabca/ama_validators/events","assignees_url":"https://api.github.com/repos/amaabca/ama_validators/assignees{/user}","branches_url":"https://api.github.com/repos/amaabca/ama_validators/branches{/branch}","tags_url":"https://api.github.com/repos/amaabca/ama_validators/tags","blobs_url":"https://api.github.com/repos/amaabca/ama_validators/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amaabca/ama_validators/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amaabca/ama_validators/git/refs{/sha}","trees_url":"https://api.github.com/repos/amaabca/ama_validators/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amaabca/ama_validators/statuses/{sha}","languages_url":"https://api.github.com/repos/amaabca/ama_validators/languages","stargazers_url":"https://api.github.com/repos/amaabca/ama_validators/stargazers","contributors_url":"https://api.github.com/repos/amaabca/ama_validators/contributors","subscribers_url":"https://api.github.com/repos/amaabca/ama_validators/subscribers","subscription_url":"https://api.github.com/repos/amaabca/ama_validators/subscription","commits_url":"https://api.github.com/repos/amaabca/ama_validators/commits{/sha}","git_commits_url":"https://api.github.com/repos/amaabca/ama_validators/git/commits{/sha}","comments_url":"https://api.github.com/repos/amaabca/ama_validators/comments{/number}","issue_comment_url":"https://api.github.com/repos/amaabca/ama_validators/issues/comments{/number}","contents_url":"https://api.github.com/repos/amaabca/ama_validators/contents/{+path}","compare_url":"https://api.github.com/repos/amaabca/ama_validators/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amaabca/ama_validators/merges","archive_url":"https://api.github.com/repos/amaabca/ama_validators/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amaabca/ama_validators/downloads","issues_url":"https://api.github.com/repos/amaabca/ama_validators/issues{/number}","pulls_url":"https://api.github.com/repos/amaabca/ama_validators/pulls{/number}","milestones_url":"https://api.github.com/repos/amaabca/ama_validators/milestones{/number}","notifications_url":"https://api.github.com/repos/amaabca/ama_validators/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amaabca/ama_validators/labels{/name}","releases_url":"https://api.github.com/repos/amaabca/ama_validators/releases{/id}","created_at":"2014-01-16T19:54:46Z","updated_at":"2015-09-03T16:39:06Z","pushed_at":"2015-10-21T21:08:07Z","git_url":"git://github.com/amaabca/ama_validators.git","ssh_url":"git@github.com:amaabca/ama_validators.git","clone_url":"https://github.com/amaabca/ama_validators.git","svn_url":"https://github.com/amaabca/ama_validators","homepage":"","size":246,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"amaabca:master","ref":"master","sha":"4d0c275786d3e3679b1517f12972da8f4feed30e","user":{"login":"amaabca","id":1038934,"avatar_url":"https://avatars.githubusercontent.com/u/1038934?v=3","gravatar_id":"","url":"https://api.github.com/users/amaabca","html_url":"https://github.com/amaabca","followers_url":"https://api.github.com/users/amaabca/followers","following_url":"https://api.github.com/users/amaabca/following{/other_user}","gists_url":"https://api.github.com/users/amaabca/gists{/gist_id}","starred_url":"https://api.github.com/users/amaabca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amaabca/subscriptions","organizations_url":"https://api.github.com/users/amaabca/orgs","repos_url":"https://api.github.com/users/amaabca/repos","events_url":"https://api.github.com/users/amaabca/events{/privacy}","received_events_url":"https://api.github.com/users/amaabca/received_events","type":"Organization","site_admin":false},"repo":{"id":15979225,"name":"ama_validators","full_name":"amaabca/ama_validators","owner":{"login":"amaabca","id":1038934,"avatar_url":"https://avatars.githubusercontent.com/u/1038934?v=3","gravatar_id":"","url":"https://api.github.com/users/amaabca","html_url":"https://github.com/amaabca","followers_url":"https://api.github.com/users/amaabca/followers","following_url":"https://api.github.com/users/amaabca/following{/other_user}","gists_url":"https://api.github.com/users/amaabca/gists{/gist_id}","starred_url":"https://api.github.com/users/amaabca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amaabca/subscriptions","organizations_url":"https://api.github.com/users/amaabca/orgs","repos_url":"https://api.github.com/users/amaabca/repos","events_url":"https://api.github.com/users/amaabca/events{/privacy}","received_events_url":"https://api.github.com/users/amaabca/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/amaabca/ama_validators","description":"AMA's validators","fork":false,"url":"https://api.github.com/repos/amaabca/ama_validators","forks_url":"https://api.github.com/repos/amaabca/ama_validators/forks","keys_url":"https://api.github.com/repos/amaabca/ama_validators/keys{/key_id}","collaborators_url":"https://api.github.com/repos/amaabca/ama_validators/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/amaabca/ama_validators/teams","hooks_url":"https://api.github.com/repos/amaabca/ama_validators/hooks","issue_events_url":"https://api.github.com/repos/amaabca/ama_validators/issues/events{/number}","events_url":"https://api.github.com/repos/amaabca/ama_validators/events","assignees_url":"https://api.github.com/repos/amaabca/ama_validators/assignees{/user}","branches_url":"https://api.github.com/repos/amaabca/ama_validators/branches{/branch}","tags_url":"https://api.github.com/repos/amaabca/ama_validators/tags","blobs_url":"https://api.github.com/repos/amaabca/ama_validators/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/amaabca/ama_validators/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/amaabca/ama_validators/git/refs{/sha}","trees_url":"https://api.github.com/repos/amaabca/ama_validators/git/trees{/sha}","statuses_url":"https://api.github.com/repos/amaabca/ama_validators/statuses/{sha}","languages_url":"https://api.github.com/repos/amaabca/ama_validators/languages","stargazers_url":"https://api.github.com/repos/amaabca/ama_validators/stargazers","contributors_url":"https://api.github.com/repos/amaabca/ama_validators/contributors","subscribers_url":"https://api.github.com/repos/amaabca/ama_validators/subscribers","subscription_url":"https://api.github.com/repos/amaabca/ama_validators/subscription","commits_url":"https://api.github.com/repos/amaabca/ama_validators/commits{/sha}","git_commits_url":"https://api.github.com/repos/amaabca/ama_validators/git/commits{/sha}","comments_url":"https://api.github.com/repos/amaabca/ama_validators/comments{/number}","issue_comment_url":"https://api.github.com/repos/amaabca/ama_validators/issues/comments{/number}","contents_url":"https://api.github.com/repos/amaabca/ama_validators/contents/{+path}","compare_url":"https://api.github.com/repos/amaabca/ama_validators/compare/{base}...{head}","merges_url":"https://api.github.com/repos/amaabca/ama_validators/merges","archive_url":"https://api.github.com/repos/amaabca/ama_validators/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/amaabca/ama_validators/downloads","issues_url":"https://api.github.com/repos/amaabca/ama_validators/issues{/number}","pulls_url":"https://api.github.com/repos/amaabca/ama_validators/pulls{/number}","milestones_url":"https://api.github.com/repos/amaabca/ama_validators/milestones{/number}","notifications_url":"https://api.github.com/repos/amaabca/ama_validators/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/amaabca/ama_validators/labels{/name}","releases_url":"https://api.github.com/repos/amaabca/ama_validators/releases{/id}","created_at":"2014-01-16T19:54:46Z","updated_at":"2015-09-03T16:39:06Z","pushed_at":"2015-10-21T21:08:07Z","git_url":"git://github.com/amaabca/ama_validators.git","ssh_url":"git@github.com:amaabca/ama_validators.git","clone_url":"https://github.com/amaabca/ama_validators.git","svn_url":"https://github.com/amaabca/ama_validators","homepage":"","size":246,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/amaabca/ama_validators/pulls/7"},"html":{"href":"https://github.com/amaabca/ama_validators/pull/7"},"issue":{"href":"https://api.github.com/repos/amaabca/ama_validators/issues/7"},"comments":{"href":"https://api.github.com/repos/amaabca/ama_validators/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/amaabca/ama_validators/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/amaabca/ama_validators/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/amaabca/ama_validators/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/amaabca/ama_validators/statuses/3f06718289317e10440c35966d8654aa857f6524"}}}}