{"action":"created","comment":{"url":"https://api.github.com/repos/clairebvs/Enigma/pulls/comments/188480188","pull_request_review_id":120466690,"id":188480188,"diff_hunk":"@@ -18,9 +16,9 @@ def define_rotations(key)\n     return rotations\n   end\n \n-  def calculate_shifts\n-    shifts = @rotations.map.with_index do |number, index|\n-              number + @offsets[index]\n+  def calculate_shifts(rotations, offsets)\n+    shifts = rotations.map.with_index do |number, index|\n+              number + offsets[index]","path":"lib/enigma.rb","position":20,"original_position":20,"commit_id":"81546f9a03e6071513d62d4ca756eab790b320f0","original_commit_id":"81546f9a03e6071513d62d4ca756eab790b320f0","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":"Layout/IndentationWidth: Use 2 (not 1) spaces for indentation.","created_at":"2018-05-16T01:17:30Z","updated_at":"2018-05-16T01:17:30Z","html_url":"https://github.com/clairebvs/Enigma/pull/9#discussion_r188480188","pull_request_url":"https://api.github.com/repos/clairebvs/Enigma/pulls/9","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/clairebvs/Enigma/pulls/comments/188480188"},"html":{"href":"https://github.com/clairebvs/Enigma/pull/9#discussion_r188480188"},"pull_request":{"href":"https://api.github.com/repos/clairebvs/Enigma/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/clairebvs/Enigma/pulls/9","id":188295503,"html_url":"https://github.com/clairebvs/Enigma/pull/9","diff_url":"https://github.com/clairebvs/Enigma/pull/9.diff","patch_url":"https://github.com/clairebvs/Enigma/pull/9.patch","issue_url":"https://api.github.com/repos/clairebvs/Enigma/issues/9","number":9,"state":"open","locked":false,"title":"Refactors to allow users to input key and date for encrypt, decrypt, …","user":{"login":"clairebvs","id":34726107,"avatar_url":"https://avatars2.githubusercontent.com/u/34726107?v=4","gravatar_id":"","url":"https://api.github.com/users/clairebvs","html_url":"https://github.com/clairebvs","followers_url":"https://api.github.com/users/clairebvs/followers","following_url":"https://api.github.com/users/clairebvs/following{/other_user}","gists_url":"https://api.github.com/users/clairebvs/gists{/gist_id}","starred_url":"https://api.github.com/users/clairebvs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clairebvs/subscriptions","organizations_url":"https://api.github.com/users/clairebvs/orgs","repos_url":"https://api.github.com/users/clairebvs/repos","events_url":"https://api.github.com/users/clairebvs/events{/privacy}","received_events_url":"https://api.github.com/users/clairebvs/received_events","type":"User","site_admin":false},"body":"…and crack methods","created_at":"2018-05-16T01:17:14Z","updated_at":"2018-05-16T01:17:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"59962195f167200970b6c896dac6bfe7373b7ff4","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/clairebvs/Enigma/pulls/9/commits","review_comments_url":"https://api.github.com/repos/clairebvs/Enigma/pulls/9/comments","review_comment_url":"https://api.github.com/repos/clairebvs/Enigma/pulls/comments{/number}","comments_url":"https://api.github.com/repos/clairebvs/Enigma/issues/9/comments","statuses_url":"https://api.github.com/repos/clairebvs/Enigma/statuses/81546f9a03e6071513d62d4ca756eab790b320f0","head":{"label":"clairebvs:refactor","ref":"refactor","sha":"81546f9a03e6071513d62d4ca756eab790b320f0","user":{"login":"clairebvs","id":34726107,"avatar_url":"https://avatars2.githubusercontent.com/u/34726107?v=4","gravatar_id":"","url":"https://api.github.com/users/clairebvs","html_url":"https://github.com/clairebvs","followers_url":"https://api.github.com/users/clairebvs/followers","following_url":"https://api.github.com/users/clairebvs/following{/other_user}","gists_url":"https://api.github.com/users/clairebvs/gists{/gist_id}","starred_url":"https://api.github.com/users/clairebvs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clairebvs/subscriptions","organizations_url":"https://api.github.com/users/clairebvs/orgs","repos_url":"https://api.github.com/users/clairebvs/repos","events_url":"https://api.github.com/users/clairebvs/events{/privacy}","received_events_url":"https://api.github.com/users/clairebvs/received_events","type":"User","site_admin":false},"repo":{"id":133089636,"name":"Enigma","full_name":"clairebvs/Enigma","owner":{"login":"clairebvs","id":34726107,"avatar_url":"https://avatars2.githubusercontent.com/u/34726107?v=4","gravatar_id":"","url":"https://api.github.com/users/clairebvs","html_url":"https://github.com/clairebvs","followers_url":"https://api.github.com/users/clairebvs/followers","following_url":"https://api.github.com/users/clairebvs/following{/other_user}","gists_url":"https://api.github.com/users/clairebvs/gists{/gist_id}","starred_url":"https://api.github.com/users/clairebvs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clairebvs/subscriptions","organizations_url":"https://api.github.com/users/clairebvs/orgs","repos_url":"https://api.github.com/users/clairebvs/repos","events_url":"https://api.github.com/users/clairebvs/events{/privacy}","received_events_url":"https://api.github.com/users/clairebvs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/clairebvs/Enigma","description":null,"fork":false,"url":"https://api.github.com/repos/clairebvs/Enigma","forks_url":"https://api.github.com/repos/clairebvs/Enigma/forks","keys_url":"https://api.github.com/repos/clairebvs/Enigma/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clairebvs/Enigma/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clairebvs/Enigma/teams","hooks_url":"https://api.github.com/repos/clairebvs/Enigma/hooks","issue_events_url":"https://api.github.com/repos/clairebvs/Enigma/issues/events{/number}","events_url":"https://api.github.com/repos/clairebvs/Enigma/events","assignees_url":"https://api.github.com/repos/clairebvs/Enigma/assignees{/user}","branches_url":"https://api.github.com/repos/clairebvs/Enigma/branches{/branch}","tags_url":"https://api.github.com/repos/clairebvs/Enigma/tags","blobs_url":"https://api.github.com/repos/clairebvs/Enigma/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clairebvs/Enigma/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clairebvs/Enigma/git/refs{/sha}","trees_url":"https://api.github.com/repos/clairebvs/Enigma/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clairebvs/Enigma/statuses/{sha}","languages_url":"https://api.github.com/repos/clairebvs/Enigma/languages","stargazers_url":"https://api.github.com/repos/clairebvs/Enigma/stargazers","contributors_url":"https://api.github.com/repos/clairebvs/Enigma/contributors","subscribers_url":"https://api.github.com/repos/clairebvs/Enigma/subscribers","subscription_url":"https://api.github.com/repos/clairebvs/Enigma/subscription","commits_url":"https://api.github.com/repos/clairebvs/Enigma/commits{/sha}","git_commits_url":"https://api.github.com/repos/clairebvs/Enigma/git/commits{/sha}","comments_url":"https://api.github.com/repos/clairebvs/Enigma/comments{/number}","issue_comment_url":"https://api.github.com/repos/clairebvs/Enigma/issues/comments{/number}","contents_url":"https://api.github.com/repos/clairebvs/Enigma/contents/{+path}","compare_url":"https://api.github.com/repos/clairebvs/Enigma/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clairebvs/Enigma/merges","archive_url":"https://api.github.com/repos/clairebvs/Enigma/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clairebvs/Enigma/downloads","issues_url":"https://api.github.com/repos/clairebvs/Enigma/issues{/number}","pulls_url":"https://api.github.com/repos/clairebvs/Enigma/pulls{/number}","milestones_url":"https://api.github.com/repos/clairebvs/Enigma/milestones{/number}","notifications_url":"https://api.github.com/repos/clairebvs/Enigma/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clairebvs/Enigma/labels{/name}","releases_url":"https://api.github.com/repos/clairebvs/Enigma/releases{/id}","deployments_url":"https://api.github.com/repos/clairebvs/Enigma/deployments","created_at":"2018-05-11T21:19:17Z","updated_at":"2018-05-16T00:43:40Z","pushed_at":"2018-05-16T01:17:15Z","git_url":"git://github.com/clairebvs/Enigma.git","ssh_url":"git@github.com:clairebvs/Enigma.git","clone_url":"https://github.com/clairebvs/Enigma.git","svn_url":"https://github.com/clairebvs/Enigma","homepage":null,"size":33,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"clairebvs:master","ref":"master","sha":"6003cf625e3756e766067994e91a0d33fcdcf83a","user":{"login":"clairebvs","id":34726107,"avatar_url":"https://avatars2.githubusercontent.com/u/34726107?v=4","gravatar_id":"","url":"https://api.github.com/users/clairebvs","html_url":"https://github.com/clairebvs","followers_url":"https://api.github.com/users/clairebvs/followers","following_url":"https://api.github.com/users/clairebvs/following{/other_user}","gists_url":"https://api.github.com/users/clairebvs/gists{/gist_id}","starred_url":"https://api.github.com/users/clairebvs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clairebvs/subscriptions","organizations_url":"https://api.github.com/users/clairebvs/orgs","repos_url":"https://api.github.com/users/clairebvs/repos","events_url":"https://api.github.com/users/clairebvs/events{/privacy}","received_events_url":"https://api.github.com/users/clairebvs/received_events","type":"User","site_admin":false},"repo":{"id":133089636,"name":"Enigma","full_name":"clairebvs/Enigma","owner":{"login":"clairebvs","id":34726107,"avatar_url":"https://avatars2.githubusercontent.com/u/34726107?v=4","gravatar_id":"","url":"https://api.github.com/users/clairebvs","html_url":"https://github.com/clairebvs","followers_url":"https://api.github.com/users/clairebvs/followers","following_url":"https://api.github.com/users/clairebvs/following{/other_user}","gists_url":"https://api.github.com/users/clairebvs/gists{/gist_id}","starred_url":"https://api.github.com/users/clairebvs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clairebvs/subscriptions","organizations_url":"https://api.github.com/users/clairebvs/orgs","repos_url":"https://api.github.com/users/clairebvs/repos","events_url":"https://api.github.com/users/clairebvs/events{/privacy}","received_events_url":"https://api.github.com/users/clairebvs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/clairebvs/Enigma","description":null,"fork":false,"url":"https://api.github.com/repos/clairebvs/Enigma","forks_url":"https://api.github.com/repos/clairebvs/Enigma/forks","keys_url":"https://api.github.com/repos/clairebvs/Enigma/keys{/key_id}","collaborators_url":"https://api.github.com/repos/clairebvs/Enigma/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/clairebvs/Enigma/teams","hooks_url":"https://api.github.com/repos/clairebvs/Enigma/hooks","issue_events_url":"https://api.github.com/repos/clairebvs/Enigma/issues/events{/number}","events_url":"https://api.github.com/repos/clairebvs/Enigma/events","assignees_url":"https://api.github.com/repos/clairebvs/Enigma/assignees{/user}","branches_url":"https://api.github.com/repos/clairebvs/Enigma/branches{/branch}","tags_url":"https://api.github.com/repos/clairebvs/Enigma/tags","blobs_url":"https://api.github.com/repos/clairebvs/Enigma/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/clairebvs/Enigma/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/clairebvs/Enigma/git/refs{/sha}","trees_url":"https://api.github.com/repos/clairebvs/Enigma/git/trees{/sha}","statuses_url":"https://api.github.com/repos/clairebvs/Enigma/statuses/{sha}","languages_url":"https://api.github.com/repos/clairebvs/Enigma/languages","stargazers_url":"https://api.github.com/repos/clairebvs/Enigma/stargazers","contributors_url":"https://api.github.com/repos/clairebvs/Enigma/contributors","subscribers_url":"https://api.github.com/repos/clairebvs/Enigma/subscribers","subscription_url":"https://api.github.com/repos/clairebvs/Enigma/subscription","commits_url":"https://api.github.com/repos/clairebvs/Enigma/commits{/sha}","git_commits_url":"https://api.github.com/repos/clairebvs/Enigma/git/commits{/sha}","comments_url":"https://api.github.com/repos/clairebvs/Enigma/comments{/number}","issue_comment_url":"https://api.github.com/repos/clairebvs/Enigma/issues/comments{/number}","contents_url":"https://api.github.com/repos/clairebvs/Enigma/contents/{+path}","compare_url":"https://api.github.com/repos/clairebvs/Enigma/compare/{base}...{head}","merges_url":"https://api.github.com/repos/clairebvs/Enigma/merges","archive_url":"https://api.github.com/repos/clairebvs/Enigma/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/clairebvs/Enigma/downloads","issues_url":"https://api.github.com/repos/clairebvs/Enigma/issues{/number}","pulls_url":"https://api.github.com/repos/clairebvs/Enigma/pulls{/number}","milestones_url":"https://api.github.com/repos/clairebvs/Enigma/milestones{/number}","notifications_url":"https://api.github.com/repos/clairebvs/Enigma/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/clairebvs/Enigma/labels{/name}","releases_url":"https://api.github.com/repos/clairebvs/Enigma/releases{/id}","deployments_url":"https://api.github.com/repos/clairebvs/Enigma/deployments","created_at":"2018-05-11T21:19:17Z","updated_at":"2018-05-16T00:43:40Z","pushed_at":"2018-05-16T01:17:15Z","git_url":"git://github.com/clairebvs/Enigma.git","ssh_url":"git@github.com:clairebvs/Enigma.git","clone_url":"https://github.com/clairebvs/Enigma.git","svn_url":"https://github.com/clairebvs/Enigma","homepage":null,"size":33,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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/clairebvs/Enigma/pulls/9"},"html":{"href":"https://github.com/clairebvs/Enigma/pull/9"},"issue":{"href":"https://api.github.com/repos/clairebvs/Enigma/issues/9"},"comments":{"href":"https://api.github.com/repos/clairebvs/Enigma/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/clairebvs/Enigma/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/clairebvs/Enigma/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/clairebvs/Enigma/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/clairebvs/Enigma/statuses/81546f9a03e6071513d62d4ca756eab790b320f0"}},"author_association":"OWNER"}}
{"actor":{"display_login":"houndci-bot"}}