{"action":"created","comment":{"url":"https://api.github.com/repos/agpiermarini/enigma/pulls/comments/165857867","pull_request_review_id":93858004,"id":165857867,"diff_hunk":"@@ -0,0 +1,38 @@\n+require 'Date'\n+require 'Time'\n+require 'pry'\n+require './lib/dictionary'\n+\n+class Enigma\n+  include Dictionary\n+  def random_key(length, ceiling)\n+    length.times.map { Random.rand(ceiling) }\n+  end\n+\n+  def key_offset(key = random_key(5, 10))             #problematic for edge cases? can we hard code in random_key and still have appropriate tests","path":"lib/enigma.rb","position":12,"original_position":12,"commit_id":"1c6cab635b516cf7de839032affca941fede8734","original_commit_id":"1c6cab635b516cf7de839032affca941fede8734","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":"Unnecessary spacing detected.<br>Missing space after #.<br>Do not place comments on the same line as the def keyword.<br>Line is too long. [146/80]","created_at":"2018-02-04T21:06:00Z","updated_at":"2018-02-04T21:06:01Z","html_url":"https://github.com/agpiermarini/enigma/pull/4#discussion_r165857867","pull_request_url":"https://api.github.com/repos/agpiermarini/enigma/pulls/4","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/agpiermarini/enigma/pulls/comments/165857867"},"html":{"href":"https://github.com/agpiermarini/enigma/pull/4#discussion_r165857867"},"pull_request":{"href":"https://api.github.com/repos/agpiermarini/enigma/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/agpiermarini/enigma/pulls/4","id":167029876,"html_url":"https://github.com/agpiermarini/enigma/pull/4","diff_url":"https://github.com/agpiermarini/enigma/pull/4.diff","patch_url":"https://github.com/agpiermarini/enigma/pull/4.patch","issue_url":"https://api.github.com/repos/agpiermarini/enigma/issues/4","number":4,"state":"open","locked":false,"title":"Ems","user":{"login":"EMSwank","id":31110190,"avatar_url":"https://avatars1.githubusercontent.com/u/31110190?v=4","gravatar_id":"","url":"https://api.github.com/users/EMSwank","html_url":"https://github.com/EMSwank","followers_url":"https://api.github.com/users/EMSwank/followers","following_url":"https://api.github.com/users/EMSwank/following{/other_user}","gists_url":"https://api.github.com/users/EMSwank/gists{/gist_id}","starred_url":"https://api.github.com/users/EMSwank/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EMSwank/subscriptions","organizations_url":"https://api.github.com/users/EMSwank/orgs","repos_url":"https://api.github.com/users/EMSwank/repos","events_url":"https://api.github.com/users/EMSwank/events{/privacy}","received_events_url":"https://api.github.com/users/EMSwank/received_events","type":"User","site_admin":false},"body":"Almost done with the encrypt logic","created_at":"2018-02-04T21:05:48Z","updated_at":"2018-02-04T21:06:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5277332f6822af77376e4e9c807a165563fd694c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/agpiermarini/enigma/pulls/4/commits","review_comments_url":"https://api.github.com/repos/agpiermarini/enigma/pulls/4/comments","review_comment_url":"https://api.github.com/repos/agpiermarini/enigma/pulls/comments{/number}","comments_url":"https://api.github.com/repos/agpiermarini/enigma/issues/4/comments","statuses_url":"https://api.github.com/repos/agpiermarini/enigma/statuses/1c6cab635b516cf7de839032affca941fede8734","head":{"label":"agpiermarini:ems","ref":"ems","sha":"1c6cab635b516cf7de839032affca941fede8734","user":{"login":"agpiermarini","id":19535775,"avatar_url":"https://avatars1.githubusercontent.com/u/19535775?v=4","gravatar_id":"","url":"https://api.github.com/users/agpiermarini","html_url":"https://github.com/agpiermarini","followers_url":"https://api.github.com/users/agpiermarini/followers","following_url":"https://api.github.com/users/agpiermarini/following{/other_user}","gists_url":"https://api.github.com/users/agpiermarini/gists{/gist_id}","starred_url":"https://api.github.com/users/agpiermarini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agpiermarini/subscriptions","organizations_url":"https://api.github.com/users/agpiermarini/orgs","repos_url":"https://api.github.com/users/agpiermarini/repos","events_url":"https://api.github.com/users/agpiermarini/events{/privacy}","received_events_url":"https://api.github.com/users/agpiermarini/received_events","type":"User","site_admin":false},"repo":{"id":120045151,"name":"enigma","full_name":"agpiermarini/enigma","owner":{"login":"agpiermarini","id":19535775,"avatar_url":"https://avatars1.githubusercontent.com/u/19535775?v=4","gravatar_id":"","url":"https://api.github.com/users/agpiermarini","html_url":"https://github.com/agpiermarini","followers_url":"https://api.github.com/users/agpiermarini/followers","following_url":"https://api.github.com/users/agpiermarini/following{/other_user}","gists_url":"https://api.github.com/users/agpiermarini/gists{/gist_id}","starred_url":"https://api.github.com/users/agpiermarini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agpiermarini/subscriptions","organizations_url":"https://api.github.com/users/agpiermarini/orgs","repos_url":"https://api.github.com/users/agpiermarini/repos","events_url":"https://api.github.com/users/agpiermarini/events{/privacy}","received_events_url":"https://api.github.com/users/agpiermarini/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/agpiermarini/enigma","description":"Module 1 Paired Project","fork":false,"url":"https://api.github.com/repos/agpiermarini/enigma","forks_url":"https://api.github.com/repos/agpiermarini/enigma/forks","keys_url":"https://api.github.com/repos/agpiermarini/enigma/keys{/key_id}","collaborators_url":"https://api.github.com/repos/agpiermarini/enigma/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/agpiermarini/enigma/teams","hooks_url":"https://api.github.com/repos/agpiermarini/enigma/hooks","issue_events_url":"https://api.github.com/repos/agpiermarini/enigma/issues/events{/number}","events_url":"https://api.github.com/repos/agpiermarini/enigma/events","assignees_url":"https://api.github.com/repos/agpiermarini/enigma/assignees{/user}","branches_url":"https://api.github.com/repos/agpiermarini/enigma/branches{/branch}","tags_url":"https://api.github.com/repos/agpiermarini/enigma/tags","blobs_url":"https://api.github.com/repos/agpiermarini/enigma/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/agpiermarini/enigma/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/agpiermarini/enigma/git/refs{/sha}","trees_url":"https://api.github.com/repos/agpiermarini/enigma/git/trees{/sha}","statuses_url":"https://api.github.com/repos/agpiermarini/enigma/statuses/{sha}","languages_url":"https://api.github.com/repos/agpiermarini/enigma/languages","stargazers_url":"https://api.github.com/repos/agpiermarini/enigma/stargazers","contributors_url":"https://api.github.com/repos/agpiermarini/enigma/contributors","subscribers_url":"https://api.github.com/repos/agpiermarini/enigma/subscribers","subscription_url":"https://api.github.com/repos/agpiermarini/enigma/subscription","commits_url":"https://api.github.com/repos/agpiermarini/enigma/commits{/sha}","git_commits_url":"https://api.github.com/repos/agpiermarini/enigma/git/commits{/sha}","comments_url":"https://api.github.com/repos/agpiermarini/enigma/comments{/number}","issue_comment_url":"https://api.github.com/repos/agpiermarini/enigma/issues/comments{/number}","contents_url":"https://api.github.com/repos/agpiermarini/enigma/contents/{+path}","compare_url":"https://api.github.com/repos/agpiermarini/enigma/compare/{base}...{head}","merges_url":"https://api.github.com/repos/agpiermarini/enigma/merges","archive_url":"https://api.github.com/repos/agpiermarini/enigma/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/agpiermarini/enigma/downloads","issues_url":"https://api.github.com/repos/agpiermarini/enigma/issues{/number}","pulls_url":"https://api.github.com/repos/agpiermarini/enigma/pulls{/number}","milestones_url":"https://api.github.com/repos/agpiermarini/enigma/milestones{/number}","notifications_url":"https://api.github.com/repos/agpiermarini/enigma/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/agpiermarini/enigma/labels{/name}","releases_url":"https://api.github.com/repos/agpiermarini/enigma/releases{/id}","deployments_url":"https://api.github.com/repos/agpiermarini/enigma/deployments","created_at":"2018-02-03T00:16:06Z","updated_at":"2018-02-03T21:51:35Z","pushed_at":"2018-02-04T21:05:48Z","git_url":"git://github.com/agpiermarini/enigma.git","ssh_url":"git@github.com:agpiermarini/enigma.git","clone_url":"https://github.com/agpiermarini/enigma.git","svn_url":"https://github.com/agpiermarini/enigma","homepage":"","size":8,"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":"agpiermarini:master","ref":"master","sha":"7972e5a7d974cba8948a989ee09dfdb58781b1cd","user":{"login":"agpiermarini","id":19535775,"avatar_url":"https://avatars1.githubusercontent.com/u/19535775?v=4","gravatar_id":"","url":"https://api.github.com/users/agpiermarini","html_url":"https://github.com/agpiermarini","followers_url":"https://api.github.com/users/agpiermarini/followers","following_url":"https://api.github.com/users/agpiermarini/following{/other_user}","gists_url":"https://api.github.com/users/agpiermarini/gists{/gist_id}","starred_url":"https://api.github.com/users/agpiermarini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agpiermarini/subscriptions","organizations_url":"https://api.github.com/users/agpiermarini/orgs","repos_url":"https://api.github.com/users/agpiermarini/repos","events_url":"https://api.github.com/users/agpiermarini/events{/privacy}","received_events_url":"https://api.github.com/users/agpiermarini/received_events","type":"User","site_admin":false},"repo":{"id":120045151,"name":"enigma","full_name":"agpiermarini/enigma","owner":{"login":"agpiermarini","id":19535775,"avatar_url":"https://avatars1.githubusercontent.com/u/19535775?v=4","gravatar_id":"","url":"https://api.github.com/users/agpiermarini","html_url":"https://github.com/agpiermarini","followers_url":"https://api.github.com/users/agpiermarini/followers","following_url":"https://api.github.com/users/agpiermarini/following{/other_user}","gists_url":"https://api.github.com/users/agpiermarini/gists{/gist_id}","starred_url":"https://api.github.com/users/agpiermarini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agpiermarini/subscriptions","organizations_url":"https://api.github.com/users/agpiermarini/orgs","repos_url":"https://api.github.com/users/agpiermarini/repos","events_url":"https://api.github.com/users/agpiermarini/events{/privacy}","received_events_url":"https://api.github.com/users/agpiermarini/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/agpiermarini/enigma","description":"Module 1 Paired Project","fork":false,"url":"https://api.github.com/repos/agpiermarini/enigma","forks_url":"https://api.github.com/repos/agpiermarini/enigma/forks","keys_url":"https://api.github.com/repos/agpiermarini/enigma/keys{/key_id}","collaborators_url":"https://api.github.com/repos/agpiermarini/enigma/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/agpiermarini/enigma/teams","hooks_url":"https://api.github.com/repos/agpiermarini/enigma/hooks","issue_events_url":"https://api.github.com/repos/agpiermarini/enigma/issues/events{/number}","events_url":"https://api.github.com/repos/agpiermarini/enigma/events","assignees_url":"https://api.github.com/repos/agpiermarini/enigma/assignees{/user}","branches_url":"https://api.github.com/repos/agpiermarini/enigma/branches{/branch}","tags_url":"https://api.github.com/repos/agpiermarini/enigma/tags","blobs_url":"https://api.github.com/repos/agpiermarini/enigma/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/agpiermarini/enigma/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/agpiermarini/enigma/git/refs{/sha}","trees_url":"https://api.github.com/repos/agpiermarini/enigma/git/trees{/sha}","statuses_url":"https://api.github.com/repos/agpiermarini/enigma/statuses/{sha}","languages_url":"https://api.github.com/repos/agpiermarini/enigma/languages","stargazers_url":"https://api.github.com/repos/agpiermarini/enigma/stargazers","contributors_url":"https://api.github.com/repos/agpiermarini/enigma/contributors","subscribers_url":"https://api.github.com/repos/agpiermarini/enigma/subscribers","subscription_url":"https://api.github.com/repos/agpiermarini/enigma/subscription","commits_url":"https://api.github.com/repos/agpiermarini/enigma/commits{/sha}","git_commits_url":"https://api.github.com/repos/agpiermarini/enigma/git/commits{/sha}","comments_url":"https://api.github.com/repos/agpiermarini/enigma/comments{/number}","issue_comment_url":"https://api.github.com/repos/agpiermarini/enigma/issues/comments{/number}","contents_url":"https://api.github.com/repos/agpiermarini/enigma/contents/{+path}","compare_url":"https://api.github.com/repos/agpiermarini/enigma/compare/{base}...{head}","merges_url":"https://api.github.com/repos/agpiermarini/enigma/merges","archive_url":"https://api.github.com/repos/agpiermarini/enigma/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/agpiermarini/enigma/downloads","issues_url":"https://api.github.com/repos/agpiermarini/enigma/issues{/number}","pulls_url":"https://api.github.com/repos/agpiermarini/enigma/pulls{/number}","milestones_url":"https://api.github.com/repos/agpiermarini/enigma/milestones{/number}","notifications_url":"https://api.github.com/repos/agpiermarini/enigma/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/agpiermarini/enigma/labels{/name}","releases_url":"https://api.github.com/repos/agpiermarini/enigma/releases{/id}","deployments_url":"https://api.github.com/repos/agpiermarini/enigma/deployments","created_at":"2018-02-03T00:16:06Z","updated_at":"2018-02-03T21:51:35Z","pushed_at":"2018-02-04T21:05:48Z","git_url":"git://github.com/agpiermarini/enigma.git","ssh_url":"git@github.com:agpiermarini/enigma.git","clone_url":"https://github.com/agpiermarini/enigma.git","svn_url":"https://github.com/agpiermarini/enigma","homepage":"","size":8,"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/agpiermarini/enigma/pulls/4"},"html":{"href":"https://github.com/agpiermarini/enigma/pull/4"},"issue":{"href":"https://api.github.com/repos/agpiermarini/enigma/issues/4"},"comments":{"href":"https://api.github.com/repos/agpiermarini/enigma/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/agpiermarini/enigma/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/agpiermarini/enigma/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/agpiermarini/enigma/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/agpiermarini/enigma/statuses/1c6cab635b516cf7de839032affca941fede8734"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"houndci-bot"}}