{"action":"created","comment":{"url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/pulls/comments/241969037","pull_request_review_id":185375759,"id":241969037,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MTk2OTAzNw==","diff_hunk":"@@ -1,9 +1,11 @@\n+# frozen_string_literal: true\n+\n # This file is copied to spec/ when you run 'rails generate rspec:install'\n require 'spec_helper'\n ENV['RAILS_ENV'] ||= 'test'\n-require File.expand_path('../../config/environment', __FILE__)\n+require File.expand_path('../config/environment', __dir__)\n # Prevent database truncation if the environment is production\n-abort(\"The Rails environment is running in production mode!\") if Rails.env.production?\n+abort('The Rails environment is running in production mode!') if Rails.env.production?","path":"spec/rails_helper.rb","position":10,"original_position":10,"commit_id":"2971a64a4a43c9ea2c49aaa9c20972a0bb29d1ce","original_commit_id":"2971a64a4a43c9ea2c49aaa9c20972a0bb29d1ce","user":{"login":"hound[bot]","id":30008653,"node_id":"MDM6Qm90MzAwMDg2NTM=","avatar_url":"https://avatars1.githubusercontent.com/in/3598?v=4","gravatar_id":"","url":"https://api.github.com/users/hound%5Bbot%5D","html_url":"https://github.com/apps/hound","followers_url":"https://api.github.com/users/hound%5Bbot%5D/followers","following_url":"https://api.github.com/users/hound%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/hound%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/hound%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hound%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/hound%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/hound%5Bbot%5D/repos","events_url":"https://api.github.com/users/hound%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/hound%5Bbot%5D/received_events","type":"Bot","site_admin":false},"body":"Metrics/LineLength: Line is too long. [86/80]","created_at":"2018-12-16T06:10:28Z","updated_at":"2018-12-16T06:10:29Z","html_url":"https://github.com/wu790616/restaurant-rspec-learn/pull/1#discussion_r241969037","pull_request_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/pulls/1","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/pulls/comments/241969037"},"html":{"href":"https://github.com/wu790616/restaurant-rspec-learn/pull/1#discussion_r241969037"},"pull_request":{"href":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/pulls/1","id":238948797,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM4OTQ4Nzk3","html_url":"https://github.com/wu790616/restaurant-rspec-learn/pull/1","diff_url":"https://github.com/wu790616/restaurant-rspec-learn/pull/1.diff","patch_url":"https://github.com/wu790616/restaurant-rspec-learn/pull/1.patch","issue_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/issues/1","number":1,"state":"open","locked":false,"title":"rubocop -a to fix some offenses","user":{"login":"wu790616","id":31991375,"node_id":"MDQ6VXNlcjMxOTkxMzc1","avatar_url":"https://avatars2.githubusercontent.com/u/31991375?v=4","gravatar_id":"","url":"https://api.github.com/users/wu790616","html_url":"https://github.com/wu790616","followers_url":"https://api.github.com/users/wu790616/followers","following_url":"https://api.github.com/users/wu790616/following{/other_user}","gists_url":"https://api.github.com/users/wu790616/gists{/gist_id}","starred_url":"https://api.github.com/users/wu790616/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wu790616/subscriptions","organizations_url":"https://api.github.com/users/wu790616/orgs","repos_url":"https://api.github.com/users/wu790616/repos","events_url":"https://api.github.com/users/wu790616/events{/privacy}","received_events_url":"https://api.github.com/users/wu790616/received_events","type":"User","site_admin":false},"body":"rubocop -a to fix some offenses\r\ntry Hound review PR.","created_at":"2018-12-16T06:09:21Z","updated_at":"2018-12-16T06:10:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cfb4093c8db0406fa03686e80567da89b19c5370","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/pulls/1/commits","review_comments_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/pulls/1/comments","review_comment_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/issues/1/comments","statuses_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/statuses/2971a64a4a43c9ea2c49aaa9c20972a0bb29d1ce","head":{"label":"wu790616:modify_style","ref":"modify_style","sha":"2971a64a4a43c9ea2c49aaa9c20972a0bb29d1ce","user":{"login":"wu790616","id":31991375,"node_id":"MDQ6VXNlcjMxOTkxMzc1","avatar_url":"https://avatars2.githubusercontent.com/u/31991375?v=4","gravatar_id":"","url":"https://api.github.com/users/wu790616","html_url":"https://github.com/wu790616","followers_url":"https://api.github.com/users/wu790616/followers","following_url":"https://api.github.com/users/wu790616/following{/other_user}","gists_url":"https://api.github.com/users/wu790616/gists{/gist_id}","starred_url":"https://api.github.com/users/wu790616/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wu790616/subscriptions","organizations_url":"https://api.github.com/users/wu790616/orgs","repos_url":"https://api.github.com/users/wu790616/repos","events_url":"https://api.github.com/users/wu790616/events{/privacy}","received_events_url":"https://api.github.com/users/wu790616/received_events","type":"User","site_admin":false},"repo":{"id":161613275,"node_id":"MDEwOlJlcG9zaXRvcnkxNjE2MTMyNzU=","name":"restaurant-rspec-learn","full_name":"wu790616/restaurant-rspec-learn","private":false,"owner":{"login":"wu790616","id":31991375,"node_id":"MDQ6VXNlcjMxOTkxMzc1","avatar_url":"https://avatars2.githubusercontent.com/u/31991375?v=4","gravatar_id":"","url":"https://api.github.com/users/wu790616","html_url":"https://github.com/wu790616","followers_url":"https://api.github.com/users/wu790616/followers","following_url":"https://api.github.com/users/wu790616/following{/other_user}","gists_url":"https://api.github.com/users/wu790616/gists{/gist_id}","starred_url":"https://api.github.com/users/wu790616/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wu790616/subscriptions","organizations_url":"https://api.github.com/users/wu790616/orgs","repos_url":"https://api.github.com/users/wu790616/repos","events_url":"https://api.github.com/users/wu790616/events{/privacy}","received_events_url":"https://api.github.com/users/wu790616/received_events","type":"User","site_admin":false},"html_url":"https://github.com/wu790616/restaurant-rspec-learn","description":null,"fork":false,"url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn","forks_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/forks","keys_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/teams","hooks_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/hooks","issue_events_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/issues/events{/number}","events_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/events","assignees_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/assignees{/user}","branches_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/branches{/branch}","tags_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/tags","blobs_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/git/refs{/sha}","trees_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/statuses/{sha}","languages_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/languages","stargazers_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/stargazers","contributors_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/contributors","subscribers_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/subscribers","subscription_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/subscription","commits_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/commits{/sha}","git_commits_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/git/commits{/sha}","comments_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/comments{/number}","issue_comment_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/issues/comments{/number}","contents_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/contents/{+path}","compare_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/merges","archive_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/downloads","issues_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/issues{/number}","pulls_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/pulls{/number}","milestones_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/milestones{/number}","notifications_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/labels{/name}","releases_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/releases{/id}","deployments_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/deployments","created_at":"2018-12-13T09:14:07Z","updated_at":"2018-12-15T16:02:11Z","pushed_at":"2018-12-16T06:09:22Z","git_url":"git://github.com/wu790616/restaurant-rspec-learn.git","ssh_url":"git@github.com:wu790616/restaurant-rspec-learn.git","clone_url":"https://github.com/wu790616/restaurant-rspec-learn.git","svn_url":"https://github.com/wu790616/restaurant-rspec-learn","homepage":null,"size":138,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"wu790616:master","ref":"master","sha":"1aee3c066930ec50d2814b06926215654766d096","user":{"login":"wu790616","id":31991375,"node_id":"MDQ6VXNlcjMxOTkxMzc1","avatar_url":"https://avatars2.githubusercontent.com/u/31991375?v=4","gravatar_id":"","url":"https://api.github.com/users/wu790616","html_url":"https://github.com/wu790616","followers_url":"https://api.github.com/users/wu790616/followers","following_url":"https://api.github.com/users/wu790616/following{/other_user}","gists_url":"https://api.github.com/users/wu790616/gists{/gist_id}","starred_url":"https://api.github.com/users/wu790616/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wu790616/subscriptions","organizations_url":"https://api.github.com/users/wu790616/orgs","repos_url":"https://api.github.com/users/wu790616/repos","events_url":"https://api.github.com/users/wu790616/events{/privacy}","received_events_url":"https://api.github.com/users/wu790616/received_events","type":"User","site_admin":false},"repo":{"id":161613275,"node_id":"MDEwOlJlcG9zaXRvcnkxNjE2MTMyNzU=","name":"restaurant-rspec-learn","full_name":"wu790616/restaurant-rspec-learn","private":false,"owner":{"login":"wu790616","id":31991375,"node_id":"MDQ6VXNlcjMxOTkxMzc1","avatar_url":"https://avatars2.githubusercontent.com/u/31991375?v=4","gravatar_id":"","url":"https://api.github.com/users/wu790616","html_url":"https://github.com/wu790616","followers_url":"https://api.github.com/users/wu790616/followers","following_url":"https://api.github.com/users/wu790616/following{/other_user}","gists_url":"https://api.github.com/users/wu790616/gists{/gist_id}","starred_url":"https://api.github.com/users/wu790616/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wu790616/subscriptions","organizations_url":"https://api.github.com/users/wu790616/orgs","repos_url":"https://api.github.com/users/wu790616/repos","events_url":"https://api.github.com/users/wu790616/events{/privacy}","received_events_url":"https://api.github.com/users/wu790616/received_events","type":"User","site_admin":false},"html_url":"https://github.com/wu790616/restaurant-rspec-learn","description":null,"fork":false,"url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn","forks_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/forks","keys_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/teams","hooks_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/hooks","issue_events_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/issues/events{/number}","events_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/events","assignees_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/assignees{/user}","branches_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/branches{/branch}","tags_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/tags","blobs_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/git/refs{/sha}","trees_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/statuses/{sha}","languages_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/languages","stargazers_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/stargazers","contributors_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/contributors","subscribers_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/subscribers","subscription_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/subscription","commits_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/commits{/sha}","git_commits_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/git/commits{/sha}","comments_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/comments{/number}","issue_comment_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/issues/comments{/number}","contents_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/contents/{+path}","compare_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/merges","archive_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/downloads","issues_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/issues{/number}","pulls_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/pulls{/number}","milestones_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/milestones{/number}","notifications_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/labels{/name}","releases_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/releases{/id}","deployments_url":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/deployments","created_at":"2018-12-13T09:14:07Z","updated_at":"2018-12-15T16:02:11Z","pushed_at":"2018-12-16T06:09:22Z","git_url":"git://github.com/wu790616/restaurant-rspec-learn.git","ssh_url":"git@github.com:wu790616/restaurant-rspec-learn.git","clone_url":"https://github.com/wu790616/restaurant-rspec-learn.git","svn_url":"https://github.com/wu790616/restaurant-rspec-learn","homepage":null,"size":138,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/pulls/1"},"html":{"href":"https://github.com/wu790616/restaurant-rspec-learn/pull/1"},"issue":{"href":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/issues/1"},"comments":{"href":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/wu790616/restaurant-rspec-learn/statuses/2971a64a4a43c9ea2c49aaa9c20972a0bb29d1ce"}},"author_association":"OWNER"}}
{"actor":{"display_login":"hound"}}