Commit b9730916 by Bui Minh Duc

implement comment inner pulls

parent 6ab05a6c
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
// Place all the styles related to the comments controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
class CommentsController < ApplicationController
def create
comment = Comment.new
comment.body = params[:comment][:content]
comment.score = params[:comment][:score]
comment.issue_id = params[:pull_id]
comment.user_id = User.first.id
comment.comment_type = 1
comment.save
redirect_to pull_path(id: params[:pull_id])
end
def update
comment = Comment.find_by(id: params[:id])
comment.score = params[:comment][:score].to_i
comment.save
render json: {comment: comment.id, score: comment.score}
end
def destroy
comment = Comment.find_by(id: params[:id])
comment.destroy
render json: {comment: params[:id], status: "success"}
end
end
class PullsController < ApplicationController
def show
@pull = Issue.find_by(id: params[:id])
@id = params[:id]
@pull = Issue.find_by(id: @id)
@issue = @pull.issue
@repo = @issue.repository
@comments = @pull.comments
@comments = @pull.comments.where(comment_type: 0)
@rv_comments = @pull.review_comments
@manager_comments = @pull.comments.where(comment_type: 1)
@options = [
{id: 0, type: "None"},
......@@ -16,10 +18,12 @@ class PullsController < ApplicationController
end
def update
@rv_comment = ReviewComment.find_by(id: params[:rv_comment][:id])
@rv_comment.score = params[:rv_comment][:score]
@rv_comment.save
if !params[:rv_comment].nil?
@rv_comment = ReviewComment.find_by(id: params[:rv_comment][:id])
@rv_comment.score = params[:rv_comment][:score]
@rv_comment.save
render json: {comment: @rv_comment.id, score: @rv_comment.score}
render json: {comment: @rv_comment.id, score: @rv_comment.score}
end
end
end
module CommentsHelper
end
......@@ -31,10 +31,12 @@
</div>
<div class="panel-body">
<% @rv_comments.each do |rv_comment| %>
<%= form_for :rv_comment, method: :patch, html: { class: "form-inline" } do |f| %>
<%= form_for :rv_comment, method: :patch, html: { class: "form-inline rate-form" } do |f| %>
<div class="panel panel-default">
<%= f.hidden_field "id", value: rv_comment.id %>
<div class="panel-heading"><h5><%= link_to rv_comment.user.login, rv_comment.user.html_url %></h5></div>
<div class="panel-heading">
<h5><%= link_to rv_comment.user.login, rv_comment.user.html_url %></h5>
</div>
<div class="panel-body">
<div class="panel panel-default">
<div class="panel-body">
......@@ -63,12 +65,39 @@
<h4><b>After Release</b></h4>
</div>
<div class="panel-body">
<% @manager_comments.each do |cmt| %>
<div class="panel panel-default">
<div class="panel-heading">
<%= form_for :comment, url: pull_comment_path(pull_id: @pull.id, id: cmt.id), method: :delete, html: { class: "delete-form" } do |f| %>
<h5>
<%= link_to cmt.user.login, cmt.user.html_url %>
<%= f.submit "Delete", class: "btn btn-danger btn-xs btn-delete", style: "float: right;" %>
</h5>
<% end %>
</div>
<%= form_for :comment, url: pull_comment_path(pull_id: @pull.id, id: cmt.id), method: :patch, html: { class: "form-inline rate-form" } do |f| %>
<div class="panel-body">
<div class="col-md-8">
<p><%= cmt.body %></p>
</div>
<div class="col-md-4">
<div class="form-group" style="float: right;">
<% @comment = OpenStruct.new({ score: cmt.score }) %>
<%= f.select("score", @options.collect { |x| [ x[:type], x[:id] ] }, {}, { class: 'form-control' }) %>
<%= f.submit "Save", class: "btn btn-default btn-save" %>
</div>
</div>
</div>
<% end %>
</div>
<% end %>
<div class="panel panel-default">
<div class="panel-heading">
<h5><b>Add a comment</b></h5>
</div>
<div class="panel-body">
<%= form_for :comment, html: { class: "form-horizontal" } do |f| %>
<%= form_for :comment, url: pull_comments_path(pull_id: @pull.id), method: :post, html: { class: "form-horizontal" } do |f| %>
<div class="form-group">
<div class="col-md-12">
<%= f.text_area :content, { class: "form-control", rows: 4 } %>
......@@ -79,7 +108,7 @@
<%= f.submit "Submit", class: "btn btn-default", style: "float: right;" %>
</div>
<div class="col-md-3" style="float: right;">
<%= f.select("score", @options.collect { |x| [ x[:type], x[:id] ] }, {}, { class: 'form-control', style: "float: right;" }) %>
<%= f.select(:score, @options.collect { |x| [ x[:type], x[:id] ] }, {}, { class: 'form-control', style: "float: right;" }) %>
</div>
</div>
<% end %>
......@@ -111,30 +140,73 @@
</div>
</div>
</div>
<!-- Modal -->
<div class="modal fade" id="modal-delete" role="dialog">
<div class="modal-dialog modal-sm">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">&times;</button>
<h4 class="modal-title">Delete Comment</h4>
</div>
<div class="modal-body">
<p>Do you want to delete this comment?</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-danger btn-delete-modal">Delete</button>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript">
$("form").submit(function() {
var submitVar = $(this).serialize();
var submitData = null;
$(".btn-delete").click(function() {
$('#modal-delete').modal();
$(".delete-form").submit(function(event) {
submitData = $(this);
return false;
});
});
$(".btn-delete-modal").click(function() {
$('#modal-delete').modal("hide");
$.ajax({
type: "POST",
url: $(this).attr("action"),
data: submitVar,
dataType: "JSON"
}).success(function(json) {
console.log(json);
$.notify({
title: "Success!",
message: "Comment score changed successfully.",
},{
type: "success",
delay: 100,
timer: 1000,
type: "POST",
url: submitData.attr("action"),
data: submitData.serialize(),
dataType: "JSON"
}).success(function(json) {
location.reload();
});
});
$(".btn-save").click(function() {
$(".rate-form").submit(function(event) {
var submitVar = $(this).serialize();
$.ajax({
type: "POST",
url: $(this).attr("action"),
data: submitVar,
dataType: "JSON"
}).success(function(json) {
console.log(json);
$.notify({
title: "Success!",
message: "Comment score changed successfully.",
},{
type: "success",
delay: 100,
timer: 1000,
});
});
return false;
});
return false;
});
</script>
</div>
......@@ -7,7 +7,9 @@ Rails.application.routes.draw do
get "/user", to: "user#index"
resources :issues
resources :pulls
resources :pulls do
resources :comments
end
resources :repositories
resources :comments
......
......@@ -291,3 +291,233 @@ I, [2017-01-10T16:00:03.546840 #12160] INFO -- : Insert issues
I, [2017-01-10T16:01:30.623132 #12160] INFO -- : Insert comments
I, [2017-01-10T16:01:56.175452 #12160] INFO -- : Insert review comments
I, [2017-01-10T16:02:32.874671 #12160] INFO -- : Finished task update in 149.500008173s
I, [2017-01-10T17:00:04.014295 #15587] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-10T17:00:04.017719 #15587] INFO -- : Insert issues
I, [2017-01-10T17:01:33.691694 #15587] INFO -- : Insert comments
I, [2017-01-10T17:01:59.446005 #15587] INFO -- : Insert review comments
I, [2017-01-10T17:02:41.352394 #15587] INFO -- : Finished task update in 157.501399747s
I, [2017-01-10T18:00:03.634777 #17062] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-10T18:00:03.638238 #17062] INFO -- : Insert issues
I, [2017-01-10T18:01:31.347260 #17062] INFO -- : Insert comments
I, [2017-01-10T18:01:57.247281 #17062] INFO -- : Insert review comments
I, [2017-01-10T18:02:35.201061 #17062] INFO -- : Finished task update in 151.700282941s
I, [2017-01-10T19:00:03.316422 #17843] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-10T19:00:03.319931 #17843] INFO -- : Insert issues
I, [2017-01-10T19:01:31.261930 #17843] INFO -- : Insert comments
I, [2017-01-10T19:01:57.560036 #17843] INFO -- : Insert review comments
I, [2017-01-10T19:02:39.868123 #17843] INFO -- : Finished task update in 156.702973319s
I, [2017-01-10T20:00:04.038330 #18731] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-10T20:00:04.041619 #18731] INFO -- : Insert issues
I, [2017-01-10T20:01:31.075843 #18731] INFO -- : Insert comments
I, [2017-01-10T20:01:56.855698 #18731] INFO -- : Insert review comments
I, [2017-01-10T20:02:38.536317 #18731] INFO -- : Finished task update in 154.655333316s
I, [2017-01-10T21:00:03.677050 #19556] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-10T21:00:03.680326 #19556] INFO -- : Insert issues
I, [2017-01-10T21:01:32.052680 #19556] INFO -- : Insert comments
I, [2017-01-10T21:01:58.213298 #19556] INFO -- : Insert review comments
I, [2017-01-10T21:02:37.719838 #19556] INFO -- : Finished task update in 154.196144465s
I, [2017-01-10T22:00:03.824907 #20441] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-10T22:00:03.828091 #20441] INFO -- : Insert issues
I, [2017-01-10T22:01:34.294217 #20441] INFO -- : Insert comments
I, [2017-01-10T22:02:00.612699 #20441] INFO -- : Insert review comments
I, [2017-01-10T22:02:41.195779 #20441] INFO -- : Finished task update in 157.504517713s
I, [2017-01-10T23:00:03.267764 #21278] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-10T23:00:03.271268 #21278] INFO -- : Insert issues
I, [2017-01-10T23:01:32.958677 #21278] INFO -- : Insert comments
I, [2017-01-10T23:01:59.558218 #21278] INFO -- : Insert review comments
I, [2017-01-10T23:02:53.950141 #21278] INFO -- : Finished task update in 170.83743667s
I, [2017-01-11T00:00:03.048468 #22341] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-11T00:00:03.051714 #22341] INFO -- : Insert issues
I, [2017-01-11T00:01:32.547718 #22341] INFO -- : Insert comments
I, [2017-01-11T00:01:58.230433 #22341] INFO -- : Insert review comments
I, [2017-01-11T00:02:37.472836 #22341] INFO -- : Finished task update in 154.58026606s
I, [2017-01-11T01:00:03.584248 #23156] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-11T01:00:03.587499 #23156] INFO -- : Insert issues
I, [2017-01-11T01:01:31.818597 #23156] INFO -- : Insert comments
I, [2017-01-11T01:01:57.678842 #23156] INFO -- : Insert review comments
I, [2017-01-11T01:02:39.748163 #23156] INFO -- : Finished task update in 156.314149645s
I, [2017-01-11T02:00:03.892629 #24609] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-11T02:00:03.895827 #24609] INFO -- : Insert issues
I, [2017-01-11T02:01:30.720474 #24609] INFO -- : Insert comments
I, [2017-01-11T02:01:56.758084 #24609] INFO -- : Insert review comments
I, [2017-01-11T02:02:36.749967 #24609] INFO -- : Finished task update in 153.006952972s
I, [2017-01-11T03:00:03.863929 #25375] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-11T03:00:03.867512 #25375] INFO -- : Insert issues
I, [2017-01-11T03:01:31.230384 #25375] INFO -- : Insert comments
I, [2017-01-11T03:01:57.222005 #25375] INFO -- : Insert review comments
I, [2017-01-11T03:02:38.789724 #25375] INFO -- : Finished task update in 155.084422993s
I, [2017-01-11T04:00:03.960646 #26183] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-11T04:00:03.963818 #26183] INFO -- : Insert issues
I, [2017-01-11T04:01:31.221430 #26183] INFO -- : Insert comments
I, [2017-01-11T04:01:57.099900 #26183] INFO -- : Insert review comments
I, [2017-01-11T04:02:30.565358 #26183] INFO -- : Finished task update in 146.738378428s
I, [2017-01-11T05:00:03.720703 #26987] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-11T05:00:03.723986 #26987] INFO -- : Insert issues
I, [2017-01-11T05:01:30.726228 #26987] INFO -- : Insert comments
I, [2017-01-11T05:01:56.591614 #26987] INFO -- : Insert review comments
I, [2017-01-11T05:02:41.283697 #26987] INFO -- : Finished task update in 157.713795632s
I, [2017-01-11T06:00:03.355309 #27769] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-11T06:00:03.358751 #27769] INFO -- : Insert issues
I, [2017-01-11T06:01:30.900777 #27769] INFO -- : Insert comments
I, [2017-01-11T06:01:57.171640 #27769] INFO -- : Insert review comments
I, [2017-01-11T06:02:35.358931 #27769] INFO -- : Finished task update in 152.15631591s
I, [2017-01-11T07:00:03.528690 #29214] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-11T07:00:03.532285 #29214] INFO -- : Insert issues
I, [2017-01-11T07:01:31.902730 #29214] INFO -- : Insert comments
I, [2017-01-11T07:01:57.822307 #29214] INFO -- : Insert review comments
I, [2017-01-11T07:02:37.178775 #29214] INFO -- : Finished task update in 153.80693874s
I, [2017-01-11T08:00:03.611502 #30720] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-11T08:00:03.614813 #30720] INFO -- : Insert issues
I, [2017-01-11T08:01:30.037924 #30720] INFO -- : Insert comments
I, [2017-01-11T08:01:55.940131 #30720] INFO -- : Insert review comments
I, [2017-01-11T08:02:36.216673 #30720] INFO -- : Finished task update in 152.75965578s
I, [2017-01-11T09:00:03.356152 #31806] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-11T09:00:03.360389 #31806] INFO -- : Insert issues
I, [2017-01-11T09:01:29.688514 #31806] INFO -- : Insert comments
I, [2017-01-11T09:01:55.670926 #31806] INFO -- : Insert review comments
I, [2017-01-11T09:02:34.569087 #31806] INFO -- : Finished task update in 151.37709596s
I, [2017-01-11T10:00:03.700274 #32703] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-11T10:00:03.703851 #32703] INFO -- : Insert issues
I, [2017-01-11T10:01:31.701414 #32703] INFO -- : Insert comments
I, [2017-01-11T10:01:57.315311 #32703] INFO -- : Insert review comments
I, [2017-01-11T10:02:34.608676 #32703] INFO -- : Finished task update in 151.064481112s
I, [2017-01-11T11:00:03.705256 #1123] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-11T11:00:03.708503 #1123] INFO -- : Insert issues
I, [2017-01-11T11:01:29.972615 #1123] INFO -- : Insert comments
I, [2017-01-11T11:01:55.425952 #1123] INFO -- : Insert review comments
I, [2017-01-11T11:02:29.411692 #1123] INFO -- : Finished task update in 145.862062637s
I, [2017-01-11T12:00:03.583417 #2234] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-11T12:00:03.586790 #2234] INFO -- : Insert issues
I, [2017-01-11T12:01:30.953153 #2234] INFO -- : Insert comments
I, [2017-01-11T12:01:56.545459 #2234] INFO -- : Insert review comments
I, [2017-01-11T12:02:36.055464 #2234] INFO -- : Finished task update in 152.625438489s
I, [2017-01-11T13:00:03.453173 #4834] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-11T13:00:03.456475 #4834] INFO -- : Insert issues
I, [2017-01-11T13:01:29.750852 #4834] INFO -- : Insert comments
I, [2017-01-11T13:01:57.943974 #4834] INFO -- : Insert review comments
I, [2017-01-11T13:04:38.628924 #4834] INFO -- : Finished task update in 275.335834932s
I, [2017-01-11T14:00:07.302055 #8876] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-11T14:00:07.305404 #8876] INFO -- : Insert issues
I, [2017-01-11T14:03:33.683167 #8876] INFO -- : Insert comments
I, [2017-01-11T14:04:07.443347 #8876] INFO -- : Insert review comments
I, [2017-01-11T14:04:43.593111 #8876] INFO -- : Finished task update in 276.453921862s
I, [2017-01-11T15:00:03.745355 #12156] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-11T15:00:03.748885 #12156] INFO -- : Insert issues
I, [2017-01-11T15:01:31.168396 #12156] INFO -- : Insert comments
I, [2017-01-11T15:01:56.350041 #12156] INFO -- : Insert review comments
I, [2017-01-11T15:02:34.867785 #12156] INFO -- : Finished task update in 151.282030406s
I, [2017-01-11T16:00:04.133326 #14961] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-11T16:00:04.136802 #14961] INFO -- : Insert issues
I, [2017-01-11T16:01:31.245542 #14961] INFO -- : Insert comments
I, [2017-01-11T16:01:56.585578 #14961] INFO -- : Insert review comments
I, [2017-01-11T16:02:33.624231 #14961] INFO -- : Finished task update in 149.634371692s
I, [2017-01-11T17:00:03.834328 #18919] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-11T17:00:03.837554 #18919] INFO -- : Insert issues
I, [2017-01-11T17:01:28.834238 #18919] INFO -- : Insert comments
I, [2017-01-11T17:01:53.175320 #18919] INFO -- : Insert review comments
I, [2017-01-11T17:02:29.876720 #18919] INFO -- : Finished task update in 146.200024664s
I, [2017-01-11T18:00:03.161030 #20741] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-11T18:00:03.164189 #20741] INFO -- : Insert issues
I, [2017-01-11T18:01:23.835831 #20741] INFO -- : Insert comments
I, [2017-01-11T18:01:48.089282 #20741] INFO -- : Insert review comments
I, [2017-01-11T18:02:22.536690 #20741] INFO -- : Finished task update in 139.510749802s
I, [2017-01-11T19:00:03.706606 #21890] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-11T19:00:03.710163 #21890] INFO -- : Insert issues
I, [2017-01-11T19:01:31.574037 #21890] INFO -- : Insert comments
I, [2017-01-11T19:01:57.234077 #21890] INFO -- : Insert review comments
I, [2017-01-11T19:02:38.617404 #21890] INFO -- : Finished task update in 155.073468023s
I, [2017-01-11T20:00:03.751633 #23229] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-11T20:00:03.754879 #23229] INFO -- : Insert issues
I, [2017-01-11T20:01:29.473780 #23229] INFO -- : Insert comments
I, [2017-01-11T20:01:55.555095 #23229] INFO -- : Insert review comments
I, [2017-01-11T20:02:40.581060 #23229] INFO -- : Finished task update in 156.984334606s
I, [2017-01-11T21:00:03.885246 #24341] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-11T21:00:03.888630 #24341] INFO -- : Insert issues
I, [2017-01-11T21:01:39.628789 #24341] INFO -- : Insert comments
I, [2017-01-11T21:02:13.144428 #24341] INFO -- : Insert review comments
I, [2017-01-11T21:03:00.674741 #24341] INFO -- : Finished task update in 176.949948321s
I, [2017-01-11T22:00:03.781791 #25555] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-11T22:00:03.787666 #25555] INFO -- : Insert issues
I, [2017-01-11T22:01:33.109032 #25555] INFO -- : Insert comments
I, [2017-01-11T22:01:59.952178 #25555] INFO -- : Insert review comments
I, [2017-01-11T22:02:45.738195 #25555] INFO -- : Finished task update in 162.114840245s
I, [2017-01-11T23:00:03.991502 #26559] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-11T23:00:03.994700 #26559] INFO -- : Insert issues
I, [2017-01-11T23:01:32.346938 #26559] INFO -- : Insert comments
I, [2017-01-11T23:01:57.228740 #26559] INFO -- : Insert review comments
I, [2017-01-11T23:02:41.243451 #26559] INFO -- : Finished task update in 157.408528299s
I, [2017-01-12T00:00:03.321615 #27998] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-12T00:00:03.325162 #27998] INFO -- : Insert issues
I, [2017-01-12T00:01:28.638414 #27998] INFO -- : Insert comments
I, [2017-01-12T00:01:52.964714 #27998] INFO -- : Insert review comments
I, [2017-01-12T00:02:34.785423 #27998] INFO -- : Finished task update in 151.619185874s
I, [2017-01-12T01:00:03.943538 #29146] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-12T01:00:03.947148 #29146] INFO -- : Insert issues
I, [2017-01-12T01:01:29.113813 #29146] INFO -- : Insert comments
I, [2017-01-12T01:01:53.552800 #29146] INFO -- : Insert review comments
I, [2017-01-12T01:02:36.045042 #29146] INFO -- : Finished task update in 152.260824935s
I, [2017-01-12T02:00:03.189704 #30171] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-12T02:00:03.193298 #30171] INFO -- : Insert issues
I, [2017-01-12T02:01:28.543974 #30171] INFO -- : Insert comments
I, [2017-01-12T02:01:53.095119 #30171] INFO -- : Insert review comments
I, [2017-01-12T02:02:29.423469 #30171] INFO -- : Finished task update in 146.394839138s
I, [2017-01-12T03:00:03.606371 #31199] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-12T03:00:03.609744 #31199] INFO -- : Insert issues
I, [2017-01-12T03:01:27.178310 #31199] INFO -- : Insert comments
I, [2017-01-12T03:01:51.483181 #31199] INFO -- : Insert review comments
I, [2017-01-12T03:02:33.858242 #31199] INFO -- : Finished task update in 150.390435581s
I, [2017-01-12T04:00:04.017110 #32243] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-12T04:00:04.020340 #32243] INFO -- : Insert issues
I, [2017-01-12T04:01:28.107530 #32243] INFO -- : Insert comments
I, [2017-01-12T04:01:52.315136 #32243] INFO -- : Insert review comments
I, [2017-01-12T04:02:27.591941 #32243] INFO -- : Finished task update in 143.730455175s
I, [2017-01-12T05:00:03.708359 #824] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-12T05:00:03.711887 #824] INFO -- : Insert issues
I, [2017-01-12T05:01:28.220164 #824] INFO -- : Insert comments
I, [2017-01-12T05:01:52.665966 #824] INFO -- : Insert review comments
I, [2017-01-12T05:02:34.753190 #824] INFO -- : Finished task update in 151.204038577s
I, [2017-01-12T06:00:03.860543 #2094] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-12T06:00:03.864195 #2094] INFO -- : Insert issues
I, [2017-01-12T06:01:29.120324 #2094] INFO -- : Insert comments
I, [2017-01-12T06:01:53.233063 #2094] INFO -- : Insert review comments
I, [2017-01-12T06:02:28.718328 #2094] INFO -- : Finished task update in 145.012199884s
I, [2017-01-12T07:00:03.959436 #4096] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-12T07:00:03.962791 #4096] INFO -- : Insert issues
I, [2017-01-12T07:01:27.819866 #4096] INFO -- : Insert comments
I, [2017-01-12T07:01:52.261544 #4096] INFO -- : Insert review comments
I, [2017-01-12T07:02:28.748628 #4096] INFO -- : Finished task update in 144.944628672s
I, [2017-01-12T08:00:05.669602 #5850] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-12T08:00:05.673370 #5850] INFO -- : Insert issues
I, [2017-01-12T08:01:35.148448 #5850] INFO -- : Insert comments
I, [2017-01-12T08:01:59.423157 #5850] INFO -- : Insert review comments
I, [2017-01-12T08:02:40.090195 #5850] INFO -- : Finished task update in 154.687037385s
I, [2017-01-12T09:00:03.634902 #10332] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-12T09:00:03.638556 #10332] INFO -- : Insert issues
I, [2017-01-12T09:01:38.881436 #10332] INFO -- : Insert comments
I, [2017-01-12T09:02:15.968340 #10332] INFO -- : Insert review comments
I, [2017-01-12T09:04:52.752605 #10332] INFO -- : Finished task update in 289.2859518s
I, [2017-01-12T10:00:03.956457 #25396] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-12T10:00:03.959751 #25396] INFO -- : Insert issues
I, [2017-01-12T10:01:27.115324 #25396] INFO -- : Insert comments
I, [2017-01-12T10:01:51.092951 #25396] INFO -- : Insert review comments
I, [2017-01-12T10:02:35.221596 #25396] INFO -- : Finished task update in 151.435035941s
I, [2017-01-12T11:00:03.316153 #31189] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-12T11:00:03.319417 #31189] INFO -- : Insert issues
I, [2017-01-12T11:03:26.686075 #31189] INFO -- : Insert comments
I, [2017-01-12T11:03:50.691630 #31189] INFO -- : Insert review comments
I, [2017-01-12T11:04:23.869418 #31189] INFO -- : Finished task update in 260.709513215s
I, [2017-01-12T12:00:04.057097 #18264] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-12T12:00:04.060398 #18264] INFO -- : Insert issues
I, [2017-01-12T12:01:28.335514 #18264] INFO -- : Insert comments
I, [2017-01-12T12:01:52.255829 #18264] INFO -- : Insert review comments
I, [2017-01-12T12:02:26.196005 #18264] INFO -- : Finished task update in 142.29065719s
I, [2017-01-12T13:00:03.352921 #19890] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-12T13:00:03.356523 #19890] INFO -- : Insert issues
I, [2017-01-12T13:01:28.237725 #19890] INFO -- : Insert comments
I, [2017-01-12T13:01:53.401263 #19890] INFO -- : Insert review comments
I, [2017-01-12T13:02:28.544708 #19890] INFO -- : Finished task update in 145.351317423s
I, [2017-01-12T14:00:03.752236 #24037] INFO -- : Begin task update ["socialtools", "arubaito-ex", "kuruma-ex", "arubaito_v2"]
I, [2017-01-12T14:00:03.756479 #24037] INFO -- : Insert issues
I, [2017-01-12T14:01:27.105351 #24037] INFO -- : Insert comments
I, [2017-01-12T14:01:51.798510 #24037] INFO -- : Insert review comments
I, [2017-01-12T14:02:25.461132 #24037] INFO -- : Finished task update in 141.885639132s
require 'test_helper'
class CommentsControllerTest < ActionDispatch::IntegrationTest
# test "the truth" do
# assert true
# end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment