{"action":"created","comment":{"url":"https://api.github.com/repos/hosseintoussi/devsdeck/pulls/comments/68360928","id":68360928,"diff_hunk":"@@ -1,9 +1,34 @@\n+# == Schema Information\n+#\n+# Table name: users\n+#\n+#  id                     :integer          not null, primary key\n+#  email                  :string           default(\"\"), not null\n+#  encrypted_password     :string           default(\"\"), not null\n+#  reset_password_token   :string\n+#  reset_password_sent_at :datetime\n+#  remember_created_at    :datetime\n+#  sign_in_count          :integer          default(0), not null\n+#  current_sign_in_at     :datetime\n+#  last_sign_in_at        :datetime\n+#  current_sign_in_ip     :inet\n+#  last_sign_in_ip        :inet\n+#  created_at             :datetime         not null\n+#  updated_at             :datetime         not null\n+#  admin                  :boolean          default(FALSE)\n+#  name                   :string\n+#  description            :text\n+#  provider               :string\n+#  uid                    :string\n+#\n+\n class User < ActiveRecord::Base\n   # Include default devise modules. Others available are:\n   # :confirmable, :lockable, :timeoutable and :omniauthable\n   devise :database_authenticatable, :registerable,\n-         :recoverable, :rememberable, :trackable,\n-         :validatable, :confirmable\n+         :recoverable, :rememberable, :trackable, \n+\t\t :validatable, :confirmable\n+  devise :omniauthable, :omniauth_providers => [:github]","path":"app/models/user.rb","position":33,"original_position":33,"commit_id":"7b3b27554bfa3703ecd144fa1e7ccc8ec4b21223","original_commit_id":"7b3b27554bfa3703ecd144fa1e7ccc8ec4b21223","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"Use the new Ruby 1.9 hash syntax.","created_at":"2016-06-24T07:06:22Z","updated_at":"2016-06-24T07:06:22Z","html_url":"https://github.com/hosseintoussi/devsdeck/pull/17#discussion_r68360928","pull_request_url":"https://api.github.com/repos/hosseintoussi/devsdeck/pulls/17","_links":{"self":{"href":"https://api.github.com/repos/hosseintoussi/devsdeck/pulls/comments/68360928"},"html":{"href":"https://github.com/hosseintoussi/devsdeck/pull/17#discussion_r68360928"},"pull_request":{"href":"https://api.github.com/repos/hosseintoussi/devsdeck/pulls/17"}}},"pull_request":{"url":"https://api.github.com/repos/hosseintoussi/devsdeck/pulls/17","id":75072772,"html_url":"https://github.com/hosseintoussi/devsdeck/pull/17","diff_url":"https://github.com/hosseintoussi/devsdeck/pull/17.diff","patch_url":"https://github.com/hosseintoussi/devsdeck/pull/17.patch","issue_url":"https://api.github.com/repos/hosseintoussi/devsdeck/issues/17","number":17,"state":"open","locked":false,"title":"Oauth Login with Github","user":{"login":"jimmynguyc","id":377774,"avatar_url":"https://avatars.githubusercontent.com/u/377774?v=3","gravatar_id":"","url":"https://api.github.com/users/jimmynguyc","html_url":"https://github.com/jimmynguyc","followers_url":"https://api.github.com/users/jimmynguyc/followers","following_url":"https://api.github.com/users/jimmynguyc/following{/other_user}","gists_url":"https://api.github.com/users/jimmynguyc/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmynguyc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmynguyc/subscriptions","organizations_url":"https://api.github.com/users/jimmynguyc/orgs","repos_url":"https://api.github.com/users/jimmynguyc/repos","events_url":"https://api.github.com/users/jimmynguyc/events{/privacy}","received_events_url":"https://api.github.com/users/jimmynguyc/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-24T07:06:17Z","updated_at":"2016-06-24T07:06:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"70a9cdcceeee67db9065ed58cae7dcbd6b3a6660","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/hosseintoussi/devsdeck/pulls/17/commits","review_comments_url":"https://api.github.com/repos/hosseintoussi/devsdeck/pulls/17/comments","review_comment_url":"https://api.github.com/repos/hosseintoussi/devsdeck/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hosseintoussi/devsdeck/issues/17/comments","statuses_url":"https://api.github.com/repos/hosseintoussi/devsdeck/statuses/7b3b27554bfa3703ecd144fa1e7ccc8ec4b21223","head":{"label":"jimmynguyc:oauth-login","ref":"oauth-login","sha":"7b3b27554bfa3703ecd144fa1e7ccc8ec4b21223","user":{"login":"jimmynguyc","id":377774,"avatar_url":"https://avatars.githubusercontent.com/u/377774?v=3","gravatar_id":"","url":"https://api.github.com/users/jimmynguyc","html_url":"https://github.com/jimmynguyc","followers_url":"https://api.github.com/users/jimmynguyc/followers","following_url":"https://api.github.com/users/jimmynguyc/following{/other_user}","gists_url":"https://api.github.com/users/jimmynguyc/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmynguyc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmynguyc/subscriptions","organizations_url":"https://api.github.com/users/jimmynguyc/orgs","repos_url":"https://api.github.com/users/jimmynguyc/repos","events_url":"https://api.github.com/users/jimmynguyc/events{/privacy}","received_events_url":"https://api.github.com/users/jimmynguyc/received_events","type":"User","site_admin":false},"repo":{"id":60061640,"name":"devsdeck","full_name":"jimmynguyc/devsdeck","owner":{"login":"jimmynguyc","id":377774,"avatar_url":"https://avatars.githubusercontent.com/u/377774?v=3","gravatar_id":"","url":"https://api.github.com/users/jimmynguyc","html_url":"https://github.com/jimmynguyc","followers_url":"https://api.github.com/users/jimmynguyc/followers","following_url":"https://api.github.com/users/jimmynguyc/following{/other_user}","gists_url":"https://api.github.com/users/jimmynguyc/gists{/gist_id}","starred_url":"https://api.github.com/users/jimmynguyc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jimmynguyc/subscriptions","organizations_url":"https://api.github.com/users/jimmynguyc/orgs","repos_url":"https://api.github.com/users/jimmynguyc/repos","events_url":"https://api.github.com/users/jimmynguyc/events{/privacy}","received_events_url":"https://api.github.com/users/jimmynguyc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jimmynguyc/devsdeck","description":"","fork":true,"url":"https://api.github.com/repos/jimmynguyc/devsdeck","forks_url":"https://api.github.com/repos/jimmynguyc/devsdeck/forks","keys_url":"https://api.github.com/repos/jimmynguyc/devsdeck/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jimmynguyc/devsdeck/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jimmynguyc/devsdeck/teams","hooks_url":"https://api.github.com/repos/jimmynguyc/devsdeck/hooks","issue_events_url":"https://api.github.com/repos/jimmynguyc/devsdeck/issues/events{/number}","events_url":"https://api.github.com/repos/jimmynguyc/devsdeck/events","assignees_url":"https://api.github.com/repos/jimmynguyc/devsdeck/assignees{/user}","branches_url":"https://api.github.com/repos/jimmynguyc/devsdeck/branches{/branch}","tags_url":"https://api.github.com/repos/jimmynguyc/devsdeck/tags","blobs_url":"https://api.github.com/repos/jimmynguyc/devsdeck/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jimmynguyc/devsdeck/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jimmynguyc/devsdeck/git/refs{/sha}","trees_url":"https://api.github.com/repos/jimmynguyc/devsdeck/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jimmynguyc/devsdeck/statuses/{sha}","languages_url":"https://api.github.com/repos/jimmynguyc/devsdeck/languages","stargazers_url":"https://api.github.com/repos/jimmynguyc/devsdeck/stargazers","contributors_url":"https://api.github.com/repos/jimmynguyc/devsdeck/contributors","subscribers_url":"https://api.github.com/repos/jimmynguyc/devsdeck/subscribers","subscription_url":"https://api.github.com/repos/jimmynguyc/devsdeck/subscription","commits_url":"https://api.github.com/repos/jimmynguyc/devsdeck/commits{/sha}","git_commits_url":"https://api.github.com/repos/jimmynguyc/devsdeck/git/commits{/sha}","comments_url":"https://api.github.com/repos/jimmynguyc/devsdeck/comments{/number}","issue_comment_url":"https://api.github.com/repos/jimmynguyc/devsdeck/issues/comments{/number}","contents_url":"https://api.github.com/repos/jimmynguyc/devsdeck/contents/{+path}","compare_url":"https://api.github.com/repos/jimmynguyc/devsdeck/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jimmynguyc/devsdeck/merges","archive_url":"https://api.github.com/repos/jimmynguyc/devsdeck/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jimmynguyc/devsdeck/downloads","issues_url":"https://api.github.com/repos/jimmynguyc/devsdeck/issues{/number}","pulls_url":"https://api.github.com/repos/jimmynguyc/devsdeck/pulls{/number}","milestones_url":"https://api.github.com/repos/jimmynguyc/devsdeck/milestones{/number}","notifications_url":"https://api.github.com/repos/jimmynguyc/devsdeck/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jimmynguyc/devsdeck/labels{/name}","releases_url":"https://api.github.com/repos/jimmynguyc/devsdeck/releases{/id}","deployments_url":"https://api.github.com/repos/jimmynguyc/devsdeck/deployments","created_at":"2016-05-31T05:51:12Z","updated_at":"2016-05-31T05:51:13Z","pushed_at":"2016-06-24T07:05:59Z","git_url":"git://github.com/jimmynguyc/devsdeck.git","ssh_url":"git@github.com:jimmynguyc/devsdeck.git","clone_url":"https://github.com/jimmynguyc/devsdeck.git","svn_url":"https://github.com/jimmynguyc/devsdeck","homepage":"http://devsdeck.com","size":1932,"stargazers_count":0,"watchers_count":0,"language":"CSS","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":"hosseintoussi:master","ref":"master","sha":"7cd7eb943b739a728ff58689087e768c543b12c0","user":{"login":"hosseintoussi","id":12149734,"avatar_url":"https://avatars.githubusercontent.com/u/12149734?v=3","gravatar_id":"","url":"https://api.github.com/users/hosseintoussi","html_url":"https://github.com/hosseintoussi","followers_url":"https://api.github.com/users/hosseintoussi/followers","following_url":"https://api.github.com/users/hosseintoussi/following{/other_user}","gists_url":"https://api.github.com/users/hosseintoussi/gists{/gist_id}","starred_url":"https://api.github.com/users/hosseintoussi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hosseintoussi/subscriptions","organizations_url":"https://api.github.com/users/hosseintoussi/orgs","repos_url":"https://api.github.com/users/hosseintoussi/repos","events_url":"https://api.github.com/users/hosseintoussi/events{/privacy}","received_events_url":"https://api.github.com/users/hosseintoussi/received_events","type":"User","site_admin":false},"repo":{"id":58953021,"name":"devsdeck","full_name":"hosseintoussi/devsdeck","owner":{"login":"hosseintoussi","id":12149734,"avatar_url":"https://avatars.githubusercontent.com/u/12149734?v=3","gravatar_id":"","url":"https://api.github.com/users/hosseintoussi","html_url":"https://github.com/hosseintoussi","followers_url":"https://api.github.com/users/hosseintoussi/followers","following_url":"https://api.github.com/users/hosseintoussi/following{/other_user}","gists_url":"https://api.github.com/users/hosseintoussi/gists{/gist_id}","starred_url":"https://api.github.com/users/hosseintoussi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hosseintoussi/subscriptions","organizations_url":"https://api.github.com/users/hosseintoussi/orgs","repos_url":"https://api.github.com/users/hosseintoussi/repos","events_url":"https://api.github.com/users/hosseintoussi/events{/privacy}","received_events_url":"https://api.github.com/users/hosseintoussi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hosseintoussi/devsdeck","description":"","fork":false,"url":"https://api.github.com/repos/hosseintoussi/devsdeck","forks_url":"https://api.github.com/repos/hosseintoussi/devsdeck/forks","keys_url":"https://api.github.com/repos/hosseintoussi/devsdeck/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hosseintoussi/devsdeck/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hosseintoussi/devsdeck/teams","hooks_url":"https://api.github.com/repos/hosseintoussi/devsdeck/hooks","issue_events_url":"https://api.github.com/repos/hosseintoussi/devsdeck/issues/events{/number}","events_url":"https://api.github.com/repos/hosseintoussi/devsdeck/events","assignees_url":"https://api.github.com/repos/hosseintoussi/devsdeck/assignees{/user}","branches_url":"https://api.github.com/repos/hosseintoussi/devsdeck/branches{/branch}","tags_url":"https://api.github.com/repos/hosseintoussi/devsdeck/tags","blobs_url":"https://api.github.com/repos/hosseintoussi/devsdeck/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hosseintoussi/devsdeck/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hosseintoussi/devsdeck/git/refs{/sha}","trees_url":"https://api.github.com/repos/hosseintoussi/devsdeck/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hosseintoussi/devsdeck/statuses/{sha}","languages_url":"https://api.github.com/repos/hosseintoussi/devsdeck/languages","stargazers_url":"https://api.github.com/repos/hosseintoussi/devsdeck/stargazers","contributors_url":"https://api.github.com/repos/hosseintoussi/devsdeck/contributors","subscribers_url":"https://api.github.com/repos/hosseintoussi/devsdeck/subscribers","subscription_url":"https://api.github.com/repos/hosseintoussi/devsdeck/subscription","commits_url":"https://api.github.com/repos/hosseintoussi/devsdeck/commits{/sha}","git_commits_url":"https://api.github.com/repos/hosseintoussi/devsdeck/git/commits{/sha}","comments_url":"https://api.github.com/repos/hosseintoussi/devsdeck/comments{/number}","issue_comment_url":"https://api.github.com/repos/hosseintoussi/devsdeck/issues/comments{/number}","contents_url":"https://api.github.com/repos/hosseintoussi/devsdeck/contents/{+path}","compare_url":"https://api.github.com/repos/hosseintoussi/devsdeck/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hosseintoussi/devsdeck/merges","archive_url":"https://api.github.com/repos/hosseintoussi/devsdeck/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hosseintoussi/devsdeck/downloads","issues_url":"https://api.github.com/repos/hosseintoussi/devsdeck/issues{/number}","pulls_url":"https://api.github.com/repos/hosseintoussi/devsdeck/pulls{/number}","milestones_url":"https://api.github.com/repos/hosseintoussi/devsdeck/milestones{/number}","notifications_url":"https://api.github.com/repos/hosseintoussi/devsdeck/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hosseintoussi/devsdeck/labels{/name}","releases_url":"https://api.github.com/repos/hosseintoussi/devsdeck/releases{/id}","deployments_url":"https://api.github.com/repos/hosseintoussi/devsdeck/deployments","created_at":"2016-05-16T17:32:26Z","updated_at":"2016-06-11T14:30:40Z","pushed_at":"2016-06-24T07:06:17Z","git_url":"git://github.com/hosseintoussi/devsdeck.git","ssh_url":"git@github.com:hosseintoussi/devsdeck.git","clone_url":"https://github.com/hosseintoussi/devsdeck.git","svn_url":"https://github.com/hosseintoussi/devsdeck","homepage":"http://devsdeck.com","size":2381,"stargazers_count":2,"watchers_count":2,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hosseintoussi/devsdeck/pulls/17"},"html":{"href":"https://github.com/hosseintoussi/devsdeck/pull/17"},"issue":{"href":"https://api.github.com/repos/hosseintoussi/devsdeck/issues/17"},"comments":{"href":"https://api.github.com/repos/hosseintoussi/devsdeck/issues/17/comments"},"review_comments":{"href":"https://api.github.com/repos/hosseintoussi/devsdeck/pulls/17/comments"},"review_comment":{"href":"https://api.github.com/repos/hosseintoussi/devsdeck/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hosseintoussi/devsdeck/pulls/17/commits"},"statuses":{"href":"https://api.github.com/repos/hosseintoussi/devsdeck/statuses/7b3b27554bfa3703ecd144fa1e7ccc8ec4b21223"}}}}
{"actor":{"display_login":"houndci-bot"}}