{"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/lockstate/public/pulls/2","id":217804611,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE3ODA0NjEx","html_url":"https://github.com/lockstate/public/pull/2","diff_url":"https://github.com/lockstate/public/pull/2.diff","patch_url":"https://github.com/lockstate/public/pull/2.patch","issue_url":"https://api.github.com/repos/lockstate/public/issues/2","number":2,"state":"open","locked":false,"title":"Allow braces for multi-line blocks in specs","user":{"login":"bruno-","id":1042682,"node_id":"MDQ6VXNlcjEwNDI2ODI=","avatar_url":"https://avatars1.githubusercontent.com/u/1042682?v=4","gravatar_id":"","url":"https://api.github.com/users/bruno-","html_url":"https://github.com/bruno-","followers_url":"https://api.github.com/users/bruno-/followers","following_url":"https://api.github.com/users/bruno-/following{/other_user}","gists_url":"https://api.github.com/users/bruno-/gists{/gist_id}","starred_url":"https://api.github.com/users/bruno-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bruno-/subscriptions","organizations_url":"https://api.github.com/users/bruno-/orgs","repos_url":"https://api.github.com/users/bruno-/repos","events_url":"https://api.github.com/users/bruno-/events{/privacy}","received_events_url":"https://api.github.com/users/bruno-/received_events","type":"User","site_admin":false},"body":"### Problem\r\n\r\nRubocop reports this warning `Style/BlockDelimiters: Avoid using {...} for multi-line blocks.`\r\nWe want to adhere to that rule, but we want to make an exception in specs for this construct:\r\n\r\n```ruby\r\nexpect {\r\n  receive_event\r\n}.to change { lock.reload.connected }.from(false).to(true)\r\n```\r\n\r\n### Solution\r\n\r\nExclude `Style/BlockDelimiters` under `spec/**/*`.","created_at":"2018-09-24T22:18:00Z","updated_at":"2018-09-24T22:18:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/lockstate/public/pulls/2/commits","review_comments_url":"https://api.github.com/repos/lockstate/public/pulls/2/comments","review_comment_url":"https://api.github.com/repos/lockstate/public/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lockstate/public/issues/2/comments","statuses_url":"https://api.github.com/repos/lockstate/public/statuses/6f060ee9f3786218d6bb530cc31b44ab555bbe6b","head":{"label":"lockstate:multi-line-brackets","ref":"multi-line-brackets","sha":"6f060ee9f3786218d6bb530cc31b44ab555bbe6b","user":{"login":"lockstate","id":11725202,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNzI1MjAy","avatar_url":"https://avatars1.githubusercontent.com/u/11725202?v=4","gravatar_id":"","url":"https://api.github.com/users/lockstate","html_url":"https://github.com/lockstate","followers_url":"https://api.github.com/users/lockstate/followers","following_url":"https://api.github.com/users/lockstate/following{/other_user}","gists_url":"https://api.github.com/users/lockstate/gists{/gist_id}","starred_url":"https://api.github.com/users/lockstate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lockstate/subscriptions","organizations_url":"https://api.github.com/users/lockstate/orgs","repos_url":"https://api.github.com/users/lockstate/repos","events_url":"https://api.github.com/users/lockstate/events{/privacy}","received_events_url":"https://api.github.com/users/lockstate/received_events","type":"Organization","site_admin":false},"repo":{"id":137769957,"node_id":"MDEwOlJlcG9zaXRvcnkxMzc3Njk5NTc=","name":"public","full_name":"lockstate/public","private":false,"owner":{"login":"lockstate","id":11725202,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNzI1MjAy","avatar_url":"https://avatars1.githubusercontent.com/u/11725202?v=4","gravatar_id":"","url":"https://api.github.com/users/lockstate","html_url":"https://github.com/lockstate","followers_url":"https://api.github.com/users/lockstate/followers","following_url":"https://api.github.com/users/lockstate/following{/other_user}","gists_url":"https://api.github.com/users/lockstate/gists{/gist_id}","starred_url":"https://api.github.com/users/lockstate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lockstate/subscriptions","organizations_url":"https://api.github.com/users/lockstate/orgs","repos_url":"https://api.github.com/users/lockstate/repos","events_url":"https://api.github.com/users/lockstate/events{/privacy}","received_events_url":"https://api.github.com/users/lockstate/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/lockstate/public","description":null,"fork":false,"url":"https://api.github.com/repos/lockstate/public","forks_url":"https://api.github.com/repos/lockstate/public/forks","keys_url":"https://api.github.com/repos/lockstate/public/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lockstate/public/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lockstate/public/teams","hooks_url":"https://api.github.com/repos/lockstate/public/hooks","issue_events_url":"https://api.github.com/repos/lockstate/public/issues/events{/number}","events_url":"https://api.github.com/repos/lockstate/public/events","assignees_url":"https://api.github.com/repos/lockstate/public/assignees{/user}","branches_url":"https://api.github.com/repos/lockstate/public/branches{/branch}","tags_url":"https://api.github.com/repos/lockstate/public/tags","blobs_url":"https://api.github.com/repos/lockstate/public/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lockstate/public/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lockstate/public/git/refs{/sha}","trees_url":"https://api.github.com/repos/lockstate/public/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lockstate/public/statuses/{sha}","languages_url":"https://api.github.com/repos/lockstate/public/languages","stargazers_url":"https://api.github.com/repos/lockstate/public/stargazers","contributors_url":"https://api.github.com/repos/lockstate/public/contributors","subscribers_url":"https://api.github.com/repos/lockstate/public/subscribers","subscription_url":"https://api.github.com/repos/lockstate/public/subscription","commits_url":"https://api.github.com/repos/lockstate/public/commits{/sha}","git_commits_url":"https://api.github.com/repos/lockstate/public/git/commits{/sha}","comments_url":"https://api.github.com/repos/lockstate/public/comments{/number}","issue_comment_url":"https://api.github.com/repos/lockstate/public/issues/comments{/number}","contents_url":"https://api.github.com/repos/lockstate/public/contents/{+path}","compare_url":"https://api.github.com/repos/lockstate/public/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lockstate/public/merges","archive_url":"https://api.github.com/repos/lockstate/public/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lockstate/public/downloads","issues_url":"https://api.github.com/repos/lockstate/public/issues{/number}","pulls_url":"https://api.github.com/repos/lockstate/public/pulls{/number}","milestones_url":"https://api.github.com/repos/lockstate/public/milestones{/number}","notifications_url":"https://api.github.com/repos/lockstate/public/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lockstate/public/labels{/name}","releases_url":"https://api.github.com/repos/lockstate/public/releases{/id}","deployments_url":"https://api.github.com/repos/lockstate/public/deployments","created_at":"2018-06-18T15:26:26Z","updated_at":"2018-09-12T19:29:21Z","pushed_at":"2018-09-24T22:15:34Z","git_url":"git://github.com/lockstate/public.git","ssh_url":"git@github.com:lockstate/public.git","clone_url":"https://github.com/lockstate/public.git","svn_url":"https://github.com/lockstate/public","homepage":null,"size":11,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"lockstate:master","ref":"master","sha":"3b320bd5fa0fdb4823abb3ecbb4cec91393f90ca","user":{"login":"lockstate","id":11725202,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNzI1MjAy","avatar_url":"https://avatars1.githubusercontent.com/u/11725202?v=4","gravatar_id":"","url":"https://api.github.com/users/lockstate","html_url":"https://github.com/lockstate","followers_url":"https://api.github.com/users/lockstate/followers","following_url":"https://api.github.com/users/lockstate/following{/other_user}","gists_url":"https://api.github.com/users/lockstate/gists{/gist_id}","starred_url":"https://api.github.com/users/lockstate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lockstate/subscriptions","organizations_url":"https://api.github.com/users/lockstate/orgs","repos_url":"https://api.github.com/users/lockstate/repos","events_url":"https://api.github.com/users/lockstate/events{/privacy}","received_events_url":"https://api.github.com/users/lockstate/received_events","type":"Organization","site_admin":false},"repo":{"id":137769957,"node_id":"MDEwOlJlcG9zaXRvcnkxMzc3Njk5NTc=","name":"public","full_name":"lockstate/public","private":false,"owner":{"login":"lockstate","id":11725202,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNzI1MjAy","avatar_url":"https://avatars1.githubusercontent.com/u/11725202?v=4","gravatar_id":"","url":"https://api.github.com/users/lockstate","html_url":"https://github.com/lockstate","followers_url":"https://api.github.com/users/lockstate/followers","following_url":"https://api.github.com/users/lockstate/following{/other_user}","gists_url":"https://api.github.com/users/lockstate/gists{/gist_id}","starred_url":"https://api.github.com/users/lockstate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lockstate/subscriptions","organizations_url":"https://api.github.com/users/lockstate/orgs","repos_url":"https://api.github.com/users/lockstate/repos","events_url":"https://api.github.com/users/lockstate/events{/privacy}","received_events_url":"https://api.github.com/users/lockstate/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/lockstate/public","description":null,"fork":false,"url":"https://api.github.com/repos/lockstate/public","forks_url":"https://api.github.com/repos/lockstate/public/forks","keys_url":"https://api.github.com/repos/lockstate/public/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lockstate/public/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lockstate/public/teams","hooks_url":"https://api.github.com/repos/lockstate/public/hooks","issue_events_url":"https://api.github.com/repos/lockstate/public/issues/events{/number}","events_url":"https://api.github.com/repos/lockstate/public/events","assignees_url":"https://api.github.com/repos/lockstate/public/assignees{/user}","branches_url":"https://api.github.com/repos/lockstate/public/branches{/branch}","tags_url":"https://api.github.com/repos/lockstate/public/tags","blobs_url":"https://api.github.com/repos/lockstate/public/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lockstate/public/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lockstate/public/git/refs{/sha}","trees_url":"https://api.github.com/repos/lockstate/public/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lockstate/public/statuses/{sha}","languages_url":"https://api.github.com/repos/lockstate/public/languages","stargazers_url":"https://api.github.com/repos/lockstate/public/stargazers","contributors_url":"https://api.github.com/repos/lockstate/public/contributors","subscribers_url":"https://api.github.com/repos/lockstate/public/subscribers","subscription_url":"https://api.github.com/repos/lockstate/public/subscription","commits_url":"https://api.github.com/repos/lockstate/public/commits{/sha}","git_commits_url":"https://api.github.com/repos/lockstate/public/git/commits{/sha}","comments_url":"https://api.github.com/repos/lockstate/public/comments{/number}","issue_comment_url":"https://api.github.com/repos/lockstate/public/issues/comments{/number}","contents_url":"https://api.github.com/repos/lockstate/public/contents/{+path}","compare_url":"https://api.github.com/repos/lockstate/public/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lockstate/public/merges","archive_url":"https://api.github.com/repos/lockstate/public/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lockstate/public/downloads","issues_url":"https://api.github.com/repos/lockstate/public/issues{/number}","pulls_url":"https://api.github.com/repos/lockstate/public/pulls{/number}","milestones_url":"https://api.github.com/repos/lockstate/public/milestones{/number}","notifications_url":"https://api.github.com/repos/lockstate/public/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lockstate/public/labels{/name}","releases_url":"https://api.github.com/repos/lockstate/public/releases{/id}","deployments_url":"https://api.github.com/repos/lockstate/public/deployments","created_at":"2018-06-18T15:26:26Z","updated_at":"2018-09-12T19:29:21Z","pushed_at":"2018-09-24T22:15:34Z","git_url":"git://github.com/lockstate/public.git","ssh_url":"git@github.com:lockstate/public.git","clone_url":"https://github.com/lockstate/public.git","svn_url":"https://github.com/lockstate/public","homepage":null,"size":11,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lockstate/public/pulls/2"},"html":{"href":"https://github.com/lockstate/public/pull/2"},"issue":{"href":"https://api.github.com/repos/lockstate/public/issues/2"},"comments":{"href":"https://api.github.com/repos/lockstate/public/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/lockstate/public/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/lockstate/public/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lockstate/public/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/lockstate/public/statuses/6f060ee9f3786218d6bb530cc31b44ab555bbe6b"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":5,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"bruno-"}}