{"action":"created","comment":{"url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/pulls/comments/70270614","id":70270614,"diff_hunk":"@@ -0,0 +1,59 @@\n+# Linked list is one of the basic data structure\n+# https://en.wikipedia.org/wiki/Linked_list\n+# It contains\n+#  class Node\n+#   attr_accessor :data, :next\n+#  end\n+# Where data, contains some meaningfull data, which we can change,\n+# next is a pointer to next node.\n+\n+# LinkedList can be described like so\n+# class LinkedList\n+#   def size\n+#   end\n+#\n+#   def print\n+#   end\n+\n+# First part of task is to write a class Node and LinkedList and a function,\n+# which will create LinkedList, than add 10 more with consecutive numbers\n+# as data(1..10), then traverse through LikkedList and print numbers.\n+# You need to make decigion what instance variables Linked list needs.\n+\n+# Please follow this style guide. https://github.com/airbnb/ruby\n+# Having tests, written in Rspec would be a great pluss.\n+# https://github.com/rspec/rspec\n+require \"./node.rb\"\n+\n+class LinkedList\n+  attr_accessor :head, :tail\n+\n+  def add(node)\n+    binding.pry","path":"linked_list/linked_list.rb","position":32,"original_position":32,"commit_id":"6e25d4f5d52d17a67e7fd42dd06d44820e3ba6d9","original_commit_id":"6e25d4f5d52d17a67e7fd42dd06d44820e3ba6d9","user":{"login":"azastela","id":6002489,"avatar_url":"https://avatars.githubusercontent.com/u/6002489?v=3","gravatar_id":"","url":"https://api.github.com/users/azastela","html_url":"https://github.com/azastela","followers_url":"https://api.github.com/users/azastela/followers","following_url":"https://api.github.com/users/azastela/following{/other_user}","gists_url":"https://api.github.com/users/azastela/gists{/gist_id}","starred_url":"https://api.github.com/users/azastela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/azastela/subscriptions","organizations_url":"https://api.github.com/users/azastela/orgs","repos_url":"https://api.github.com/users/azastela/repos","events_url":"https://api.github.com/users/azastela/events{/privacy}","received_events_url":"https://api.github.com/users/azastela/received_events","type":"User","site_admin":false},"body":"Check all this stuff before each push. It will break the server if nobody catches it before deploy.","created_at":"2016-07-11T14:42:03Z","updated_at":"2016-07-11T14:42:03Z","html_url":"https://github.com/ar-shestopal/ruby-training-tasks/pull/1#discussion_r70270614","pull_request_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/pulls/comments/70270614"},"html":{"href":"https://github.com/ar-shestopal/ruby-training-tasks/pull/1#discussion_r70270614"},"pull_request":{"href":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/pulls/1","id":76572440,"html_url":"https://github.com/ar-shestopal/ruby-training-tasks/pull/1","diff_url":"https://github.com/ar-shestopal/ruby-training-tasks/pull/1.diff","patch_url":"https://github.com/ar-shestopal/ruby-training-tasks/pull/1.patch","issue_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/issues/1","number":1,"state":"open","locked":false,"title":"New","user":{"login":"superedriver","id":10393906,"avatar_url":"https://avatars.githubusercontent.com/u/10393906?v=3","gravatar_id":"","url":"https://api.github.com/users/superedriver","html_url":"https://github.com/superedriver","followers_url":"https://api.github.com/users/superedriver/followers","following_url":"https://api.github.com/users/superedriver/following{/other_user}","gists_url":"https://api.github.com/users/superedriver/gists{/gist_id}","starred_url":"https://api.github.com/users/superedriver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/superedriver/subscriptions","organizations_url":"https://api.github.com/users/superedriver/orgs","repos_url":"https://api.github.com/users/superedriver/repos","events_url":"https://api.github.com/users/superedriver/events{/privacy}","received_events_url":"https://api.github.com/users/superedriver/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-07-07T10:27:49Z","updated_at":"2016-07-11T14:42:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"98de598d0d8360c048932f2c6be98b5d9066929a","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/pulls/1/commits","review_comments_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/pulls/1/comments","review_comment_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/issues/1/comments","statuses_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/statuses/6e25d4f5d52d17a67e7fd42dd06d44820e3ba6d9","head":{"label":"ar-shestopal:new","ref":"new","sha":"6e25d4f5d52d17a67e7fd42dd06d44820e3ba6d9","user":{"login":"ar-shestopal","id":1174944,"avatar_url":"https://avatars.githubusercontent.com/u/1174944?v=3","gravatar_id":"","url":"https://api.github.com/users/ar-shestopal","html_url":"https://github.com/ar-shestopal","followers_url":"https://api.github.com/users/ar-shestopal/followers","following_url":"https://api.github.com/users/ar-shestopal/following{/other_user}","gists_url":"https://api.github.com/users/ar-shestopal/gists{/gist_id}","starred_url":"https://api.github.com/users/ar-shestopal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ar-shestopal/subscriptions","organizations_url":"https://api.github.com/users/ar-shestopal/orgs","repos_url":"https://api.github.com/users/ar-shestopal/repos","events_url":"https://api.github.com/users/ar-shestopal/events{/privacy}","received_events_url":"https://api.github.com/users/ar-shestopal/received_events","type":"User","site_admin":false},"repo":{"id":62389233,"name":"ruby-training-tasks","full_name":"ar-shestopal/ruby-training-tasks","owner":{"login":"ar-shestopal","id":1174944,"avatar_url":"https://avatars.githubusercontent.com/u/1174944?v=3","gravatar_id":"","url":"https://api.github.com/users/ar-shestopal","html_url":"https://github.com/ar-shestopal","followers_url":"https://api.github.com/users/ar-shestopal/followers","following_url":"https://api.github.com/users/ar-shestopal/following{/other_user}","gists_url":"https://api.github.com/users/ar-shestopal/gists{/gist_id}","starred_url":"https://api.github.com/users/ar-shestopal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ar-shestopal/subscriptions","organizations_url":"https://api.github.com/users/ar-shestopal/orgs","repos_url":"https://api.github.com/users/ar-shestopal/repos","events_url":"https://api.github.com/users/ar-shestopal/events{/privacy}","received_events_url":"https://api.github.com/users/ar-shestopal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ar-shestopal/ruby-training-tasks","description":null,"fork":false,"url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks","forks_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/forks","keys_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/teams","hooks_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/hooks","issue_events_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/issues/events{/number}","events_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/events","assignees_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/assignees{/user}","branches_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/branches{/branch}","tags_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/tags","blobs_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/git/refs{/sha}","trees_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/statuses/{sha}","languages_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/languages","stargazers_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/stargazers","contributors_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/contributors","subscribers_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/subscribers","subscription_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/subscription","commits_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/commits{/sha}","git_commits_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/git/commits{/sha}","comments_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/comments{/number}","issue_comment_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/issues/comments{/number}","contents_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/contents/{+path}","compare_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/merges","archive_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/downloads","issues_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/issues{/number}","pulls_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/pulls{/number}","milestones_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/milestones{/number}","notifications_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/labels{/name}","releases_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/releases{/id}","deployments_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/deployments","created_at":"2016-07-01T11:45:31Z","updated_at":"2016-07-01T11:49:00Z","pushed_at":"2016-07-11T12:08:10Z","git_url":"git://github.com/ar-shestopal/ruby-training-tasks.git","ssh_url":"git@github.com:ar-shestopal/ruby-training-tasks.git","clone_url":"https://github.com/ar-shestopal/ruby-training-tasks.git","svn_url":"https://github.com/ar-shestopal/ruby-training-tasks","homepage":null,"size":4,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":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":"ar-shestopal:master","ref":"master","sha":"d2e21cfe902cc79e09d5866c4ef1c53ff2abf373","user":{"login":"ar-shestopal","id":1174944,"avatar_url":"https://avatars.githubusercontent.com/u/1174944?v=3","gravatar_id":"","url":"https://api.github.com/users/ar-shestopal","html_url":"https://github.com/ar-shestopal","followers_url":"https://api.github.com/users/ar-shestopal/followers","following_url":"https://api.github.com/users/ar-shestopal/following{/other_user}","gists_url":"https://api.github.com/users/ar-shestopal/gists{/gist_id}","starred_url":"https://api.github.com/users/ar-shestopal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ar-shestopal/subscriptions","organizations_url":"https://api.github.com/users/ar-shestopal/orgs","repos_url":"https://api.github.com/users/ar-shestopal/repos","events_url":"https://api.github.com/users/ar-shestopal/events{/privacy}","received_events_url":"https://api.github.com/users/ar-shestopal/received_events","type":"User","site_admin":false},"repo":{"id":62389233,"name":"ruby-training-tasks","full_name":"ar-shestopal/ruby-training-tasks","owner":{"login":"ar-shestopal","id":1174944,"avatar_url":"https://avatars.githubusercontent.com/u/1174944?v=3","gravatar_id":"","url":"https://api.github.com/users/ar-shestopal","html_url":"https://github.com/ar-shestopal","followers_url":"https://api.github.com/users/ar-shestopal/followers","following_url":"https://api.github.com/users/ar-shestopal/following{/other_user}","gists_url":"https://api.github.com/users/ar-shestopal/gists{/gist_id}","starred_url":"https://api.github.com/users/ar-shestopal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ar-shestopal/subscriptions","organizations_url":"https://api.github.com/users/ar-shestopal/orgs","repos_url":"https://api.github.com/users/ar-shestopal/repos","events_url":"https://api.github.com/users/ar-shestopal/events{/privacy}","received_events_url":"https://api.github.com/users/ar-shestopal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ar-shestopal/ruby-training-tasks","description":null,"fork":false,"url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks","forks_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/forks","keys_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/teams","hooks_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/hooks","issue_events_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/issues/events{/number}","events_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/events","assignees_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/assignees{/user}","branches_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/branches{/branch}","tags_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/tags","blobs_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/git/refs{/sha}","trees_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/statuses/{sha}","languages_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/languages","stargazers_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/stargazers","contributors_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/contributors","subscribers_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/subscribers","subscription_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/subscription","commits_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/commits{/sha}","git_commits_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/git/commits{/sha}","comments_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/comments{/number}","issue_comment_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/issues/comments{/number}","contents_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/contents/{+path}","compare_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/merges","archive_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/downloads","issues_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/issues{/number}","pulls_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/pulls{/number}","milestones_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/milestones{/number}","notifications_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/labels{/name}","releases_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/releases{/id}","deployments_url":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/deployments","created_at":"2016-07-01T11:45:31Z","updated_at":"2016-07-01T11:49:00Z","pushed_at":"2016-07-11T12:08:10Z","git_url":"git://github.com/ar-shestopal/ruby-training-tasks.git","ssh_url":"git@github.com:ar-shestopal/ruby-training-tasks.git","clone_url":"https://github.com/ar-shestopal/ruby-training-tasks.git","svn_url":"https://github.com/ar-shestopal/ruby-training-tasks","homepage":null,"size":4,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":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/ar-shestopal/ruby-training-tasks/pulls/1"},"html":{"href":"https://github.com/ar-shestopal/ruby-training-tasks/pull/1"},"issue":{"href":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/issues/1"},"comments":{"href":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/ar-shestopal/ruby-training-tasks/statuses/6e25d4f5d52d17a67e7fd42dd06d44820e3ba6d9"}}}}
{"actor":{"display_login":"azastela"}}