{"action":"opened","number":179,"pull_request":{"url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/pulls/179","id":50724119,"html_url":"https://github.com/thoughtbot/factory_girl_rails/pull/179","diff_url":"https://github.com/thoughtbot/factory_girl_rails/pull/179.diff","patch_url":"https://github.com/thoughtbot/factory_girl_rails/pull/179.patch","issue_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/issues/179","number":179,"state":"open","locked":false,"title":"Add spaces","user":{"login":"knao124","id":4919012,"avatar_url":"https://avatars.githubusercontent.com/u/4919012?v=3","gravatar_id":"","url":"https://api.github.com/users/knao124","html_url":"https://github.com/knao124","followers_url":"https://api.github.com/users/knao124/followers","following_url":"https://api.github.com/users/knao124/following{/other_user}","gists_url":"https://api.github.com/users/knao124/gists{/gist_id}","starred_url":"https://api.github.com/users/knao124/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knao124/subscriptions","organizations_url":"https://api.github.com/users/knao124/orgs","repos_url":"https://api.github.com/users/knao124/repos","events_url":"https://api.github.com/users/knao124/events{/privacy}","received_events_url":"https://api.github.com/users/knao124/received_events","type":"User","site_admin":false},"body":"if we exec `rails generate model sample_model hoge:integer fuga:integer` then the generated factory file does not have correct indent spaces like following, \r\n\r\n```\r\nFactoryGirl.define do\r\n  factory :sample_model do\r\n    hoge 1\r\nfuga 1\r\n  end\r\n\r\nend\r\n```\r\n\r\nThis PR will fix this.","created_at":"2015-11-14T14:02:49Z","updated_at":"2015-11-14T14:02:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c0a19fab7600623eb4168194d7d7c6d2dfadcd90","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/pulls/179/commits","review_comments_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/pulls/179/comments","review_comment_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/pulls/comments{/number}","comments_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/issues/179/comments","statuses_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/statuses/c22371c78a43be1727dc8284b1705c0f65c0d4cc","head":{"label":"knao124:knao124/add_generator_white_space","ref":"knao124/add_generator_white_space","sha":"c22371c78a43be1727dc8284b1705c0f65c0d4cc","user":{"login":"knao124","id":4919012,"avatar_url":"https://avatars.githubusercontent.com/u/4919012?v=3","gravatar_id":"","url":"https://api.github.com/users/knao124","html_url":"https://github.com/knao124","followers_url":"https://api.github.com/users/knao124/followers","following_url":"https://api.github.com/users/knao124/following{/other_user}","gists_url":"https://api.github.com/users/knao124/gists{/gist_id}","starred_url":"https://api.github.com/users/knao124/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knao124/subscriptions","organizations_url":"https://api.github.com/users/knao124/orgs","repos_url":"https://api.github.com/users/knao124/repos","events_url":"https://api.github.com/users/knao124/events{/privacy}","received_events_url":"https://api.github.com/users/knao124/received_events","type":"User","site_admin":false},"repo":{"id":46176382,"name":"factory_girl_rails","full_name":"knao124/factory_girl_rails","owner":{"login":"knao124","id":4919012,"avatar_url":"https://avatars.githubusercontent.com/u/4919012?v=3","gravatar_id":"","url":"https://api.github.com/users/knao124","html_url":"https://github.com/knao124","followers_url":"https://api.github.com/users/knao124/followers","following_url":"https://api.github.com/users/knao124/following{/other_user}","gists_url":"https://api.github.com/users/knao124/gists{/gist_id}","starred_url":"https://api.github.com/users/knao124/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knao124/subscriptions","organizations_url":"https://api.github.com/users/knao124/orgs","repos_url":"https://api.github.com/users/knao124/repos","events_url":"https://api.github.com/users/knao124/events{/privacy}","received_events_url":"https://api.github.com/users/knao124/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/knao124/factory_girl_rails","description":"Factory Girl ♥ Rails","fork":true,"url":"https://api.github.com/repos/knao124/factory_girl_rails","forks_url":"https://api.github.com/repos/knao124/factory_girl_rails/forks","keys_url":"https://api.github.com/repos/knao124/factory_girl_rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/knao124/factory_girl_rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/knao124/factory_girl_rails/teams","hooks_url":"https://api.github.com/repos/knao124/factory_girl_rails/hooks","issue_events_url":"https://api.github.com/repos/knao124/factory_girl_rails/issues/events{/number}","events_url":"https://api.github.com/repos/knao124/factory_girl_rails/events","assignees_url":"https://api.github.com/repos/knao124/factory_girl_rails/assignees{/user}","branches_url":"https://api.github.com/repos/knao124/factory_girl_rails/branches{/branch}","tags_url":"https://api.github.com/repos/knao124/factory_girl_rails/tags","blobs_url":"https://api.github.com/repos/knao124/factory_girl_rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/knao124/factory_girl_rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/knao124/factory_girl_rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/knao124/factory_girl_rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/knao124/factory_girl_rails/statuses/{sha}","languages_url":"https://api.github.com/repos/knao124/factory_girl_rails/languages","stargazers_url":"https://api.github.com/repos/knao124/factory_girl_rails/stargazers","contributors_url":"https://api.github.com/repos/knao124/factory_girl_rails/contributors","subscribers_url":"https://api.github.com/repos/knao124/factory_girl_rails/subscribers","subscription_url":"https://api.github.com/repos/knao124/factory_girl_rails/subscription","commits_url":"https://api.github.com/repos/knao124/factory_girl_rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/knao124/factory_girl_rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/knao124/factory_girl_rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/knao124/factory_girl_rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/knao124/factory_girl_rails/contents/{+path}","compare_url":"https://api.github.com/repos/knao124/factory_girl_rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/knao124/factory_girl_rails/merges","archive_url":"https://api.github.com/repos/knao124/factory_girl_rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/knao124/factory_girl_rails/downloads","issues_url":"https://api.github.com/repos/knao124/factory_girl_rails/issues{/number}","pulls_url":"https://api.github.com/repos/knao124/factory_girl_rails/pulls{/number}","milestones_url":"https://api.github.com/repos/knao124/factory_girl_rails/milestones{/number}","notifications_url":"https://api.github.com/repos/knao124/factory_girl_rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/knao124/factory_girl_rails/labels{/name}","releases_url":"https://api.github.com/repos/knao124/factory_girl_rails/releases{/id}","created_at":"2015-11-14T13:52:54Z","updated_at":"2015-11-14T13:52:56Z","pushed_at":"2015-11-14T13:56:42Z","git_url":"git://github.com/knao124/factory_girl_rails.git","ssh_url":"git@github.com:knao124/factory_girl_rails.git","clone_url":"https://github.com/knao124/factory_girl_rails.git","svn_url":"https://github.com/knao124/factory_girl_rails","homepage":"https://robots.thoughtbot.com","size":930,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"thoughtbot:master","ref":"master","sha":"3c6a2ec15e9fc6e293969021ec60f5bad1515f33","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":683939,"name":"factory_girl_rails","full_name":"thoughtbot/factory_girl_rails","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_rails","description":"Factory Girl ♥ Rails","fork":false,"url":"https://api.github.com/repos/thoughtbot/factory_girl_rails","forks_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/forks","keys_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/teams","hooks_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/hooks","issue_events_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/issues/events{/number}","events_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/events","assignees_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/assignees{/user}","branches_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/branches{/branch}","tags_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/tags","blobs_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/statuses/{sha}","languages_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/languages","stargazers_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/stargazers","contributors_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/contributors","subscribers_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/subscribers","subscription_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/subscription","commits_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/issues/comments{/number}","contents_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/contents/{+path}","compare_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/merges","archive_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/downloads","issues_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/issues{/number}","pulls_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/pulls{/number}","milestones_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/milestones{/number}","notifications_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/labels{/name}","releases_url":"https://api.github.com/repos/thoughtbot/factory_girl_rails/releases{/id}","created_at":"2010-05-24T20:27:03Z","updated_at":"2015-11-13T18:19:07Z","pushed_at":"2015-11-14T14:02:49Z","git_url":"git://github.com/thoughtbot/factory_girl_rails.git","ssh_url":"git@github.com:thoughtbot/factory_girl_rails.git","clone_url":"https://github.com/thoughtbot/factory_girl_rails.git","svn_url":"https://github.com/thoughtbot/factory_girl_rails","homepage":"https://robots.thoughtbot.com","size":930,"stargazers_count":1406,"watchers_count":1406,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":157,"mirror_url":null,"open_issues_count":22,"forks":157,"open_issues":22,"watchers":1406,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/thoughtbot/factory_girl_rails/pulls/179"},"html":{"href":"https://github.com/thoughtbot/factory_girl_rails/pull/179"},"issue":{"href":"https://api.github.com/repos/thoughtbot/factory_girl_rails/issues/179"},"comments":{"href":"https://api.github.com/repos/thoughtbot/factory_girl_rails/issues/179/comments"},"review_comments":{"href":"https://api.github.com/repos/thoughtbot/factory_girl_rails/pulls/179/comments"},"review_comment":{"href":"https://api.github.com/repos/thoughtbot/factory_girl_rails/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/thoughtbot/factory_girl_rails/pulls/179/commits"},"statuses":{"href":"https://api.github.com/repos/thoughtbot/factory_girl_rails/statuses/c22371c78a43be1727dc8284b1705c0f65c0d4cc"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}