{"action":"closed","number":11,"pull_request":{"url":"https://api.github.com/repos/resin-io/resin-token/pulls/11","id":40231560,"html_url":"https://github.com/resin-io/resin-token/pull/11","diff_url":"https://github.com/resin-io/resin-token/pull/11.diff","patch_url":"https://github.com/resin-io/resin-token/pull/11.patch","issue_url":"https://api.github.com/repos/resin-io/resin-token/issues/11","number":11,"state":"closed","locked":false,"title":"Fix uninformative error in isValid() if token is not a string","user":{"login":"jviotti","id":2192773,"avatar_url":"https://avatars.githubusercontent.com/u/2192773?v=3","gravatar_id":"","url":"https://api.github.com/users/jviotti","html_url":"https://github.com/jviotti","followers_url":"https://api.github.com/users/jviotti/followers","following_url":"https://api.github.com/users/jviotti/following{/other_user}","gists_url":"https://api.github.com/users/jviotti/gists{/gist_id}","starred_url":"https://api.github.com/users/jviotti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jviotti/subscriptions","organizations_url":"https://api.github.com/users/jviotti/orgs","repos_url":"https://api.github.com/users/jviotti/repos","events_url":"https://api.github.com/users/jviotti/events{/privacy}","received_events_url":"https://api.github.com/users/jviotti/received_events","type":"User","site_admin":false},"body":"This was caused because .trim() only exists for strings.","created_at":"2015-07-17T13:37:34Z","updated_at":"2015-07-17T13:45:12Z","closed_at":"2015-07-17T13:45:12Z","merged_at":"2015-07-17T13:45:12Z","merge_commit_sha":"4865440b871beed7d759b67d668de02fd6bd05cb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/resin-io/resin-token/pulls/11/commits","review_comments_url":"https://api.github.com/repos/resin-io/resin-token/pulls/11/comments","review_comment_url":"https://api.github.com/repos/resin-io/resin-token/pulls/comments{/number}","comments_url":"https://api.github.com/repos/resin-io/resin-token/issues/11/comments","statuses_url":"https://api.github.com/repos/resin-io/resin-token/statuses/c6c0358c3c5dc003a62c3f46d96f269e2b169e96","head":{"label":"resin-io:fix/not-string-token","ref":"fix/not-string-token","sha":"c6c0358c3c5dc003a62c3f46d96f269e2b169e96","user":{"login":"resin-io","id":6157842,"avatar_url":"https://avatars.githubusercontent.com/u/6157842?v=3","gravatar_id":"","url":"https://api.github.com/users/resin-io","html_url":"https://github.com/resin-io","followers_url":"https://api.github.com/users/resin-io/followers","following_url":"https://api.github.com/users/resin-io/following{/other_user}","gists_url":"https://api.github.com/users/resin-io/gists{/gist_id}","starred_url":"https://api.github.com/users/resin-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resin-io/subscriptions","organizations_url":"https://api.github.com/users/resin-io/orgs","repos_url":"https://api.github.com/users/resin-io/repos","events_url":"https://api.github.com/users/resin-io/events{/privacy}","received_events_url":"https://api.github.com/users/resin-io/received_events","type":"Organization","site_admin":false},"repo":{"id":32473952,"name":"resin-token","full_name":"resin-io/resin-token","owner":{"login":"resin-io","id":6157842,"avatar_url":"https://avatars.githubusercontent.com/u/6157842?v=3","gravatar_id":"","url":"https://api.github.com/users/resin-io","html_url":"https://github.com/resin-io","followers_url":"https://api.github.com/users/resin-io/followers","following_url":"https://api.github.com/users/resin-io/following{/other_user}","gists_url":"https://api.github.com/users/resin-io/gists{/gist_id}","starred_url":"https://api.github.com/users/resin-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resin-io/subscriptions","organizations_url":"https://api.github.com/users/resin-io/orgs","repos_url":"https://api.github.com/users/resin-io/repos","events_url":"https://api.github.com/users/resin-io/events{/privacy}","received_events_url":"https://api.github.com/users/resin-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/resin-io/resin-token","description":"Resin.io session token utilities.","fork":false,"url":"https://api.github.com/repos/resin-io/resin-token","forks_url":"https://api.github.com/repos/resin-io/resin-token/forks","keys_url":"https://api.github.com/repos/resin-io/resin-token/keys{/key_id}","collaborators_url":"https://api.github.com/repos/resin-io/resin-token/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/resin-io/resin-token/teams","hooks_url":"https://api.github.com/repos/resin-io/resin-token/hooks","issue_events_url":"https://api.github.com/repos/resin-io/resin-token/issues/events{/number}","events_url":"https://api.github.com/repos/resin-io/resin-token/events","assignees_url":"https://api.github.com/repos/resin-io/resin-token/assignees{/user}","branches_url":"https://api.github.com/repos/resin-io/resin-token/branches{/branch}","tags_url":"https://api.github.com/repos/resin-io/resin-token/tags","blobs_url":"https://api.github.com/repos/resin-io/resin-token/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/resin-io/resin-token/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/resin-io/resin-token/git/refs{/sha}","trees_url":"https://api.github.com/repos/resin-io/resin-token/git/trees{/sha}","statuses_url":"https://api.github.com/repos/resin-io/resin-token/statuses/{sha}","languages_url":"https://api.github.com/repos/resin-io/resin-token/languages","stargazers_url":"https://api.github.com/repos/resin-io/resin-token/stargazers","contributors_url":"https://api.github.com/repos/resin-io/resin-token/contributors","subscribers_url":"https://api.github.com/repos/resin-io/resin-token/subscribers","subscription_url":"https://api.github.com/repos/resin-io/resin-token/subscription","commits_url":"https://api.github.com/repos/resin-io/resin-token/commits{/sha}","git_commits_url":"https://api.github.com/repos/resin-io/resin-token/git/commits{/sha}","comments_url":"https://api.github.com/repos/resin-io/resin-token/comments{/number}","issue_comment_url":"https://api.github.com/repos/resin-io/resin-token/issues/comments{/number}","contents_url":"https://api.github.com/repos/resin-io/resin-token/contents/{+path}","compare_url":"https://api.github.com/repos/resin-io/resin-token/compare/{base}...{head}","merges_url":"https://api.github.com/repos/resin-io/resin-token/merges","archive_url":"https://api.github.com/repos/resin-io/resin-token/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/resin-io/resin-token/downloads","issues_url":"https://api.github.com/repos/resin-io/resin-token/issues{/number}","pulls_url":"https://api.github.com/repos/resin-io/resin-token/pulls{/number}","milestones_url":"https://api.github.com/repos/resin-io/resin-token/milestones{/number}","notifications_url":"https://api.github.com/repos/resin-io/resin-token/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/resin-io/resin-token/labels{/name}","releases_url":"https://api.github.com/repos/resin-io/resin-token/releases{/id}","created_at":"2015-03-18T17:30:45Z","updated_at":"2015-03-19T18:21:37Z","pushed_at":"2015-07-17T13:45:12Z","git_url":"git://github.com/resin-io/resin-token.git","ssh_url":"git@github.com:resin-io/resin-token.git","clone_url":"https://github.com/resin-io/resin-token.git","svn_url":"https://github.com/resin-io/resin-token","homepage":null,"size":328,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","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":"resin-io:master","ref":"master","sha":"4d57c3cfb7b6d9746b49ec5a669e06f0da9d2b7f","user":{"login":"resin-io","id":6157842,"avatar_url":"https://avatars.githubusercontent.com/u/6157842?v=3","gravatar_id":"","url":"https://api.github.com/users/resin-io","html_url":"https://github.com/resin-io","followers_url":"https://api.github.com/users/resin-io/followers","following_url":"https://api.github.com/users/resin-io/following{/other_user}","gists_url":"https://api.github.com/users/resin-io/gists{/gist_id}","starred_url":"https://api.github.com/users/resin-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resin-io/subscriptions","organizations_url":"https://api.github.com/users/resin-io/orgs","repos_url":"https://api.github.com/users/resin-io/repos","events_url":"https://api.github.com/users/resin-io/events{/privacy}","received_events_url":"https://api.github.com/users/resin-io/received_events","type":"Organization","site_admin":false},"repo":{"id":32473952,"name":"resin-token","full_name":"resin-io/resin-token","owner":{"login":"resin-io","id":6157842,"avatar_url":"https://avatars.githubusercontent.com/u/6157842?v=3","gravatar_id":"","url":"https://api.github.com/users/resin-io","html_url":"https://github.com/resin-io","followers_url":"https://api.github.com/users/resin-io/followers","following_url":"https://api.github.com/users/resin-io/following{/other_user}","gists_url":"https://api.github.com/users/resin-io/gists{/gist_id}","starred_url":"https://api.github.com/users/resin-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/resin-io/subscriptions","organizations_url":"https://api.github.com/users/resin-io/orgs","repos_url":"https://api.github.com/users/resin-io/repos","events_url":"https://api.github.com/users/resin-io/events{/privacy}","received_events_url":"https://api.github.com/users/resin-io/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/resin-io/resin-token","description":"Resin.io session token utilities.","fork":false,"url":"https://api.github.com/repos/resin-io/resin-token","forks_url":"https://api.github.com/repos/resin-io/resin-token/forks","keys_url":"https://api.github.com/repos/resin-io/resin-token/keys{/key_id}","collaborators_url":"https://api.github.com/repos/resin-io/resin-token/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/resin-io/resin-token/teams","hooks_url":"https://api.github.com/repos/resin-io/resin-token/hooks","issue_events_url":"https://api.github.com/repos/resin-io/resin-token/issues/events{/number}","events_url":"https://api.github.com/repos/resin-io/resin-token/events","assignees_url":"https://api.github.com/repos/resin-io/resin-token/assignees{/user}","branches_url":"https://api.github.com/repos/resin-io/resin-token/branches{/branch}","tags_url":"https://api.github.com/repos/resin-io/resin-token/tags","blobs_url":"https://api.github.com/repos/resin-io/resin-token/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/resin-io/resin-token/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/resin-io/resin-token/git/refs{/sha}","trees_url":"https://api.github.com/repos/resin-io/resin-token/git/trees{/sha}","statuses_url":"https://api.github.com/repos/resin-io/resin-token/statuses/{sha}","languages_url":"https://api.github.com/repos/resin-io/resin-token/languages","stargazers_url":"https://api.github.com/repos/resin-io/resin-token/stargazers","contributors_url":"https://api.github.com/repos/resin-io/resin-token/contributors","subscribers_url":"https://api.github.com/repos/resin-io/resin-token/subscribers","subscription_url":"https://api.github.com/repos/resin-io/resin-token/subscription","commits_url":"https://api.github.com/repos/resin-io/resin-token/commits{/sha}","git_commits_url":"https://api.github.com/repos/resin-io/resin-token/git/commits{/sha}","comments_url":"https://api.github.com/repos/resin-io/resin-token/comments{/number}","issue_comment_url":"https://api.github.com/repos/resin-io/resin-token/issues/comments{/number}","contents_url":"https://api.github.com/repos/resin-io/resin-token/contents/{+path}","compare_url":"https://api.github.com/repos/resin-io/resin-token/compare/{base}...{head}","merges_url":"https://api.github.com/repos/resin-io/resin-token/merges","archive_url":"https://api.github.com/repos/resin-io/resin-token/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/resin-io/resin-token/downloads","issues_url":"https://api.github.com/repos/resin-io/resin-token/issues{/number}","pulls_url":"https://api.github.com/repos/resin-io/resin-token/pulls{/number}","milestones_url":"https://api.github.com/repos/resin-io/resin-token/milestones{/number}","notifications_url":"https://api.github.com/repos/resin-io/resin-token/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/resin-io/resin-token/labels{/name}","releases_url":"https://api.github.com/repos/resin-io/resin-token/releases{/id}","created_at":"2015-03-18T17:30:45Z","updated_at":"2015-03-19T18:21:37Z","pushed_at":"2015-07-17T13:45:12Z","git_url":"git://github.com/resin-io/resin-token.git","ssh_url":"git@github.com:resin-io/resin-token.git","clone_url":"https://github.com/resin-io/resin-token.git","svn_url":"https://github.com/resin-io/resin-token","homepage":null,"size":328,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","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/resin-io/resin-token/pulls/11"},"html":{"href":"https://github.com/resin-io/resin-token/pull/11"},"issue":{"href":"https://api.github.com/repos/resin-io/resin-token/issues/11"},"comments":{"href":"https://api.github.com/repos/resin-io/resin-token/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/resin-io/resin-token/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/resin-io/resin-token/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/resin-io/resin-token/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/resin-io/resin-token/statuses/c6c0358c3c5dc003a62c3f46d96f269e2b169e96"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"jviotti","id":2192773,"avatar_url":"https://avatars.githubusercontent.com/u/2192773?v=3","gravatar_id":"","url":"https://api.github.com/users/jviotti","html_url":"https://github.com/jviotti","followers_url":"https://api.github.com/users/jviotti/followers","following_url":"https://api.github.com/users/jviotti/following{/other_user}","gists_url":"https://api.github.com/users/jviotti/gists{/gist_id}","starred_url":"https://api.github.com/users/jviotti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jviotti/subscriptions","organizations_url":"https://api.github.com/users/jviotti/orgs","repos_url":"https://api.github.com/users/jviotti/repos","events_url":"https://api.github.com/users/jviotti/events{/privacy}","received_events_url":"https://api.github.com/users/jviotti/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":11,"deletions":3,"changed_files":3}}