{"action":"created","comment":{"url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/comments/44134041","id":44134041,"diff_hunk":"@@ -0,0 +1,69 @@\n+# encoding: utf-8\n+# class for retriving information from web pages\n+class Fetcher\n+  include Helper\n+  LECT_REGEXP = /^([А-Я][А-Яа-я-]{3,30})[ ][А-Я][.][ ][А-Я][.][ ]*$/\n+  SCHEDULE_LINK = 'http://www.bsuir.by/schedule/schedule.xhtml?id='\n+  LECTORS_LINK = 'http://bsuir-helper.ru/lectors'\n+  COMMENT_CRITERIA = 'div.comment div.content'\n+  DATE_CRITERIA = 'div.comment div.submitted span.comment-date'\n+\n+  def initialize(group_id)\n+    @group_id = group_id\n+    @mechanize = Mechanize.new\n+    @comments = {}\n+  end\n+\n+  attr_reader :comments","path":"2015/ChornyRodion/3/lib/fetcher.rb","position":17,"original_position":17,"commit_id":"50408712f1b4b7c2907f4b617f6b7fcb4be6b118","original_commit_id":"50408712f1b4b7c2907f4b617f6b7fcb4be6b118","user":{"login":"Saicheg","id":624999,"avatar_url":"https://avatars.githubusercontent.com/u/624999?v=3","gravatar_id":"","url":"https://api.github.com/users/Saicheg","html_url":"https://github.com/Saicheg","followers_url":"https://api.github.com/users/Saicheg/followers","following_url":"https://api.github.com/users/Saicheg/following{/other_user}","gists_url":"https://api.github.com/users/Saicheg/gists{/gist_id}","starred_url":"https://api.github.com/users/Saicheg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Saicheg/subscriptions","organizations_url":"https://api.github.com/users/Saicheg/orgs","repos_url":"https://api.github.com/users/Saicheg/repos","events_url":"https://api.github.com/users/Saicheg/events{/privacy}","received_events_url":"https://api.github.com/users/Saicheg/received_events","type":"User","site_admin":false},"body":"их пишут до объявления методов","created_at":"2015-11-06T13:07:43Z","updated_at":"2015-11-06T13:07:43Z","html_url":"https://github.com/rubyroidlabs/bsuir-courses/pull/356#discussion_r44134041","pull_request_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/356","_links":{"self":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/comments/44134041"},"html":{"href":"https://github.com/rubyroidlabs/bsuir-courses/pull/356#discussion_r44134041"},"pull_request":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/356"}}},"pull_request":{"url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/356","id":49454006,"html_url":"https://github.com/rubyroidlabs/bsuir-courses/pull/356","diff_url":"https://github.com/rubyroidlabs/bsuir-courses/pull/356.diff","patch_url":"https://github.com/rubyroidlabs/bsuir-courses/pull/356.patch","issue_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues/356","number":356,"state":"open","locked":false,"title":"implement hometask3","user":{"login":"creeston","id":11872264,"avatar_url":"https://avatars.githubusercontent.com/u/11872264?v=3","gravatar_id":"","url":"https://api.github.com/users/creeston","html_url":"https://github.com/creeston","followers_url":"https://api.github.com/users/creeston/followers","following_url":"https://api.github.com/users/creeston/following{/other_user}","gists_url":"https://api.github.com/users/creeston/gists{/gist_id}","starred_url":"https://api.github.com/users/creeston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/creeston/subscriptions","organizations_url":"https://api.github.com/users/creeston/orgs","repos_url":"https://api.github.com/users/creeston/repos","events_url":"https://api.github.com/users/creeston/events{/privacy}","received_events_url":"https://api.github.com/users/creeston/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-02T16:37:53Z","updated_at":"2015-11-06T13:07:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6007c165af83c0155e94f2f6193ee7653f3f4cc5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/356/commits","review_comments_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/356/comments","review_comment_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues/356/comments","statuses_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/statuses/50408712f1b4b7c2907f4b617f6b7fcb4be6b118","head":{"label":"creeston:master","ref":"master","sha":"50408712f1b4b7c2907f4b617f6b7fcb4be6b118","user":{"login":"creeston","id":11872264,"avatar_url":"https://avatars.githubusercontent.com/u/11872264?v=3","gravatar_id":"","url":"https://api.github.com/users/creeston","html_url":"https://github.com/creeston","followers_url":"https://api.github.com/users/creeston/followers","following_url":"https://api.github.com/users/creeston/following{/other_user}","gists_url":"https://api.github.com/users/creeston/gists{/gist_id}","starred_url":"https://api.github.com/users/creeston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/creeston/subscriptions","organizations_url":"https://api.github.com/users/creeston/orgs","repos_url":"https://api.github.com/users/creeston/repos","events_url":"https://api.github.com/users/creeston/events{/privacy}","received_events_url":"https://api.github.com/users/creeston/received_events","type":"User","site_admin":false},"repo":{"id":44138244,"name":"bsuir-courses","full_name":"creeston/bsuir-courses","owner":{"login":"creeston","id":11872264,"avatar_url":"https://avatars.githubusercontent.com/u/11872264?v=3","gravatar_id":"","url":"https://api.github.com/users/creeston","html_url":"https://github.com/creeston","followers_url":"https://api.github.com/users/creeston/followers","following_url":"https://api.github.com/users/creeston/following{/other_user}","gists_url":"https://api.github.com/users/creeston/gists{/gist_id}","starred_url":"https://api.github.com/users/creeston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/creeston/subscriptions","organizations_url":"https://api.github.com/users/creeston/orgs","repos_url":"https://api.github.com/users/creeston/repos","events_url":"https://api.github.com/users/creeston/events{/privacy}","received_events_url":"https://api.github.com/users/creeston/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/creeston/bsuir-courses","description":"This is common repository for all student to submit all their homeworks","fork":true,"url":"https://api.github.com/repos/creeston/bsuir-courses","forks_url":"https://api.github.com/repos/creeston/bsuir-courses/forks","keys_url":"https://api.github.com/repos/creeston/bsuir-courses/keys{/key_id}","collaborators_url":"https://api.github.com/repos/creeston/bsuir-courses/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/creeston/bsuir-courses/teams","hooks_url":"https://api.github.com/repos/creeston/bsuir-courses/hooks","issue_events_url":"https://api.github.com/repos/creeston/bsuir-courses/issues/events{/number}","events_url":"https://api.github.com/repos/creeston/bsuir-courses/events","assignees_url":"https://api.github.com/repos/creeston/bsuir-courses/assignees{/user}","branches_url":"https://api.github.com/repos/creeston/bsuir-courses/branches{/branch}","tags_url":"https://api.github.com/repos/creeston/bsuir-courses/tags","blobs_url":"https://api.github.com/repos/creeston/bsuir-courses/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/creeston/bsuir-courses/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/creeston/bsuir-courses/git/refs{/sha}","trees_url":"https://api.github.com/repos/creeston/bsuir-courses/git/trees{/sha}","statuses_url":"https://api.github.com/repos/creeston/bsuir-courses/statuses/{sha}","languages_url":"https://api.github.com/repos/creeston/bsuir-courses/languages","stargazers_url":"https://api.github.com/repos/creeston/bsuir-courses/stargazers","contributors_url":"https://api.github.com/repos/creeston/bsuir-courses/contributors","subscribers_url":"https://api.github.com/repos/creeston/bsuir-courses/subscribers","subscription_url":"https://api.github.com/repos/creeston/bsuir-courses/subscription","commits_url":"https://api.github.com/repos/creeston/bsuir-courses/commits{/sha}","git_commits_url":"https://api.github.com/repos/creeston/bsuir-courses/git/commits{/sha}","comments_url":"https://api.github.com/repos/creeston/bsuir-courses/comments{/number}","issue_comment_url":"https://api.github.com/repos/creeston/bsuir-courses/issues/comments{/number}","contents_url":"https://api.github.com/repos/creeston/bsuir-courses/contents/{+path}","compare_url":"https://api.github.com/repos/creeston/bsuir-courses/compare/{base}...{head}","merges_url":"https://api.github.com/repos/creeston/bsuir-courses/merges","archive_url":"https://api.github.com/repos/creeston/bsuir-courses/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/creeston/bsuir-courses/downloads","issues_url":"https://api.github.com/repos/creeston/bsuir-courses/issues{/number}","pulls_url":"https://api.github.com/repos/creeston/bsuir-courses/pulls{/number}","milestones_url":"https://api.github.com/repos/creeston/bsuir-courses/milestones{/number}","notifications_url":"https://api.github.com/repos/creeston/bsuir-courses/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/creeston/bsuir-courses/labels{/name}","releases_url":"https://api.github.com/repos/creeston/bsuir-courses/releases{/id}","created_at":"2015-10-12T22:43:25Z","updated_at":"2015-10-12T22:43:25Z","pushed_at":"2015-11-03T14:20:02Z","git_url":"git://github.com/creeston/bsuir-courses.git","ssh_url":"git@github.com:creeston/bsuir-courses.git","clone_url":"https://github.com/creeston/bsuir-courses.git","svn_url":"https://github.com/creeston/bsuir-courses","homepage":null,"size":472,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rubyroidlabs:master","ref":"master","sha":"1051f68e470ac1f0dff8b4782e48ebba10d5e7bc","user":{"login":"rubyroidlabs","id":5137565,"avatar_url":"https://avatars.githubusercontent.com/u/5137565?v=3","gravatar_id":"","url":"https://api.github.com/users/rubyroidlabs","html_url":"https://github.com/rubyroidlabs","followers_url":"https://api.github.com/users/rubyroidlabs/followers","following_url":"https://api.github.com/users/rubyroidlabs/following{/other_user}","gists_url":"https://api.github.com/users/rubyroidlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/rubyroidlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubyroidlabs/subscriptions","organizations_url":"https://api.github.com/users/rubyroidlabs/orgs","repos_url":"https://api.github.com/users/rubyroidlabs/repos","events_url":"https://api.github.com/users/rubyroidlabs/events{/privacy}","received_events_url":"https://api.github.com/users/rubyroidlabs/received_events","type":"Organization","site_admin":false},"repo":{"id":14405320,"name":"bsuir-courses","full_name":"rubyroidlabs/bsuir-courses","owner":{"login":"rubyroidlabs","id":5137565,"avatar_url":"https://avatars.githubusercontent.com/u/5137565?v=3","gravatar_id":"","url":"https://api.github.com/users/rubyroidlabs","html_url":"https://github.com/rubyroidlabs","followers_url":"https://api.github.com/users/rubyroidlabs/followers","following_url":"https://api.github.com/users/rubyroidlabs/following{/other_user}","gists_url":"https://api.github.com/users/rubyroidlabs/gists{/gist_id}","starred_url":"https://api.github.com/users/rubyroidlabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubyroidlabs/subscriptions","organizations_url":"https://api.github.com/users/rubyroidlabs/orgs","repos_url":"https://api.github.com/users/rubyroidlabs/repos","events_url":"https://api.github.com/users/rubyroidlabs/events{/privacy}","received_events_url":"https://api.github.com/users/rubyroidlabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rubyroidlabs/bsuir-courses","description":"This is common repository for all student to submit all their homeworks","fork":false,"url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses","forks_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/forks","keys_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/teams","hooks_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/hooks","issue_events_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues/events{/number}","events_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/events","assignees_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/assignees{/user}","branches_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/branches{/branch}","tags_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/tags","blobs_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/git/refs{/sha}","trees_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/statuses/{sha}","languages_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/languages","stargazers_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/stargazers","contributors_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/contributors","subscribers_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/subscribers","subscription_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/subscription","commits_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/commits{/sha}","git_commits_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/git/commits{/sha}","comments_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/comments{/number}","issue_comment_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues/comments{/number}","contents_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/contents/{+path}","compare_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/merges","archive_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/downloads","issues_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues{/number}","pulls_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls{/number}","milestones_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/milestones{/number}","notifications_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/labels{/name}","releases_url":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/releases{/id}","created_at":"2013-11-14T19:55:12Z","updated_at":"2015-11-05T17:30:13Z","pushed_at":"2015-11-06T12:51:47Z","git_url":"git://github.com/rubyroidlabs/bsuir-courses.git","ssh_url":"git@github.com:rubyroidlabs/bsuir-courses.git","clone_url":"https://github.com/rubyroidlabs/bsuir-courses.git","svn_url":"https://github.com/rubyroidlabs/bsuir-courses","homepage":null,"size":7308,"stargazers_count":22,"watchers_count":22,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":140,"mirror_url":null,"open_issues_count":31,"forks":140,"open_issues":31,"watchers":22,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/356"},"html":{"href":"https://github.com/rubyroidlabs/bsuir-courses/pull/356"},"issue":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues/356"},"comments":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/issues/356/comments"},"review_comments":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/356/comments"},"review_comment":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/pulls/356/commits"},"statuses":{"href":"https://api.github.com/repos/rubyroidlabs/bsuir-courses/statuses/50408712f1b4b7c2907f4b617f6b7fcb4be6b118"}}}}