{"action":"closed","number":2,"pull_request":{"url":"https://api.github.com/repos/ryedog/stallion/pulls/2","id":41809963,"html_url":"https://github.com/ryedog/stallion/pull/2","diff_url":"https://github.com/ryedog/stallion/pull/2.diff","patch_url":"https://github.com/ryedog/stallion/pull/2.patch","issue_url":"https://api.github.com/repos/ryedog/stallion/issues/2","number":2,"state":"closed","locked":false,"title":"Fixing multiple instances bug (each instance has the same username/pass)","user":{"login":"ryedog","id":1069243,"avatar_url":"https://avatars.githubusercontent.com/u/1069243?v=3","gravatar_id":"","url":"https://api.github.com/users/ryedog","html_url":"https://github.com/ryedog","followers_url":"https://api.github.com/users/ryedog/followers","following_url":"https://api.github.com/users/ryedog/following{/other_user}","gists_url":"https://api.github.com/users/ryedog/gists{/gist_id}","starred_url":"https://api.github.com/users/ryedog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryedog/subscriptions","organizations_url":"https://api.github.com/users/ryedog/orgs","repos_url":"https://api.github.com/users/ryedog/repos","events_url":"https://api.github.com/users/ryedog/events{/privacy}","received_events_url":"https://api.github.com/users/ryedog/received_events","type":"User","site_admin":false},"body":"Apparently Reslter's service functionality cannot handle multiple instances correctly.\r\n\r\nIn Restler the only way to set the username/password for the service is in the defaults.\r\nBut the defaults is a static property so it's shared across all instances of the service.\r\n\r\nGuess it's time to move away from Restler. Best alternative?","created_at":"2015-08-06T16:55:31Z","updated_at":"2015-08-06T16:56:22Z","closed_at":"2015-08-06T16:56:22Z","merged_at":"2015-08-06T16:56:22Z","merge_commit_sha":"e89466b0fd296870c55eae8ff3828eee93397580","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ryedog/stallion/pulls/2/commits","review_comments_url":"https://api.github.com/repos/ryedog/stallion/pulls/2/comments","review_comment_url":"https://api.github.com/repos/ryedog/stallion/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ryedog/stallion/issues/2/comments","statuses_url":"https://api.github.com/repos/ryedog/stallion/statuses/64beb6730118d34078b4e79721552deff9c1fec0","head":{"label":"ryedog:bug/multiple_service_instances","ref":"bug/multiple_service_instances","sha":"64beb6730118d34078b4e79721552deff9c1fec0","user":{"login":"ryedog","id":1069243,"avatar_url":"https://avatars.githubusercontent.com/u/1069243?v=3","gravatar_id":"","url":"https://api.github.com/users/ryedog","html_url":"https://github.com/ryedog","followers_url":"https://api.github.com/users/ryedog/followers","following_url":"https://api.github.com/users/ryedog/following{/other_user}","gists_url":"https://api.github.com/users/ryedog/gists{/gist_id}","starred_url":"https://api.github.com/users/ryedog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryedog/subscriptions","organizations_url":"https://api.github.com/users/ryedog/orgs","repos_url":"https://api.github.com/users/ryedog/repos","events_url":"https://api.github.com/users/ryedog/events{/privacy}","received_events_url":"https://api.github.com/users/ryedog/received_events","type":"User","site_admin":false},"repo":{"id":38218584,"name":"stallion","full_name":"ryedog/stallion","owner":{"login":"ryedog","id":1069243,"avatar_url":"https://avatars.githubusercontent.com/u/1069243?v=3","gravatar_id":"","url":"https://api.github.com/users/ryedog","html_url":"https://github.com/ryedog","followers_url":"https://api.github.com/users/ryedog/followers","following_url":"https://api.github.com/users/ryedog/following{/other_user}","gists_url":"https://api.github.com/users/ryedog/gists{/gist_id}","starred_url":"https://api.github.com/users/ryedog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryedog/subscriptions","organizations_url":"https://api.github.com/users/ryedog/orgs","repos_url":"https://api.github.com/users/ryedog/repos","events_url":"https://api.github.com/users/ryedog/events{/privacy}","received_events_url":"https://api.github.com/users/ryedog/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ryedog/stallion","description":"Simple way to create node clients for a REST service","fork":false,"url":"https://api.github.com/repos/ryedog/stallion","forks_url":"https://api.github.com/repos/ryedog/stallion/forks","keys_url":"https://api.github.com/repos/ryedog/stallion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ryedog/stallion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ryedog/stallion/teams","hooks_url":"https://api.github.com/repos/ryedog/stallion/hooks","issue_events_url":"https://api.github.com/repos/ryedog/stallion/issues/events{/number}","events_url":"https://api.github.com/repos/ryedog/stallion/events","assignees_url":"https://api.github.com/repos/ryedog/stallion/assignees{/user}","branches_url":"https://api.github.com/repos/ryedog/stallion/branches{/branch}","tags_url":"https://api.github.com/repos/ryedog/stallion/tags","blobs_url":"https://api.github.com/repos/ryedog/stallion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ryedog/stallion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ryedog/stallion/git/refs{/sha}","trees_url":"https://api.github.com/repos/ryedog/stallion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ryedog/stallion/statuses/{sha}","languages_url":"https://api.github.com/repos/ryedog/stallion/languages","stargazers_url":"https://api.github.com/repos/ryedog/stallion/stargazers","contributors_url":"https://api.github.com/repos/ryedog/stallion/contributors","subscribers_url":"https://api.github.com/repos/ryedog/stallion/subscribers","subscription_url":"https://api.github.com/repos/ryedog/stallion/subscription","commits_url":"https://api.github.com/repos/ryedog/stallion/commits{/sha}","git_commits_url":"https://api.github.com/repos/ryedog/stallion/git/commits{/sha}","comments_url":"https://api.github.com/repos/ryedog/stallion/comments{/number}","issue_comment_url":"https://api.github.com/repos/ryedog/stallion/issues/comments{/number}","contents_url":"https://api.github.com/repos/ryedog/stallion/contents/{+path}","compare_url":"https://api.github.com/repos/ryedog/stallion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ryedog/stallion/merges","archive_url":"https://api.github.com/repos/ryedog/stallion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ryedog/stallion/downloads","issues_url":"https://api.github.com/repos/ryedog/stallion/issues{/number}","pulls_url":"https://api.github.com/repos/ryedog/stallion/pulls{/number}","milestones_url":"https://api.github.com/repos/ryedog/stallion/milestones{/number}","notifications_url":"https://api.github.com/repos/ryedog/stallion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ryedog/stallion/labels{/name}","releases_url":"https://api.github.com/repos/ryedog/stallion/releases{/id}","created_at":"2015-06-28T23:45:42Z","updated_at":"2015-07-13T22:22:38Z","pushed_at":"2015-08-06T16:56:22Z","git_url":"git://github.com/ryedog/stallion.git","ssh_url":"git@github.com:ryedog/stallion.git","clone_url":"https://github.com/ryedog/stallion.git","svn_url":"https://github.com/ryedog/stallion","homepage":"","size":211,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ryedog:master","ref":"master","sha":"dc88fe2b830ef2c7cb2b36cf3ba0f6d851e692d8","user":{"login":"ryedog","id":1069243,"avatar_url":"https://avatars.githubusercontent.com/u/1069243?v=3","gravatar_id":"","url":"https://api.github.com/users/ryedog","html_url":"https://github.com/ryedog","followers_url":"https://api.github.com/users/ryedog/followers","following_url":"https://api.github.com/users/ryedog/following{/other_user}","gists_url":"https://api.github.com/users/ryedog/gists{/gist_id}","starred_url":"https://api.github.com/users/ryedog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryedog/subscriptions","organizations_url":"https://api.github.com/users/ryedog/orgs","repos_url":"https://api.github.com/users/ryedog/repos","events_url":"https://api.github.com/users/ryedog/events{/privacy}","received_events_url":"https://api.github.com/users/ryedog/received_events","type":"User","site_admin":false},"repo":{"id":38218584,"name":"stallion","full_name":"ryedog/stallion","owner":{"login":"ryedog","id":1069243,"avatar_url":"https://avatars.githubusercontent.com/u/1069243?v=3","gravatar_id":"","url":"https://api.github.com/users/ryedog","html_url":"https://github.com/ryedog","followers_url":"https://api.github.com/users/ryedog/followers","following_url":"https://api.github.com/users/ryedog/following{/other_user}","gists_url":"https://api.github.com/users/ryedog/gists{/gist_id}","starred_url":"https://api.github.com/users/ryedog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryedog/subscriptions","organizations_url":"https://api.github.com/users/ryedog/orgs","repos_url":"https://api.github.com/users/ryedog/repos","events_url":"https://api.github.com/users/ryedog/events{/privacy}","received_events_url":"https://api.github.com/users/ryedog/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ryedog/stallion","description":"Simple way to create node clients for a REST service","fork":false,"url":"https://api.github.com/repos/ryedog/stallion","forks_url":"https://api.github.com/repos/ryedog/stallion/forks","keys_url":"https://api.github.com/repos/ryedog/stallion/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ryedog/stallion/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ryedog/stallion/teams","hooks_url":"https://api.github.com/repos/ryedog/stallion/hooks","issue_events_url":"https://api.github.com/repos/ryedog/stallion/issues/events{/number}","events_url":"https://api.github.com/repos/ryedog/stallion/events","assignees_url":"https://api.github.com/repos/ryedog/stallion/assignees{/user}","branches_url":"https://api.github.com/repos/ryedog/stallion/branches{/branch}","tags_url":"https://api.github.com/repos/ryedog/stallion/tags","blobs_url":"https://api.github.com/repos/ryedog/stallion/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ryedog/stallion/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ryedog/stallion/git/refs{/sha}","trees_url":"https://api.github.com/repos/ryedog/stallion/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ryedog/stallion/statuses/{sha}","languages_url":"https://api.github.com/repos/ryedog/stallion/languages","stargazers_url":"https://api.github.com/repos/ryedog/stallion/stargazers","contributors_url":"https://api.github.com/repos/ryedog/stallion/contributors","subscribers_url":"https://api.github.com/repos/ryedog/stallion/subscribers","subscription_url":"https://api.github.com/repos/ryedog/stallion/subscription","commits_url":"https://api.github.com/repos/ryedog/stallion/commits{/sha}","git_commits_url":"https://api.github.com/repos/ryedog/stallion/git/commits{/sha}","comments_url":"https://api.github.com/repos/ryedog/stallion/comments{/number}","issue_comment_url":"https://api.github.com/repos/ryedog/stallion/issues/comments{/number}","contents_url":"https://api.github.com/repos/ryedog/stallion/contents/{+path}","compare_url":"https://api.github.com/repos/ryedog/stallion/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ryedog/stallion/merges","archive_url":"https://api.github.com/repos/ryedog/stallion/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ryedog/stallion/downloads","issues_url":"https://api.github.com/repos/ryedog/stallion/issues{/number}","pulls_url":"https://api.github.com/repos/ryedog/stallion/pulls{/number}","milestones_url":"https://api.github.com/repos/ryedog/stallion/milestones{/number}","notifications_url":"https://api.github.com/repos/ryedog/stallion/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ryedog/stallion/labels{/name}","releases_url":"https://api.github.com/repos/ryedog/stallion/releases{/id}","created_at":"2015-06-28T23:45:42Z","updated_at":"2015-07-13T22:22:38Z","pushed_at":"2015-08-06T16:56:22Z","git_url":"git://github.com/ryedog/stallion.git","ssh_url":"git@github.com:ryedog/stallion.git","clone_url":"https://github.com/ryedog/stallion.git","svn_url":"https://github.com/ryedog/stallion","homepage":"","size":211,"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":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ryedog/stallion/pulls/2"},"html":{"href":"https://github.com/ryedog/stallion/pull/2"},"issue":{"href":"https://api.github.com/repos/ryedog/stallion/issues/2"},"comments":{"href":"https://api.github.com/repos/ryedog/stallion/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/ryedog/stallion/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/ryedog/stallion/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ryedog/stallion/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/ryedog/stallion/statuses/64beb6730118d34078b4e79721552deff9c1fec0"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"ryedog","id":1069243,"avatar_url":"https://avatars.githubusercontent.com/u/1069243?v=3","gravatar_id":"","url":"https://api.github.com/users/ryedog","html_url":"https://github.com/ryedog","followers_url":"https://api.github.com/users/ryedog/followers","following_url":"https://api.github.com/users/ryedog/following{/other_user}","gists_url":"https://api.github.com/users/ryedog/gists{/gist_id}","starred_url":"https://api.github.com/users/ryedog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryedog/subscriptions","organizations_url":"https://api.github.com/users/ryedog/orgs","repos_url":"https://api.github.com/users/ryedog/repos","events_url":"https://api.github.com/users/ryedog/events{/privacy}","received_events_url":"https://api.github.com/users/ryedog/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":43,"deletions":14,"changed_files":4}}