{"action":"created","comment":{"url":"https://api.github.com/repos/tamano/chatwork-secretary/pulls/comments/27445402","id":27445402,"diff_hunk":"@@ -0,0 +1,8 @@\n+require 'rails_helper'\n+\n+RSpec.describe NotifyRuleWeekly, type: :model do\n+  describe '#next' do\n+    rule = FactoryGirl.create(:notify_rule_weekly)","path":"spec/models/notify_rule_weekly_spec.rb","position":5,"original_position":5,"commit_id":"e548b04668d80e030a2eef9aba53729dbc1c2c2d","original_commit_id":"e548b04668d80e030a2eef9aba53729dbc1c2c2d","user":{"login":"tamano","id":965378,"avatar_url":"https://avatars.githubusercontent.com/u/965378?v=3","gravatar_id":"","url":"https://api.github.com/users/tamano","html_url":"https://github.com/tamano","followers_url":"https://api.github.com/users/tamano/followers","following_url":"https://api.github.com/users/tamano/following{/other_user}","gists_url":"https://api.github.com/users/tamano/gists{/gist_id}","starred_url":"https://api.github.com/users/tamano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tamano/subscriptions","organizations_url":"https://api.github.com/users/tamano/orgs","repos_url":"https://api.github.com/users/tamano/repos","events_url":"https://api.github.com/users/tamano/events{/privacy}","received_events_url":"https://api.github.com/users/tamano/received_events","type":"User","site_admin":false},"body":"[rubocop] Useless assignment to variable - `rule`.","created_at":"2015-03-31T00:46:16Z","updated_at":"2015-03-31T00:46:16Z","html_url":"https://github.com/tamano/chatwork-secretary/pull/6#discussion_r27445402","pull_request_url":"https://api.github.com/repos/tamano/chatwork-secretary/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/tamano/chatwork-secretary/pulls/comments/27445402"},"html":{"href":"https://github.com/tamano/chatwork-secretary/pull/6#discussion_r27445402"},"pull_request":{"href":"https://api.github.com/repos/tamano/chatwork-secretary/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/tamano/chatwork-secretary/pulls/6","id":32281895,"html_url":"https://github.com/tamano/chatwork-secretary/pull/6","diff_url":"https://github.com/tamano/chatwork-secretary/pull/6.diff","patch_url":"https://github.com/tamano/chatwork-secretary/pull/6.patch","issue_url":"https://api.github.com/repos/tamano/chatwork-secretary/issues/6","number":6,"state":"open","locked":false,"title":"[WIP] implement general notification","user":{"login":"tamano","id":965378,"avatar_url":"https://avatars.githubusercontent.com/u/965378?v=3","gravatar_id":"","url":"https://api.github.com/users/tamano","html_url":"https://github.com/tamano","followers_url":"https://api.github.com/users/tamano/followers","following_url":"https://api.github.com/users/tamano/following{/other_user}","gists_url":"https://api.github.com/users/tamano/gists{/gist_id}","starred_url":"https://api.github.com/users/tamano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tamano/subscriptions","organizations_url":"https://api.github.com/users/tamano/orgs","repos_url":"https://api.github.com/users/tamano/repos","events_url":"https://api.github.com/users/tamano/events{/privacy}","received_events_url":"https://api.github.com/users/tamano/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-31T00:45:49Z","updated_at":"2015-03-31T00:46:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"21cab9ec1932a5465ec28874bfdd00c5b30c89fb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/tamano/chatwork-secretary/pulls/6/commits","review_comments_url":"https://api.github.com/repos/tamano/chatwork-secretary/pulls/6/comments","review_comment_url":"https://api.github.com/repos/tamano/chatwork-secretary/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tamano/chatwork-secretary/issues/6/comments","statuses_url":"https://api.github.com/repos/tamano/chatwork-secretary/statuses/e548b04668d80e030a2eef9aba53729dbc1c2c2d","head":{"label":"tamano:feature/implement-general-notification","ref":"feature/implement-general-notification","sha":"e548b04668d80e030a2eef9aba53729dbc1c2c2d","user":{"login":"tamano","id":965378,"avatar_url":"https://avatars.githubusercontent.com/u/965378?v=3","gravatar_id":"","url":"https://api.github.com/users/tamano","html_url":"https://github.com/tamano","followers_url":"https://api.github.com/users/tamano/followers","following_url":"https://api.github.com/users/tamano/following{/other_user}","gists_url":"https://api.github.com/users/tamano/gists{/gist_id}","starred_url":"https://api.github.com/users/tamano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tamano/subscriptions","organizations_url":"https://api.github.com/users/tamano/orgs","repos_url":"https://api.github.com/users/tamano/repos","events_url":"https://api.github.com/users/tamano/events{/privacy}","received_events_url":"https://api.github.com/users/tamano/received_events","type":"User","site_admin":false},"repo":{"id":30114845,"name":"chatwork-secretary","full_name":"tamano/chatwork-secretary","owner":{"login":"tamano","id":965378,"avatar_url":"https://avatars.githubusercontent.com/u/965378?v=3","gravatar_id":"","url":"https://api.github.com/users/tamano","html_url":"https://github.com/tamano","followers_url":"https://api.github.com/users/tamano/followers","following_url":"https://api.github.com/users/tamano/following{/other_user}","gists_url":"https://api.github.com/users/tamano/gists{/gist_id}","starred_url":"https://api.github.com/users/tamano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tamano/subscriptions","organizations_url":"https://api.github.com/users/tamano/orgs","repos_url":"https://api.github.com/users/tamano/repos","events_url":"https://api.github.com/users/tamano/events{/privacy}","received_events_url":"https://api.github.com/users/tamano/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tamano/chatwork-secretary","description":"Secretary program has function to help people using ChatWork.","fork":false,"url":"https://api.github.com/repos/tamano/chatwork-secretary","forks_url":"https://api.github.com/repos/tamano/chatwork-secretary/forks","keys_url":"https://api.github.com/repos/tamano/chatwork-secretary/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tamano/chatwork-secretary/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tamano/chatwork-secretary/teams","hooks_url":"https://api.github.com/repos/tamano/chatwork-secretary/hooks","issue_events_url":"https://api.github.com/repos/tamano/chatwork-secretary/issues/events{/number}","events_url":"https://api.github.com/repos/tamano/chatwork-secretary/events","assignees_url":"https://api.github.com/repos/tamano/chatwork-secretary/assignees{/user}","branches_url":"https://api.github.com/repos/tamano/chatwork-secretary/branches{/branch}","tags_url":"https://api.github.com/repos/tamano/chatwork-secretary/tags","blobs_url":"https://api.github.com/repos/tamano/chatwork-secretary/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tamano/chatwork-secretary/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tamano/chatwork-secretary/git/refs{/sha}","trees_url":"https://api.github.com/repos/tamano/chatwork-secretary/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tamano/chatwork-secretary/statuses/{sha}","languages_url":"https://api.github.com/repos/tamano/chatwork-secretary/languages","stargazers_url":"https://api.github.com/repos/tamano/chatwork-secretary/stargazers","contributors_url":"https://api.github.com/repos/tamano/chatwork-secretary/contributors","subscribers_url":"https://api.github.com/repos/tamano/chatwork-secretary/subscribers","subscription_url":"https://api.github.com/repos/tamano/chatwork-secretary/subscription","commits_url":"https://api.github.com/repos/tamano/chatwork-secretary/commits{/sha}","git_commits_url":"https://api.github.com/repos/tamano/chatwork-secretary/git/commits{/sha}","comments_url":"https://api.github.com/repos/tamano/chatwork-secretary/comments{/number}","issue_comment_url":"https://api.github.com/repos/tamano/chatwork-secretary/issues/comments{/number}","contents_url":"https://api.github.com/repos/tamano/chatwork-secretary/contents/{+path}","compare_url":"https://api.github.com/repos/tamano/chatwork-secretary/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tamano/chatwork-secretary/merges","archive_url":"https://api.github.com/repos/tamano/chatwork-secretary/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tamano/chatwork-secretary/downloads","issues_url":"https://api.github.com/repos/tamano/chatwork-secretary/issues{/number}","pulls_url":"https://api.github.com/repos/tamano/chatwork-secretary/pulls{/number}","milestones_url":"https://api.github.com/repos/tamano/chatwork-secretary/milestones{/number}","notifications_url":"https://api.github.com/repos/tamano/chatwork-secretary/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tamano/chatwork-secretary/labels{/name}","releases_url":"https://api.github.com/repos/tamano/chatwork-secretary/releases{/id}","created_at":"2015-01-31T14:43:03Z","updated_at":"2015-03-13T16:10:08Z","pushed_at":"2015-03-31T00:45:49Z","git_url":"git://github.com/tamano/chatwork-secretary.git","ssh_url":"git@github.com:tamano/chatwork-secretary.git","clone_url":"https://github.com/tamano/chatwork-secretary.git","svn_url":"https://github.com/tamano/chatwork-secretary","homepage":"","size":548,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"tamano:master","ref":"master","sha":"50918965f7b2c6b1166ec81914892b3ff4f212c0","user":{"login":"tamano","id":965378,"avatar_url":"https://avatars.githubusercontent.com/u/965378?v=3","gravatar_id":"","url":"https://api.github.com/users/tamano","html_url":"https://github.com/tamano","followers_url":"https://api.github.com/users/tamano/followers","following_url":"https://api.github.com/users/tamano/following{/other_user}","gists_url":"https://api.github.com/users/tamano/gists{/gist_id}","starred_url":"https://api.github.com/users/tamano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tamano/subscriptions","organizations_url":"https://api.github.com/users/tamano/orgs","repos_url":"https://api.github.com/users/tamano/repos","events_url":"https://api.github.com/users/tamano/events{/privacy}","received_events_url":"https://api.github.com/users/tamano/received_events","type":"User","site_admin":false},"repo":{"id":30114845,"name":"chatwork-secretary","full_name":"tamano/chatwork-secretary","owner":{"login":"tamano","id":965378,"avatar_url":"https://avatars.githubusercontent.com/u/965378?v=3","gravatar_id":"","url":"https://api.github.com/users/tamano","html_url":"https://github.com/tamano","followers_url":"https://api.github.com/users/tamano/followers","following_url":"https://api.github.com/users/tamano/following{/other_user}","gists_url":"https://api.github.com/users/tamano/gists{/gist_id}","starred_url":"https://api.github.com/users/tamano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tamano/subscriptions","organizations_url":"https://api.github.com/users/tamano/orgs","repos_url":"https://api.github.com/users/tamano/repos","events_url":"https://api.github.com/users/tamano/events{/privacy}","received_events_url":"https://api.github.com/users/tamano/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tamano/chatwork-secretary","description":"Secretary program has function to help people using ChatWork.","fork":false,"url":"https://api.github.com/repos/tamano/chatwork-secretary","forks_url":"https://api.github.com/repos/tamano/chatwork-secretary/forks","keys_url":"https://api.github.com/repos/tamano/chatwork-secretary/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tamano/chatwork-secretary/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tamano/chatwork-secretary/teams","hooks_url":"https://api.github.com/repos/tamano/chatwork-secretary/hooks","issue_events_url":"https://api.github.com/repos/tamano/chatwork-secretary/issues/events{/number}","events_url":"https://api.github.com/repos/tamano/chatwork-secretary/events","assignees_url":"https://api.github.com/repos/tamano/chatwork-secretary/assignees{/user}","branches_url":"https://api.github.com/repos/tamano/chatwork-secretary/branches{/branch}","tags_url":"https://api.github.com/repos/tamano/chatwork-secretary/tags","blobs_url":"https://api.github.com/repos/tamano/chatwork-secretary/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tamano/chatwork-secretary/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tamano/chatwork-secretary/git/refs{/sha}","trees_url":"https://api.github.com/repos/tamano/chatwork-secretary/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tamano/chatwork-secretary/statuses/{sha}","languages_url":"https://api.github.com/repos/tamano/chatwork-secretary/languages","stargazers_url":"https://api.github.com/repos/tamano/chatwork-secretary/stargazers","contributors_url":"https://api.github.com/repos/tamano/chatwork-secretary/contributors","subscribers_url":"https://api.github.com/repos/tamano/chatwork-secretary/subscribers","subscription_url":"https://api.github.com/repos/tamano/chatwork-secretary/subscription","commits_url":"https://api.github.com/repos/tamano/chatwork-secretary/commits{/sha}","git_commits_url":"https://api.github.com/repos/tamano/chatwork-secretary/git/commits{/sha}","comments_url":"https://api.github.com/repos/tamano/chatwork-secretary/comments{/number}","issue_comment_url":"https://api.github.com/repos/tamano/chatwork-secretary/issues/comments{/number}","contents_url":"https://api.github.com/repos/tamano/chatwork-secretary/contents/{+path}","compare_url":"https://api.github.com/repos/tamano/chatwork-secretary/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tamano/chatwork-secretary/merges","archive_url":"https://api.github.com/repos/tamano/chatwork-secretary/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tamano/chatwork-secretary/downloads","issues_url":"https://api.github.com/repos/tamano/chatwork-secretary/issues{/number}","pulls_url":"https://api.github.com/repos/tamano/chatwork-secretary/pulls{/number}","milestones_url":"https://api.github.com/repos/tamano/chatwork-secretary/milestones{/number}","notifications_url":"https://api.github.com/repos/tamano/chatwork-secretary/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tamano/chatwork-secretary/labels{/name}","releases_url":"https://api.github.com/repos/tamano/chatwork-secretary/releases{/id}","created_at":"2015-01-31T14:43:03Z","updated_at":"2015-03-13T16:10:08Z","pushed_at":"2015-03-31T00:45:49Z","git_url":"git://github.com/tamano/chatwork-secretary.git","ssh_url":"git@github.com:tamano/chatwork-secretary.git","clone_url":"https://github.com/tamano/chatwork-secretary.git","svn_url":"https://github.com/tamano/chatwork-secretary","homepage":"","size":548,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tamano/chatwork-secretary/pulls/6"},"html":{"href":"https://github.com/tamano/chatwork-secretary/pull/6"},"issue":{"href":"https://api.github.com/repos/tamano/chatwork-secretary/issues/6"},"comments":{"href":"https://api.github.com/repos/tamano/chatwork-secretary/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/tamano/chatwork-secretary/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/tamano/chatwork-secretary/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tamano/chatwork-secretary/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/tamano/chatwork-secretary/statuses/e548b04668d80e030a2eef9aba53729dbc1c2c2d"}}}}