{"action":"created","comment":{"url":"https://api.github.com/repos/bm-sms/daimon-news/pulls/comments/98816039","pull_request_review_id":19470319,"id":98816039,"diff_hunk":"@@ -18,6 +20,7 @@ class Site < ActiveRecord::Base\n \n   validates :name, presence: true\n   validates :fqdn, presence: true, uniqueness: true\n+  validates :ranking_size, numericality: { greater_than_or_equal_to: 0, less_than_or_equal_to: RANKING_SIZE_MAX }","path":"app/models/site.rb","position":20,"original_position":20,"commit_id":"3901b7cf19d731434505ec286d5f1b82678f7f6d","original_commit_id":"3901b7cf19d731434505ec286d5f1b82678f7f6d","user":{"login":"ryota-sasabe","id":14937777,"avatar_url":"https://avatars.githubusercontent.com/u/14937777?v=3","gravatar_id":"","url":"https://api.github.com/users/ryota-sasabe","html_url":"https://github.com/ryota-sasabe","followers_url":"https://api.github.com/users/ryota-sasabe/followers","following_url":"https://api.github.com/users/ryota-sasabe/following{/other_user}","gists_url":"https://api.github.com/users/ryota-sasabe/gists{/gist_id}","starred_url":"https://api.github.com/users/ryota-sasabe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryota-sasabe/subscriptions","organizations_url":"https://api.github.com/users/ryota-sasabe/orgs","repos_url":"https://api.github.com/users/ryota-sasabe/repos","events_url":"https://api.github.com/users/ryota-sasabe/events{/privacy}","received_events_url":"https://api.github.com/users/ryota-sasabe/received_events","type":"User","site_admin":false},"body":"Reference\r\nhttp://www.rubydoc.info/github/google/google-api-ruby-client/Google/Apis/AnalyticsreportingV4/ReportRequest#view_id-instance_method ","created_at":"2017-02-01T01:56:56Z","updated_at":"2017-02-01T01:56:56Z","html_url":"https://github.com/bm-sms/daimon-news/pull/694#discussion_r98816039","pull_request_url":"https://api.github.com/repos/bm-sms/daimon-news/pulls/694","_links":{"self":{"href":"https://api.github.com/repos/bm-sms/daimon-news/pulls/comments/98816039"},"html":{"href":"https://github.com/bm-sms/daimon-news/pull/694#discussion_r98816039"},"pull_request":{"href":"https://api.github.com/repos/bm-sms/daimon-news/pulls/694"}}},"pull_request":{"url":"https://api.github.com/repos/bm-sms/daimon-news/pulls/694","id":102410882,"html_url":"https://github.com/bm-sms/daimon-news/pull/694","diff_url":"https://github.com/bm-sms/daimon-news/pull/694.diff","patch_url":"https://github.com/bm-sms/daimon-news/pull/694.patch","issue_url":"https://api.github.com/repos/bm-sms/daimon-news/issues/694","number":694,"state":"open","locked":false,"title":"popular post ranking","user":{"login":"ryota-sasabe","id":14937777,"avatar_url":"https://avatars.githubusercontent.com/u/14937777?v=3","gravatar_id":"","url":"https://api.github.com/users/ryota-sasabe","html_url":"https://github.com/ryota-sasabe","followers_url":"https://api.github.com/users/ryota-sasabe/followers","following_url":"https://api.github.com/users/ryota-sasabe/following{/other_user}","gists_url":"https://api.github.com/users/ryota-sasabe/gists{/gist_id}","starred_url":"https://api.github.com/users/ryota-sasabe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryota-sasabe/subscriptions","organizations_url":"https://api.github.com/users/ryota-sasabe/orgs","repos_url":"https://api.github.com/users/ryota-sasabe/repos","events_url":"https://api.github.com/users/ryota-sasabe/events{/privacy}","received_events_url":"https://api.github.com/users/ryota-sasabe/received_events","type":"User","site_admin":false},"body":"Connect to https://github.com/bm-sms/daimon-news-misc/issues/181","created_at":"2017-01-20T06:50:11Z","updated_at":"2017-02-01T01:56:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8c0d7802b4de9b773fedced117aaafce23242c0f","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/bm-sms/daimon-news/pulls/694/commits","review_comments_url":"https://api.github.com/repos/bm-sms/daimon-news/pulls/694/comments","review_comment_url":"https://api.github.com/repos/bm-sms/daimon-news/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bm-sms/daimon-news/issues/694/comments","statuses_url":"https://api.github.com/repos/bm-sms/daimon-news/statuses/3901b7cf19d731434505ec286d5f1b82678f7f6d","head":{"label":"bm-sms:ranking","ref":"ranking","sha":"3901b7cf19d731434505ec286d5f1b82678f7f6d","user":{"login":"bm-sms","id":11305323,"avatar_url":"https://avatars.githubusercontent.com/u/11305323?v=3","gravatar_id":"","url":"https://api.github.com/users/bm-sms","html_url":"https://github.com/bm-sms","followers_url":"https://api.github.com/users/bm-sms/followers","following_url":"https://api.github.com/users/bm-sms/following{/other_user}","gists_url":"https://api.github.com/users/bm-sms/gists{/gist_id}","starred_url":"https://api.github.com/users/bm-sms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bm-sms/subscriptions","organizations_url":"https://api.github.com/users/bm-sms/orgs","repos_url":"https://api.github.com/users/bm-sms/repos","events_url":"https://api.github.com/users/bm-sms/events{/privacy}","received_events_url":"https://api.github.com/users/bm-sms/received_events","type":"Organization","site_admin":false},"repo":{"id":46255953,"name":"daimon-news","full_name":"bm-sms/daimon-news","owner":{"login":"bm-sms","id":11305323,"avatar_url":"https://avatars.githubusercontent.com/u/11305323?v=3","gravatar_id":"","url":"https://api.github.com/users/bm-sms","html_url":"https://github.com/bm-sms","followers_url":"https://api.github.com/users/bm-sms/followers","following_url":"https://api.github.com/users/bm-sms/following{/other_user}","gists_url":"https://api.github.com/users/bm-sms/gists{/gist_id}","starred_url":"https://api.github.com/users/bm-sms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bm-sms/subscriptions","organizations_url":"https://api.github.com/users/bm-sms/orgs","repos_url":"https://api.github.com/users/bm-sms/repos","events_url":"https://api.github.com/users/bm-sms/events{/privacy}","received_events_url":"https://api.github.com/users/bm-sms/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bm-sms/daimon-news","description":null,"fork":false,"url":"https://api.github.com/repos/bm-sms/daimon-news","forks_url":"https://api.github.com/repos/bm-sms/daimon-news/forks","keys_url":"https://api.github.com/repos/bm-sms/daimon-news/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bm-sms/daimon-news/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bm-sms/daimon-news/teams","hooks_url":"https://api.github.com/repos/bm-sms/daimon-news/hooks","issue_events_url":"https://api.github.com/repos/bm-sms/daimon-news/issues/events{/number}","events_url":"https://api.github.com/repos/bm-sms/daimon-news/events","assignees_url":"https://api.github.com/repos/bm-sms/daimon-news/assignees{/user}","branches_url":"https://api.github.com/repos/bm-sms/daimon-news/branches{/branch}","tags_url":"https://api.github.com/repos/bm-sms/daimon-news/tags","blobs_url":"https://api.github.com/repos/bm-sms/daimon-news/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bm-sms/daimon-news/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bm-sms/daimon-news/git/refs{/sha}","trees_url":"https://api.github.com/repos/bm-sms/daimon-news/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bm-sms/daimon-news/statuses/{sha}","languages_url":"https://api.github.com/repos/bm-sms/daimon-news/languages","stargazers_url":"https://api.github.com/repos/bm-sms/daimon-news/stargazers","contributors_url":"https://api.github.com/repos/bm-sms/daimon-news/contributors","subscribers_url":"https://api.github.com/repos/bm-sms/daimon-news/subscribers","subscription_url":"https://api.github.com/repos/bm-sms/daimon-news/subscription","commits_url":"https://api.github.com/repos/bm-sms/daimon-news/commits{/sha}","git_commits_url":"https://api.github.com/repos/bm-sms/daimon-news/git/commits{/sha}","comments_url":"https://api.github.com/repos/bm-sms/daimon-news/comments{/number}","issue_comment_url":"https://api.github.com/repos/bm-sms/daimon-news/issues/comments{/number}","contents_url":"https://api.github.com/repos/bm-sms/daimon-news/contents/{+path}","compare_url":"https://api.github.com/repos/bm-sms/daimon-news/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bm-sms/daimon-news/merges","archive_url":"https://api.github.com/repos/bm-sms/daimon-news/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bm-sms/daimon-news/downloads","issues_url":"https://api.github.com/repos/bm-sms/daimon-news/issues{/number}","pulls_url":"https://api.github.com/repos/bm-sms/daimon-news/pulls{/number}","milestones_url":"https://api.github.com/repos/bm-sms/daimon-news/milestones{/number}","notifications_url":"https://api.github.com/repos/bm-sms/daimon-news/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bm-sms/daimon-news/labels{/name}","releases_url":"https://api.github.com/repos/bm-sms/daimon-news/releases{/id}","deployments_url":"https://api.github.com/repos/bm-sms/daimon-news/deployments","created_at":"2015-11-16T06:20:35Z","updated_at":"2017-01-31T07:54:19Z","pushed_at":"2017-02-01T01:01:29Z","git_url":"git://github.com/bm-sms/daimon-news.git","ssh_url":"git@github.com:bm-sms/daimon-news.git","clone_url":"https://github.com/bm-sms/daimon-news.git","svn_url":"https://github.com/bm-sms/daimon-news","homepage":"","size":1600,"stargazers_count":9,"watchers_count":9,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":10,"forks":2,"open_issues":10,"watchers":9,"default_branch":"master"}},"base":{"label":"bm-sms:master","ref":"master","sha":"0ff9d0f0817df2201a78b1f5bbd32ff15a2f8490","user":{"login":"bm-sms","id":11305323,"avatar_url":"https://avatars.githubusercontent.com/u/11305323?v=3","gravatar_id":"","url":"https://api.github.com/users/bm-sms","html_url":"https://github.com/bm-sms","followers_url":"https://api.github.com/users/bm-sms/followers","following_url":"https://api.github.com/users/bm-sms/following{/other_user}","gists_url":"https://api.github.com/users/bm-sms/gists{/gist_id}","starred_url":"https://api.github.com/users/bm-sms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bm-sms/subscriptions","organizations_url":"https://api.github.com/users/bm-sms/orgs","repos_url":"https://api.github.com/users/bm-sms/repos","events_url":"https://api.github.com/users/bm-sms/events{/privacy}","received_events_url":"https://api.github.com/users/bm-sms/received_events","type":"Organization","site_admin":false},"repo":{"id":46255953,"name":"daimon-news","full_name":"bm-sms/daimon-news","owner":{"login":"bm-sms","id":11305323,"avatar_url":"https://avatars.githubusercontent.com/u/11305323?v=3","gravatar_id":"","url":"https://api.github.com/users/bm-sms","html_url":"https://github.com/bm-sms","followers_url":"https://api.github.com/users/bm-sms/followers","following_url":"https://api.github.com/users/bm-sms/following{/other_user}","gists_url":"https://api.github.com/users/bm-sms/gists{/gist_id}","starred_url":"https://api.github.com/users/bm-sms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bm-sms/subscriptions","organizations_url":"https://api.github.com/users/bm-sms/orgs","repos_url":"https://api.github.com/users/bm-sms/repos","events_url":"https://api.github.com/users/bm-sms/events{/privacy}","received_events_url":"https://api.github.com/users/bm-sms/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/bm-sms/daimon-news","description":null,"fork":false,"url":"https://api.github.com/repos/bm-sms/daimon-news","forks_url":"https://api.github.com/repos/bm-sms/daimon-news/forks","keys_url":"https://api.github.com/repos/bm-sms/daimon-news/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bm-sms/daimon-news/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bm-sms/daimon-news/teams","hooks_url":"https://api.github.com/repos/bm-sms/daimon-news/hooks","issue_events_url":"https://api.github.com/repos/bm-sms/daimon-news/issues/events{/number}","events_url":"https://api.github.com/repos/bm-sms/daimon-news/events","assignees_url":"https://api.github.com/repos/bm-sms/daimon-news/assignees{/user}","branches_url":"https://api.github.com/repos/bm-sms/daimon-news/branches{/branch}","tags_url":"https://api.github.com/repos/bm-sms/daimon-news/tags","blobs_url":"https://api.github.com/repos/bm-sms/daimon-news/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bm-sms/daimon-news/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bm-sms/daimon-news/git/refs{/sha}","trees_url":"https://api.github.com/repos/bm-sms/daimon-news/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bm-sms/daimon-news/statuses/{sha}","languages_url":"https://api.github.com/repos/bm-sms/daimon-news/languages","stargazers_url":"https://api.github.com/repos/bm-sms/daimon-news/stargazers","contributors_url":"https://api.github.com/repos/bm-sms/daimon-news/contributors","subscribers_url":"https://api.github.com/repos/bm-sms/daimon-news/subscribers","subscription_url":"https://api.github.com/repos/bm-sms/daimon-news/subscription","commits_url":"https://api.github.com/repos/bm-sms/daimon-news/commits{/sha}","git_commits_url":"https://api.github.com/repos/bm-sms/daimon-news/git/commits{/sha}","comments_url":"https://api.github.com/repos/bm-sms/daimon-news/comments{/number}","issue_comment_url":"https://api.github.com/repos/bm-sms/daimon-news/issues/comments{/number}","contents_url":"https://api.github.com/repos/bm-sms/daimon-news/contents/{+path}","compare_url":"https://api.github.com/repos/bm-sms/daimon-news/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bm-sms/daimon-news/merges","archive_url":"https://api.github.com/repos/bm-sms/daimon-news/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bm-sms/daimon-news/downloads","issues_url":"https://api.github.com/repos/bm-sms/daimon-news/issues{/number}","pulls_url":"https://api.github.com/repos/bm-sms/daimon-news/pulls{/number}","milestones_url":"https://api.github.com/repos/bm-sms/daimon-news/milestones{/number}","notifications_url":"https://api.github.com/repos/bm-sms/daimon-news/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bm-sms/daimon-news/labels{/name}","releases_url":"https://api.github.com/repos/bm-sms/daimon-news/releases{/id}","deployments_url":"https://api.github.com/repos/bm-sms/daimon-news/deployments","created_at":"2015-11-16T06:20:35Z","updated_at":"2017-01-31T07:54:19Z","pushed_at":"2017-02-01T01:01:29Z","git_url":"git://github.com/bm-sms/daimon-news.git","ssh_url":"git@github.com:bm-sms/daimon-news.git","clone_url":"https://github.com/bm-sms/daimon-news.git","svn_url":"https://github.com/bm-sms/daimon-news","homepage":"","size":1600,"stargazers_count":9,"watchers_count":9,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":10,"forks":2,"open_issues":10,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bm-sms/daimon-news/pulls/694"},"html":{"href":"https://github.com/bm-sms/daimon-news/pull/694"},"issue":{"href":"https://api.github.com/repos/bm-sms/daimon-news/issues/694"},"comments":{"href":"https://api.github.com/repos/bm-sms/daimon-news/issues/694/comments"},"review_comments":{"href":"https://api.github.com/repos/bm-sms/daimon-news/pulls/694/comments"},"review_comment":{"href":"https://api.github.com/repos/bm-sms/daimon-news/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bm-sms/daimon-news/pulls/694/commits"},"statuses":{"href":"https://api.github.com/repos/bm-sms/daimon-news/statuses/3901b7cf19d731434505ec286d5f1b82678f7f6d"}}}}
{"actor":{"display_login":"ryota-sasabe"}}