{"action":"created","comment":{"url":"https://api.github.com/repos/noboru-i/ios_analytics/pulls/comments/47991889","id":47991889,"diff_hunk":"@@ -3,9 +3,36 @@\n \n module IosAnalytics\n   module Translate\n-    def trans(checkstyle_dom, plist_file)\n+    def trans(derived_data, app_name)\n+      doc = REXML::Document.new\n+      doc << REXML::XMLDecl.new('1.0', 'UTF-8')\n+\n+      checkstyle = doc.add_element('checkstyle')\n+\n+      path = Pathname.new(derived_data)\n+        .join(","path":"lib/ios_analytics/translate.rb","position":12,"original_position":12,"commit_id":"52b6b0d174f4c91c6c537ee6c8643512c57aa07c","original_commit_id":"52b6b0d174f4c91c6c537ee6c8643512c57aa07c","user":{"login":"noboru-i","id":1567757,"avatar_url":"https://avatars.githubusercontent.com/u/1567757?v=3","gravatar_id":"","url":"https://api.github.com/users/noboru-i","html_url":"https://github.com/noboru-i","followers_url":"https://api.github.com/users/noboru-i/followers","following_url":"https://api.github.com/users/noboru-i/following{/other_user}","gists_url":"https://api.github.com/users/noboru-i/gists{/gist_id}","starred_url":"https://api.github.com/users/noboru-i/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noboru-i/subscriptions","organizations_url":"https://api.github.com/users/noboru-i/orgs","repos_url":"https://api.github.com/users/noboru-i/repos","events_url":"https://api.github.com/users/noboru-i/events{/privacy}","received_events_url":"https://api.github.com/users/noboru-i/received_events","type":"User","site_admin":false},"body":"__[rubocop]__\n* Align the operands of an expression in an assignment spanning multiple lines.","created_at":"2015-12-18T03:41:27Z","updated_at":"2015-12-18T03:41:27Z","html_url":"https://github.com/noboru-i/ios_analytics/pull/4#discussion_r47991889","pull_request_url":"https://api.github.com/repos/noboru-i/ios_analytics/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/noboru-i/ios_analytics/pulls/comments/47991889"},"html":{"href":"https://github.com/noboru-i/ios_analytics/pull/4#discussion_r47991889"},"pull_request":{"href":"https://api.github.com/repos/noboru-i/ios_analytics/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/noboru-i/ios_analytics/pulls/4","id":54061911,"html_url":"https://github.com/noboru-i/ios_analytics/pull/4","diff_url":"https://github.com/noboru-i/ios_analytics/pull/4.diff","patch_url":"https://github.com/noboru-i/ios_analytics/pull/4.patch","issue_url":"https://api.github.com/repos/noboru-i/ios_analytics/issues/4","number":4,"state":"open","locked":false,"title":"fix when empty warning","user":{"login":"noboru-i","id":1567757,"avatar_url":"https://avatars.githubusercontent.com/u/1567757?v=3","gravatar_id":"","url":"https://api.github.com/users/noboru-i","html_url":"https://github.com/noboru-i","followers_url":"https://api.github.com/users/noboru-i/followers","following_url":"https://api.github.com/users/noboru-i/following{/other_user}","gists_url":"https://api.github.com/users/noboru-i/gists{/gist_id}","starred_url":"https://api.github.com/users/noboru-i/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noboru-i/subscriptions","organizations_url":"https://api.github.com/users/noboru-i/orgs","repos_url":"https://api.github.com/users/noboru-i/repos","events_url":"https://api.github.com/users/noboru-i/events{/privacy}","received_events_url":"https://api.github.com/users/noboru-i/received_events","type":"User","site_admin":false},"body":null,"created_at":"2015-12-18T03:39:25Z","updated_at":"2015-12-18T03:41:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b456072500f1cd274a2cf361c57183db973e38f3","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/noboru-i/ios_analytics/pulls/4/commits","review_comments_url":"https://api.github.com/repos/noboru-i/ios_analytics/pulls/4/comments","review_comment_url":"https://api.github.com/repos/noboru-i/ios_analytics/pulls/comments{/number}","comments_url":"https://api.github.com/repos/noboru-i/ios_analytics/issues/4/comments","statuses_url":"https://api.github.com/repos/noboru-i/ios_analytics/statuses/52b6b0d174f4c91c6c537ee6c8643512c57aa07c","head":{"label":"noboru-i:fix-empty-warning","ref":"fix-empty-warning","sha":"52b6b0d174f4c91c6c537ee6c8643512c57aa07c","user":{"login":"noboru-i","id":1567757,"avatar_url":"https://avatars.githubusercontent.com/u/1567757?v=3","gravatar_id":"","url":"https://api.github.com/users/noboru-i","html_url":"https://github.com/noboru-i","followers_url":"https://api.github.com/users/noboru-i/followers","following_url":"https://api.github.com/users/noboru-i/following{/other_user}","gists_url":"https://api.github.com/users/noboru-i/gists{/gist_id}","starred_url":"https://api.github.com/users/noboru-i/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noboru-i/subscriptions","organizations_url":"https://api.github.com/users/noboru-i/orgs","repos_url":"https://api.github.com/users/noboru-i/repos","events_url":"https://api.github.com/users/noboru-i/events{/privacy}","received_events_url":"https://api.github.com/users/noboru-i/received_events","type":"User","site_admin":false},"repo":{"id":41840026,"name":"ios_analytics","full_name":"noboru-i/ios_analytics","owner":{"login":"noboru-i","id":1567757,"avatar_url":"https://avatars.githubusercontent.com/u/1567757?v=3","gravatar_id":"","url":"https://api.github.com/users/noboru-i","html_url":"https://github.com/noboru-i","followers_url":"https://api.github.com/users/noboru-i/followers","following_url":"https://api.github.com/users/noboru-i/following{/other_user}","gists_url":"https://api.github.com/users/noboru-i/gists{/gist_id}","starred_url":"https://api.github.com/users/noboru-i/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noboru-i/subscriptions","organizations_url":"https://api.github.com/users/noboru-i/orgs","repos_url":"https://api.github.com/users/noboru-i/repos","events_url":"https://api.github.com/users/noboru-i/events{/privacy}","received_events_url":"https://api.github.com/users/noboru-i/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/noboru-i/ios_analytics","description":"Translate plist format into checkstyle format.","fork":false,"url":"https://api.github.com/repos/noboru-i/ios_analytics","forks_url":"https://api.github.com/repos/noboru-i/ios_analytics/forks","keys_url":"https://api.github.com/repos/noboru-i/ios_analytics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/noboru-i/ios_analytics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/noboru-i/ios_analytics/teams","hooks_url":"https://api.github.com/repos/noboru-i/ios_analytics/hooks","issue_events_url":"https://api.github.com/repos/noboru-i/ios_analytics/issues/events{/number}","events_url":"https://api.github.com/repos/noboru-i/ios_analytics/events","assignees_url":"https://api.github.com/repos/noboru-i/ios_analytics/assignees{/user}","branches_url":"https://api.github.com/repos/noboru-i/ios_analytics/branches{/branch}","tags_url":"https://api.github.com/repos/noboru-i/ios_analytics/tags","blobs_url":"https://api.github.com/repos/noboru-i/ios_analytics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/noboru-i/ios_analytics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/noboru-i/ios_analytics/git/refs{/sha}","trees_url":"https://api.github.com/repos/noboru-i/ios_analytics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/noboru-i/ios_analytics/statuses/{sha}","languages_url":"https://api.github.com/repos/noboru-i/ios_analytics/languages","stargazers_url":"https://api.github.com/repos/noboru-i/ios_analytics/stargazers","contributors_url":"https://api.github.com/repos/noboru-i/ios_analytics/contributors","subscribers_url":"https://api.github.com/repos/noboru-i/ios_analytics/subscribers","subscription_url":"https://api.github.com/repos/noboru-i/ios_analytics/subscription","commits_url":"https://api.github.com/repos/noboru-i/ios_analytics/commits{/sha}","git_commits_url":"https://api.github.com/repos/noboru-i/ios_analytics/git/commits{/sha}","comments_url":"https://api.github.com/repos/noboru-i/ios_analytics/comments{/number}","issue_comment_url":"https://api.github.com/repos/noboru-i/ios_analytics/issues/comments{/number}","contents_url":"https://api.github.com/repos/noboru-i/ios_analytics/contents/{+path}","compare_url":"https://api.github.com/repos/noboru-i/ios_analytics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/noboru-i/ios_analytics/merges","archive_url":"https://api.github.com/repos/noboru-i/ios_analytics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/noboru-i/ios_analytics/downloads","issues_url":"https://api.github.com/repos/noboru-i/ios_analytics/issues{/number}","pulls_url":"https://api.github.com/repos/noboru-i/ios_analytics/pulls{/number}","milestones_url":"https://api.github.com/repos/noboru-i/ios_analytics/milestones{/number}","notifications_url":"https://api.github.com/repos/noboru-i/ios_analytics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/noboru-i/ios_analytics/labels{/name}","releases_url":"https://api.github.com/repos/noboru-i/ios_analytics/releases{/id}","created_at":"2015-09-03T03:20:08Z","updated_at":"2015-12-09T14:27:56Z","pushed_at":"2015-12-18T03:41:24Z","git_url":"git://github.com/noboru-i/ios_analytics.git","ssh_url":"git@github.com:noboru-i/ios_analytics.git","clone_url":"https://github.com/noboru-i/ios_analytics.git","svn_url":"https://github.com/noboru-i/ios_analytics","homepage":"","size":11,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"noboru-i:master","ref":"master","sha":"da460346c197620d324744ec603aef795478f1f4","user":{"login":"noboru-i","id":1567757,"avatar_url":"https://avatars.githubusercontent.com/u/1567757?v=3","gravatar_id":"","url":"https://api.github.com/users/noboru-i","html_url":"https://github.com/noboru-i","followers_url":"https://api.github.com/users/noboru-i/followers","following_url":"https://api.github.com/users/noboru-i/following{/other_user}","gists_url":"https://api.github.com/users/noboru-i/gists{/gist_id}","starred_url":"https://api.github.com/users/noboru-i/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noboru-i/subscriptions","organizations_url":"https://api.github.com/users/noboru-i/orgs","repos_url":"https://api.github.com/users/noboru-i/repos","events_url":"https://api.github.com/users/noboru-i/events{/privacy}","received_events_url":"https://api.github.com/users/noboru-i/received_events","type":"User","site_admin":false},"repo":{"id":41840026,"name":"ios_analytics","full_name":"noboru-i/ios_analytics","owner":{"login":"noboru-i","id":1567757,"avatar_url":"https://avatars.githubusercontent.com/u/1567757?v=3","gravatar_id":"","url":"https://api.github.com/users/noboru-i","html_url":"https://github.com/noboru-i","followers_url":"https://api.github.com/users/noboru-i/followers","following_url":"https://api.github.com/users/noboru-i/following{/other_user}","gists_url":"https://api.github.com/users/noboru-i/gists{/gist_id}","starred_url":"https://api.github.com/users/noboru-i/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noboru-i/subscriptions","organizations_url":"https://api.github.com/users/noboru-i/orgs","repos_url":"https://api.github.com/users/noboru-i/repos","events_url":"https://api.github.com/users/noboru-i/events{/privacy}","received_events_url":"https://api.github.com/users/noboru-i/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/noboru-i/ios_analytics","description":"Translate plist format into checkstyle format.","fork":false,"url":"https://api.github.com/repos/noboru-i/ios_analytics","forks_url":"https://api.github.com/repos/noboru-i/ios_analytics/forks","keys_url":"https://api.github.com/repos/noboru-i/ios_analytics/keys{/key_id}","collaborators_url":"https://api.github.com/repos/noboru-i/ios_analytics/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/noboru-i/ios_analytics/teams","hooks_url":"https://api.github.com/repos/noboru-i/ios_analytics/hooks","issue_events_url":"https://api.github.com/repos/noboru-i/ios_analytics/issues/events{/number}","events_url":"https://api.github.com/repos/noboru-i/ios_analytics/events","assignees_url":"https://api.github.com/repos/noboru-i/ios_analytics/assignees{/user}","branches_url":"https://api.github.com/repos/noboru-i/ios_analytics/branches{/branch}","tags_url":"https://api.github.com/repos/noboru-i/ios_analytics/tags","blobs_url":"https://api.github.com/repos/noboru-i/ios_analytics/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/noboru-i/ios_analytics/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/noboru-i/ios_analytics/git/refs{/sha}","trees_url":"https://api.github.com/repos/noboru-i/ios_analytics/git/trees{/sha}","statuses_url":"https://api.github.com/repos/noboru-i/ios_analytics/statuses/{sha}","languages_url":"https://api.github.com/repos/noboru-i/ios_analytics/languages","stargazers_url":"https://api.github.com/repos/noboru-i/ios_analytics/stargazers","contributors_url":"https://api.github.com/repos/noboru-i/ios_analytics/contributors","subscribers_url":"https://api.github.com/repos/noboru-i/ios_analytics/subscribers","subscription_url":"https://api.github.com/repos/noboru-i/ios_analytics/subscription","commits_url":"https://api.github.com/repos/noboru-i/ios_analytics/commits{/sha}","git_commits_url":"https://api.github.com/repos/noboru-i/ios_analytics/git/commits{/sha}","comments_url":"https://api.github.com/repos/noboru-i/ios_analytics/comments{/number}","issue_comment_url":"https://api.github.com/repos/noboru-i/ios_analytics/issues/comments{/number}","contents_url":"https://api.github.com/repos/noboru-i/ios_analytics/contents/{+path}","compare_url":"https://api.github.com/repos/noboru-i/ios_analytics/compare/{base}...{head}","merges_url":"https://api.github.com/repos/noboru-i/ios_analytics/merges","archive_url":"https://api.github.com/repos/noboru-i/ios_analytics/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/noboru-i/ios_analytics/downloads","issues_url":"https://api.github.com/repos/noboru-i/ios_analytics/issues{/number}","pulls_url":"https://api.github.com/repos/noboru-i/ios_analytics/pulls{/number}","milestones_url":"https://api.github.com/repos/noboru-i/ios_analytics/milestones{/number}","notifications_url":"https://api.github.com/repos/noboru-i/ios_analytics/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/noboru-i/ios_analytics/labels{/name}","releases_url":"https://api.github.com/repos/noboru-i/ios_analytics/releases{/id}","created_at":"2015-09-03T03:20:08Z","updated_at":"2015-12-09T14:27:56Z","pushed_at":"2015-12-18T03:41:24Z","git_url":"git://github.com/noboru-i/ios_analytics.git","ssh_url":"git@github.com:noboru-i/ios_analytics.git","clone_url":"https://github.com/noboru-i/ios_analytics.git","svn_url":"https://github.com/noboru-i/ios_analytics","homepage":"","size":11,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/noboru-i/ios_analytics/pulls/4"},"html":{"href":"https://github.com/noboru-i/ios_analytics/pull/4"},"issue":{"href":"https://api.github.com/repos/noboru-i/ios_analytics/issues/4"},"comments":{"href":"https://api.github.com/repos/noboru-i/ios_analytics/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/noboru-i/ios_analytics/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/noboru-i/ios_analytics/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/noboru-i/ios_analytics/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/noboru-i/ios_analytics/statuses/52b6b0d174f4c91c6c537ee6c8643512c57aa07c"}}}}