{"action":"opened","number":135,"pull_request":{"url":"https://api.github.com/repos/bbatsov/rails-style-guide/pulls/135","id":30245934,"html_url":"https://github.com/bbatsov/rails-style-guide/pull/135","diff_url":"https://github.com/bbatsov/rails-style-guide/pull/135.diff","patch_url":"https://github.com/bbatsov/rails-style-guide/pull/135.patch","issue_url":"https://api.github.com/repos/bbatsov/rails-style-guide/issues/135","number":135,"state":"open","locked":false,"title":"various changes as discussed in pull request #134, tidied in to one commit","user":{"login":"AJFaraday","id":237798,"avatar_url":"https://avatars.githubusercontent.com/u/237798?v=3","gravatar_id":"","url":"https://api.github.com/users/AJFaraday","html_url":"https://github.com/AJFaraday","followers_url":"https://api.github.com/users/AJFaraday/followers","following_url":"https://api.github.com/users/AJFaraday/following{/other_user}","gists_url":"https://api.github.com/users/AJFaraday/gists{/gist_id}","starred_url":"https://api.github.com/users/AJFaraday/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AJFaraday/subscriptions","organizations_url":"https://api.github.com/users/AJFaraday/orgs","repos_url":"https://api.github.com/users/AJFaraday/repos","events_url":"https://api.github.com/users/AJFaraday/events{/privacy}","received_events_url":"https://api.github.com/users/AJFaraday/received_events","type":"User","site_admin":false},"body":"Changes are mostly syntax and consistency fixes, and a code example of the pitfalls of using class methods as scopes","created_at":"2015-03-01T18:16:53Z","updated_at":"2015-03-01T18:16:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/bbatsov/rails-style-guide/pulls/135/commits","review_comments_url":"https://api.github.com/repos/bbatsov/rails-style-guide/pulls/135/comments","review_comment_url":"https://api.github.com/repos/bbatsov/rails-style-guide/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bbatsov/rails-style-guide/issues/135/comments","statuses_url":"https://api.github.com/repos/bbatsov/rails-style-guide/statuses/97161075b35f42cc58aa5ad6acd36f348d420688","head":{"label":"AJFaraday:ajf-tidying","ref":"ajf-tidying","sha":"97161075b35f42cc58aa5ad6acd36f348d420688","user":{"login":"AJFaraday","id":237798,"avatar_url":"https://avatars.githubusercontent.com/u/237798?v=3","gravatar_id":"","url":"https://api.github.com/users/AJFaraday","html_url":"https://github.com/AJFaraday","followers_url":"https://api.github.com/users/AJFaraday/followers","following_url":"https://api.github.com/users/AJFaraday/following{/other_user}","gists_url":"https://api.github.com/users/AJFaraday/gists{/gist_id}","starred_url":"https://api.github.com/users/AJFaraday/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AJFaraday/subscriptions","organizations_url":"https://api.github.com/users/AJFaraday/orgs","repos_url":"https://api.github.com/users/AJFaraday/repos","events_url":"https://api.github.com/users/AJFaraday/events{/privacy}","received_events_url":"https://api.github.com/users/AJFaraday/received_events","type":"User","site_admin":false},"repo":{"id":31411924,"name":"rails-style-guide","full_name":"AJFaraday/rails-style-guide","owner":{"login":"AJFaraday","id":237798,"avatar_url":"https://avatars.githubusercontent.com/u/237798?v=3","gravatar_id":"","url":"https://api.github.com/users/AJFaraday","html_url":"https://github.com/AJFaraday","followers_url":"https://api.github.com/users/AJFaraday/followers","following_url":"https://api.github.com/users/AJFaraday/following{/other_user}","gists_url":"https://api.github.com/users/AJFaraday/gists{/gist_id}","starred_url":"https://api.github.com/users/AJFaraday/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AJFaraday/subscriptions","organizations_url":"https://api.github.com/users/AJFaraday/orgs","repos_url":"https://api.github.com/users/AJFaraday/repos","events_url":"https://api.github.com/users/AJFaraday/events{/privacy}","received_events_url":"https://api.github.com/users/AJFaraday/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/AJFaraday/rails-style-guide","description":"A community-driven Ruby on Rails 4 style guide","fork":true,"url":"https://api.github.com/repos/AJFaraday/rails-style-guide","forks_url":"https://api.github.com/repos/AJFaraday/rails-style-guide/forks","keys_url":"https://api.github.com/repos/AJFaraday/rails-style-guide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AJFaraday/rails-style-guide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AJFaraday/rails-style-guide/teams","hooks_url":"https://api.github.com/repos/AJFaraday/rails-style-guide/hooks","issue_events_url":"https://api.github.com/repos/AJFaraday/rails-style-guide/issues/events{/number}","events_url":"https://api.github.com/repos/AJFaraday/rails-style-guide/events","assignees_url":"https://api.github.com/repos/AJFaraday/rails-style-guide/assignees{/user}","branches_url":"https://api.github.com/repos/AJFaraday/rails-style-guide/branches{/branch}","tags_url":"https://api.github.com/repos/AJFaraday/rails-style-guide/tags","blobs_url":"https://api.github.com/repos/AJFaraday/rails-style-guide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AJFaraday/rails-style-guide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AJFaraday/rails-style-guide/git/refs{/sha}","trees_url":"https://api.github.com/repos/AJFaraday/rails-style-guide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AJFaraday/rails-style-guide/statuses/{sha}","languages_url":"https://api.github.com/repos/AJFaraday/rails-style-guide/languages","stargazers_url":"https://api.github.com/repos/AJFaraday/rails-style-guide/stargazers","contributors_url":"https://api.github.com/repos/AJFaraday/rails-style-guide/contributors","subscribers_url":"https://api.github.com/repos/AJFaraday/rails-style-guide/subscribers","subscription_url":"https://api.github.com/repos/AJFaraday/rails-style-guide/subscription","commits_url":"https://api.github.com/repos/AJFaraday/rails-style-guide/commits{/sha}","git_commits_url":"https://api.github.com/repos/AJFaraday/rails-style-guide/git/commits{/sha}","comments_url":"https://api.github.com/repos/AJFaraday/rails-style-guide/comments{/number}","issue_comment_url":"https://api.github.com/repos/AJFaraday/rails-style-guide/issues/comments{/number}","contents_url":"https://api.github.com/repos/AJFaraday/rails-style-guide/contents/{+path}","compare_url":"https://api.github.com/repos/AJFaraday/rails-style-guide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AJFaraday/rails-style-guide/merges","archive_url":"https://api.github.com/repos/AJFaraday/rails-style-guide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AJFaraday/rails-style-guide/downloads","issues_url":"https://api.github.com/repos/AJFaraday/rails-style-guide/issues{/number}","pulls_url":"https://api.github.com/repos/AJFaraday/rails-style-guide/pulls{/number}","milestones_url":"https://api.github.com/repos/AJFaraday/rails-style-guide/milestones{/number}","notifications_url":"https://api.github.com/repos/AJFaraday/rails-style-guide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AJFaraday/rails-style-guide/labels{/name}","releases_url":"https://api.github.com/repos/AJFaraday/rails-style-guide/releases{/id}","created_at":"2015-02-27T09:18:24Z","updated_at":"2015-02-27T06:02:10Z","pushed_at":"2015-03-01T18:16:20Z","git_url":"git://github.com/AJFaraday/rails-style-guide.git","ssh_url":"git@github.com:AJFaraday/rails-style-guide.git","clone_url":"https://github.com/AJFaraday/rails-style-guide.git","svn_url":"https://github.com/AJFaraday/rails-style-guide","homepage":"","size":1186,"stargazers_count":0,"watchers_count":0,"language":null,"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":"bbatsov:master","ref":"master","sha":"a2834efeba0c4ba6feb9db7c46f9d91881052e88","user":{"login":"bbatsov","id":103882,"avatar_url":"https://avatars.githubusercontent.com/u/103882?v=3","gravatar_id":"","url":"https://api.github.com/users/bbatsov","html_url":"https://github.com/bbatsov","followers_url":"https://api.github.com/users/bbatsov/followers","following_url":"https://api.github.com/users/bbatsov/following{/other_user}","gists_url":"https://api.github.com/users/bbatsov/gists{/gist_id}","starred_url":"https://api.github.com/users/bbatsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbatsov/subscriptions","organizations_url":"https://api.github.com/users/bbatsov/orgs","repos_url":"https://api.github.com/users/bbatsov/repos","events_url":"https://api.github.com/users/bbatsov/events{/privacy}","received_events_url":"https://api.github.com/users/bbatsov/received_events","type":"User","site_admin":false},"repo":{"id":2454047,"name":"rails-style-guide","full_name":"bbatsov/rails-style-guide","owner":{"login":"bbatsov","id":103882,"avatar_url":"https://avatars.githubusercontent.com/u/103882?v=3","gravatar_id":"","url":"https://api.github.com/users/bbatsov","html_url":"https://github.com/bbatsov","followers_url":"https://api.github.com/users/bbatsov/followers","following_url":"https://api.github.com/users/bbatsov/following{/other_user}","gists_url":"https://api.github.com/users/bbatsov/gists{/gist_id}","starred_url":"https://api.github.com/users/bbatsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbatsov/subscriptions","organizations_url":"https://api.github.com/users/bbatsov/orgs","repos_url":"https://api.github.com/users/bbatsov/repos","events_url":"https://api.github.com/users/bbatsov/events{/privacy}","received_events_url":"https://api.github.com/users/bbatsov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bbatsov/rails-style-guide","description":"A community-driven Ruby on Rails 4 style guide","fork":false,"url":"https://api.github.com/repos/bbatsov/rails-style-guide","forks_url":"https://api.github.com/repos/bbatsov/rails-style-guide/forks","keys_url":"https://api.github.com/repos/bbatsov/rails-style-guide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bbatsov/rails-style-guide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bbatsov/rails-style-guide/teams","hooks_url":"https://api.github.com/repos/bbatsov/rails-style-guide/hooks","issue_events_url":"https://api.github.com/repos/bbatsov/rails-style-guide/issues/events{/number}","events_url":"https://api.github.com/repos/bbatsov/rails-style-guide/events","assignees_url":"https://api.github.com/repos/bbatsov/rails-style-guide/assignees{/user}","branches_url":"https://api.github.com/repos/bbatsov/rails-style-guide/branches{/branch}","tags_url":"https://api.github.com/repos/bbatsov/rails-style-guide/tags","blobs_url":"https://api.github.com/repos/bbatsov/rails-style-guide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bbatsov/rails-style-guide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bbatsov/rails-style-guide/git/refs{/sha}","trees_url":"https://api.github.com/repos/bbatsov/rails-style-guide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bbatsov/rails-style-guide/statuses/{sha}","languages_url":"https://api.github.com/repos/bbatsov/rails-style-guide/languages","stargazers_url":"https://api.github.com/repos/bbatsov/rails-style-guide/stargazers","contributors_url":"https://api.github.com/repos/bbatsov/rails-style-guide/contributors","subscribers_url":"https://api.github.com/repos/bbatsov/rails-style-guide/subscribers","subscription_url":"https://api.github.com/repos/bbatsov/rails-style-guide/subscription","commits_url":"https://api.github.com/repos/bbatsov/rails-style-guide/commits{/sha}","git_commits_url":"https://api.github.com/repos/bbatsov/rails-style-guide/git/commits{/sha}","comments_url":"https://api.github.com/repos/bbatsov/rails-style-guide/comments{/number}","issue_comment_url":"https://api.github.com/repos/bbatsov/rails-style-guide/issues/comments{/number}","contents_url":"https://api.github.com/repos/bbatsov/rails-style-guide/contents/{+path}","compare_url":"https://api.github.com/repos/bbatsov/rails-style-guide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bbatsov/rails-style-guide/merges","archive_url":"https://api.github.com/repos/bbatsov/rails-style-guide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bbatsov/rails-style-guide/downloads","issues_url":"https://api.github.com/repos/bbatsov/rails-style-guide/issues{/number}","pulls_url":"https://api.github.com/repos/bbatsov/rails-style-guide/pulls{/number}","milestones_url":"https://api.github.com/repos/bbatsov/rails-style-guide/milestones{/number}","notifications_url":"https://api.github.com/repos/bbatsov/rails-style-guide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bbatsov/rails-style-guide/labels{/name}","releases_url":"https://api.github.com/repos/bbatsov/rails-style-guide/releases{/id}","created_at":"2011-09-25T09:36:31Z","updated_at":"2015-03-01T12:27:06Z","pushed_at":"2015-02-21T18:58:36Z","git_url":"git://github.com/bbatsov/rails-style-guide.git","ssh_url":"git@github.com:bbatsov/rails-style-guide.git","clone_url":"https://github.com/bbatsov/rails-style-guide.git","svn_url":"https://github.com/bbatsov/rails-style-guide","homepage":"","size":1186,"stargazers_count":3436,"watchers_count":3436,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":580,"mirror_url":null,"open_issues_count":16,"forks":580,"open_issues":16,"watchers":3436,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bbatsov/rails-style-guide/pulls/135"},"html":{"href":"https://github.com/bbatsov/rails-style-guide/pull/135"},"issue":{"href":"https://api.github.com/repos/bbatsov/rails-style-guide/issues/135"},"comments":{"href":"https://api.github.com/repos/bbatsov/rails-style-guide/issues/135/comments"},"review_comments":{"href":"https://api.github.com/repos/bbatsov/rails-style-guide/pulls/135/comments"},"review_comment":{"href":"https://api.github.com/repos/bbatsov/rails-style-guide/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bbatsov/rails-style-guide/pulls/135/commits"},"statuses":{"href":"https://api.github.com/repos/bbatsov/rails-style-guide/statuses/97161075b35f42cc58aa5ad6acd36f348d420688"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":40,"deletions":12,"changed_files":1}}