{"action":"created","comment":{"url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/pulls/comments/88386742","pull_request_review_id":8961047,"id":88386742,"diff_hunk":"@@ -0,0 +1,78 @@\n+class Bananas2Controller < ApplicationController\n+  \n+  \n+  \n+  before_action :set_banana, only: [:show, :edit, :update, :destroy]\n+\n+  # GET /bananas\n+  # \n+  # GET /bananas.json\n+  def index\n+    @bananas = Banana.all\n+  end\n+\n+  # GET /bananas/1\n+  # GET /bananas/1.json\n+  def show\n+  end\n+\n+  # GET /bananas/new\n+  def new\n+    @banana = Banana.new\n+  end\n+\n+  # GET /bananas/1/edit\n+  def edit\n+  end\n+\n+  # POST /bananas\n+  # POST /bananas.json\n+  def create\n+    @banana = Banana.new(params[:banana])\n+\n+    respond_to do |format|\n+      if @banana.save\n+        format.html { redirect_to @banana, notice: 'Banana was successfully created.' }\n+        format.json { render action: 'show', status: :created, location: @banana }\n+      else\n+        format.html { render action: 'new' }\n+        format.json { render json: @banana.errors, status: :unprocessable_entity }\n+      end\n+    end\n+  end\n+\n+  # PATCH/PUT /bananas/1\n+  # PATCH/PUT /bananas/1.json\n+  def update\n+    respond_to do |format|\n+      if @banana.update(banana_params)\n+        format.html { redirect_to @banana, notice: 'Banana was successfully updated.' }\n+        format.json { head :no_content }","path":"app/controllers/bananas2_controller.rb","position":50,"original_position":50,"commit_id":"9c28cc9a26d2c3483ebcfe9de5807582c6f0b8d3","original_commit_id":"9c28cc9a26d2c3483ebcfe9de5807582c6f0b8d3","user":{"login":"wata727","id":9624059,"avatar_url":"https://avatars.githubusercontent.com/u/9624059?v=3","gravatar_id":"","url":"https://api.github.com/users/wata727","html_url":"https://github.com/wata727","followers_url":"https://api.github.com/users/wata727/followers","following_url":"https://api.github.com/users/wata727/following{/other_user}","gists_url":"https://api.github.com/users/wata727/gists{/gist_id}","starred_url":"https://api.github.com/users/wata727/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wata727/subscriptions","organizations_url":"https://api.github.com/users/wata727/orgs","repos_url":"https://api.github.com/users/wata727/repos","events_url":"https://api.github.com/users/wata727/events{/privacy}","received_events_url":"https://api.github.com/users/wata727/received_events","type":"User","site_admin":false},"body":"__[staging][rubocop]__\n* Line is too long. [82/80] [:ref](https://github.com/bbatsov/ruby-style-guide#80-character-limits)\n\n<!-- Comment by [SideCI](https://sideci.com) -->","created_at":"2016-11-17T04:54:56Z","updated_at":"2016-11-17T04:54:56Z","html_url":"https://github.com/actcat/sideci_rails_sandbox/pull/45#discussion_r88386742","pull_request_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/pulls/45","_links":{"self":{"href":"https://api.github.com/repos/actcat/sideci_rails_sandbox/pulls/comments/88386742"},"html":{"href":"https://github.com/actcat/sideci_rails_sandbox/pull/45#discussion_r88386742"},"pull_request":{"href":"https://api.github.com/repos/actcat/sideci_rails_sandbox/pulls/45"}}},"pull_request":{"url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/pulls/45","id":94101980,"html_url":"https://github.com/actcat/sideci_rails_sandbox/pull/45","diff_url":"https://github.com/actcat/sideci_rails_sandbox/pull/45.diff","patch_url":"https://github.com/actcat/sideci_rails_sandbox/pull/45.patch","issue_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/issues/45","number":45,"state":"closed","locked":false,"title":"Test/empty rubocop yml","user":{"login":"pocke","id":4361134,"avatar_url":"https://avatars.githubusercontent.com/u/4361134?v=3","gravatar_id":"","url":"https://api.github.com/users/pocke","html_url":"https://github.com/pocke","followers_url":"https://api.github.com/users/pocke/followers","following_url":"https://api.github.com/users/pocke/following{/other_user}","gists_url":"https://api.github.com/users/pocke/gists{/gist_id}","starred_url":"https://api.github.com/users/pocke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pocke/subscriptions","organizations_url":"https://api.github.com/users/pocke/orgs","repos_url":"https://api.github.com/users/pocke/repos","events_url":"https://api.github.com/users/pocke/events{/privacy}","received_events_url":"https://api.github.com/users/pocke/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-17T04:48:50Z","updated_at":"2016-11-17T04:54:56Z","closed_at":"2016-11-17T04:50:16Z","merged_at":null,"merge_commit_sha":"6e8fa019266e6e6054be182fee78bf8fe62830f5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/pulls/45/commits","review_comments_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/pulls/45/comments","review_comment_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/pulls/comments{/number}","comments_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/issues/45/comments","statuses_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/statuses/9c28cc9a26d2c3483ebcfe9de5807582c6f0b8d3","head":{"label":"actcat:test/empty_rubocop_yml","ref":"test/empty_rubocop_yml","sha":"9c28cc9a26d2c3483ebcfe9de5807582c6f0b8d3","user":{"login":"actcat","id":5653312,"avatar_url":"https://avatars.githubusercontent.com/u/5653312?v=3","gravatar_id":"","url":"https://api.github.com/users/actcat","html_url":"https://github.com/actcat","followers_url":"https://api.github.com/users/actcat/followers","following_url":"https://api.github.com/users/actcat/following{/other_user}","gists_url":"https://api.github.com/users/actcat/gists{/gist_id}","starred_url":"https://api.github.com/users/actcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/actcat/subscriptions","organizations_url":"https://api.github.com/users/actcat/orgs","repos_url":"https://api.github.com/users/actcat/repos","events_url":"https://api.github.com/users/actcat/events{/privacy}","received_events_url":"https://api.github.com/users/actcat/received_events","type":"Organization","site_admin":false},"repo":{"id":38860676,"name":"sideci_rails_sandbox","full_name":"actcat/sideci_rails_sandbox","owner":{"login":"actcat","id":5653312,"avatar_url":"https://avatars.githubusercontent.com/u/5653312?v=3","gravatar_id":"","url":"https://api.github.com/users/actcat","html_url":"https://github.com/actcat","followers_url":"https://api.github.com/users/actcat/followers","following_url":"https://api.github.com/users/actcat/following{/other_user}","gists_url":"https://api.github.com/users/actcat/gists{/gist_id}","starred_url":"https://api.github.com/users/actcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/actcat/subscriptions","organizations_url":"https://api.github.com/users/actcat/orgs","repos_url":"https://api.github.com/users/actcat/repos","events_url":"https://api.github.com/users/actcat/events{/privacy}","received_events_url":"https://api.github.com/users/actcat/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/actcat/sideci_rails_sandbox","description":"SideCI Sandbox repository for Ruby on Rails 4.x project","fork":false,"url":"https://api.github.com/repos/actcat/sideci_rails_sandbox","forks_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/forks","keys_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/teams","hooks_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/hooks","issue_events_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/issues/events{/number}","events_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/events","assignees_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/assignees{/user}","branches_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/branches{/branch}","tags_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/tags","blobs_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/git/refs{/sha}","trees_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/statuses/{sha}","languages_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/languages","stargazers_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/stargazers","contributors_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/contributors","subscribers_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/subscribers","subscription_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/subscription","commits_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/commits{/sha}","git_commits_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/git/commits{/sha}","comments_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/comments{/number}","issue_comment_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/issues/comments{/number}","contents_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/contents/{+path}","compare_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/merges","archive_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/downloads","issues_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/issues{/number}","pulls_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/pulls{/number}","milestones_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/milestones{/number}","notifications_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/labels{/name}","releases_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/releases{/id}","deployments_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/deployments","created_at":"2015-07-10T04:20:28Z","updated_at":"2015-07-10T04:20:28Z","pushed_at":"2016-11-17T04:48:51Z","git_url":"git://github.com/actcat/sideci_rails_sandbox.git","ssh_url":"git@github.com:actcat/sideci_rails_sandbox.git","clone_url":"https://github.com/actcat/sideci_rails_sandbox.git","svn_url":"https://github.com/actcat/sideci_rails_sandbox","homepage":null,"size":196,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":6,"forks":9,"open_issues":6,"watchers":0,"default_branch":"master"}},"base":{"label":"actcat:master","ref":"master","sha":"9c5b153ef28acc078c16d38025bcf91e3d53c802","user":{"login":"actcat","id":5653312,"avatar_url":"https://avatars.githubusercontent.com/u/5653312?v=3","gravatar_id":"","url":"https://api.github.com/users/actcat","html_url":"https://github.com/actcat","followers_url":"https://api.github.com/users/actcat/followers","following_url":"https://api.github.com/users/actcat/following{/other_user}","gists_url":"https://api.github.com/users/actcat/gists{/gist_id}","starred_url":"https://api.github.com/users/actcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/actcat/subscriptions","organizations_url":"https://api.github.com/users/actcat/orgs","repos_url":"https://api.github.com/users/actcat/repos","events_url":"https://api.github.com/users/actcat/events{/privacy}","received_events_url":"https://api.github.com/users/actcat/received_events","type":"Organization","site_admin":false},"repo":{"id":38860676,"name":"sideci_rails_sandbox","full_name":"actcat/sideci_rails_sandbox","owner":{"login":"actcat","id":5653312,"avatar_url":"https://avatars.githubusercontent.com/u/5653312?v=3","gravatar_id":"","url":"https://api.github.com/users/actcat","html_url":"https://github.com/actcat","followers_url":"https://api.github.com/users/actcat/followers","following_url":"https://api.github.com/users/actcat/following{/other_user}","gists_url":"https://api.github.com/users/actcat/gists{/gist_id}","starred_url":"https://api.github.com/users/actcat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/actcat/subscriptions","organizations_url":"https://api.github.com/users/actcat/orgs","repos_url":"https://api.github.com/users/actcat/repos","events_url":"https://api.github.com/users/actcat/events{/privacy}","received_events_url":"https://api.github.com/users/actcat/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/actcat/sideci_rails_sandbox","description":"SideCI Sandbox repository for Ruby on Rails 4.x project","fork":false,"url":"https://api.github.com/repos/actcat/sideci_rails_sandbox","forks_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/forks","keys_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/keys{/key_id}","collaborators_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/teams","hooks_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/hooks","issue_events_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/issues/events{/number}","events_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/events","assignees_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/assignees{/user}","branches_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/branches{/branch}","tags_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/tags","blobs_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/git/refs{/sha}","trees_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/git/trees{/sha}","statuses_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/statuses/{sha}","languages_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/languages","stargazers_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/stargazers","contributors_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/contributors","subscribers_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/subscribers","subscription_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/subscription","commits_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/commits{/sha}","git_commits_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/git/commits{/sha}","comments_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/comments{/number}","issue_comment_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/issues/comments{/number}","contents_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/contents/{+path}","compare_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/compare/{base}...{head}","merges_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/merges","archive_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/downloads","issues_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/issues{/number}","pulls_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/pulls{/number}","milestones_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/milestones{/number}","notifications_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/labels{/name}","releases_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/releases{/id}","deployments_url":"https://api.github.com/repos/actcat/sideci_rails_sandbox/deployments","created_at":"2015-07-10T04:20:28Z","updated_at":"2015-07-10T04:20:28Z","pushed_at":"2016-11-17T04:48:51Z","git_url":"git://github.com/actcat/sideci_rails_sandbox.git","ssh_url":"git@github.com:actcat/sideci_rails_sandbox.git","clone_url":"https://github.com/actcat/sideci_rails_sandbox.git","svn_url":"https://github.com/actcat/sideci_rails_sandbox","homepage":null,"size":196,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":6,"forks":9,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/actcat/sideci_rails_sandbox/pulls/45"},"html":{"href":"https://github.com/actcat/sideci_rails_sandbox/pull/45"},"issue":{"href":"https://api.github.com/repos/actcat/sideci_rails_sandbox/issues/45"},"comments":{"href":"https://api.github.com/repos/actcat/sideci_rails_sandbox/issues/45/comments"},"review_comments":{"href":"https://api.github.com/repos/actcat/sideci_rails_sandbox/pulls/45/comments"},"review_comment":{"href":"https://api.github.com/repos/actcat/sideci_rails_sandbox/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/actcat/sideci_rails_sandbox/pulls/45/commits"},"statuses":{"href":"https://api.github.com/repos/actcat/sideci_rails_sandbox/statuses/9c28cc9a26d2c3483ebcfe9de5807582c6f0b8d3"}}}}
{"actor":{"display_login":"wata727"}}