{"action":"created","comment":{"url":"https://api.github.com/repos/jamesrnelson/enigma/pulls/comments/166150176","pull_request_review_id":94185370,"id":166150176,"diff_hunk":"@@ -7,30 +8,17 @@ class OffsetCalculator\n               :the_squared_date,\n               :the_date_offset\n \n-  def initialize\n-    @the_date = Date.today.strftime('%d%m%y')\n-    @the_squared_date = (@the_date.to_i**2).to_s\n-    @the_date_offset = @the_squared_date[-4..-1]\n+  def initialize(date=Date.today, a=0, b=9)","path":"lib/offset_calculator.rb","position":14,"original_position":14,"commit_id":"5b311c58bb28bc53bb7ba9681c35672030d9d68f","original_commit_id":"5b311c58bb28bc53bb7ba9681c35672030d9d68f","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Surrounding space missing in default value assignment.","created_at":"2018-02-05T23:53:51Z","updated_at":"2018-02-05T23:53:52Z","html_url":"https://github.com/jamesrnelson/enigma/pull/7#discussion_r166150176","pull_request_url":"https://api.github.com/repos/jamesrnelson/enigma/pulls/7","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/jamesrnelson/enigma/pulls/comments/166150176"},"html":{"href":"https://github.com/jamesrnelson/enigma/pull/7#discussion_r166150176"},"pull_request":{"href":"https://api.github.com/repos/jamesrnelson/enigma/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/jamesrnelson/enigma/pulls/7","id":167286191,"html_url":"https://github.com/jamesrnelson/enigma/pull/7","diff_url":"https://github.com/jamesrnelson/enigma/pull/7.diff","patch_url":"https://github.com/jamesrnelson/enigma/pull/7.patch","issue_url":"https://api.github.com/repos/jamesrnelson/enigma/issues/7","number":7,"state":"open","locked":false,"title":"completely refactored keygen and offset_calculator","user":{"login":"jamesrnelson","id":34174321,"avatar_url":"https://avatars1.githubusercontent.com/u/34174321?v=4","gravatar_id":"","url":"https://api.github.com/users/jamesrnelson","html_url":"https://github.com/jamesrnelson","followers_url":"https://api.github.com/users/jamesrnelson/followers","following_url":"https://api.github.com/users/jamesrnelson/following{/other_user}","gists_url":"https://api.github.com/users/jamesrnelson/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesrnelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesrnelson/subscriptions","organizations_url":"https://api.github.com/users/jamesrnelson/orgs","repos_url":"https://api.github.com/users/jamesrnelson/repos","events_url":"https://api.github.com/users/jamesrnelson/events{/privacy}","received_events_url":"https://api.github.com/users/jamesrnelson/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-05T23:53:42Z","updated_at":"2018-02-05T23:53:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0dbf06361a7a911b179a30fe7dcb6f3d15e7e5c0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/jamesrnelson/enigma/pulls/7/commits","review_comments_url":"https://api.github.com/repos/jamesrnelson/enigma/pulls/7/comments","review_comment_url":"https://api.github.com/repos/jamesrnelson/enigma/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jamesrnelson/enigma/issues/7/comments","statuses_url":"https://api.github.com/repos/jamesrnelson/enigma/statuses/5b311c58bb28bc53bb7ba9681c35672030d9d68f","head":{"label":"jamesrnelson:adding_encrypt_branch","ref":"adding_encrypt_branch","sha":"5b311c58bb28bc53bb7ba9681c35672030d9d68f","user":{"login":"jamesrnelson","id":34174321,"avatar_url":"https://avatars1.githubusercontent.com/u/34174321?v=4","gravatar_id":"","url":"https://api.github.com/users/jamesrnelson","html_url":"https://github.com/jamesrnelson","followers_url":"https://api.github.com/users/jamesrnelson/followers","following_url":"https://api.github.com/users/jamesrnelson/following{/other_user}","gists_url":"https://api.github.com/users/jamesrnelson/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesrnelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesrnelson/subscriptions","organizations_url":"https://api.github.com/users/jamesrnelson/orgs","repos_url":"https://api.github.com/users/jamesrnelson/repos","events_url":"https://api.github.com/users/jamesrnelson/events{/privacy}","received_events_url":"https://api.github.com/users/jamesrnelson/received_events","type":"User","site_admin":false},"repo":{"id":120023151,"name":"enigma","full_name":"jamesrnelson/enigma","owner":{"login":"jamesrnelson","id":34174321,"avatar_url":"https://avatars1.githubusercontent.com/u/34174321?v=4","gravatar_id":"","url":"https://api.github.com/users/jamesrnelson","html_url":"https://github.com/jamesrnelson","followers_url":"https://api.github.com/users/jamesrnelson/followers","following_url":"https://api.github.com/users/jamesrnelson/following{/other_user}","gists_url":"https://api.github.com/users/jamesrnelson/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesrnelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesrnelson/subscriptions","organizations_url":"https://api.github.com/users/jamesrnelson/orgs","repos_url":"https://api.github.com/users/jamesrnelson/repos","events_url":"https://api.github.com/users/jamesrnelson/events{/privacy}","received_events_url":"https://api.github.com/users/jamesrnelson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jamesrnelson/enigma","description":null,"fork":false,"url":"https://api.github.com/repos/jamesrnelson/enigma","forks_url":"https://api.github.com/repos/jamesrnelson/enigma/forks","keys_url":"https://api.github.com/repos/jamesrnelson/enigma/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jamesrnelson/enigma/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jamesrnelson/enigma/teams","hooks_url":"https://api.github.com/repos/jamesrnelson/enigma/hooks","issue_events_url":"https://api.github.com/repos/jamesrnelson/enigma/issues/events{/number}","events_url":"https://api.github.com/repos/jamesrnelson/enigma/events","assignees_url":"https://api.github.com/repos/jamesrnelson/enigma/assignees{/user}","branches_url":"https://api.github.com/repos/jamesrnelson/enigma/branches{/branch}","tags_url":"https://api.github.com/repos/jamesrnelson/enigma/tags","blobs_url":"https://api.github.com/repos/jamesrnelson/enigma/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jamesrnelson/enigma/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jamesrnelson/enigma/git/refs{/sha}","trees_url":"https://api.github.com/repos/jamesrnelson/enigma/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jamesrnelson/enigma/statuses/{sha}","languages_url":"https://api.github.com/repos/jamesrnelson/enigma/languages","stargazers_url":"https://api.github.com/repos/jamesrnelson/enigma/stargazers","contributors_url":"https://api.github.com/repos/jamesrnelson/enigma/contributors","subscribers_url":"https://api.github.com/repos/jamesrnelson/enigma/subscribers","subscription_url":"https://api.github.com/repos/jamesrnelson/enigma/subscription","commits_url":"https://api.github.com/repos/jamesrnelson/enigma/commits{/sha}","git_commits_url":"https://api.github.com/repos/jamesrnelson/enigma/git/commits{/sha}","comments_url":"https://api.github.com/repos/jamesrnelson/enigma/comments{/number}","issue_comment_url":"https://api.github.com/repos/jamesrnelson/enigma/issues/comments{/number}","contents_url":"https://api.github.com/repos/jamesrnelson/enigma/contents/{+path}","compare_url":"https://api.github.com/repos/jamesrnelson/enigma/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jamesrnelson/enigma/merges","archive_url":"https://api.github.com/repos/jamesrnelson/enigma/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jamesrnelson/enigma/downloads","issues_url":"https://api.github.com/repos/jamesrnelson/enigma/issues{/number}","pulls_url":"https://api.github.com/repos/jamesrnelson/enigma/pulls{/number}","milestones_url":"https://api.github.com/repos/jamesrnelson/enigma/milestones{/number}","notifications_url":"https://api.github.com/repos/jamesrnelson/enigma/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jamesrnelson/enigma/labels{/name}","releases_url":"https://api.github.com/repos/jamesrnelson/enigma/releases{/id}","deployments_url":"https://api.github.com/repos/jamesrnelson/enigma/deployments","created_at":"2018-02-02T19:37:32Z","updated_at":"2018-02-05T20:13:12Z","pushed_at":"2018-02-05T23:53:42Z","git_url":"git://github.com/jamesrnelson/enigma.git","ssh_url":"git@github.com:jamesrnelson/enigma.git","clone_url":"https://github.com/jamesrnelson/enigma.git","svn_url":"https://github.com/jamesrnelson/enigma","homepage":null,"size":117,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"jamesrnelson:master","ref":"master","sha":"33fb5125ccf303fd1ef1bf71cb81808ea1d1832c","user":{"login":"jamesrnelson","id":34174321,"avatar_url":"https://avatars1.githubusercontent.com/u/34174321?v=4","gravatar_id":"","url":"https://api.github.com/users/jamesrnelson","html_url":"https://github.com/jamesrnelson","followers_url":"https://api.github.com/users/jamesrnelson/followers","following_url":"https://api.github.com/users/jamesrnelson/following{/other_user}","gists_url":"https://api.github.com/users/jamesrnelson/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesrnelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesrnelson/subscriptions","organizations_url":"https://api.github.com/users/jamesrnelson/orgs","repos_url":"https://api.github.com/users/jamesrnelson/repos","events_url":"https://api.github.com/users/jamesrnelson/events{/privacy}","received_events_url":"https://api.github.com/users/jamesrnelson/received_events","type":"User","site_admin":false},"repo":{"id":120023151,"name":"enigma","full_name":"jamesrnelson/enigma","owner":{"login":"jamesrnelson","id":34174321,"avatar_url":"https://avatars1.githubusercontent.com/u/34174321?v=4","gravatar_id":"","url":"https://api.github.com/users/jamesrnelson","html_url":"https://github.com/jamesrnelson","followers_url":"https://api.github.com/users/jamesrnelson/followers","following_url":"https://api.github.com/users/jamesrnelson/following{/other_user}","gists_url":"https://api.github.com/users/jamesrnelson/gists{/gist_id}","starred_url":"https://api.github.com/users/jamesrnelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamesrnelson/subscriptions","organizations_url":"https://api.github.com/users/jamesrnelson/orgs","repos_url":"https://api.github.com/users/jamesrnelson/repos","events_url":"https://api.github.com/users/jamesrnelson/events{/privacy}","received_events_url":"https://api.github.com/users/jamesrnelson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jamesrnelson/enigma","description":null,"fork":false,"url":"https://api.github.com/repos/jamesrnelson/enigma","forks_url":"https://api.github.com/repos/jamesrnelson/enigma/forks","keys_url":"https://api.github.com/repos/jamesrnelson/enigma/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jamesrnelson/enigma/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jamesrnelson/enigma/teams","hooks_url":"https://api.github.com/repos/jamesrnelson/enigma/hooks","issue_events_url":"https://api.github.com/repos/jamesrnelson/enigma/issues/events{/number}","events_url":"https://api.github.com/repos/jamesrnelson/enigma/events","assignees_url":"https://api.github.com/repos/jamesrnelson/enigma/assignees{/user}","branches_url":"https://api.github.com/repos/jamesrnelson/enigma/branches{/branch}","tags_url":"https://api.github.com/repos/jamesrnelson/enigma/tags","blobs_url":"https://api.github.com/repos/jamesrnelson/enigma/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jamesrnelson/enigma/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jamesrnelson/enigma/git/refs{/sha}","trees_url":"https://api.github.com/repos/jamesrnelson/enigma/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jamesrnelson/enigma/statuses/{sha}","languages_url":"https://api.github.com/repos/jamesrnelson/enigma/languages","stargazers_url":"https://api.github.com/repos/jamesrnelson/enigma/stargazers","contributors_url":"https://api.github.com/repos/jamesrnelson/enigma/contributors","subscribers_url":"https://api.github.com/repos/jamesrnelson/enigma/subscribers","subscription_url":"https://api.github.com/repos/jamesrnelson/enigma/subscription","commits_url":"https://api.github.com/repos/jamesrnelson/enigma/commits{/sha}","git_commits_url":"https://api.github.com/repos/jamesrnelson/enigma/git/commits{/sha}","comments_url":"https://api.github.com/repos/jamesrnelson/enigma/comments{/number}","issue_comment_url":"https://api.github.com/repos/jamesrnelson/enigma/issues/comments{/number}","contents_url":"https://api.github.com/repos/jamesrnelson/enigma/contents/{+path}","compare_url":"https://api.github.com/repos/jamesrnelson/enigma/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jamesrnelson/enigma/merges","archive_url":"https://api.github.com/repos/jamesrnelson/enigma/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jamesrnelson/enigma/downloads","issues_url":"https://api.github.com/repos/jamesrnelson/enigma/issues{/number}","pulls_url":"https://api.github.com/repos/jamesrnelson/enigma/pulls{/number}","milestones_url":"https://api.github.com/repos/jamesrnelson/enigma/milestones{/number}","notifications_url":"https://api.github.com/repos/jamesrnelson/enigma/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jamesrnelson/enigma/labels{/name}","releases_url":"https://api.github.com/repos/jamesrnelson/enigma/releases{/id}","deployments_url":"https://api.github.com/repos/jamesrnelson/enigma/deployments","created_at":"2018-02-02T19:37:32Z","updated_at":"2018-02-05T20:13:12Z","pushed_at":"2018-02-05T23:53:42Z","git_url":"git://github.com/jamesrnelson/enigma.git","ssh_url":"git@github.com:jamesrnelson/enigma.git","clone_url":"https://github.com/jamesrnelson/enigma.git","svn_url":"https://github.com/jamesrnelson/enigma","homepage":null,"size":117,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jamesrnelson/enigma/pulls/7"},"html":{"href":"https://github.com/jamesrnelson/enigma/pull/7"},"issue":{"href":"https://api.github.com/repos/jamesrnelson/enigma/issues/7"},"comments":{"href":"https://api.github.com/repos/jamesrnelson/enigma/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/jamesrnelson/enigma/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/jamesrnelson/enigma/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jamesrnelson/enigma/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/jamesrnelson/enigma/statuses/5b311c58bb28bc53bb7ba9681c35672030d9d68f"}},"author_association":"OWNER"}}
{"actor":{"display_login":"houndci-bot"}}