{"action":"closed","number":19,"pull_request":{"url":"https://api.github.com/repos/splendido/meteor-accounts-meld/pulls/19","id":37316479,"html_url":"https://github.com/splendido/meteor-accounts-meld/pull/19","diff_url":"https://github.com/splendido/meteor-accounts-meld/pull/19.diff","patch_url":"https://github.com/splendido/meteor-accounts-meld/pull/19.patch","issue_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/issues/19","number":19,"state":"closed","locked":false,"title":"Support access to service email in array","user":{"login":"haydnhkim","id":1896605,"avatar_url":"https://avatars.githubusercontent.com/u/1896605?v=3","gravatar_id":"","url":"https://api.github.com/users/haydnhkim","html_url":"https://github.com/haydnhkim","followers_url":"https://api.github.com/users/haydnhkim/followers","following_url":"https://api.github.com/users/haydnhkim/following{/other_user}","gists_url":"https://api.github.com/users/haydnhkim/gists{/gist_id}","starred_url":"https://api.github.com/users/haydnhkim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haydnhkim/subscriptions","organizations_url":"https://api.github.com/users/haydnhkim/orgs","repos_url":"https://api.github.com/users/haydnhkim/repos","events_url":"https://api.github.com/users/haydnhkim/events{/privacy}","received_events_url":"https://api.github.com/users/haydnhkim/received_events","type":"User","site_admin":false},"body":"AccountsEmailsField.getEmailsFromService function is always returning an array after splendido:accounts-emails-field ver.1.0.3.\r\nhttps://github.com/splendido/meteor-accounts-emails-field/commit/5ce51ad#diff-5a3494476ead98b2f4da442223634a5dR53\r\nTherefore `serviceEmail` variable is unconditionally an array.\r\n`serviceEmail.verified` always returns ‘undefined’. I changed it to ‘forEach’.\r\n\r\nModify test case:\r\n`insertUsers(usersToMeld)` runs first with `start3rdPartyLogin` running after. Original source users are `usersToMeld`.\r\nHowever, checking `loggedInAs` to `userToLogInWith3rdParty` and `assertUsersMissing` to `usersToMeld` in `test3rdPartyLoginWithUsersWithMeld` is not right scenario.","created_at":"2015-06-10T01:17:07Z","updated_at":"2015-06-10T01:37:33Z","closed_at":"2015-06-10T01:37:33Z","merged_at":null,"merge_commit_sha":"a7ddebcc41c49e2a8d09e5e90087daadc374f541","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/pulls/19/commits","review_comments_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/pulls/19/comments","review_comment_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/pulls/comments{/number}","comments_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/issues/19/comments","statuses_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/statuses/17cd375dbc58bf67f921b689118b80eac3dd1979","head":{"label":"haydnhkim:patch-1","ref":"patch-1","sha":"17cd375dbc58bf67f921b689118b80eac3dd1979","user":{"login":"haydnhkim","id":1896605,"avatar_url":"https://avatars.githubusercontent.com/u/1896605?v=3","gravatar_id":"","url":"https://api.github.com/users/haydnhkim","html_url":"https://github.com/haydnhkim","followers_url":"https://api.github.com/users/haydnhkim/followers","following_url":"https://api.github.com/users/haydnhkim/following{/other_user}","gists_url":"https://api.github.com/users/haydnhkim/gists{/gist_id}","starred_url":"https://api.github.com/users/haydnhkim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haydnhkim/subscriptions","organizations_url":"https://api.github.com/users/haydnhkim/orgs","repos_url":"https://api.github.com/users/haydnhkim/repos","events_url":"https://api.github.com/users/haydnhkim/events{/privacy}","received_events_url":"https://api.github.com/users/haydnhkim/received_events","type":"User","site_admin":false},"repo":{"id":37100653,"name":"meteor-accounts-meld","full_name":"haydnhkim/meteor-accounts-meld","owner":{"login":"haydnhkim","id":1896605,"avatar_url":"https://avatars.githubusercontent.com/u/1896605?v=3","gravatar_id":"","url":"https://api.github.com/users/haydnhkim","html_url":"https://github.com/haydnhkim","followers_url":"https://api.github.com/users/haydnhkim/followers","following_url":"https://api.github.com/users/haydnhkim/following{/other_user}","gists_url":"https://api.github.com/users/haydnhkim/gists{/gist_id}","starred_url":"https://api.github.com/users/haydnhkim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haydnhkim/subscriptions","organizations_url":"https://api.github.com/users/haydnhkim/orgs","repos_url":"https://api.github.com/users/haydnhkim/repos","events_url":"https://api.github.com/users/haydnhkim/events{/privacy}","received_events_url":"https://api.github.com/users/haydnhkim/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/haydnhkim/meteor-accounts-meld","description":"Meteor package to meld user accounts registered with the same email address, or associate many different 3rd-party login services with the same user account.","fork":true,"url":"https://api.github.com/repos/haydnhkim/meteor-accounts-meld","forks_url":"https://api.github.com/repos/haydnhkim/meteor-accounts-meld/forks","keys_url":"https://api.github.com/repos/haydnhkim/meteor-accounts-meld/keys{/key_id}","collaborators_url":"https://api.github.com/repos/haydnhkim/meteor-accounts-meld/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/haydnhkim/meteor-accounts-meld/teams","hooks_url":"https://api.github.com/repos/haydnhkim/meteor-accounts-meld/hooks","issue_events_url":"https://api.github.com/repos/haydnhkim/meteor-accounts-meld/issues/events{/number}","events_url":"https://api.github.com/repos/haydnhkim/meteor-accounts-meld/events","assignees_url":"https://api.github.com/repos/haydnhkim/meteor-accounts-meld/assignees{/user}","branches_url":"https://api.github.com/repos/haydnhkim/meteor-accounts-meld/branches{/branch}","tags_url":"https://api.github.com/repos/haydnhkim/meteor-accounts-meld/tags","blobs_url":"https://api.github.com/repos/haydnhkim/meteor-accounts-meld/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/haydnhkim/meteor-accounts-meld/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/haydnhkim/meteor-accounts-meld/git/refs{/sha}","trees_url":"https://api.github.com/repos/haydnhkim/meteor-accounts-meld/git/trees{/sha}","statuses_url":"https://api.github.com/repos/haydnhkim/meteor-accounts-meld/statuses/{sha}","languages_url":"https://api.github.com/repos/haydnhkim/meteor-accounts-meld/languages","stargazers_url":"https://api.github.com/repos/haydnhkim/meteor-accounts-meld/stargazers","contributors_url":"https://api.github.com/repos/haydnhkim/meteor-accounts-meld/contributors","subscribers_url":"https://api.github.com/repos/haydnhkim/meteor-accounts-meld/subscribers","subscription_url":"https://api.github.com/repos/haydnhkim/meteor-accounts-meld/subscription","commits_url":"https://api.github.com/repos/haydnhkim/meteor-accounts-meld/commits{/sha}","git_commits_url":"https://api.github.com/repos/haydnhkim/meteor-accounts-meld/git/commits{/sha}","comments_url":"https://api.github.com/repos/haydnhkim/meteor-accounts-meld/comments{/number}","issue_comment_url":"https://api.github.com/repos/haydnhkim/meteor-accounts-meld/issues/comments{/number}","contents_url":"https://api.github.com/repos/haydnhkim/meteor-accounts-meld/contents/{+path}","compare_url":"https://api.github.com/repos/haydnhkim/meteor-accounts-meld/compare/{base}...{head}","merges_url":"https://api.github.com/repos/haydnhkim/meteor-accounts-meld/merges","archive_url":"https://api.github.com/repos/haydnhkim/meteor-accounts-meld/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/haydnhkim/meteor-accounts-meld/downloads","issues_url":"https://api.github.com/repos/haydnhkim/meteor-accounts-meld/issues{/number}","pulls_url":"https://api.github.com/repos/haydnhkim/meteor-accounts-meld/pulls{/number}","milestones_url":"https://api.github.com/repos/haydnhkim/meteor-accounts-meld/milestones{/number}","notifications_url":"https://api.github.com/repos/haydnhkim/meteor-accounts-meld/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/haydnhkim/meteor-accounts-meld/labels{/name}","releases_url":"https://api.github.com/repos/haydnhkim/meteor-accounts-meld/releases{/id}","created_at":"2015-06-09T00:31:55Z","updated_at":"2015-06-09T00:31:55Z","pushed_at":"2015-06-10T01:23:32Z","git_url":"git://github.com/haydnhkim/meteor-accounts-meld.git","ssh_url":"git@github.com:haydnhkim/meteor-accounts-meld.git","clone_url":"https://github.com/haydnhkim/meteor-accounts-meld.git","svn_url":"https://github.com/haydnhkim/meteor-accounts-meld","homepage":"http://test-accounts-meld.meteor.com/","size":178,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"splendido:master","ref":"master","sha":"7639352751091f0571669593f4f6f1a0a57e675e","user":{"login":"splendido","id":6148980,"avatar_url":"https://avatars.githubusercontent.com/u/6148980?v=3","gravatar_id":"","url":"https://api.github.com/users/splendido","html_url":"https://github.com/splendido","followers_url":"https://api.github.com/users/splendido/followers","following_url":"https://api.github.com/users/splendido/following{/other_user}","gists_url":"https://api.github.com/users/splendido/gists{/gist_id}","starred_url":"https://api.github.com/users/splendido/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/splendido/subscriptions","organizations_url":"https://api.github.com/users/splendido/orgs","repos_url":"https://api.github.com/users/splendido/repos","events_url":"https://api.github.com/users/splendido/events{/privacy}","received_events_url":"https://api.github.com/users/splendido/received_events","type":"User","site_admin":false},"repo":{"id":20304712,"name":"meteor-accounts-meld","full_name":"splendido/meteor-accounts-meld","owner":{"login":"splendido","id":6148980,"avatar_url":"https://avatars.githubusercontent.com/u/6148980?v=3","gravatar_id":"","url":"https://api.github.com/users/splendido","html_url":"https://github.com/splendido","followers_url":"https://api.github.com/users/splendido/followers","following_url":"https://api.github.com/users/splendido/following{/other_user}","gists_url":"https://api.github.com/users/splendido/gists{/gist_id}","starred_url":"https://api.github.com/users/splendido/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/splendido/subscriptions","organizations_url":"https://api.github.com/users/splendido/orgs","repos_url":"https://api.github.com/users/splendido/repos","events_url":"https://api.github.com/users/splendido/events{/privacy}","received_events_url":"https://api.github.com/users/splendido/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/splendido/meteor-accounts-meld","description":"Meteor package to meld user accounts registered with the same email address, or associate many different 3rd-party login services with the same user account.","fork":false,"url":"https://api.github.com/repos/splendido/meteor-accounts-meld","forks_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/forks","keys_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/keys{/key_id}","collaborators_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/teams","hooks_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/hooks","issue_events_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/issues/events{/number}","events_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/events","assignees_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/assignees{/user}","branches_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/branches{/branch}","tags_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/tags","blobs_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/git/refs{/sha}","trees_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/git/trees{/sha}","statuses_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/statuses/{sha}","languages_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/languages","stargazers_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/stargazers","contributors_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/contributors","subscribers_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/subscribers","subscription_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/subscription","commits_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/commits{/sha}","git_commits_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/git/commits{/sha}","comments_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/comments{/number}","issue_comment_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/issues/comments{/number}","contents_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/contents/{+path}","compare_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/compare/{base}...{head}","merges_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/merges","archive_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/downloads","issues_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/issues{/number}","pulls_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/pulls{/number}","milestones_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/milestones{/number}","notifications_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/labels{/name}","releases_url":"https://api.github.com/repos/splendido/meteor-accounts-meld/releases{/id}","created_at":"2014-05-29T18:55:37Z","updated_at":"2015-06-08T12:05:30Z","pushed_at":"2015-06-10T01:17:08Z","git_url":"git://github.com/splendido/meteor-accounts-meld.git","ssh_url":"git@github.com:splendido/meteor-accounts-meld.git","clone_url":"https://github.com/splendido/meteor-accounts-meld.git","svn_url":"https://github.com/splendido/meteor-accounts-meld","homepage":"http://test-accounts-meld.meteor.com/","size":383,"stargazers_count":44,"watchers_count":44,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":3,"forks":8,"open_issues":3,"watchers":44,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/splendido/meteor-accounts-meld/pulls/19"},"html":{"href":"https://github.com/splendido/meteor-accounts-meld/pull/19"},"issue":{"href":"https://api.github.com/repos/splendido/meteor-accounts-meld/issues/19"},"comments":{"href":"https://api.github.com/repos/splendido/meteor-accounts-meld/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/splendido/meteor-accounts-meld/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/splendido/meteor-accounts-meld/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/splendido/meteor-accounts-meld/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/splendido/meteor-accounts-meld/statuses/17cd375dbc58bf67f921b689118b80eac3dd1979"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":28,"deletions":26,"changed_files":2}}