{"action":"created","comment":{"url":"https://api.github.com/repos/thoughtbot/factory_girl/pulls/comments/30671116","id":30671116,"diff_hunk":"@@ -17,7 +17,8 @@ def run(runner_strategy = @strategy, &block)\n         factory = factory.with_traits(@traits)\n       end\n \n-      instrumentation_payload = { name: @name, strategy: runner_strategy }\n+      instrumentation_payload = { name: @name, strategy: runner_strategy, traits: @traits,\n+         overrides: @overrides, factory: factory }","path":"lib/factory_girl/factory_runner.rb","position":6,"original_position":6,"commit_id":"14fd0853c792c076269ee161fc5107762eca4bed","original_commit_id":"14fd0853c792c076269ee161fc5107762eca4bed","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":"Align the elements of a hash literal if they span more than one line.","created_at":"2015-05-20T04:49:10Z","updated_at":"2015-05-20T04:49:10Z","html_url":"https://github.com/thoughtbot/factory_girl/pull/783#discussion_r30671116","pull_request_url":"https://api.github.com/repos/thoughtbot/factory_girl/pulls/783","_links":{"self":{"href":"https://api.github.com/repos/thoughtbot/factory_girl/pulls/comments/30671116"},"html":{"href":"https://github.com/thoughtbot/factory_girl/pull/783#discussion_r30671116"},"pull_request":{"href":"https://api.github.com/repos/thoughtbot/factory_girl/pulls/783"}}},"pull_request":{"url":"https://api.github.com/repos/thoughtbot/factory_girl/pulls/783","id":35797798,"html_url":"https://github.com/thoughtbot/factory_girl/pull/783","diff_url":"https://github.com/thoughtbot/factory_girl/pull/783.diff","patch_url":"https://github.com/thoughtbot/factory_girl/pull/783.patch","issue_url":"https://api.github.com/repos/thoughtbot/factory_girl/issues/783","number":783,"state":"open","locked":false,"title":"Add info to notification's payload","user":{"login":"lastcat","id":2026375,"avatar_url":"https://avatars.githubusercontent.com/u/2026375?v=3","gravatar_id":"","url":"https://api.github.com/users/lastcat","html_url":"https://github.com/lastcat","followers_url":"https://api.github.com/users/lastcat/followers","following_url":"https://api.github.com/users/lastcat/following{/other_user}","gists_url":"https://api.github.com/users/lastcat/gists{/gist_id}","starred_url":"https://api.github.com/users/lastcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lastcat/subscriptions","organizations_url":"https://api.github.com/users/lastcat/orgs","repos_url":"https://api.github.com/users/lastcat/repos","events_url":"https://api.github.com/users/lastcat/events{/privacy}","received_events_url":"https://api.github.com/users/lastcat/received_events","type":"User","site_admin":false},"body":"Thank you for this useful gem very much. It always help me with my work.\r\nWell, I wanted to know the detailed information of more executed factory.  Example at `GETTING_STARTED.md `, give me factory name, execution time , and stragy. However, I want to get more details infos. for example traits, association, ... etc.\r\n \r\nSo when I read code,I found factory_runner can access `@traits, @overrides`, and `factory`object. These data help my testing to more effective.\r\n\r\nI think there is no reason not to add these data to payload. Please consider this pr.\r\nFinally, I'm sorry my poor English... ","created_at":"2015-05-20T04:43:33Z","updated_at":"2015-05-20T04:49:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3664b9d23a70b614e943dca5d555c91cda8a9a0c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/thoughtbot/factory_girl/pulls/783/commits","review_comments_url":"https://api.github.com/repos/thoughtbot/factory_girl/pulls/783/comments","review_comment_url":"https://api.github.com/repos/thoughtbot/factory_girl/pulls/comments{/number}","comments_url":"https://api.github.com/repos/thoughtbot/factory_girl/issues/783/comments","statuses_url":"https://api.github.com/repos/thoughtbot/factory_girl/statuses/14fd0853c792c076269ee161fc5107762eca4bed","head":{"label":"lastcat:master","ref":"master","sha":"14fd0853c792c076269ee161fc5107762eca4bed","user":{"login":"lastcat","id":2026375,"avatar_url":"https://avatars.githubusercontent.com/u/2026375?v=3","gravatar_id":"","url":"https://api.github.com/users/lastcat","html_url":"https://github.com/lastcat","followers_url":"https://api.github.com/users/lastcat/followers","following_url":"https://api.github.com/users/lastcat/following{/other_user}","gists_url":"https://api.github.com/users/lastcat/gists{/gist_id}","starred_url":"https://api.github.com/users/lastcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lastcat/subscriptions","organizations_url":"https://api.github.com/users/lastcat/orgs","repos_url":"https://api.github.com/users/lastcat/repos","events_url":"https://api.github.com/users/lastcat/events{/privacy}","received_events_url":"https://api.github.com/users/lastcat/received_events","type":"User","site_admin":false},"repo":{"id":35916582,"name":"factory_girl","full_name":"lastcat/factory_girl","owner":{"login":"lastcat","id":2026375,"avatar_url":"https://avatars.githubusercontent.com/u/2026375?v=3","gravatar_id":"","url":"https://api.github.com/users/lastcat","html_url":"https://github.com/lastcat","followers_url":"https://api.github.com/users/lastcat/followers","following_url":"https://api.github.com/users/lastcat/following{/other_user}","gists_url":"https://api.github.com/users/lastcat/gists{/gist_id}","starred_url":"https://api.github.com/users/lastcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lastcat/subscriptions","organizations_url":"https://api.github.com/users/lastcat/orgs","repos_url":"https://api.github.com/users/lastcat/repos","events_url":"https://api.github.com/users/lastcat/events{/privacy}","received_events_url":"https://api.github.com/users/lastcat/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lastcat/factory_girl","description":"A library for setting up Ruby objects as test data.","fork":true,"url":"https://api.github.com/repos/lastcat/factory_girl","forks_url":"https://api.github.com/repos/lastcat/factory_girl/forks","keys_url":"https://api.github.com/repos/lastcat/factory_girl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lastcat/factory_girl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lastcat/factory_girl/teams","hooks_url":"https://api.github.com/repos/lastcat/factory_girl/hooks","issue_events_url":"https://api.github.com/repos/lastcat/factory_girl/issues/events{/number}","events_url":"https://api.github.com/repos/lastcat/factory_girl/events","assignees_url":"https://api.github.com/repos/lastcat/factory_girl/assignees{/user}","branches_url":"https://api.github.com/repos/lastcat/factory_girl/branches{/branch}","tags_url":"https://api.github.com/repos/lastcat/factory_girl/tags","blobs_url":"https://api.github.com/repos/lastcat/factory_girl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lastcat/factory_girl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lastcat/factory_girl/git/refs{/sha}","trees_url":"https://api.github.com/repos/lastcat/factory_girl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lastcat/factory_girl/statuses/{sha}","languages_url":"https://api.github.com/repos/lastcat/factory_girl/languages","stargazers_url":"https://api.github.com/repos/lastcat/factory_girl/stargazers","contributors_url":"https://api.github.com/repos/lastcat/factory_girl/contributors","subscribers_url":"https://api.github.com/repos/lastcat/factory_girl/subscribers","subscription_url":"https://api.github.com/repos/lastcat/factory_girl/subscription","commits_url":"https://api.github.com/repos/lastcat/factory_girl/commits{/sha}","git_commits_url":"https://api.github.com/repos/lastcat/factory_girl/git/commits{/sha}","comments_url":"https://api.github.com/repos/lastcat/factory_girl/comments{/number}","issue_comment_url":"https://api.github.com/repos/lastcat/factory_girl/issues/comments{/number}","contents_url":"https://api.github.com/repos/lastcat/factory_girl/contents/{+path}","compare_url":"https://api.github.com/repos/lastcat/factory_girl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lastcat/factory_girl/merges","archive_url":"https://api.github.com/repos/lastcat/factory_girl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lastcat/factory_girl/downloads","issues_url":"https://api.github.com/repos/lastcat/factory_girl/issues{/number}","pulls_url":"https://api.github.com/repos/lastcat/factory_girl/pulls{/number}","milestones_url":"https://api.github.com/repos/lastcat/factory_girl/milestones{/number}","notifications_url":"https://api.github.com/repos/lastcat/factory_girl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lastcat/factory_girl/labels{/name}","releases_url":"https://api.github.com/repos/lastcat/factory_girl/releases{/id}","created_at":"2015-05-20T00:42:47Z","updated_at":"2015-05-20T00:42:48Z","pushed_at":"2015-05-20T04:49:05Z","git_url":"git://github.com/lastcat/factory_girl.git","ssh_url":"git@github.com:lastcat/factory_girl.git","clone_url":"https://github.com/lastcat/factory_girl.git","svn_url":"https://github.com/lastcat/factory_girl","homepage":"https://thoughtbot.com/open-source","size":2278,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"03786660edbe4e028a292d19f7956f8dd0c89347","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":21829,"name":"factory_girl","full_name":"thoughtbot/factory_girl","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/factory_girl","description":"A library for setting up Ruby objects as test data.","fork":false,"url":"https://api.github.com/repos/thoughtbot/factory_girl","forks_url":"https://api.github.com/repos/thoughtbot/factory_girl/forks","keys_url":"https://api.github.com/repos/thoughtbot/factory_girl/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thoughtbot/factory_girl/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thoughtbot/factory_girl/teams","hooks_url":"https://api.github.com/repos/thoughtbot/factory_girl/hooks","issue_events_url":"https://api.github.com/repos/thoughtbot/factory_girl/issues/events{/number}","events_url":"https://api.github.com/repos/thoughtbot/factory_girl/events","assignees_url":"https://api.github.com/repos/thoughtbot/factory_girl/assignees{/user}","branches_url":"https://api.github.com/repos/thoughtbot/factory_girl/branches{/branch}","tags_url":"https://api.github.com/repos/thoughtbot/factory_girl/tags","blobs_url":"https://api.github.com/repos/thoughtbot/factory_girl/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thoughtbot/factory_girl/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thoughtbot/factory_girl/git/refs{/sha}","trees_url":"https://api.github.com/repos/thoughtbot/factory_girl/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thoughtbot/factory_girl/statuses/{sha}","languages_url":"https://api.github.com/repos/thoughtbot/factory_girl/languages","stargazers_url":"https://api.github.com/repos/thoughtbot/factory_girl/stargazers","contributors_url":"https://api.github.com/repos/thoughtbot/factory_girl/contributors","subscribers_url":"https://api.github.com/repos/thoughtbot/factory_girl/subscribers","subscription_url":"https://api.github.com/repos/thoughtbot/factory_girl/subscription","commits_url":"https://api.github.com/repos/thoughtbot/factory_girl/commits{/sha}","git_commits_url":"https://api.github.com/repos/thoughtbot/factory_girl/git/commits{/sha}","comments_url":"https://api.github.com/repos/thoughtbot/factory_girl/comments{/number}","issue_comment_url":"https://api.github.com/repos/thoughtbot/factory_girl/issues/comments{/number}","contents_url":"https://api.github.com/repos/thoughtbot/factory_girl/contents/{+path}","compare_url":"https://api.github.com/repos/thoughtbot/factory_girl/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thoughtbot/factory_girl/merges","archive_url":"https://api.github.com/repos/thoughtbot/factory_girl/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thoughtbot/factory_girl/downloads","issues_url":"https://api.github.com/repos/thoughtbot/factory_girl/issues{/number}","pulls_url":"https://api.github.com/repos/thoughtbot/factory_girl/pulls{/number}","milestones_url":"https://api.github.com/repos/thoughtbot/factory_girl/milestones{/number}","notifications_url":"https://api.github.com/repos/thoughtbot/factory_girl/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thoughtbot/factory_girl/labels{/name}","releases_url":"https://api.github.com/repos/thoughtbot/factory_girl/releases{/id}","created_at":"2008-06-03T13:55:37Z","updated_at":"2015-05-19T20:53:39Z","pushed_at":"2015-05-20T04:49:05Z","git_url":"git://github.com/thoughtbot/factory_girl.git","ssh_url":"git@github.com:thoughtbot/factory_girl.git","clone_url":"https://github.com/thoughtbot/factory_girl.git","svn_url":"https://github.com/thoughtbot/factory_girl","homepage":"https://thoughtbot.com/open-source","size":4603,"stargazers_count":4143,"watchers_count":4143,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":630,"mirror_url":null,"open_issues_count":59,"forks":630,"open_issues":59,"watchers":4143,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/thoughtbot/factory_girl/pulls/783"},"html":{"href":"https://github.com/thoughtbot/factory_girl/pull/783"},"issue":{"href":"https://api.github.com/repos/thoughtbot/factory_girl/issues/783"},"comments":{"href":"https://api.github.com/repos/thoughtbot/factory_girl/issues/783/comments"},"review_comments":{"href":"https://api.github.com/repos/thoughtbot/factory_girl/pulls/783/comments"},"review_comment":{"href":"https://api.github.com/repos/thoughtbot/factory_girl/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/thoughtbot/factory_girl/pulls/783/commits"},"statuses":{"href":"https://api.github.com/repos/thoughtbot/factory_girl/statuses/14fd0853c792c076269ee161fc5107762eca4bed"}}}}