{"action":"created","comment":{"url":"https://api.github.com/repos/lanej/you_track/pulls/comments/26685857","id":26685857,"diff_hunk":"@@ -4,20 +4,8 @@ class YouTrack::Client < Cistern::Service\n \n require_relative \"client/real\"\n require_relative \"client/mock\"\n-\n require_relative \"client/model\"\n require_relative \"client/request\"\n-\n require_relative \"client/login\"\n-require_relative \"client/get_issue\"\n-require_relative \"client/get_issues\"\n-require_relative \"client/create_issue\"\n-require_relative \"client/update_issue\"\n-require_relative \"client/apply_issue_command\"\n-\n-require_relative \"client/get_issue_comments\"\n \n-require_relative \"client/issue\"\n-require_relative \"client/issues\"\n-require_relative \"client/comment\"\n-require_relative \"client/comments\"\n+Dir.glob(Dir.pwd + \"/lib/you_track/client/{models,requests}/*.rb\").each { |f| require_relative f }","path":"lib/you_track/client.rb","position":21,"original_position":21,"commit_id":"eee5b29c157c63f4d2edc83ca0a5c97e310f7e3c","original_commit_id":"eee5b29c157c63f4d2edc83ca0a5c97e310f7e3c","user":{"login":"ehowe","id":756984,"avatar_url":"https://avatars.githubusercontent.com/u/756984?v=3","gravatar_id":"","url":"https://api.github.com/users/ehowe","html_url":"https://github.com/ehowe","followers_url":"https://api.github.com/users/ehowe/followers","following_url":"https://api.github.com/users/ehowe/following{/other_user}","gists_url":"https://api.github.com/users/ehowe/gists{/gist_id}","starred_url":"https://api.github.com/users/ehowe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehowe/subscriptions","organizations_url":"https://api.github.com/users/ehowe/orgs","repos_url":"https://api.github.com/users/ehowe/repos","events_url":"https://api.github.com/users/ehowe/events{/privacy}","received_events_url":"https://api.github.com/users/ehowe/received_events","type":"User","site_admin":false},"body":"well shit, got any better ideas than needing a new `require_relative` line everytime?","created_at":"2015-03-18T17:25:09Z","updated_at":"2015-03-18T17:25:09Z","html_url":"https://github.com/lanej/you_track/pull/5#discussion_r26685857","pull_request_url":"https://api.github.com/repos/lanej/you_track/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/lanej/you_track/pulls/comments/26685857"},"html":{"href":"https://github.com/lanej/you_track/pull/5#discussion_r26685857"},"pull_request":{"href":"https://api.github.com/repos/lanej/you_track/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/lanej/you_track/pulls/5","id":31451527,"html_url":"https://github.com/lanej/you_track/pull/5","diff_url":"https://github.com/lanej/you_track/pull/5.diff","patch_url":"https://github.com/lanej/you_track/pull/5.patch","issue_url":"https://api.github.com/repos/lanej/you_track/issues/5","number":5,"state":"open","locked":false,"title":"current user and projects","user":{"login":"ehowe","id":756984,"avatar_url":"https://avatars.githubusercontent.com/u/756984?v=3","gravatar_id":"","url":"https://api.github.com/users/ehowe","html_url":"https://github.com/ehowe","followers_url":"https://api.github.com/users/ehowe/followers","following_url":"https://api.github.com/users/ehowe/following{/other_user}","gists_url":"https://api.github.com/users/ehowe/gists{/gist_id}","starred_url":"https://api.github.com/users/ehowe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehowe/subscriptions","organizations_url":"https://api.github.com/users/ehowe/orgs","repos_url":"https://api.github.com/users/ehowe/repos","events_url":"https://api.github.com/users/ehowe/events{/privacy}","received_events_url":"https://api.github.com/users/ehowe/received_events","type":"User","site_admin":false},"body":"* fixed issue creation spec, the create request returns nothing\r\n* moved requests and models to their own directories","created_at":"2015-03-18T17:22:06Z","updated_at":"2015-03-18T17:25:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7c5dcbe80365fea21c8a144ad309e962f832baf7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lanej/you_track/pulls/5/commits","review_comments_url":"https://api.github.com/repos/lanej/you_track/pulls/5/comments","review_comment_url":"https://api.github.com/repos/lanej/you_track/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lanej/you_track/issues/5/comments","statuses_url":"https://api.github.com/repos/lanej/you_track/statuses/eee5b29c157c63f4d2edc83ca0a5c97e310f7e3c","head":{"label":"ehowe:projects","ref":"projects","sha":"eee5b29c157c63f4d2edc83ca0a5c97e310f7e3c","user":{"login":"ehowe","id":756984,"avatar_url":"https://avatars.githubusercontent.com/u/756984?v=3","gravatar_id":"","url":"https://api.github.com/users/ehowe","html_url":"https://github.com/ehowe","followers_url":"https://api.github.com/users/ehowe/followers","following_url":"https://api.github.com/users/ehowe/following{/other_user}","gists_url":"https://api.github.com/users/ehowe/gists{/gist_id}","starred_url":"https://api.github.com/users/ehowe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehowe/subscriptions","organizations_url":"https://api.github.com/users/ehowe/orgs","repos_url":"https://api.github.com/users/ehowe/repos","events_url":"https://api.github.com/users/ehowe/events{/privacy}","received_events_url":"https://api.github.com/users/ehowe/received_events","type":"User","site_admin":false},"repo":{"id":32155829,"name":"you_track","full_name":"ehowe/you_track","owner":{"login":"ehowe","id":756984,"avatar_url":"https://avatars.githubusercontent.com/u/756984?v=3","gravatar_id":"","url":"https://api.github.com/users/ehowe","html_url":"https://github.com/ehowe","followers_url":"https://api.github.com/users/ehowe/followers","following_url":"https://api.github.com/users/ehowe/following{/other_user}","gists_url":"https://api.github.com/users/ehowe/gists{/gist_id}","starred_url":"https://api.github.com/users/ehowe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ehowe/subscriptions","organizations_url":"https://api.github.com/users/ehowe/orgs","repos_url":"https://api.github.com/users/ehowe/repos","events_url":"https://api.github.com/users/ehowe/events{/privacy}","received_events_url":"https://api.github.com/users/ehowe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ehowe/you_track","description":"YouTrack 6.x API Ruby Client","fork":true,"url":"https://api.github.com/repos/ehowe/you_track","forks_url":"https://api.github.com/repos/ehowe/you_track/forks","keys_url":"https://api.github.com/repos/ehowe/you_track/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ehowe/you_track/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ehowe/you_track/teams","hooks_url":"https://api.github.com/repos/ehowe/you_track/hooks","issue_events_url":"https://api.github.com/repos/ehowe/you_track/issues/events{/number}","events_url":"https://api.github.com/repos/ehowe/you_track/events","assignees_url":"https://api.github.com/repos/ehowe/you_track/assignees{/user}","branches_url":"https://api.github.com/repos/ehowe/you_track/branches{/branch}","tags_url":"https://api.github.com/repos/ehowe/you_track/tags","blobs_url":"https://api.github.com/repos/ehowe/you_track/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ehowe/you_track/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ehowe/you_track/git/refs{/sha}","trees_url":"https://api.github.com/repos/ehowe/you_track/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ehowe/you_track/statuses/{sha}","languages_url":"https://api.github.com/repos/ehowe/you_track/languages","stargazers_url":"https://api.github.com/repos/ehowe/you_track/stargazers","contributors_url":"https://api.github.com/repos/ehowe/you_track/contributors","subscribers_url":"https://api.github.com/repos/ehowe/you_track/subscribers","subscription_url":"https://api.github.com/repos/ehowe/you_track/subscription","commits_url":"https://api.github.com/repos/ehowe/you_track/commits{/sha}","git_commits_url":"https://api.github.com/repos/ehowe/you_track/git/commits{/sha}","comments_url":"https://api.github.com/repos/ehowe/you_track/comments{/number}","issue_comment_url":"https://api.github.com/repos/ehowe/you_track/issues/comments{/number}","contents_url":"https://api.github.com/repos/ehowe/you_track/contents/{+path}","compare_url":"https://api.github.com/repos/ehowe/you_track/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ehowe/you_track/merges","archive_url":"https://api.github.com/repos/ehowe/you_track/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ehowe/you_track/downloads","issues_url":"https://api.github.com/repos/ehowe/you_track/issues{/number}","pulls_url":"https://api.github.com/repos/ehowe/you_track/pulls{/number}","milestones_url":"https://api.github.com/repos/ehowe/you_track/milestones{/number}","notifications_url":"https://api.github.com/repos/ehowe/you_track/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ehowe/you_track/labels{/name}","releases_url":"https://api.github.com/repos/ehowe/you_track/releases{/id}","created_at":"2015-03-13T12:56:46Z","updated_at":"2015-03-18T17:22:45Z","pushed_at":"2015-03-18T17:22:45Z","git_url":"git://github.com/ehowe/you_track.git","ssh_url":"git@github.com:ehowe/you_track.git","clone_url":"https://github.com/ehowe/you_track.git","svn_url":"https://github.com/ehowe/you_track","homepage":"","size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"lanej:master","ref":"master","sha":"2b6fe3abbd2b39098aa44339b67bb2fbbf6aa01a","user":{"login":"lanej","id":79638,"avatar_url":"https://avatars.githubusercontent.com/u/79638?v=3","gravatar_id":"","url":"https://api.github.com/users/lanej","html_url":"https://github.com/lanej","followers_url":"https://api.github.com/users/lanej/followers","following_url":"https://api.github.com/users/lanej/following{/other_user}","gists_url":"https://api.github.com/users/lanej/gists{/gist_id}","starred_url":"https://api.github.com/users/lanej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lanej/subscriptions","organizations_url":"https://api.github.com/users/lanej/orgs","repos_url":"https://api.github.com/users/lanej/repos","events_url":"https://api.github.com/users/lanej/events{/privacy}","received_events_url":"https://api.github.com/users/lanej/received_events","type":"User","site_admin":false},"repo":{"id":32093751,"name":"you_track","full_name":"lanej/you_track","owner":{"login":"lanej","id":79638,"avatar_url":"https://avatars.githubusercontent.com/u/79638?v=3","gravatar_id":"","url":"https://api.github.com/users/lanej","html_url":"https://github.com/lanej","followers_url":"https://api.github.com/users/lanej/followers","following_url":"https://api.github.com/users/lanej/following{/other_user}","gists_url":"https://api.github.com/users/lanej/gists{/gist_id}","starred_url":"https://api.github.com/users/lanej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lanej/subscriptions","organizations_url":"https://api.github.com/users/lanej/orgs","repos_url":"https://api.github.com/users/lanej/repos","events_url":"https://api.github.com/users/lanej/events{/privacy}","received_events_url":"https://api.github.com/users/lanej/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lanej/you_track","description":"YouTrack 6.x API Ruby Client","fork":false,"url":"https://api.github.com/repos/lanej/you_track","forks_url":"https://api.github.com/repos/lanej/you_track/forks","keys_url":"https://api.github.com/repos/lanej/you_track/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lanej/you_track/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lanej/you_track/teams","hooks_url":"https://api.github.com/repos/lanej/you_track/hooks","issue_events_url":"https://api.github.com/repos/lanej/you_track/issues/events{/number}","events_url":"https://api.github.com/repos/lanej/you_track/events","assignees_url":"https://api.github.com/repos/lanej/you_track/assignees{/user}","branches_url":"https://api.github.com/repos/lanej/you_track/branches{/branch}","tags_url":"https://api.github.com/repos/lanej/you_track/tags","blobs_url":"https://api.github.com/repos/lanej/you_track/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lanej/you_track/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lanej/you_track/git/refs{/sha}","trees_url":"https://api.github.com/repos/lanej/you_track/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lanej/you_track/statuses/{sha}","languages_url":"https://api.github.com/repos/lanej/you_track/languages","stargazers_url":"https://api.github.com/repos/lanej/you_track/stargazers","contributors_url":"https://api.github.com/repos/lanej/you_track/contributors","subscribers_url":"https://api.github.com/repos/lanej/you_track/subscribers","subscription_url":"https://api.github.com/repos/lanej/you_track/subscription","commits_url":"https://api.github.com/repos/lanej/you_track/commits{/sha}","git_commits_url":"https://api.github.com/repos/lanej/you_track/git/commits{/sha}","comments_url":"https://api.github.com/repos/lanej/you_track/comments{/number}","issue_comment_url":"https://api.github.com/repos/lanej/you_track/issues/comments{/number}","contents_url":"https://api.github.com/repos/lanej/you_track/contents/{+path}","compare_url":"https://api.github.com/repos/lanej/you_track/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lanej/you_track/merges","archive_url":"https://api.github.com/repos/lanej/you_track/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lanej/you_track/downloads","issues_url":"https://api.github.com/repos/lanej/you_track/issues{/number}","pulls_url":"https://api.github.com/repos/lanej/you_track/pulls{/number}","milestones_url":"https://api.github.com/repos/lanej/you_track/milestones{/number}","notifications_url":"https://api.github.com/repos/lanej/you_track/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lanej/you_track/labels{/name}","releases_url":"https://api.github.com/repos/lanej/you_track/releases{/id}","created_at":"2015-03-12T18:17:09Z","updated_at":"2015-03-16T23:14:48Z","pushed_at":"2015-03-16T23:14:47Z","git_url":"git://github.com/lanej/you_track.git","ssh_url":"git@github.com:lanej/you_track.git","clone_url":"https://github.com/lanej/you_track.git","svn_url":"https://github.com/lanej/you_track","homepage":"","size":0,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":3,"forks":2,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/lanej/you_track/pulls/5"},"html":{"href":"https://github.com/lanej/you_track/pull/5"},"issue":{"href":"https://api.github.com/repos/lanej/you_track/issues/5"},"comments":{"href":"https://api.github.com/repos/lanej/you_track/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/lanej/you_track/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/lanej/you_track/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lanej/you_track/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/lanej/you_track/statuses/eee5b29c157c63f4d2edc83ca0a5c97e310f7e3c"}}}}