{"action":"created","comment":{"url":"https://api.github.com/repos/depotstore/flashcards/pulls/comments/142443999","pull_request_review_id":66805838,"id":142443999,"diff_hunk":"@@ -1,7 +1,18 @@\n-# This file should contain all the record creation needed to seed the database with its default values.\n-# The data can then be loaded with the rails db:seed command (or created alongside the database with db:setup).\n-#\n-# Examples:\n-#\n-#   movies = Movie.create([{ name: 'Star Wars' }, { name: 'Lord of the Rings' }])\n-#   Character.create(name: 'Luke', movie: movies.first)\n+data =\n+%w{ shape\t\t        форма\n+    quadrilateral\t  четырёхугольник\n+    square\t\t      квадрат\n+    rectangle\t      прямоугольник\n+    trapezoid\t      трапеция\n+    rhombus\t\t      ромб\n+    rhomboid\t      ромбоид\n+    parallelogram\t  параллелограмм\n+    trapezium\t      трапеция}\n+\n+  data.each_with_index do |word, index|\n+    if index % 2 == 1\n+      Card.create!( original_text: data[index - 1],","path":"db/seeds.rb","position":21,"original_position":21,"commit_id":"fcee3ef5ec829ef585dc1dcd027dc229fc2b4c37","original_commit_id":"fcee3ef5ec829ef585dc1dcd027dc229fc2b4c37","user":{"login":"depotstore","id":26011258,"avatar_url":"https://avatars2.githubusercontent.com/u/26011258?v=4","gravatar_id":"","url":"https://api.github.com/users/depotstore","html_url":"https://github.com/depotstore","followers_url":"https://api.github.com/users/depotstore/followers","following_url":"https://api.github.com/users/depotstore/following{/other_user}","gists_url":"https://api.github.com/users/depotstore/gists{/gist_id}","starred_url":"https://api.github.com/users/depotstore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/depotstore/subscriptions","organizations_url":"https://api.github.com/users/depotstore/orgs","repos_url":"https://api.github.com/users/depotstore/repos","events_url":"https://api.github.com/users/depotstore/events{/privacy}","received_events_url":"https://api.github.com/users/depotstore/received_events","type":"User","site_admin":false},"body":"done","created_at":"2017-10-03T15:54:50Z","updated_at":"2017-10-03T15:54:50Z","html_url":"https://github.com/depotstore/flashcards/pull/3#discussion_r142443999","pull_request_url":"https://api.github.com/repos/depotstore/flashcards/pulls/3","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/depotstore/flashcards/pulls/comments/142443999"},"html":{"href":"https://github.com/depotstore/flashcards/pull/3#discussion_r142443999"},"pull_request":{"href":"https://api.github.com/repos/depotstore/flashcards/pulls/3"}},"in_reply_to_id":142270476},"pull_request":{"url":"https://api.github.com/repos/depotstore/flashcards/pulls/3","id":144297272,"html_url":"https://github.com/depotstore/flashcards/pull/3","diff_url":"https://github.com/depotstore/flashcards/pull/3.diff","patch_url":"https://github.com/depotstore/flashcards/pull/3.patch","issue_url":"https://api.github.com/repos/depotstore/flashcards/issues/3","number":3,"state":"open","locked":false,"title":"Complete third task","user":{"login":"depotstore","id":26011258,"avatar_url":"https://avatars2.githubusercontent.com/u/26011258?v=4","gravatar_id":"","url":"https://api.github.com/users/depotstore","html_url":"https://github.com/depotstore","followers_url":"https://api.github.com/users/depotstore/followers","following_url":"https://api.github.com/users/depotstore/following{/other_user}","gists_url":"https://api.github.com/users/depotstore/gists{/gist_id}","starred_url":"https://api.github.com/users/depotstore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/depotstore/subscriptions","organizations_url":"https://api.github.com/users/depotstore/orgs","repos_url":"https://api.github.com/users/depotstore/repos","events_url":"https://api.github.com/users/depotstore/events{/privacy}","received_events_url":"https://api.github.com/users/depotstore/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-10-02T22:18:19Z","updated_at":"2017-10-03T15:54:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0701155f7b4cf586da917671f670ad25809fca2c","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/depotstore/flashcards/pulls/3/commits","review_comments_url":"https://api.github.com/repos/depotstore/flashcards/pulls/3/comments","review_comment_url":"https://api.github.com/repos/depotstore/flashcards/pulls/comments{/number}","comments_url":"https://api.github.com/repos/depotstore/flashcards/issues/3/comments","statuses_url":"https://api.github.com/repos/depotstore/flashcards/statuses/fcee3ef5ec829ef585dc1dcd027dc229fc2b4c37","head":{"label":"depotstore:third-task","ref":"third-task","sha":"fcee3ef5ec829ef585dc1dcd027dc229fc2b4c37","user":{"login":"depotstore","id":26011258,"avatar_url":"https://avatars2.githubusercontent.com/u/26011258?v=4","gravatar_id":"","url":"https://api.github.com/users/depotstore","html_url":"https://github.com/depotstore","followers_url":"https://api.github.com/users/depotstore/followers","following_url":"https://api.github.com/users/depotstore/following{/other_user}","gists_url":"https://api.github.com/users/depotstore/gists{/gist_id}","starred_url":"https://api.github.com/users/depotstore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/depotstore/subscriptions","organizations_url":"https://api.github.com/users/depotstore/orgs","repos_url":"https://api.github.com/users/depotstore/repos","events_url":"https://api.github.com/users/depotstore/events{/privacy}","received_events_url":"https://api.github.com/users/depotstore/received_events","type":"User","site_admin":false},"repo":{"id":105404261,"name":"flashcards","full_name":"depotstore/flashcards","owner":{"login":"depotstore","id":26011258,"avatar_url":"https://avatars2.githubusercontent.com/u/26011258?v=4","gravatar_id":"","url":"https://api.github.com/users/depotstore","html_url":"https://github.com/depotstore","followers_url":"https://api.github.com/users/depotstore/followers","following_url":"https://api.github.com/users/depotstore/following{/other_user}","gists_url":"https://api.github.com/users/depotstore/gists{/gist_id}","starred_url":"https://api.github.com/users/depotstore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/depotstore/subscriptions","organizations_url":"https://api.github.com/users/depotstore/orgs","repos_url":"https://api.github.com/users/depotstore/repos","events_url":"https://api.github.com/users/depotstore/events{/privacy}","received_events_url":"https://api.github.com/users/depotstore/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/depotstore/flashcards","description":null,"fork":false,"url":"https://api.github.com/repos/depotstore/flashcards","forks_url":"https://api.github.com/repos/depotstore/flashcards/forks","keys_url":"https://api.github.com/repos/depotstore/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/depotstore/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/depotstore/flashcards/teams","hooks_url":"https://api.github.com/repos/depotstore/flashcards/hooks","issue_events_url":"https://api.github.com/repos/depotstore/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/depotstore/flashcards/events","assignees_url":"https://api.github.com/repos/depotstore/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/depotstore/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/depotstore/flashcards/tags","blobs_url":"https://api.github.com/repos/depotstore/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/depotstore/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/depotstore/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/depotstore/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/depotstore/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/depotstore/flashcards/languages","stargazers_url":"https://api.github.com/repos/depotstore/flashcards/stargazers","contributors_url":"https://api.github.com/repos/depotstore/flashcards/contributors","subscribers_url":"https://api.github.com/repos/depotstore/flashcards/subscribers","subscription_url":"https://api.github.com/repos/depotstore/flashcards/subscription","commits_url":"https://api.github.com/repos/depotstore/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/depotstore/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/depotstore/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/depotstore/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/depotstore/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/depotstore/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/depotstore/flashcards/merges","archive_url":"https://api.github.com/repos/depotstore/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/depotstore/flashcards/downloads","issues_url":"https://api.github.com/repos/depotstore/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/depotstore/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/depotstore/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/depotstore/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/depotstore/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/depotstore/flashcards/releases{/id}","deployments_url":"https://api.github.com/repos/depotstore/flashcards/deployments","created_at":"2017-09-30T22:14:41Z","updated_at":"2017-10-01T15:50:56Z","pushed_at":"2017-10-02T22:18:19Z","git_url":"git://github.com/depotstore/flashcards.git","ssh_url":"git@github.com:depotstore/flashcards.git","clone_url":"https://github.com/depotstore/flashcards.git","svn_url":"https://github.com/depotstore/flashcards","homepage":null,"size":204,"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":"depotstore:master","ref":"master","sha":"e96c7c4309469d22f9d034fae4c6322e70f46d67","user":{"login":"depotstore","id":26011258,"avatar_url":"https://avatars2.githubusercontent.com/u/26011258?v=4","gravatar_id":"","url":"https://api.github.com/users/depotstore","html_url":"https://github.com/depotstore","followers_url":"https://api.github.com/users/depotstore/followers","following_url":"https://api.github.com/users/depotstore/following{/other_user}","gists_url":"https://api.github.com/users/depotstore/gists{/gist_id}","starred_url":"https://api.github.com/users/depotstore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/depotstore/subscriptions","organizations_url":"https://api.github.com/users/depotstore/orgs","repos_url":"https://api.github.com/users/depotstore/repos","events_url":"https://api.github.com/users/depotstore/events{/privacy}","received_events_url":"https://api.github.com/users/depotstore/received_events","type":"User","site_admin":false},"repo":{"id":105404261,"name":"flashcards","full_name":"depotstore/flashcards","owner":{"login":"depotstore","id":26011258,"avatar_url":"https://avatars2.githubusercontent.com/u/26011258?v=4","gravatar_id":"","url":"https://api.github.com/users/depotstore","html_url":"https://github.com/depotstore","followers_url":"https://api.github.com/users/depotstore/followers","following_url":"https://api.github.com/users/depotstore/following{/other_user}","gists_url":"https://api.github.com/users/depotstore/gists{/gist_id}","starred_url":"https://api.github.com/users/depotstore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/depotstore/subscriptions","organizations_url":"https://api.github.com/users/depotstore/orgs","repos_url":"https://api.github.com/users/depotstore/repos","events_url":"https://api.github.com/users/depotstore/events{/privacy}","received_events_url":"https://api.github.com/users/depotstore/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/depotstore/flashcards","description":null,"fork":false,"url":"https://api.github.com/repos/depotstore/flashcards","forks_url":"https://api.github.com/repos/depotstore/flashcards/forks","keys_url":"https://api.github.com/repos/depotstore/flashcards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/depotstore/flashcards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/depotstore/flashcards/teams","hooks_url":"https://api.github.com/repos/depotstore/flashcards/hooks","issue_events_url":"https://api.github.com/repos/depotstore/flashcards/issues/events{/number}","events_url":"https://api.github.com/repos/depotstore/flashcards/events","assignees_url":"https://api.github.com/repos/depotstore/flashcards/assignees{/user}","branches_url":"https://api.github.com/repos/depotstore/flashcards/branches{/branch}","tags_url":"https://api.github.com/repos/depotstore/flashcards/tags","blobs_url":"https://api.github.com/repos/depotstore/flashcards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/depotstore/flashcards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/depotstore/flashcards/git/refs{/sha}","trees_url":"https://api.github.com/repos/depotstore/flashcards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/depotstore/flashcards/statuses/{sha}","languages_url":"https://api.github.com/repos/depotstore/flashcards/languages","stargazers_url":"https://api.github.com/repos/depotstore/flashcards/stargazers","contributors_url":"https://api.github.com/repos/depotstore/flashcards/contributors","subscribers_url":"https://api.github.com/repos/depotstore/flashcards/subscribers","subscription_url":"https://api.github.com/repos/depotstore/flashcards/subscription","commits_url":"https://api.github.com/repos/depotstore/flashcards/commits{/sha}","git_commits_url":"https://api.github.com/repos/depotstore/flashcards/git/commits{/sha}","comments_url":"https://api.github.com/repos/depotstore/flashcards/comments{/number}","issue_comment_url":"https://api.github.com/repos/depotstore/flashcards/issues/comments{/number}","contents_url":"https://api.github.com/repos/depotstore/flashcards/contents/{+path}","compare_url":"https://api.github.com/repos/depotstore/flashcards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/depotstore/flashcards/merges","archive_url":"https://api.github.com/repos/depotstore/flashcards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/depotstore/flashcards/downloads","issues_url":"https://api.github.com/repos/depotstore/flashcards/issues{/number}","pulls_url":"https://api.github.com/repos/depotstore/flashcards/pulls{/number}","milestones_url":"https://api.github.com/repos/depotstore/flashcards/milestones{/number}","notifications_url":"https://api.github.com/repos/depotstore/flashcards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/depotstore/flashcards/labels{/name}","releases_url":"https://api.github.com/repos/depotstore/flashcards/releases{/id}","deployments_url":"https://api.github.com/repos/depotstore/flashcards/deployments","created_at":"2017-09-30T22:14:41Z","updated_at":"2017-10-01T15:50:56Z","pushed_at":"2017-10-02T22:18:19Z","git_url":"git://github.com/depotstore/flashcards.git","ssh_url":"git@github.com:depotstore/flashcards.git","clone_url":"https://github.com/depotstore/flashcards.git","svn_url":"https://github.com/depotstore/flashcards","homepage":null,"size":204,"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/depotstore/flashcards/pulls/3"},"html":{"href":"https://github.com/depotstore/flashcards/pull/3"},"issue":{"href":"https://api.github.com/repos/depotstore/flashcards/issues/3"},"comments":{"href":"https://api.github.com/repos/depotstore/flashcards/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/depotstore/flashcards/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/depotstore/flashcards/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/depotstore/flashcards/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/depotstore/flashcards/statuses/fcee3ef5ec829ef585dc1dcd027dc229fc2b4c37"}},"author_association":"OWNER"}}
{"actor":{"display_login":"depotstore"}}