{"action":"closed","number":162,"pull_request":{"url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/pulls/162","id":32919801,"html_url":"https://github.com/gonzalo-bulnes/simple_token_authentication/pull/162","diff_url":"https://github.com/gonzalo-bulnes/simple_token_authentication/pull/162.diff","patch_url":"https://github.com/gonzalo-bulnes/simple_token_authentication/pull/162.patch","issue_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/issues/162","number":162,"state":"closed","locked":false,"title":"Spike: add models aliases option","user":{"login":"gonzalo-bulnes","id":1619067,"avatar_url":"https://avatars.githubusercontent.com/u/1619067?v=3","gravatar_id":"","url":"https://api.github.com/users/gonzalo-bulnes","html_url":"https://github.com/gonzalo-bulnes","followers_url":"https://api.github.com/users/gonzalo-bulnes/followers","following_url":"https://api.github.com/users/gonzalo-bulnes/following{/other_user}","gists_url":"https://api.github.com/users/gonzalo-bulnes/gists{/gist_id}","starred_url":"https://api.github.com/users/gonzalo-bulnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gonzalo-bulnes/subscriptions","organizations_url":"https://api.github.com/users/gonzalo-bulnes/orgs","repos_url":"https://api.github.com/users/gonzalo-bulnes/repos","events_url":"https://api.github.com/users/gonzalo-bulnes/events{/privacy}","received_events_url":"https://api.github.com/users/gonzalo-bulnes/received_events","type":"User","site_admin":false},"body":"**As a** developer \r\n**In order to** be able to handle token authentication for `Namespaced::Models` \r\n**I want** to be able to define aliases for them (e.g. `:namespaced_user` instead of `'namespaced/user'`) \r\n\r\nSee #83","created_at":"2015-04-09T02:15:19Z","updated_at":"2015-04-24T00:27:30Z","closed_at":"2015-04-24T00:27:30Z","merged_at":"2015-04-24T00:27:30Z","merge_commit_sha":"e0255f863b6e88e05f4f7e1280009713f31e3ec4","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/pulls/162/commits","review_comments_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/pulls/162/comments","review_comment_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/issues/162/comments","statuses_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/statuses/60485fd96421e0bf3798f42877b908aae9e8e5ef","head":{"label":"gonzalo-bulnes:spike-add-models-aliases-option","ref":"spike-add-models-aliases-option","sha":"60485fd96421e0bf3798f42877b908aae9e8e5ef","user":{"login":"gonzalo-bulnes","id":1619067,"avatar_url":"https://avatars.githubusercontent.com/u/1619067?v=3","gravatar_id":"","url":"https://api.github.com/users/gonzalo-bulnes","html_url":"https://github.com/gonzalo-bulnes","followers_url":"https://api.github.com/users/gonzalo-bulnes/followers","following_url":"https://api.github.com/users/gonzalo-bulnes/following{/other_user}","gists_url":"https://api.github.com/users/gonzalo-bulnes/gists{/gist_id}","starred_url":"https://api.github.com/users/gonzalo-bulnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gonzalo-bulnes/subscriptions","organizations_url":"https://api.github.com/users/gonzalo-bulnes/orgs","repos_url":"https://api.github.com/users/gonzalo-bulnes/repos","events_url":"https://api.github.com/users/gonzalo-bulnes/events{/privacy}","received_events_url":"https://api.github.com/users/gonzalo-bulnes/received_events","type":"User","site_admin":false},"repo":{"id":15211432,"name":"simple_token_authentication","full_name":"gonzalo-bulnes/simple_token_authentication","owner":{"login":"gonzalo-bulnes","id":1619067,"avatar_url":"https://avatars.githubusercontent.com/u/1619067?v=3","gravatar_id":"","url":"https://api.github.com/users/gonzalo-bulnes","html_url":"https://github.com/gonzalo-bulnes","followers_url":"https://api.github.com/users/gonzalo-bulnes/followers","following_url":"https://api.github.com/users/gonzalo-bulnes/following{/other_user}","gists_url":"https://api.github.com/users/gonzalo-bulnes/gists{/gist_id}","starred_url":"https://api.github.com/users/gonzalo-bulnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gonzalo-bulnes/subscriptions","organizations_url":"https://api.github.com/users/gonzalo-bulnes/orgs","repos_url":"https://api.github.com/users/gonzalo-bulnes/repos","events_url":"https://api.github.com/users/gonzalo-bulnes/events{/privacy}","received_events_url":"https://api.github.com/users/gonzalo-bulnes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gonzalo-bulnes/simple_token_authentication","description":"Simple (but safe) token authentication for Rails apps or API with Devise.","fork":false,"url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication","forks_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/forks","keys_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/teams","hooks_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/hooks","issue_events_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/issues/events{/number}","events_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/events","assignees_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/assignees{/user}","branches_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/branches{/branch}","tags_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/tags","blobs_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/git/refs{/sha}","trees_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/statuses/{sha}","languages_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/languages","stargazers_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/stargazers","contributors_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/contributors","subscribers_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/subscribers","subscription_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/subscription","commits_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/commits{/sha}","git_commits_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/git/commits{/sha}","comments_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/comments{/number}","issue_comment_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/issues/comments{/number}","contents_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/contents/{+path}","compare_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/merges","archive_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/downloads","issues_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/issues{/number}","pulls_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/pulls{/number}","milestones_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/milestones{/number}","notifications_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/labels{/name}","releases_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/releases{/id}","created_at":"2013-12-15T21:49:02Z","updated_at":"2015-04-24T00:27:29Z","pushed_at":"2015-04-24T00:27:29Z","git_url":"git://github.com/gonzalo-bulnes/simple_token_authentication.git","ssh_url":"git@github.com:gonzalo-bulnes/simple_token_authentication.git","clone_url":"https://github.com/gonzalo-bulnes/simple_token_authentication.git","svn_url":"https://github.com/gonzalo-bulnes/simple_token_authentication","homepage":"","size":2075,"stargazers_count":539,"watchers_count":539,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":110,"mirror_url":null,"open_issues_count":33,"forks":110,"open_issues":33,"watchers":539,"default_branch":"master"}},"base":{"label":"gonzalo-bulnes:master","ref":"master","sha":"1985632a36cef6a6b8182e3c45a75a2d39f7ee51","user":{"login":"gonzalo-bulnes","id":1619067,"avatar_url":"https://avatars.githubusercontent.com/u/1619067?v=3","gravatar_id":"","url":"https://api.github.com/users/gonzalo-bulnes","html_url":"https://github.com/gonzalo-bulnes","followers_url":"https://api.github.com/users/gonzalo-bulnes/followers","following_url":"https://api.github.com/users/gonzalo-bulnes/following{/other_user}","gists_url":"https://api.github.com/users/gonzalo-bulnes/gists{/gist_id}","starred_url":"https://api.github.com/users/gonzalo-bulnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gonzalo-bulnes/subscriptions","organizations_url":"https://api.github.com/users/gonzalo-bulnes/orgs","repos_url":"https://api.github.com/users/gonzalo-bulnes/repos","events_url":"https://api.github.com/users/gonzalo-bulnes/events{/privacy}","received_events_url":"https://api.github.com/users/gonzalo-bulnes/received_events","type":"User","site_admin":false},"repo":{"id":15211432,"name":"simple_token_authentication","full_name":"gonzalo-bulnes/simple_token_authentication","owner":{"login":"gonzalo-bulnes","id":1619067,"avatar_url":"https://avatars.githubusercontent.com/u/1619067?v=3","gravatar_id":"","url":"https://api.github.com/users/gonzalo-bulnes","html_url":"https://github.com/gonzalo-bulnes","followers_url":"https://api.github.com/users/gonzalo-bulnes/followers","following_url":"https://api.github.com/users/gonzalo-bulnes/following{/other_user}","gists_url":"https://api.github.com/users/gonzalo-bulnes/gists{/gist_id}","starred_url":"https://api.github.com/users/gonzalo-bulnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gonzalo-bulnes/subscriptions","organizations_url":"https://api.github.com/users/gonzalo-bulnes/orgs","repos_url":"https://api.github.com/users/gonzalo-bulnes/repos","events_url":"https://api.github.com/users/gonzalo-bulnes/events{/privacy}","received_events_url":"https://api.github.com/users/gonzalo-bulnes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gonzalo-bulnes/simple_token_authentication","description":"Simple (but safe) token authentication for Rails apps or API with Devise.","fork":false,"url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication","forks_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/forks","keys_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/teams","hooks_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/hooks","issue_events_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/issues/events{/number}","events_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/events","assignees_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/assignees{/user}","branches_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/branches{/branch}","tags_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/tags","blobs_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/git/refs{/sha}","trees_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/statuses/{sha}","languages_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/languages","stargazers_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/stargazers","contributors_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/contributors","subscribers_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/subscribers","subscription_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/subscription","commits_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/commits{/sha}","git_commits_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/git/commits{/sha}","comments_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/comments{/number}","issue_comment_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/issues/comments{/number}","contents_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/contents/{+path}","compare_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/merges","archive_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/downloads","issues_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/issues{/number}","pulls_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/pulls{/number}","milestones_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/milestones{/number}","notifications_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/labels{/name}","releases_url":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/releases{/id}","created_at":"2013-12-15T21:49:02Z","updated_at":"2015-04-24T00:27:29Z","pushed_at":"2015-04-24T00:27:29Z","git_url":"git://github.com/gonzalo-bulnes/simple_token_authentication.git","ssh_url":"git@github.com:gonzalo-bulnes/simple_token_authentication.git","clone_url":"https://github.com/gonzalo-bulnes/simple_token_authentication.git","svn_url":"https://github.com/gonzalo-bulnes/simple_token_authentication","homepage":"","size":2075,"stargazers_count":539,"watchers_count":539,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":110,"mirror_url":null,"open_issues_count":33,"forks":110,"open_issues":33,"watchers":539,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/pulls/162"},"html":{"href":"https://github.com/gonzalo-bulnes/simple_token_authentication/pull/162"},"issue":{"href":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/issues/162"},"comments":{"href":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/issues/162/comments"},"review_comments":{"href":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/pulls/162/comments"},"review_comment":{"href":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/pulls/162/commits"},"statuses":{"href":"https://api.github.com/repos/gonzalo-bulnes/simple_token_authentication/statuses/60485fd96421e0bf3798f42877b908aae9e8e5ef"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"gonzalo-bulnes","id":1619067,"avatar_url":"https://avatars.githubusercontent.com/u/1619067?v=3","gravatar_id":"","url":"https://api.github.com/users/gonzalo-bulnes","html_url":"https://github.com/gonzalo-bulnes","followers_url":"https://api.github.com/users/gonzalo-bulnes/followers","following_url":"https://api.github.com/users/gonzalo-bulnes/following{/other_user}","gists_url":"https://api.github.com/users/gonzalo-bulnes/gists{/gist_id}","starred_url":"https://api.github.com/users/gonzalo-bulnes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gonzalo-bulnes/subscriptions","organizations_url":"https://api.github.com/users/gonzalo-bulnes/orgs","repos_url":"https://api.github.com/users/gonzalo-bulnes/repos","events_url":"https://api.github.com/users/gonzalo-bulnes/events{/privacy}","received_events_url":"https://api.github.com/users/gonzalo-bulnes/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":7,"additions":276,"deletions":125,"changed_files":14}}