{"action":"created","issue":{"url":"https://api.github.com/repos/HashNuke/asdf/issues/24","repository_url":"https://api.github.com/repos/HashNuke/asdf","labels_url":"https://api.github.com/repos/HashNuke/asdf/issues/24/labels{/name}","comments_url":"https://api.github.com/repos/HashNuke/asdf/issues/24/comments","events_url":"https://api.github.com/repos/HashNuke/asdf/issues/24/events","html_url":"https://github.com/HashNuke/asdf/pull/24","id":119323509,"number":24,"title":"Add basic support for legacy version files (e.g. .ruby-version)","user":{"login":"Stratus3D","id":1520926,"avatar_url":"https://avatars.githubusercontent.com/u/1520926?v=3","gravatar_id":"","url":"https://api.github.com/users/Stratus3D","html_url":"https://github.com/Stratus3D","followers_url":"https://api.github.com/users/Stratus3D/followers","following_url":"https://api.github.com/users/Stratus3D/following{/other_user}","gists_url":"https://api.github.com/users/Stratus3D/gists{/gist_id}","starred_url":"https://api.github.com/users/Stratus3D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stratus3D/subscriptions","organizations_url":"https://api.github.com/users/Stratus3D/orgs","repos_url":"https://api.github.com/users/Stratus3D/repos","events_url":"https://api.github.com/users/Stratus3D/events{/privacy}","received_events_url":"https://api.github.com/users/Stratus3D/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-11-28T23:03:39Z","updated_at":"2016-02-13T19:11:28Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/HashNuke/asdf/pulls/24","html_url":"https://github.com/HashNuke/asdf/pull/24","diff_url":"https://github.com/HashNuke/asdf/pull/24.diff","patch_url":"https://github.com/HashNuke/asdf/pull/24.patch"},"body":"Add basic support for legacy version files (e.g. .ruby-version) via an optional `get_version_from_legacy_file` script in each plugin.\r\n\r\nQuestions:\r\n* Is it safe to equate plugin name with tool name? Or could there be variation in the tool name? (I make this assumption in the `get_tool_version_from_legacy_file` function).\r\n* Should `get_version_from_legacy_file` be named `get-version-from-legacy-file`? It seems the other \"callback\" scripts use dashes. I'll be happy to change this. I only noticed this after I finished.\r\n\r\nI have manually tested this PR with the updated asdf-ruby plugin on Ubuntu 14.04 and OSX 10.10.5."},"comment":{"url":"https://api.github.com/repos/HashNuke/asdf/issues/comments/183728269","html_url":"https://github.com/HashNuke/asdf/pull/24#issuecomment-183728269","issue_url":"https://api.github.com/repos/HashNuke/asdf/issues/24","id":183728269,"user":{"login":"Stratus3D","id":1520926,"avatar_url":"https://avatars.githubusercontent.com/u/1520926?v=3","gravatar_id":"","url":"https://api.github.com/users/Stratus3D","html_url":"https://github.com/Stratus3D","followers_url":"https://api.github.com/users/Stratus3D/followers","following_url":"https://api.github.com/users/Stratus3D/following{/other_user}","gists_url":"https://api.github.com/users/Stratus3D/gists{/gist_id}","starred_url":"https://api.github.com/users/Stratus3D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Stratus3D/subscriptions","organizations_url":"https://api.github.com/users/Stratus3D/orgs","repos_url":"https://api.github.com/users/Stratus3D/repos","events_url":"https://api.github.com/users/Stratus3D/events{/privacy}","received_events_url":"https://api.github.com/users/Stratus3D/received_events","type":"User","site_admin":false},"created_at":"2016-02-13T19:11:28Z","updated_at":"2016-02-13T19:11:28Z","body":"Made another mistake in the get_tool_version_from_legacy_file function. Just pushed the fix."}}