{"action":"created","comment":{"url":"https://api.github.com/repos/tricycle/predictionbook/pulls/comments/64326022","id":64326022,"diff_hunk":"@@ -11,62 +10,53 @@\n   end\n \n   def render_view\n-    render :partial => 'predictions/list', :locals => { :title => 'Title' }\n+    render partial: 'predictions/list', locals: { title: 'Title' }\n   end\n \n   describe 'when showing statistics' do\n-\n     before(:each) do\n       view.stub(:show_statistics?).and_return(true)\n-      view.stub(:global_statistics_cache_key).and_return(\"foo\")\n+      view.stub(:global_statistics_cache_key).and_return('foo')\n     end\n \n     it 'renders the statistics partial if show_statistics? is true' do\n       view.stub(:cache).and_yield\n       render_view\n-      view.should render_template(:partial => 'statistics/_show')\n+      view.should render_template(partial: 'statistics/_show')\n     end\n \n     it 'should cache the statistics partial' do\n-      lambda { render_view }.should cache_fragment(\"views/foo\")\n+      -> { render_view }.should cache_fragment('views/foo')","path":"spec/views/predictions/_list.html.erb_spec.rb","position":null,"original_position":34,"commit_id":"77559a2b4a59e5a89367e65da45a349d06ac7efc","original_commit_id":"f1834afddc93661574893bedb974355e25128d4c","user":{"login":"jack-trikeapps","id":5904935,"avatar_url":"https://avatars.githubusercontent.com/u/5904935?v=3","gravatar_id":"","url":"https://api.github.com/users/jack-trikeapps","html_url":"https://github.com/jack-trikeapps","followers_url":"https://api.github.com/users/jack-trikeapps/followers","following_url":"https://api.github.com/users/jack-trikeapps/following{/other_user}","gists_url":"https://api.github.com/users/jack-trikeapps/gists{/gist_id}","starred_url":"https://api.github.com/users/jack-trikeapps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jack-trikeapps/subscriptions","organizations_url":"https://api.github.com/users/jack-trikeapps/orgs","repos_url":"https://api.github.com/users/jack-trikeapps/repos","events_url":"https://api.github.com/users/jack-trikeapps/events{/privacy}","received_events_url":"https://api.github.com/users/jack-trikeapps/received_events","type":"User","site_admin":false},"body":"I thought we didn't make a habit of using stabby lambdas?","created_at":"2016-05-24T04:09:56Z","updated_at":"2016-05-24T04:09:56Z","html_url":"https://github.com/tricycle/predictionbook/pull/90#discussion_r64326022","pull_request_url":"https://api.github.com/repos/tricycle/predictionbook/pulls/90","_links":{"self":{"href":"https://api.github.com/repos/tricycle/predictionbook/pulls/comments/64326022"},"html":{"href":"https://github.com/tricycle/predictionbook/pull/90#discussion_r64326022"},"pull_request":{"href":"https://api.github.com/repos/tricycle/predictionbook/pulls/90"}}},"pull_request":{"url":"https://api.github.com/repos/tricycle/predictionbook/pulls/90","id":71153880,"html_url":"https://github.com/tricycle/predictionbook/pull/90","diff_url":"https://github.com/tricycle/predictionbook/pull/90.diff","patch_url":"https://github.com/tricycle/predictionbook/pull/90.patch","issue_url":"https://api.github.com/repos/tricycle/predictionbook/issues/90","number":90,"state":"open","locked":false,"title":"Upgrade everything","user":{"login":"moggyboy","id":3733200,"avatar_url":"https://avatars.githubusercontent.com/u/3733200?v=3","gravatar_id":"","url":"https://api.github.com/users/moggyboy","html_url":"https://github.com/moggyboy","followers_url":"https://api.github.com/users/moggyboy/followers","following_url":"https://api.github.com/users/moggyboy/following{/other_user}","gists_url":"https://api.github.com/users/moggyboy/gists{/gist_id}","starred_url":"https://api.github.com/users/moggyboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/moggyboy/subscriptions","organizations_url":"https://api.github.com/users/moggyboy/orgs","repos_url":"https://api.github.com/users/moggyboy/repos","events_url":"https://api.github.com/users/moggyboy/events{/privacy}","received_events_url":"https://api.github.com/users/moggyboy/received_events","type":"User","site_admin":false},"body":"What it says on the tin. Upgrade everything. Kill Cucumber. Get rid of `should` deprecation warnings. Clean up useless stubby tests. Implement Devise. Show warning about passwords needing a reset.","created_at":"2016-05-24T03:43:04Z","updated_at":"2016-05-24T04:09:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c51996d0f08c8c16909371dcf5bdfcc23bc2dcab","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tricycle/predictionbook/pulls/90/commits","review_comments_url":"https://api.github.com/repos/tricycle/predictionbook/pulls/90/comments","review_comment_url":"https://api.github.com/repos/tricycle/predictionbook/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tricycle/predictionbook/issues/90/comments","statuses_url":"https://api.github.com/repos/tricycle/predictionbook/statuses/77559a2b4a59e5a89367e65da45a349d06ac7efc","head":{"label":"tricycle:upgrade-everything","ref":"upgrade-everything","sha":"77559a2b4a59e5a89367e65da45a349d06ac7efc","user":{"login":"tricycle","id":11724,"avatar_url":"https://avatars.githubusercontent.com/u/11724?v=3","gravatar_id":"","url":"https://api.github.com/users/tricycle","html_url":"https://github.com/tricycle","followers_url":"https://api.github.com/users/tricycle/followers","following_url":"https://api.github.com/users/tricycle/following{/other_user}","gists_url":"https://api.github.com/users/tricycle/gists{/gist_id}","starred_url":"https://api.github.com/users/tricycle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tricycle/subscriptions","organizations_url":"https://api.github.com/users/tricycle/orgs","repos_url":"https://api.github.com/users/tricycle/repos","events_url":"https://api.github.com/users/tricycle/events{/privacy}","received_events_url":"https://api.github.com/users/tricycle/received_events","type":"Organization","site_admin":false},"repo":{"id":8616031,"name":"predictionbook","full_name":"tricycle/predictionbook","owner":{"login":"tricycle","id":11724,"avatar_url":"https://avatars.githubusercontent.com/u/11724?v=3","gravatar_id":"","url":"https://api.github.com/users/tricycle","html_url":"https://github.com/tricycle","followers_url":"https://api.github.com/users/tricycle/followers","following_url":"https://api.github.com/users/tricycle/following{/other_user}","gists_url":"https://api.github.com/users/tricycle/gists{/gist_id}","starred_url":"https://api.github.com/users/tricycle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tricycle/subscriptions","organizations_url":"https://api.github.com/users/tricycle/orgs","repos_url":"https://api.github.com/users/tricycle/repos","events_url":"https://api.github.com/users/tricycle/events{/privacy}","received_events_url":"https://api.github.com/users/tricycle/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tricycle/predictionbook","description":"Find out just how sure you should be, and get better at being only as sure as the facts justify.","fork":false,"url":"https://api.github.com/repos/tricycle/predictionbook","forks_url":"https://api.github.com/repos/tricycle/predictionbook/forks","keys_url":"https://api.github.com/repos/tricycle/predictionbook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tricycle/predictionbook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tricycle/predictionbook/teams","hooks_url":"https://api.github.com/repos/tricycle/predictionbook/hooks","issue_events_url":"https://api.github.com/repos/tricycle/predictionbook/issues/events{/number}","events_url":"https://api.github.com/repos/tricycle/predictionbook/events","assignees_url":"https://api.github.com/repos/tricycle/predictionbook/assignees{/user}","branches_url":"https://api.github.com/repos/tricycle/predictionbook/branches{/branch}","tags_url":"https://api.github.com/repos/tricycle/predictionbook/tags","blobs_url":"https://api.github.com/repos/tricycle/predictionbook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tricycle/predictionbook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tricycle/predictionbook/git/refs{/sha}","trees_url":"https://api.github.com/repos/tricycle/predictionbook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tricycle/predictionbook/statuses/{sha}","languages_url":"https://api.github.com/repos/tricycle/predictionbook/languages","stargazers_url":"https://api.github.com/repos/tricycle/predictionbook/stargazers","contributors_url":"https://api.github.com/repos/tricycle/predictionbook/contributors","subscribers_url":"https://api.github.com/repos/tricycle/predictionbook/subscribers","subscription_url":"https://api.github.com/repos/tricycle/predictionbook/subscription","commits_url":"https://api.github.com/repos/tricycle/predictionbook/commits{/sha}","git_commits_url":"https://api.github.com/repos/tricycle/predictionbook/git/commits{/sha}","comments_url":"https://api.github.com/repos/tricycle/predictionbook/comments{/number}","issue_comment_url":"https://api.github.com/repos/tricycle/predictionbook/issues/comments{/number}","contents_url":"https://api.github.com/repos/tricycle/predictionbook/contents/{+path}","compare_url":"https://api.github.com/repos/tricycle/predictionbook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tricycle/predictionbook/merges","archive_url":"https://api.github.com/repos/tricycle/predictionbook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tricycle/predictionbook/downloads","issues_url":"https://api.github.com/repos/tricycle/predictionbook/issues{/number}","pulls_url":"https://api.github.com/repos/tricycle/predictionbook/pulls{/number}","milestones_url":"https://api.github.com/repos/tricycle/predictionbook/milestones{/number}","notifications_url":"https://api.github.com/repos/tricycle/predictionbook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tricycle/predictionbook/labels{/name}","releases_url":"https://api.github.com/repos/tricycle/predictionbook/releases{/id}","deployments_url":"https://api.github.com/repos/tricycle/predictionbook/deployments","created_at":"2013-03-06T23:43:20Z","updated_at":"2016-04-09T11:01:12Z","pushed_at":"2016-05-24T03:43:04Z","git_url":"git://github.com/tricycle/predictionbook.git","ssh_url":"git@github.com:tricycle/predictionbook.git","clone_url":"https://github.com/tricycle/predictionbook.git","svn_url":"https://github.com/tricycle/predictionbook","homepage":"http://predictionbook.com/","size":1212,"stargazers_count":19,"watchers_count":19,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":58,"forks":11,"open_issues":58,"watchers":19,"default_branch":"master"}},"base":{"label":"tricycle:master","ref":"master","sha":"ce575cd722c4eeb4a1c73749f5baa8466ef409ad","user":{"login":"tricycle","id":11724,"avatar_url":"https://avatars.githubusercontent.com/u/11724?v=3","gravatar_id":"","url":"https://api.github.com/users/tricycle","html_url":"https://github.com/tricycle","followers_url":"https://api.github.com/users/tricycle/followers","following_url":"https://api.github.com/users/tricycle/following{/other_user}","gists_url":"https://api.github.com/users/tricycle/gists{/gist_id}","starred_url":"https://api.github.com/users/tricycle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tricycle/subscriptions","organizations_url":"https://api.github.com/users/tricycle/orgs","repos_url":"https://api.github.com/users/tricycle/repos","events_url":"https://api.github.com/users/tricycle/events{/privacy}","received_events_url":"https://api.github.com/users/tricycle/received_events","type":"Organization","site_admin":false},"repo":{"id":8616031,"name":"predictionbook","full_name":"tricycle/predictionbook","owner":{"login":"tricycle","id":11724,"avatar_url":"https://avatars.githubusercontent.com/u/11724?v=3","gravatar_id":"","url":"https://api.github.com/users/tricycle","html_url":"https://github.com/tricycle","followers_url":"https://api.github.com/users/tricycle/followers","following_url":"https://api.github.com/users/tricycle/following{/other_user}","gists_url":"https://api.github.com/users/tricycle/gists{/gist_id}","starred_url":"https://api.github.com/users/tricycle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tricycle/subscriptions","organizations_url":"https://api.github.com/users/tricycle/orgs","repos_url":"https://api.github.com/users/tricycle/repos","events_url":"https://api.github.com/users/tricycle/events{/privacy}","received_events_url":"https://api.github.com/users/tricycle/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tricycle/predictionbook","description":"Find out just how sure you should be, and get better at being only as sure as the facts justify.","fork":false,"url":"https://api.github.com/repos/tricycle/predictionbook","forks_url":"https://api.github.com/repos/tricycle/predictionbook/forks","keys_url":"https://api.github.com/repos/tricycle/predictionbook/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tricycle/predictionbook/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tricycle/predictionbook/teams","hooks_url":"https://api.github.com/repos/tricycle/predictionbook/hooks","issue_events_url":"https://api.github.com/repos/tricycle/predictionbook/issues/events{/number}","events_url":"https://api.github.com/repos/tricycle/predictionbook/events","assignees_url":"https://api.github.com/repos/tricycle/predictionbook/assignees{/user}","branches_url":"https://api.github.com/repos/tricycle/predictionbook/branches{/branch}","tags_url":"https://api.github.com/repos/tricycle/predictionbook/tags","blobs_url":"https://api.github.com/repos/tricycle/predictionbook/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tricycle/predictionbook/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tricycle/predictionbook/git/refs{/sha}","trees_url":"https://api.github.com/repos/tricycle/predictionbook/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tricycle/predictionbook/statuses/{sha}","languages_url":"https://api.github.com/repos/tricycle/predictionbook/languages","stargazers_url":"https://api.github.com/repos/tricycle/predictionbook/stargazers","contributors_url":"https://api.github.com/repos/tricycle/predictionbook/contributors","subscribers_url":"https://api.github.com/repos/tricycle/predictionbook/subscribers","subscription_url":"https://api.github.com/repos/tricycle/predictionbook/subscription","commits_url":"https://api.github.com/repos/tricycle/predictionbook/commits{/sha}","git_commits_url":"https://api.github.com/repos/tricycle/predictionbook/git/commits{/sha}","comments_url":"https://api.github.com/repos/tricycle/predictionbook/comments{/number}","issue_comment_url":"https://api.github.com/repos/tricycle/predictionbook/issues/comments{/number}","contents_url":"https://api.github.com/repos/tricycle/predictionbook/contents/{+path}","compare_url":"https://api.github.com/repos/tricycle/predictionbook/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tricycle/predictionbook/merges","archive_url":"https://api.github.com/repos/tricycle/predictionbook/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tricycle/predictionbook/downloads","issues_url":"https://api.github.com/repos/tricycle/predictionbook/issues{/number}","pulls_url":"https://api.github.com/repos/tricycle/predictionbook/pulls{/number}","milestones_url":"https://api.github.com/repos/tricycle/predictionbook/milestones{/number}","notifications_url":"https://api.github.com/repos/tricycle/predictionbook/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tricycle/predictionbook/labels{/name}","releases_url":"https://api.github.com/repos/tricycle/predictionbook/releases{/id}","deployments_url":"https://api.github.com/repos/tricycle/predictionbook/deployments","created_at":"2013-03-06T23:43:20Z","updated_at":"2016-04-09T11:01:12Z","pushed_at":"2016-05-24T03:43:04Z","git_url":"git://github.com/tricycle/predictionbook.git","ssh_url":"git@github.com:tricycle/predictionbook.git","clone_url":"https://github.com/tricycle/predictionbook.git","svn_url":"https://github.com/tricycle/predictionbook","homepage":"http://predictionbook.com/","size":1212,"stargazers_count":19,"watchers_count":19,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":58,"forks":11,"open_issues":58,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tricycle/predictionbook/pulls/90"},"html":{"href":"https://github.com/tricycle/predictionbook/pull/90"},"issue":{"href":"https://api.github.com/repos/tricycle/predictionbook/issues/90"},"comments":{"href":"https://api.github.com/repos/tricycle/predictionbook/issues/90/comments"},"review_comments":{"href":"https://api.github.com/repos/tricycle/predictionbook/pulls/90/comments"},"review_comment":{"href":"https://api.github.com/repos/tricycle/predictionbook/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tricycle/predictionbook/pulls/90/commits"},"statuses":{"href":"https://api.github.com/repos/tricycle/predictionbook/statuses/77559a2b4a59e5a89367e65da45a349d06ac7efc"}}}}
{"actor":{"display_login":"jack-trikeapps"}}