{"action":"created","comment":{"url":"https://api.github.com/repos/Yulson/ruby-automation/pulls/comments/111714635","pull_request_review_id":32972993,"id":111714635,"diff_hunk":"@@ -2,12 +2,17 @@\n \n class Project\n \n-\tattr_reader :name, :version\n+\tattr_reader :name, :version, :project_url\n \tattr_accessor :name, :version\n \n \tdef initialize(project_data={})\n \t\t@name = project_data[:name] || Faker::Team.name\n \t\t@version = project_data[:version] || rand(9999)\n \tend\n \n-end\n+\tdef get_url\n+\t\tdirectory = @name.sub(\" \", \"-\")\n+\t\tproject_url = String.new","path":"Project.rb","position":16,"original_position":16,"commit_id":"15f02155b37b6abc96e78a726e55cd62ea1aa206","original_commit_id":"15f02155b37b6abc96e78a726e55cd62ea1aa206","user":{"login":"d-konovalov","id":5276700,"avatar_url":"https://avatars3.githubusercontent.com/u/5276700?v=3","gravatar_id":"","url":"https://api.github.com/users/d-konovalov","html_url":"https://github.com/d-konovalov","followers_url":"https://api.github.com/users/d-konovalov/followers","following_url":"https://api.github.com/users/d-konovalov/following{/other_user}","gists_url":"https://api.github.com/users/d-konovalov/gists{/gist_id}","starred_url":"https://api.github.com/users/d-konovalov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d-konovalov/subscriptions","organizations_url":"https://api.github.com/users/d-konovalov/orgs","repos_url":"https://api.github.com/users/d-konovalov/repos","events_url":"https://api.github.com/users/d-konovalov/events{/privacy}","received_events_url":"https://api.github.com/users/d-konovalov/received_events","type":"User","site_admin":false},"body":"redundant\r\n","created_at":"2017-04-17T07:26:38Z","updated_at":"2017-04-17T07:27:40Z","html_url":"https://github.com/Yulson/ruby-automation/pull/8#discussion_r111714635","pull_request_url":"https://api.github.com/repos/Yulson/ruby-automation/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/Yulson/ruby-automation/pulls/comments/111714635"},"html":{"href":"https://github.com/Yulson/ruby-automation/pull/8#discussion_r111714635"},"pull_request":{"href":"https://api.github.com/repos/Yulson/ruby-automation/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/Yulson/ruby-automation/pulls/8","id":116054475,"html_url":"https://github.com/Yulson/ruby-automation/pull/8","diff_url":"https://github.com/Yulson/ruby-automation/pull/8.diff","patch_url":"https://github.com/Yulson/ruby-automation/pull/8.patch","issue_url":"https://api.github.com/repos/Yulson/ruby-automation/issues/8","number":8,"state":"open","locked":false,"title":"Updated Main-project_tests with new tests according to Lesson 4_Opera…","user":{"login":"Yulson","id":5948551,"avatar_url":"https://avatars1.githubusercontent.com/u/5948551?v=3","gravatar_id":"","url":"https://api.github.com/users/Yulson","html_url":"https://github.com/Yulson","followers_url":"https://api.github.com/users/Yulson/followers","following_url":"https://api.github.com/users/Yulson/following{/other_user}","gists_url":"https://api.github.com/users/Yulson/gists{/gist_id}","starred_url":"https://api.github.com/users/Yulson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yulson/subscriptions","organizations_url":"https://api.github.com/users/Yulson/orgs","repos_url":"https://api.github.com/users/Yulson/repos","events_url":"https://api.github.com/users/Yulson/events{/privacy}","received_events_url":"https://api.github.com/users/Yulson/received_events","type":"User","site_admin":false},"body":"@d-konovalov, in this commit I've completed Task2 from Lesson 4 (Operators and Constructions).\r\n2. add to your solution next test:\r\n- create project\r\n- make a random action: create or not a new bug issue\r\n- open project page,\r\n- open issues tab\r\n- if there is a bug present then add self to watchers\r\n- if no then create a new bug issue and then add self to watchers\r\n- Verify that there is a bug issue and that current user is a watcher ","created_at":"2017-04-16T09:53:54Z","updated_at":"2017-04-17T07:27:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ce802f15dc0887d0b5f54f8959570fabb377a407","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Yulson/ruby-automation/pulls/8/commits","review_comments_url":"https://api.github.com/repos/Yulson/ruby-automation/pulls/8/comments","review_comment_url":"https://api.github.com/repos/Yulson/ruby-automation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Yulson/ruby-automation/issues/8/comments","statuses_url":"https://api.github.com/repos/Yulson/ruby-automation/statuses/15f02155b37b6abc96e78a726e55cd62ea1aa206","head":{"label":"Yulson:3_Data-classes","ref":"3_Data-classes","sha":"15f02155b37b6abc96e78a726e55cd62ea1aa206","user":{"login":"Yulson","id":5948551,"avatar_url":"https://avatars1.githubusercontent.com/u/5948551?v=3","gravatar_id":"","url":"https://api.github.com/users/Yulson","html_url":"https://github.com/Yulson","followers_url":"https://api.github.com/users/Yulson/followers","following_url":"https://api.github.com/users/Yulson/following{/other_user}","gists_url":"https://api.github.com/users/Yulson/gists{/gist_id}","starred_url":"https://api.github.com/users/Yulson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yulson/subscriptions","organizations_url":"https://api.github.com/users/Yulson/orgs","repos_url":"https://api.github.com/users/Yulson/repos","events_url":"https://api.github.com/users/Yulson/events{/privacy}","received_events_url":"https://api.github.com/users/Yulson/received_events","type":"User","site_admin":false},"repo":{"id":62344735,"name":"ruby-automation","full_name":"Yulson/ruby-automation","owner":{"login":"Yulson","id":5948551,"avatar_url":"https://avatars1.githubusercontent.com/u/5948551?v=3","gravatar_id":"","url":"https://api.github.com/users/Yulson","html_url":"https://github.com/Yulson","followers_url":"https://api.github.com/users/Yulson/followers","following_url":"https://api.github.com/users/Yulson/following{/other_user}","gists_url":"https://api.github.com/users/Yulson/gists{/gist_id}","starred_url":"https://api.github.com/users/Yulson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yulson/subscriptions","organizations_url":"https://api.github.com/users/Yulson/orgs","repos_url":"https://api.github.com/users/Yulson/repos","events_url":"https://api.github.com/users/Yulson/events{/privacy}","received_events_url":"https://api.github.com/users/Yulson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Yulson/ruby-automation","description":null,"fork":false,"url":"https://api.github.com/repos/Yulson/ruby-automation","forks_url":"https://api.github.com/repos/Yulson/ruby-automation/forks","keys_url":"https://api.github.com/repos/Yulson/ruby-automation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Yulson/ruby-automation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Yulson/ruby-automation/teams","hooks_url":"https://api.github.com/repos/Yulson/ruby-automation/hooks","issue_events_url":"https://api.github.com/repos/Yulson/ruby-automation/issues/events{/number}","events_url":"https://api.github.com/repos/Yulson/ruby-automation/events","assignees_url":"https://api.github.com/repos/Yulson/ruby-automation/assignees{/user}","branches_url":"https://api.github.com/repos/Yulson/ruby-automation/branches{/branch}","tags_url":"https://api.github.com/repos/Yulson/ruby-automation/tags","blobs_url":"https://api.github.com/repos/Yulson/ruby-automation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Yulson/ruby-automation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Yulson/ruby-automation/git/refs{/sha}","trees_url":"https://api.github.com/repos/Yulson/ruby-automation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Yulson/ruby-automation/statuses/{sha}","languages_url":"https://api.github.com/repos/Yulson/ruby-automation/languages","stargazers_url":"https://api.github.com/repos/Yulson/ruby-automation/stargazers","contributors_url":"https://api.github.com/repos/Yulson/ruby-automation/contributors","subscribers_url":"https://api.github.com/repos/Yulson/ruby-automation/subscribers","subscription_url":"https://api.github.com/repos/Yulson/ruby-automation/subscription","commits_url":"https://api.github.com/repos/Yulson/ruby-automation/commits{/sha}","git_commits_url":"https://api.github.com/repos/Yulson/ruby-automation/git/commits{/sha}","comments_url":"https://api.github.com/repos/Yulson/ruby-automation/comments{/number}","issue_comment_url":"https://api.github.com/repos/Yulson/ruby-automation/issues/comments{/number}","contents_url":"https://api.github.com/repos/Yulson/ruby-automation/contents/{+path}","compare_url":"https://api.github.com/repos/Yulson/ruby-automation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Yulson/ruby-automation/merges","archive_url":"https://api.github.com/repos/Yulson/ruby-automation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Yulson/ruby-automation/downloads","issues_url":"https://api.github.com/repos/Yulson/ruby-automation/issues{/number}","pulls_url":"https://api.github.com/repos/Yulson/ruby-automation/pulls{/number}","milestones_url":"https://api.github.com/repos/Yulson/ruby-automation/milestones{/number}","notifications_url":"https://api.github.com/repos/Yulson/ruby-automation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Yulson/ruby-automation/labels{/name}","releases_url":"https://api.github.com/repos/Yulson/ruby-automation/releases{/id}","deployments_url":"https://api.github.com/repos/Yulson/ruby-automation/deployments","created_at":"2016-06-30T21:56:28Z","updated_at":"2017-03-30T17:49:32Z","pushed_at":"2017-04-16T09:53:54Z","git_url":"git://github.com/Yulson/ruby-automation.git","ssh_url":"git@github.com:Yulson/ruby-automation.git","clone_url":"https://github.com/Yulson/ruby-automation.git","svn_url":"https://github.com/Yulson/ruby-automation","homepage":null,"size":69,"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,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"Yulson:master","ref":"master","sha":"c1a2e10e279e33a02de5fcb9ccd3918ff958e36c","user":{"login":"Yulson","id":5948551,"avatar_url":"https://avatars1.githubusercontent.com/u/5948551?v=3","gravatar_id":"","url":"https://api.github.com/users/Yulson","html_url":"https://github.com/Yulson","followers_url":"https://api.github.com/users/Yulson/followers","following_url":"https://api.github.com/users/Yulson/following{/other_user}","gists_url":"https://api.github.com/users/Yulson/gists{/gist_id}","starred_url":"https://api.github.com/users/Yulson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yulson/subscriptions","organizations_url":"https://api.github.com/users/Yulson/orgs","repos_url":"https://api.github.com/users/Yulson/repos","events_url":"https://api.github.com/users/Yulson/events{/privacy}","received_events_url":"https://api.github.com/users/Yulson/received_events","type":"User","site_admin":false},"repo":{"id":62344735,"name":"ruby-automation","full_name":"Yulson/ruby-automation","owner":{"login":"Yulson","id":5948551,"avatar_url":"https://avatars1.githubusercontent.com/u/5948551?v=3","gravatar_id":"","url":"https://api.github.com/users/Yulson","html_url":"https://github.com/Yulson","followers_url":"https://api.github.com/users/Yulson/followers","following_url":"https://api.github.com/users/Yulson/following{/other_user}","gists_url":"https://api.github.com/users/Yulson/gists{/gist_id}","starred_url":"https://api.github.com/users/Yulson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yulson/subscriptions","organizations_url":"https://api.github.com/users/Yulson/orgs","repos_url":"https://api.github.com/users/Yulson/repos","events_url":"https://api.github.com/users/Yulson/events{/privacy}","received_events_url":"https://api.github.com/users/Yulson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Yulson/ruby-automation","description":null,"fork":false,"url":"https://api.github.com/repos/Yulson/ruby-automation","forks_url":"https://api.github.com/repos/Yulson/ruby-automation/forks","keys_url":"https://api.github.com/repos/Yulson/ruby-automation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Yulson/ruby-automation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Yulson/ruby-automation/teams","hooks_url":"https://api.github.com/repos/Yulson/ruby-automation/hooks","issue_events_url":"https://api.github.com/repos/Yulson/ruby-automation/issues/events{/number}","events_url":"https://api.github.com/repos/Yulson/ruby-automation/events","assignees_url":"https://api.github.com/repos/Yulson/ruby-automation/assignees{/user}","branches_url":"https://api.github.com/repos/Yulson/ruby-automation/branches{/branch}","tags_url":"https://api.github.com/repos/Yulson/ruby-automation/tags","blobs_url":"https://api.github.com/repos/Yulson/ruby-automation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Yulson/ruby-automation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Yulson/ruby-automation/git/refs{/sha}","trees_url":"https://api.github.com/repos/Yulson/ruby-automation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Yulson/ruby-automation/statuses/{sha}","languages_url":"https://api.github.com/repos/Yulson/ruby-automation/languages","stargazers_url":"https://api.github.com/repos/Yulson/ruby-automation/stargazers","contributors_url":"https://api.github.com/repos/Yulson/ruby-automation/contributors","subscribers_url":"https://api.github.com/repos/Yulson/ruby-automation/subscribers","subscription_url":"https://api.github.com/repos/Yulson/ruby-automation/subscription","commits_url":"https://api.github.com/repos/Yulson/ruby-automation/commits{/sha}","git_commits_url":"https://api.github.com/repos/Yulson/ruby-automation/git/commits{/sha}","comments_url":"https://api.github.com/repos/Yulson/ruby-automation/comments{/number}","issue_comment_url":"https://api.github.com/repos/Yulson/ruby-automation/issues/comments{/number}","contents_url":"https://api.github.com/repos/Yulson/ruby-automation/contents/{+path}","compare_url":"https://api.github.com/repos/Yulson/ruby-automation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Yulson/ruby-automation/merges","archive_url":"https://api.github.com/repos/Yulson/ruby-automation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Yulson/ruby-automation/downloads","issues_url":"https://api.github.com/repos/Yulson/ruby-automation/issues{/number}","pulls_url":"https://api.github.com/repos/Yulson/ruby-automation/pulls{/number}","milestones_url":"https://api.github.com/repos/Yulson/ruby-automation/milestones{/number}","notifications_url":"https://api.github.com/repos/Yulson/ruby-automation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Yulson/ruby-automation/labels{/name}","releases_url":"https://api.github.com/repos/Yulson/ruby-automation/releases{/id}","deployments_url":"https://api.github.com/repos/Yulson/ruby-automation/deployments","created_at":"2016-06-30T21:56:28Z","updated_at":"2017-03-30T17:49:32Z","pushed_at":"2017-04-16T09:53:54Z","git_url":"git://github.com/Yulson/ruby-automation.git","ssh_url":"git@github.com:Yulson/ruby-automation.git","clone_url":"https://github.com/Yulson/ruby-automation.git","svn_url":"https://github.com/Yulson/ruby-automation","homepage":null,"size":69,"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,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Yulson/ruby-automation/pulls/8"},"html":{"href":"https://github.com/Yulson/ruby-automation/pull/8"},"issue":{"href":"https://api.github.com/repos/Yulson/ruby-automation/issues/8"},"comments":{"href":"https://api.github.com/repos/Yulson/ruby-automation/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/Yulson/ruby-automation/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/Yulson/ruby-automation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Yulson/ruby-automation/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/Yulson/ruby-automation/statuses/15f02155b37b6abc96e78a726e55cd62ea1aa206"}}}}
{"actor":{"display_login":"d-konovalov"}}