{"action":"created","issue":{"url":"https://api.github.com/repos/allenai/datastore/issues/27","labels_url":"https://api.github.com/repos/allenai/datastore/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/allenai/datastore/issues/27/comments","events_url":"https://api.github.com/repos/allenai/datastore/issues/27/events","html_url":"https://github.com/allenai/datastore/pull/27","id":103391752,"number":27,"title":"Move Locator to an outer class.","user":{"login":"jkinkead","id":1548392,"avatar_url":"https://avatars.githubusercontent.com/u/1548392?v=3","gravatar_id":"","url":"https://api.github.com/users/jkinkead","html_url":"https://github.com/jkinkead","followers_url":"https://api.github.com/users/jkinkead/followers","following_url":"https://api.github.com/users/jkinkead/following{/other_user}","gists_url":"https://api.github.com/users/jkinkead/gists{/gist_id}","starred_url":"https://api.github.com/users/jkinkead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkinkead/subscriptions","organizations_url":"https://api.github.com/users/jkinkead/orgs","repos_url":"https://api.github.com/users/jkinkead/repos","events_url":"https://api.github.com/users/jkinkead/events{/privacy}","received_events_url":"https://api.github.com/users/jkinkead/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"jkinkead","id":1548392,"avatar_url":"https://avatars.githubusercontent.com/u/1548392?v=3","gravatar_id":"","url":"https://api.github.com/users/jkinkead","html_url":"https://github.com/jkinkead","followers_url":"https://api.github.com/users/jkinkead/followers","following_url":"https://api.github.com/users/jkinkead/following{/other_user}","gists_url":"https://api.github.com/users/jkinkead/gists{/gist_id}","starred_url":"https://api.github.com/users/jkinkead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkinkead/subscriptions","organizations_url":"https://api.github.com/users/jkinkead/orgs","repos_url":"https://api.github.com/users/jkinkead/repos","events_url":"https://api.github.com/users/jkinkead/events{/privacy}","received_events_url":"https://api.github.com/users/jkinkead/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-08-27T00:10:54Z","updated_at":"2015-08-27T02:58:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/allenai/datastore/pulls/27","html_url":"https://github.com/allenai/datastore/pull/27","diff_url":"https://github.com/allenai/datastore/pull/27.diff","patch_url":"https://github.com/allenai/datastore/pull/27.patch"},"body":"Add a `uri` method to corespond to the `fromUri` method.\r\n\r\nPer discussion.\r\n\r\nNote that I needed to move the cache directories to a common location - but I couldn't move them to the `Datastore` companion object, because it extends the `Datastore` class, and you end up with the constructor trying to call in to the extending classes' fields, and `NullPointerException` happens.\r\n\r\nI still can't believe Scala lets you do that.\r\n\r\nBonus URL parsing unit tests!"},"comment":{"url":"https://api.github.com/repos/allenai/datastore/issues/comments/135264054","html_url":"https://github.com/allenai/datastore/pull/27#issuecomment-135264054","issue_url":"https://api.github.com/repos/allenai/datastore/issues/27","id":135264054,"user":{"login":"jkinkead","id":1548392,"avatar_url":"https://avatars.githubusercontent.com/u/1548392?v=3","gravatar_id":"","url":"https://api.github.com/users/jkinkead","html_url":"https://github.com/jkinkead","followers_url":"https://api.github.com/users/jkinkead/followers","following_url":"https://api.github.com/users/jkinkead/following{/other_user}","gists_url":"https://api.github.com/users/jkinkead/gists{/gist_id}","starred_url":"https://api.github.com/users/jkinkead/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkinkead/subscriptions","organizations_url":"https://api.github.com/users/jkinkead/orgs","repos_url":"https://api.github.com/users/jkinkead/repos","events_url":"https://api.github.com/users/jkinkead/events{/privacy}","received_events_url":"https://api.github.com/users/jkinkead/received_events","type":"User","site_admin":false},"created_at":"2015-08-27T02:58:20Z","updated_at":"2015-08-27T02:58:20Z","body":"Wouldn't you usually do a minor version for an incompatible-but-similar version? Like 1.1?\r\n\r\nAnyway, I like the idea about moving more to the Locator. I'll play around with it tomorrow!"}}