GitHub PullRequestReviewCommentEvent at 2014-08-14 23:18:59
Repository: rails
Actor: tenderlove
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/rails/rails/pulls/comments/16272993","id":16272993,"diff_hunk":"@@ -0,0 +1,96 @@\n+require 'helper'\n+require \"active_support/log_subscriber/test_helper\"\n+require 'active_support/core_ext/numeric/time'\n+require 'jobs/hello_job'\n+require 'jobs/logging_job'\n+require 'jobs/nested_job'\n+\n+class AdapterTest < ActiveSupport::TestCase\n+  include ActiveSupport::LogSubscriber::TestHelper\n+  include ActiveSupport::Logger::Severity\n+\n+  class TestLogger < ActiveSupport::Logger\n+    def initialize\n+      @file = StringIO.new\n+      super(@file)\n+    end\n+\n+    def messages\n+      @file.rewind\n+      @file.read\n+    end\n+  end\n+\n+  def setup\n+    super\n+    $BUFFER = []","path":"activejob/test/cases/logging_test.rb","position":26,"original_position":26,"commit_id":"8147e22a4d09a159a2084fb7ac5c2cfa527a9422","original_commit_id":"8147e22a4d09a159a2084fb7ac5c2cfa527a9422","user":{"login":"tenderlove","id":3124,"avatar_url":"https://avatars.githubusercontent.com/u/3124?v=2","gravatar_id":"f29327647a9cff5c69618bae420792ea","url":"https://api.github.com/users/tenderlove","html_url":"https://github.com/tenderlove","followers_url":"https://api.github.com/users/tenderlove/followers","following_url":"https://api.github.com/users/tenderlove/following{/other_user}","gists_url":"https://api.github.com/users/tenderlove/gists{/gist_id}","starred_url":"https://api.github.com/users/tenderlove/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tenderlove/subscriptions","organizations_url":"https://api.github.com/users/tenderlove/orgs","repos_url":"https://api.github.com/users/tenderlove/repos","events_url":"https://api.github.com/users/tenderlove/events{/privacy}","received_events_url":"https://api.github.com/users/tenderlove/received_events","type":"User","site_admin":false},"body":"Same question.","created_at":"2014-08-14T23:18:59Z","updated_at":"2014-08-14T23:18:59Z","html_url":"https://github.com/rails/rails/pull/16485#discussion_r16272993","pull_request_url":"https://api.github.com/repos/rails/rails/pulls/16485","_links":{"self":{"href":"https://api.github.com/repos/rails/rails/pulls/comments/16272993"},"html":{"href":"https://github.com/rails/rails/pull/16485#discussion_r16272993"},"pull_request":{"href":"https://api.github.com/repos/rails/rails/pulls/16485"}}},"pull_request":{"url":"https://api.github.com/repos/rails/rails/pulls/16485","id":19696757,"html_url":"https://github.com/rails/rails/pull/16485","diff_url":"https://github.com/rails/rails/pull/16485.diff","patch_url":"https://github.com/rails/rails/pull/16485.patch","issue_url":"https://api.github.com/repos/rails/rails/issues/16485","number":16485,"state":"open","locked":false,"title":"Integrate ActiveJob / DeliverLater / GlobalID with Rails","user":{"login":"dhh","id":2741,"avatar_url":"https://avatars.githubusercontent.com/u/2741?v=2","gravatar_id":"ed9635566b34ade32274f510f0f9a6d2","url":"https://api.github.com/users/dhh","html_url":"https://github.com/dhh","followers_url":"https://api.github.com/users/dhh/followers","following_url":"https://api.github.com/users/dhh/following{/other_user}","gists_url":"https://api.github.com/users/dhh/gists{/gist_id}","starred_url":"https://api.github.com/users/dhh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhh/subscriptions","organizations_url":"https://api.github.com/users/dhh/orgs","repos_url":"https://api.github.com/users/dhh/repos","events_url":"https://api.github.com/users/dhh/events{/privacy}","received_events_url":"https://api.github.com/users/dhh/received_events","type":"User","site_admin":false},"body":"WIP.","created_at":"2014-08-12T23:25:32Z","updated_at":"2014-08-14T23:18:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c23e7bf84bea7dfb88fb005850de42b07309b28d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rails/rails/pulls/16485/commits","review_comments_url":"https://api.github.com/repos/rails/rails/pulls/16485/comments","review_comment_url":"https://api.github.com/repos/rails/rails/pulls/comments/{number}","comments_url":"https://api.github.com/repos/rails/rails/issues/16485/comments","statuses_url":"https://api.github.com/repos/rails/rails/statuses/8147e22a4d09a159a2084fb7ac5c2cfa527a9422","head":{"label":"seuros:activejob","ref":"activejob","sha":"8147e22a4d09a159a2084fb7ac5c2cfa527a9422","user":{"login":"seuros","id":2394703,"avatar_url":"https://avatars.githubusercontent.com/u/2394703?v=2","gravatar_id":"e3f2c4402c93ec006f9c5218a4c7bab2","url":"https://api.github.com/users/seuros","html_url":"https://github.com/seuros","followers_url":"https://api.github.com/users/seuros/followers","following_url":"https://api.github.com/users/seuros/following{/other_user}","gists_url":"https://api.github.com/users/seuros/gists{/gist_id}","starred_url":"https://api.github.com/users/seuros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seuros/subscriptions","organizations_url":"https://api.github.com/users/seuros/orgs","repos_url":"https://api.github.com/users/seuros/repos","events_url":"https://api.github.com/users/seuros/events{/privacy}","received_events_url":"https://api.github.com/users/seuros/received_events","type":"User","site_admin":false},"repo":{"id":19354643,"name":"rails","full_name":"seuros/rails","owner":{"login":"seuros","id":2394703,"avatar_url":"https://avatars.githubusercontent.com/u/2394703?v=2","gravatar_id":"e3f2c4402c93ec006f9c5218a4c7bab2","url":"https://api.github.com/users/seuros","html_url":"https://github.com/seuros","followers_url":"https://api.github.com/users/seuros/followers","following_url":"https://api.github.com/users/seuros/following{/other_user}","gists_url":"https://api.github.com/users/seuros/gists{/gist_id}","starred_url":"https://api.github.com/users/seuros/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seuros/subscriptions","organizations_url":"https://api.github.com/users/seuros/orgs","repos_url":"https://api.github.com/users/seuros/repos","events_url":"https://api.github.com/users/seuros/events{/privacy}","received_events_url":"https://api.github.com/users/seuros/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/seuros/rails","description":"Ruby on Rails","fork":true,"url":"https://api.github.com/repos/seuros/rails","forks_url":"https://api.github.com/repos/seuros/rails/forks","keys_url":"https://api.github.com/repos/seuros/rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seuros/rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seuros/rails/teams","hooks_url":"https://api.github.com/repos/seuros/rails/hooks","issue_events_url":"https://api.github.com/repos/seuros/rails/issues/events{/number}","events_url":"https://api.github.com/repos/seuros/rails/events","assignees_url":"https://api.github.com/repos/seuros/rails/assignees{/user}","branches_url":"https://api.github.com/repos/seuros/rails/branches{/branch}","tags_url":"https://api.github.com/repos/seuros/rails/tags","blobs_url":"https://api.github.com/repos/seuros/rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seuros/rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seuros/rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/seuros/rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seuros/rails/statuses/{sha}","languages_url":"https://api.github.com/repos/seuros/rails/languages","stargazers_url":"https://api.github.com/repos/seuros/rails/stargazers","contributors_url":"https://api.github.com/repos/seuros/rails/contributors","subscribers_url":"https://api.github.com/repos/seuros/rails/subscribers","subscription_url":"https://api.github.com/repos/seuros/rails/subscription","commits_url":"https://api.github.com/repos/seuros/rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/seuros/rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/seuros/rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/seuros/rails/issues/comments/{number}","contents_url":"https://api.github.com/repos/seuros/rails/contents/{+path}","compare_url":"https://api.github.com/repos/seuros/rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seuros/rails/merges","archive_url":"https://api.github.com/repos/seuros/rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seuros/rails/downloads","issues_url":"https://api.github.com/repos/seuros/rails/issues{/number}","pulls_url":"https://api.github.com/repos/seuros/rails/pulls{/number}","milestones_url":"https://api.github.com/repos/seuros/rails/milestones{/number}","notifications_url":"https://api.github.com/repos/seuros/rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seuros/rails/labels{/name}","releases_url":"https://api.github.com/repos/seuros/rails/releases{/id}","created_at":"2014-05-01T19:09:16Z","updated_at":"2014-08-12T10:33:26Z","pushed_at":"2014-08-14T22:54:56Z","git_url":"git://github.com/seuros/rails.git","ssh_url":"git@github.com:seuros/rails.git","clone_url":"https://github.com/seuros/rails.git","svn_url":"https://github.com/seuros/rails","homepage":"http://rubyonrails.org","size":117351,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"rails:master","ref":"master","sha":"dfc3f8831189ca762b942571182228bd2d37ac53","user":{"login":"rails","id":4223,"avatar_url":"https://avatars.githubusercontent.com/u/4223?v=2","gravatar_id":"30f39a09e233e8369dddf6feb4be0308","url":"https://api.github.com/users/rails","html_url":"https://github.com/rails","followers_url":"https://api.github.com/users/rails/followers","following_url":"https://api.github.com/users/rails/following{/other_user}","gists_url":"https://api.github.com/users/rails/gists{/gist_id}","starred_url":"https://api.github.com/users/rails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails/subscriptions","organizations_url":"https://api.github.com/users/rails/orgs","repos_url":"https://api.github.com/users/rails/repos","events_url":"https://api.github.com/users/rails/events{/privacy}","received_events_url":"https://api.github.com/users/rails/received_events","type":"Organization","site_admin":false},"repo":{"id":8514,"name":"rails","full_name":"rails/rails","owner":{"login":"rails","id":4223,"avatar_url":"https://avatars.githubusercontent.com/u/4223?v=2","gravatar_id":"30f39a09e233e8369dddf6feb4be0308","url":"https://api.github.com/users/rails","html_url":"https://github.com/rails","followers_url":"https://api.github.com/users/rails/followers","following_url":"https://api.github.com/users/rails/following{/other_user}","gists_url":"https://api.github.com/users/rails/gists{/gist_id}","starred_url":"https://api.github.com/users/rails/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rails/subscriptions","organizations_url":"https://api.github.com/users/rails/orgs","repos_url":"https://api.github.com/users/rails/repos","events_url":"https://api.github.com/users/rails/events{/privacy}","received_events_url":"https://api.github.com/users/rails/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rails/rails","description":"Ruby on Rails","fork":false,"url":"https://api.github.com/repos/rails/rails","forks_url":"https://api.github.com/repos/rails/rails/forks","keys_url":"https://api.github.com/repos/rails/rails/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rails/rails/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rails/rails/teams","hooks_url":"https://api.github.com/repos/rails/rails/hooks","issue_events_url":"https://api.github.com/repos/rails/rails/issues/events{/number}","events_url":"https://api.github.com/repos/rails/rails/events","assignees_url":"https://api.github.com/repos/rails/rails/assignees{/user}","branches_url":"https://api.github.com/repos/rails/rails/branches{/branch}","tags_url":"https://api.github.com/repos/rails/rails/tags","blobs_url":"https://api.github.com/repos/rails/rails/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rails/rails/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rails/rails/git/refs{/sha}","trees_url":"https://api.github.com/repos/rails/rails/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rails/rails/statuses/{sha}","languages_url":"https://api.github.com/repos/rails/rails/languages","stargazers_url":"https://api.github.com/repos/rails/rails/stargazers","contributors_url":"https://api.github.com/repos/rails/rails/contributors","subscribers_url":"https://api.github.com/repos/rails/rails/subscribers","subscription_url":"https://api.github.com/repos/rails/rails/subscription","commits_url":"https://api.github.com/repos/rails/rails/commits{/sha}","git_commits_url":"https://api.github.com/repos/rails/rails/git/commits{/sha}","comments_url":"https://api.github.com/repos/rails/rails/comments{/number}","issue_comment_url":"https://api.github.com/repos/rails/rails/issues/comments/{number}","contents_url":"https://api.github.com/repos/rails/rails/contents/{+path}","compare_url":"https://api.github.com/repos/rails/rails/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rails/rails/merges","archive_url":"https://api.github.com/repos/rails/rails/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rails/rails/downloads","issues_url":"https://api.github.com/repos/rails/rails/issues{/number}","pulls_url":"https://api.github.com/repos/rails/rails/pulls{/number}","milestones_url":"https://api.github.com/repos/rails/rails/milestones{/number}","notifications_url":"https://api.github.com/repos/rails/rails/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rails/rails/labels{/name}","releases_url":"https://api.github.com/repos/rails/rails/releases{/id}","created_at":"2008-04-11T02:19:47Z","updated_at":"2014-08-14T22:28:23Z","pushed_at":"2014-08-14T17:51:29Z","git_url":"git://github.com/rails/rails.git","ssh_url":"git@github.com:rails/rails.git","clone_url":"https://github.com/rails/rails.git","svn_url":"https://github.com/rails/rails","homepage":"http://rubyonrails.org","size":360893,"stargazers_count":22837,"watchers_count":22837,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"forks_count":8577,"mirror_url":null,"open_issues_count":691,"forks":8577,"open_issues":691,"watchers":22837,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rails/rails/pulls/16485"},"html":{"href":"https://github.com/rails/rails/pull/16485"},"issue":{"href":"https://api.github.com/repos/rails/rails/issues/16485"},"comments":{"href":"https://api.github.com/repos/rails/rails/issues/16485/comments"},"review_comments":{"href":"https://api.github.com/repos/rails/rails/pulls/16485/comments"},"review_comment":{"href":"https://api.github.com/repos/rails/rails/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/rails/rails/pulls/16485/commits"},"statuses":{"href":"https://api.github.com/repos/rails/rails/statuses/8147e22a4d09a159a2084fb7ac5c2cfa527a9422"}}}}