{"action":"created","comment":{"url":"https://api.github.com/repos/krzyurb/K2R/pulls/comments/46008477","id":46008477,"diff_hunk":"@@ -5,3 +5,6 @@\n #\n #   cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])\n #   Mayor.create(name: 'Emanuel', city: cities.first)\n+\n+# Create admin account\n+admin = User.create!({name: \"admin\", password: \"pass\", email: \"admin@kuriex.pl\", role: \"admin\"})","path":"db/seeds.rb","position":6,"original_position":6,"commit_id":"bd180ea8ba3d7e274ec8371926abe66a1c826546","original_commit_id":"bd180ea8ba3d7e274ec8371926abe66a1c826546","user":{"login":"krzyurb","id":11517908,"avatar_url":"https://avatars.githubusercontent.com/u/11517908?v=3","gravatar_id":"","url":"https://api.github.com/users/krzyurb","html_url":"https://github.com/krzyurb","followers_url":"https://api.github.com/users/krzyurb/followers","following_url":"https://api.github.com/users/krzyurb/following{/other_user}","gists_url":"https://api.github.com/users/krzyurb/gists{/gist_id}","starred_url":"https://api.github.com/users/krzyurb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krzyurb/subscriptions","organizations_url":"https://api.github.com/users/krzyurb/orgs","repos_url":"https://api.github.com/users/krzyurb/repos","events_url":"https://api.github.com/users/krzyurb/events{/privacy}","received_events_url":"https://api.github.com/users/krzyurb/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/versioned/images/favicon.png) Issue found: [Useless assignment to variable - `admin`.](https://www.codacy.com/app/krzyurb/K2R/file/1431595723/issues/source?bid=2986241&fileBranchId=2986726#l10)","created_at":"2015-11-26T22:09:13Z","updated_at":"2015-11-26T22:09:13Z","html_url":"https://github.com/krzyurb/K2R/pull/3#discussion_r46008477","pull_request_url":"https://api.github.com/repos/krzyurb/K2R/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/krzyurb/K2R/pulls/comments/46008477"},"html":{"href":"https://github.com/krzyurb/K2R/pull/3#discussion_r46008477"},"pull_request":{"href":"https://api.github.com/repos/krzyurb/K2R/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/krzyurb/K2R/pulls/3","id":51823517,"html_url":"https://github.com/krzyurb/K2R/pull/3","diff_url":"https://github.com/krzyurb/K2R/pull/3.diff","patch_url":"https://github.com/krzyurb/K2R/pull/3.patch","issue_url":"https://api.github.com/repos/krzyurb/K2R/issues/3","number":3,"state":"open","locked":false,"title":"Create new user","user":{"login":"krzyurb","id":11517908,"avatar_url":"https://avatars.githubusercontent.com/u/11517908?v=3","gravatar_id":"","url":"https://api.github.com/users/krzyurb","html_url":"https://github.com/krzyurb","followers_url":"https://api.github.com/users/krzyurb/followers","following_url":"https://api.github.com/users/krzyurb/following{/other_user}","gists_url":"https://api.github.com/users/krzyurb/gists{/gist_id}","starred_url":"https://api.github.com/users/krzyurb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krzyurb/subscriptions","organizations_url":"https://api.github.com/users/krzyurb/orgs","repos_url":"https://api.github.com/users/krzyurb/repos","events_url":"https://api.github.com/users/krzyurb/events{/privacy}","received_events_url":"https://api.github.com/users/krzyurb/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-11-25T17:24:14Z","updated_at":"2015-11-26T22:09:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3672dfb31a812247ef60da6e499728d6589fbacc","assignee":{"login":"krzyurb","id":11517908,"avatar_url":"https://avatars.githubusercontent.com/u/11517908?v=3","gravatar_id":"","url":"https://api.github.com/users/krzyurb","html_url":"https://github.com/krzyurb","followers_url":"https://api.github.com/users/krzyurb/followers","following_url":"https://api.github.com/users/krzyurb/following{/other_user}","gists_url":"https://api.github.com/users/krzyurb/gists{/gist_id}","starred_url":"https://api.github.com/users/krzyurb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krzyurb/subscriptions","organizations_url":"https://api.github.com/users/krzyurb/orgs","repos_url":"https://api.github.com/users/krzyurb/repos","events_url":"https://api.github.com/users/krzyurb/events{/privacy}","received_events_url":"https://api.github.com/users/krzyurb/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/krzyurb/K2R/pulls/3/commits","review_comments_url":"https://api.github.com/repos/krzyurb/K2R/pulls/3/comments","review_comment_url":"https://api.github.com/repos/krzyurb/K2R/pulls/comments{/number}","comments_url":"https://api.github.com/repos/krzyurb/K2R/issues/3/comments","statuses_url":"https://api.github.com/repos/krzyurb/K2R/statuses/bd180ea8ba3d7e274ec8371926abe66a1c826546","head":{"label":"krzyurb:users","ref":"users","sha":"bd180ea8ba3d7e274ec8371926abe66a1c826546","user":{"login":"krzyurb","id":11517908,"avatar_url":"https://avatars.githubusercontent.com/u/11517908?v=3","gravatar_id":"","url":"https://api.github.com/users/krzyurb","html_url":"https://github.com/krzyurb","followers_url":"https://api.github.com/users/krzyurb/followers","following_url":"https://api.github.com/users/krzyurb/following{/other_user}","gists_url":"https://api.github.com/users/krzyurb/gists{/gist_id}","starred_url":"https://api.github.com/users/krzyurb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krzyurb/subscriptions","organizations_url":"https://api.github.com/users/krzyurb/orgs","repos_url":"https://api.github.com/users/krzyurb/repos","events_url":"https://api.github.com/users/krzyurb/events{/privacy}","received_events_url":"https://api.github.com/users/krzyurb/received_events","type":"User","site_admin":false},"repo":{"id":46411387,"name":"K2R","full_name":"krzyurb/K2R","owner":{"login":"krzyurb","id":11517908,"avatar_url":"https://avatars.githubusercontent.com/u/11517908?v=3","gravatar_id":"","url":"https://api.github.com/users/krzyurb","html_url":"https://github.com/krzyurb","followers_url":"https://api.github.com/users/krzyurb/followers","following_url":"https://api.github.com/users/krzyurb/following{/other_user}","gists_url":"https://api.github.com/users/krzyurb/gists{/gist_id}","starred_url":"https://api.github.com/users/krzyurb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krzyurb/subscriptions","organizations_url":"https://api.github.com/users/krzyurb/orgs","repos_url":"https://api.github.com/users/krzyurb/repos","events_url":"https://api.github.com/users/krzyurb/events{/privacy}","received_events_url":"https://api.github.com/users/krzyurb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/krzyurb/K2R","description":"System wspomagający firmę kurierską","fork":false,"url":"https://api.github.com/repos/krzyurb/K2R","forks_url":"https://api.github.com/repos/krzyurb/K2R/forks","keys_url":"https://api.github.com/repos/krzyurb/K2R/keys{/key_id}","collaborators_url":"https://api.github.com/repos/krzyurb/K2R/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/krzyurb/K2R/teams","hooks_url":"https://api.github.com/repos/krzyurb/K2R/hooks","issue_events_url":"https://api.github.com/repos/krzyurb/K2R/issues/events{/number}","events_url":"https://api.github.com/repos/krzyurb/K2R/events","assignees_url":"https://api.github.com/repos/krzyurb/K2R/assignees{/user}","branches_url":"https://api.github.com/repos/krzyurb/K2R/branches{/branch}","tags_url":"https://api.github.com/repos/krzyurb/K2R/tags","blobs_url":"https://api.github.com/repos/krzyurb/K2R/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/krzyurb/K2R/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/krzyurb/K2R/git/refs{/sha}","trees_url":"https://api.github.com/repos/krzyurb/K2R/git/trees{/sha}","statuses_url":"https://api.github.com/repos/krzyurb/K2R/statuses/{sha}","languages_url":"https://api.github.com/repos/krzyurb/K2R/languages","stargazers_url":"https://api.github.com/repos/krzyurb/K2R/stargazers","contributors_url":"https://api.github.com/repos/krzyurb/K2R/contributors","subscribers_url":"https://api.github.com/repos/krzyurb/K2R/subscribers","subscription_url":"https://api.github.com/repos/krzyurb/K2R/subscription","commits_url":"https://api.github.com/repos/krzyurb/K2R/commits{/sha}","git_commits_url":"https://api.github.com/repos/krzyurb/K2R/git/commits{/sha}","comments_url":"https://api.github.com/repos/krzyurb/K2R/comments{/number}","issue_comment_url":"https://api.github.com/repos/krzyurb/K2R/issues/comments{/number}","contents_url":"https://api.github.com/repos/krzyurb/K2R/contents/{+path}","compare_url":"https://api.github.com/repos/krzyurb/K2R/compare/{base}...{head}","merges_url":"https://api.github.com/repos/krzyurb/K2R/merges","archive_url":"https://api.github.com/repos/krzyurb/K2R/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/krzyurb/K2R/downloads","issues_url":"https://api.github.com/repos/krzyurb/K2R/issues{/number}","pulls_url":"https://api.github.com/repos/krzyurb/K2R/pulls{/number}","milestones_url":"https://api.github.com/repos/krzyurb/K2R/milestones{/number}","notifications_url":"https://api.github.com/repos/krzyurb/K2R/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/krzyurb/K2R/labels{/name}","releases_url":"https://api.github.com/repos/krzyurb/K2R/releases{/id}","created_at":"2015-11-18T10:23:37Z","updated_at":"2015-11-25T20:52:32Z","pushed_at":"2015-11-26T22:06:49Z","git_url":"git://github.com/krzyurb/K2R.git","ssh_url":"git@github.com:krzyurb/K2R.git","clone_url":"https://github.com/krzyurb/K2R.git","svn_url":"https://github.com/krzyurb/K2R","homepage":"","size":590,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"krzyurb:master","ref":"master","sha":"b510b3f4aff9b4e3314c464d23ca10ee11359df9","user":{"login":"krzyurb","id":11517908,"avatar_url":"https://avatars.githubusercontent.com/u/11517908?v=3","gravatar_id":"","url":"https://api.github.com/users/krzyurb","html_url":"https://github.com/krzyurb","followers_url":"https://api.github.com/users/krzyurb/followers","following_url":"https://api.github.com/users/krzyurb/following{/other_user}","gists_url":"https://api.github.com/users/krzyurb/gists{/gist_id}","starred_url":"https://api.github.com/users/krzyurb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krzyurb/subscriptions","organizations_url":"https://api.github.com/users/krzyurb/orgs","repos_url":"https://api.github.com/users/krzyurb/repos","events_url":"https://api.github.com/users/krzyurb/events{/privacy}","received_events_url":"https://api.github.com/users/krzyurb/received_events","type":"User","site_admin":false},"repo":{"id":46411387,"name":"K2R","full_name":"krzyurb/K2R","owner":{"login":"krzyurb","id":11517908,"avatar_url":"https://avatars.githubusercontent.com/u/11517908?v=3","gravatar_id":"","url":"https://api.github.com/users/krzyurb","html_url":"https://github.com/krzyurb","followers_url":"https://api.github.com/users/krzyurb/followers","following_url":"https://api.github.com/users/krzyurb/following{/other_user}","gists_url":"https://api.github.com/users/krzyurb/gists{/gist_id}","starred_url":"https://api.github.com/users/krzyurb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krzyurb/subscriptions","organizations_url":"https://api.github.com/users/krzyurb/orgs","repos_url":"https://api.github.com/users/krzyurb/repos","events_url":"https://api.github.com/users/krzyurb/events{/privacy}","received_events_url":"https://api.github.com/users/krzyurb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/krzyurb/K2R","description":"System wspomagający firmę kurierską","fork":false,"url":"https://api.github.com/repos/krzyurb/K2R","forks_url":"https://api.github.com/repos/krzyurb/K2R/forks","keys_url":"https://api.github.com/repos/krzyurb/K2R/keys{/key_id}","collaborators_url":"https://api.github.com/repos/krzyurb/K2R/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/krzyurb/K2R/teams","hooks_url":"https://api.github.com/repos/krzyurb/K2R/hooks","issue_events_url":"https://api.github.com/repos/krzyurb/K2R/issues/events{/number}","events_url":"https://api.github.com/repos/krzyurb/K2R/events","assignees_url":"https://api.github.com/repos/krzyurb/K2R/assignees{/user}","branches_url":"https://api.github.com/repos/krzyurb/K2R/branches{/branch}","tags_url":"https://api.github.com/repos/krzyurb/K2R/tags","blobs_url":"https://api.github.com/repos/krzyurb/K2R/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/krzyurb/K2R/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/krzyurb/K2R/git/refs{/sha}","trees_url":"https://api.github.com/repos/krzyurb/K2R/git/trees{/sha}","statuses_url":"https://api.github.com/repos/krzyurb/K2R/statuses/{sha}","languages_url":"https://api.github.com/repos/krzyurb/K2R/languages","stargazers_url":"https://api.github.com/repos/krzyurb/K2R/stargazers","contributors_url":"https://api.github.com/repos/krzyurb/K2R/contributors","subscribers_url":"https://api.github.com/repos/krzyurb/K2R/subscribers","subscription_url":"https://api.github.com/repos/krzyurb/K2R/subscription","commits_url":"https://api.github.com/repos/krzyurb/K2R/commits{/sha}","git_commits_url":"https://api.github.com/repos/krzyurb/K2R/git/commits{/sha}","comments_url":"https://api.github.com/repos/krzyurb/K2R/comments{/number}","issue_comment_url":"https://api.github.com/repos/krzyurb/K2R/issues/comments{/number}","contents_url":"https://api.github.com/repos/krzyurb/K2R/contents/{+path}","compare_url":"https://api.github.com/repos/krzyurb/K2R/compare/{base}...{head}","merges_url":"https://api.github.com/repos/krzyurb/K2R/merges","archive_url":"https://api.github.com/repos/krzyurb/K2R/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/krzyurb/K2R/downloads","issues_url":"https://api.github.com/repos/krzyurb/K2R/issues{/number}","pulls_url":"https://api.github.com/repos/krzyurb/K2R/pulls{/number}","milestones_url":"https://api.github.com/repos/krzyurb/K2R/milestones{/number}","notifications_url":"https://api.github.com/repos/krzyurb/K2R/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/krzyurb/K2R/labels{/name}","releases_url":"https://api.github.com/repos/krzyurb/K2R/releases{/id}","created_at":"2015-11-18T10:23:37Z","updated_at":"2015-11-25T20:52:32Z","pushed_at":"2015-11-26T22:06:49Z","git_url":"git://github.com/krzyurb/K2R.git","ssh_url":"git@github.com:krzyurb/K2R.git","clone_url":"https://github.com/krzyurb/K2R.git","svn_url":"https://github.com/krzyurb/K2R","homepage":"","size":590,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/krzyurb/K2R/pulls/3"},"html":{"href":"https://github.com/krzyurb/K2R/pull/3"},"issue":{"href":"https://api.github.com/repos/krzyurb/K2R/issues/3"},"comments":{"href":"https://api.github.com/repos/krzyurb/K2R/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/krzyurb/K2R/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/krzyurb/K2R/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/krzyurb/K2R/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/krzyurb/K2R/statuses/bd180ea8ba3d7e274ec8371926abe66a1c826546"}}}}