{"action":"created","comment":{"url":"https://api.github.com/repos/ulmic/ulmicru/pulls/comments/39451822","id":39451822,"diff_hunk":"@@ -15,5 +15,9 @@\n     password_confirmation { password }\n     municipality 'г. Ульяновск'\n     locality 'г. Ульяновск'\n+    state { Member.state_machines[:state].states.map(&:name).first.to_s }\n+    member_state { Member.state_machines[:member_state].states.map(&:name).first.to_s }\n+    role 'user'","path":"test/factories/members.rb","position":6,"original_position":6,"commit_id":"51f33f5168a0784fbb8666eb606bc6de309d7a25","original_commit_id":"51f33f5168a0784fbb8666eb606bc6de309d7a25","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-09-14T21:48:18Z","updated_at":"2015-09-14T21:48:18Z","html_url":"https://github.com/ulmic/ulmicru/pull/10#discussion_r39451822","pull_request_url":"https://api.github.com/repos/ulmic/ulmicru/pulls/10","_links":{"self":{"href":"https://api.github.com/repos/ulmic/ulmicru/pulls/comments/39451822"},"html":{"href":"https://github.com/ulmic/ulmicru/pull/10#discussion_r39451822"},"pull_request":{"href":"https://api.github.com/repos/ulmic/ulmicru/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/ulmic/ulmicru/pulls/10","id":44985318,"html_url":"https://github.com/ulmic/ulmicru/pull/10","diff_url":"https://github.com/ulmic/ulmicru/pull/10.diff","patch_url":"https://github.com/ulmic/ulmicru/pull/10.patch","issue_url":"https://api.github.com/repos/ulmic/ulmicru/issues/10","number":10,"state":"open","locked":false,"title":"Feature/316 letters","user":{"login":"kalashnikovisme","id":2001025,"avatar_url":"https://avatars.githubusercontent.com/u/2001025?v=3","gravatar_id":"","url":"https://api.github.com/users/kalashnikovisme","html_url":"https://github.com/kalashnikovisme","followers_url":"https://api.github.com/users/kalashnikovisme/followers","following_url":"https://api.github.com/users/kalashnikovisme/following{/other_user}","gists_url":"https://api.github.com/users/kalashnikovisme/gists{/gist_id}","starred_url":"https://api.github.com/users/kalashnikovisme/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kalashnikovisme/subscriptions","organizations_url":"https://api.github.com/users/kalashnikovisme/orgs","repos_url":"https://api.github.com/users/kalashnikovisme/repos","events_url":"https://api.github.com/users/kalashnikovisme/events{/privacy}","received_events_url":"https://api.github.com/users/kalashnikovisme/received_events","type":"User","site_admin":false},"body":"Система журналирования исходящих писем.\r\nВсе аттрибуты письма - это часть бизнес-логики.","created_at":"2015-09-14T21:48:08Z","updated_at":"2015-09-14T21:48:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dafeebc15ffbf2fc78f47b3786c6d1148e17a89e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ulmic/ulmicru/pulls/10/commits","review_comments_url":"https://api.github.com/repos/ulmic/ulmicru/pulls/10/comments","review_comment_url":"https://api.github.com/repos/ulmic/ulmicru/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ulmic/ulmicru/issues/10/comments","statuses_url":"https://api.github.com/repos/ulmic/ulmicru/statuses/51f33f5168a0784fbb8666eb606bc6de309d7a25","head":{"label":"ulmic:feature/316_letters","ref":"feature/316_letters","sha":"51f33f5168a0784fbb8666eb606bc6de309d7a25","user":{"login":"ulmic","id":2800061,"avatar_url":"https://avatars.githubusercontent.com/u/2800061?v=3","gravatar_id":"","url":"https://api.github.com/users/ulmic","html_url":"https://github.com/ulmic","followers_url":"https://api.github.com/users/ulmic/followers","following_url":"https://api.github.com/users/ulmic/following{/other_user}","gists_url":"https://api.github.com/users/ulmic/gists{/gist_id}","starred_url":"https://api.github.com/users/ulmic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ulmic/subscriptions","organizations_url":"https://api.github.com/users/ulmic/orgs","repos_url":"https://api.github.com/users/ulmic/repos","events_url":"https://api.github.com/users/ulmic/events{/privacy}","received_events_url":"https://api.github.com/users/ulmic/received_events","type":"Organization","site_admin":false},"repo":{"id":30501286,"name":"ulmicru","full_name":"ulmic/ulmicru","owner":{"login":"ulmic","id":2800061,"avatar_url":"https://avatars.githubusercontent.com/u/2800061?v=3","gravatar_id":"","url":"https://api.github.com/users/ulmic","html_url":"https://github.com/ulmic","followers_url":"https://api.github.com/users/ulmic/followers","following_url":"https://api.github.com/users/ulmic/following{/other_user}","gists_url":"https://api.github.com/users/ulmic/gists{/gist_id}","starred_url":"https://api.github.com/users/ulmic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ulmic/subscriptions","organizations_url":"https://api.github.com/users/ulmic/orgs","repos_url":"https://api.github.com/users/ulmic/repos","events_url":"https://api.github.com/users/ulmic/events{/privacy}","received_events_url":"https://api.github.com/users/ulmic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ulmic/ulmicru","description":"Сайт Молодёжного инициативного центра","fork":false,"url":"https://api.github.com/repos/ulmic/ulmicru","forks_url":"https://api.github.com/repos/ulmic/ulmicru/forks","keys_url":"https://api.github.com/repos/ulmic/ulmicru/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ulmic/ulmicru/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ulmic/ulmicru/teams","hooks_url":"https://api.github.com/repos/ulmic/ulmicru/hooks","issue_events_url":"https://api.github.com/repos/ulmic/ulmicru/issues/events{/number}","events_url":"https://api.github.com/repos/ulmic/ulmicru/events","assignees_url":"https://api.github.com/repos/ulmic/ulmicru/assignees{/user}","branches_url":"https://api.github.com/repos/ulmic/ulmicru/branches{/branch}","tags_url":"https://api.github.com/repos/ulmic/ulmicru/tags","blobs_url":"https://api.github.com/repos/ulmic/ulmicru/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ulmic/ulmicru/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ulmic/ulmicru/git/refs{/sha}","trees_url":"https://api.github.com/repos/ulmic/ulmicru/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ulmic/ulmicru/statuses/{sha}","languages_url":"https://api.github.com/repos/ulmic/ulmicru/languages","stargazers_url":"https://api.github.com/repos/ulmic/ulmicru/stargazers","contributors_url":"https://api.github.com/repos/ulmic/ulmicru/contributors","subscribers_url":"https://api.github.com/repos/ulmic/ulmicru/subscribers","subscription_url":"https://api.github.com/repos/ulmic/ulmicru/subscription","commits_url":"https://api.github.com/repos/ulmic/ulmicru/commits{/sha}","git_commits_url":"https://api.github.com/repos/ulmic/ulmicru/git/commits{/sha}","comments_url":"https://api.github.com/repos/ulmic/ulmicru/comments{/number}","issue_comment_url":"https://api.github.com/repos/ulmic/ulmicru/issues/comments{/number}","contents_url":"https://api.github.com/repos/ulmic/ulmicru/contents/{+path}","compare_url":"https://api.github.com/repos/ulmic/ulmicru/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ulmic/ulmicru/merges","archive_url":"https://api.github.com/repos/ulmic/ulmicru/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ulmic/ulmicru/downloads","issues_url":"https://api.github.com/repos/ulmic/ulmicru/issues{/number}","pulls_url":"https://api.github.com/repos/ulmic/ulmicru/pulls{/number}","milestones_url":"https://api.github.com/repos/ulmic/ulmicru/milestones{/number}","notifications_url":"https://api.github.com/repos/ulmic/ulmicru/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ulmic/ulmicru/labels{/name}","releases_url":"https://api.github.com/repos/ulmic/ulmicru/releases{/id}","created_at":"2015-02-08T18:44:31Z","updated_at":"2015-07-15T15:02:47Z","pushed_at":"2015-09-14T21:48:08Z","git_url":"git://github.com/ulmic/ulmicru.git","ssh_url":"git@github.com:ulmic/ulmicru.git","clone_url":"https://github.com/ulmic/ulmicru.git","svn_url":"https://github.com/ulmic/ulmicru","homepage":"http://ulmic.ru","size":15533,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":2,"default_branch":"develop"}},"base":{"label":"ulmic:develop","ref":"develop","sha":"db988c2219262256370ad7b5a1743dd3253878ea","user":{"login":"ulmic","id":2800061,"avatar_url":"https://avatars.githubusercontent.com/u/2800061?v=3","gravatar_id":"","url":"https://api.github.com/users/ulmic","html_url":"https://github.com/ulmic","followers_url":"https://api.github.com/users/ulmic/followers","following_url":"https://api.github.com/users/ulmic/following{/other_user}","gists_url":"https://api.github.com/users/ulmic/gists{/gist_id}","starred_url":"https://api.github.com/users/ulmic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ulmic/subscriptions","organizations_url":"https://api.github.com/users/ulmic/orgs","repos_url":"https://api.github.com/users/ulmic/repos","events_url":"https://api.github.com/users/ulmic/events{/privacy}","received_events_url":"https://api.github.com/users/ulmic/received_events","type":"Organization","site_admin":false},"repo":{"id":30501286,"name":"ulmicru","full_name":"ulmic/ulmicru","owner":{"login":"ulmic","id":2800061,"avatar_url":"https://avatars.githubusercontent.com/u/2800061?v=3","gravatar_id":"","url":"https://api.github.com/users/ulmic","html_url":"https://github.com/ulmic","followers_url":"https://api.github.com/users/ulmic/followers","following_url":"https://api.github.com/users/ulmic/following{/other_user}","gists_url":"https://api.github.com/users/ulmic/gists{/gist_id}","starred_url":"https://api.github.com/users/ulmic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ulmic/subscriptions","organizations_url":"https://api.github.com/users/ulmic/orgs","repos_url":"https://api.github.com/users/ulmic/repos","events_url":"https://api.github.com/users/ulmic/events{/privacy}","received_events_url":"https://api.github.com/users/ulmic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ulmic/ulmicru","description":"Сайт Молодёжного инициативного центра","fork":false,"url":"https://api.github.com/repos/ulmic/ulmicru","forks_url":"https://api.github.com/repos/ulmic/ulmicru/forks","keys_url":"https://api.github.com/repos/ulmic/ulmicru/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ulmic/ulmicru/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ulmic/ulmicru/teams","hooks_url":"https://api.github.com/repos/ulmic/ulmicru/hooks","issue_events_url":"https://api.github.com/repos/ulmic/ulmicru/issues/events{/number}","events_url":"https://api.github.com/repos/ulmic/ulmicru/events","assignees_url":"https://api.github.com/repos/ulmic/ulmicru/assignees{/user}","branches_url":"https://api.github.com/repos/ulmic/ulmicru/branches{/branch}","tags_url":"https://api.github.com/repos/ulmic/ulmicru/tags","blobs_url":"https://api.github.com/repos/ulmic/ulmicru/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ulmic/ulmicru/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ulmic/ulmicru/git/refs{/sha}","trees_url":"https://api.github.com/repos/ulmic/ulmicru/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ulmic/ulmicru/statuses/{sha}","languages_url":"https://api.github.com/repos/ulmic/ulmicru/languages","stargazers_url":"https://api.github.com/repos/ulmic/ulmicru/stargazers","contributors_url":"https://api.github.com/repos/ulmic/ulmicru/contributors","subscribers_url":"https://api.github.com/repos/ulmic/ulmicru/subscribers","subscription_url":"https://api.github.com/repos/ulmic/ulmicru/subscription","commits_url":"https://api.github.com/repos/ulmic/ulmicru/commits{/sha}","git_commits_url":"https://api.github.com/repos/ulmic/ulmicru/git/commits{/sha}","comments_url":"https://api.github.com/repos/ulmic/ulmicru/comments{/number}","issue_comment_url":"https://api.github.com/repos/ulmic/ulmicru/issues/comments{/number}","contents_url":"https://api.github.com/repos/ulmic/ulmicru/contents/{+path}","compare_url":"https://api.github.com/repos/ulmic/ulmicru/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ulmic/ulmicru/merges","archive_url":"https://api.github.com/repos/ulmic/ulmicru/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ulmic/ulmicru/downloads","issues_url":"https://api.github.com/repos/ulmic/ulmicru/issues{/number}","pulls_url":"https://api.github.com/repos/ulmic/ulmicru/pulls{/number}","milestones_url":"https://api.github.com/repos/ulmic/ulmicru/milestones{/number}","notifications_url":"https://api.github.com/repos/ulmic/ulmicru/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ulmic/ulmicru/labels{/name}","releases_url":"https://api.github.com/repos/ulmic/ulmicru/releases{/id}","created_at":"2015-02-08T18:44:31Z","updated_at":"2015-07-15T15:02:47Z","pushed_at":"2015-09-14T21:48:08Z","git_url":"git://github.com/ulmic/ulmicru.git","ssh_url":"git@github.com:ulmic/ulmicru.git","clone_url":"https://github.com/ulmic/ulmicru.git","svn_url":"https://github.com/ulmic/ulmicru","homepage":"http://ulmic.ru","size":15533,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/ulmic/ulmicru/pulls/10"},"html":{"href":"https://github.com/ulmic/ulmicru/pull/10"},"issue":{"href":"https://api.github.com/repos/ulmic/ulmicru/issues/10"},"comments":{"href":"https://api.github.com/repos/ulmic/ulmicru/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/ulmic/ulmicru/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/ulmic/ulmicru/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ulmic/ulmicru/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/ulmic/ulmicru/statuses/51f33f5168a0784fbb8666eb606bc6de309d7a25"}}}}