payload: {"action":"created","comment":{"url":"https://api.github.com/repos/Stratus3D/asdf-lua/pulls/comments/283863159","pull_request_review_id":237327939,"id":283863159,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI4Mzg2MzE1OQ==","diff_hunk":"@@ -1,10 +1,9 @@\n #!/usr/bin/env bash\n \n-source $(dirname $(dirname $(dirname $0)))/.asdf/lib/utils.sh\n-\n plugin_name=\"lua\"\n \n-full_version=$(get_preset_version_for $plugin_name)\n+install_path=\"$(asdf where lua)\"\n+full_version=\"$( echo $install_path | rev | cut -d/ -f1)\"","path":"bin/exec-env","position":9,"original_position":9,"commit_id":"5fa75a81ee13e852ccf0fb740b3ec6bf2a3090ce","original_commit_id":"5fa75a81ee13e852ccf0fb740b3ec6bf2a3090ce","user":{"login":"thepreacher","id":219075,"node_id":"MDQ6VXNlcjIxOTA3NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/219075?v=4","gravatar_id":"","url":"https://api.github.com/users/thepreacher","html_url":"https://github.com/thepreacher","followers_url":"https://api.github.com/users/thepreacher/followers","following_url":"https://api.github.com/users/thepreacher/following{/other_user}","gists_url":"https://api.github.com/users/thepreacher/gists{/gist_id}","starred_url":"https://api.github.com/users/thepreacher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thepreacher/subscriptions","organizations_url":"https://api.github.com/users/thepreacher/orgs","repos_url":"https://api.github.com/users/thepreacher/repos","events_url":"https://api.github.com/users/thepreacher/events{/privacy}","received_events_url":"https://api.github.com/users/thepreacher/received_events","type":"User","site_admin":false},"body":"> This version is backwards. I get `1.3.5` instead of `3.5.1`.\r\n\r\nI suppose you meant `1.5.3` instead of `1.3.5`?. Anyway will have another go at it shortly. Thanks.","created_at":"2019-05-14T15:30:44Z","updated_at":"2019-05-14T15:30:45Z","html_url":"https://github.com/Stratus3D/asdf-lua/pull/7#discussion_r283863159","pull_request_url":"https://api.github.com/repos/Stratus3D/asdf-lua/pulls/7","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Stratus3D/asdf-lua/pulls/comments/283863159"},"html":{"href":"https://github.com/Stratus3D/asdf-lua/pull/7#discussion_r283863159"},"pull_request":{"href":"https://api.github.com/repos/Stratus3D/asdf-lua/pulls/7"}},"in_reply_to_id":283791157},"pull_request":{"url":"https://api.github.com/repos/Stratus3D/asdf-lua/pulls/7","id":278516811,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjc4NTE2ODEx","html_url":"https://github.com/Stratus3D/asdf-lua/pull/7","diff_url":"https://github.com/Stratus3D/asdf-lua/pull/7.diff","patch_url":"https://github.com/Stratus3D/asdf-lua/pull/7.patch","issue_url":"https://api.github.com/repos/Stratus3D/asdf-lua/issues/7","number":7,"state":"open","locked":false,"title":"Updated exec-env to use `asdf where lua`","user":{"login":"thepreacher","id":219075,"node_id":"MDQ6VXNlcjIxOTA3NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/219075?v=4","gravatar_id":"","url":"https://api.github.com/users/thepreacher","html_url":"https://github.com/thepreacher","followers_url":"https://api.github.com/users/thepreacher/followers","following_url":"https://api.github.com/users/thepreacher/following{/other_user}","gists_url":"https://api.github.com/users/thepreacher/gists{/gist_id}","starred_url":"https://api.github.com/users/thepreacher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thepreacher/subscriptions","organizations_url":"https://api.github.com/users/thepreacher/orgs","repos_url":"https://api.github.com/users/thepreacher/repos","events_url":"https://api.github.com/users/thepreacher/events{/privacy}","received_events_url":"https://api.github.com/users/thepreacher/received_events","type":"User","site_admin":false},"body":"So based on your comments from my earlier pull request I decided to have a go at switching `exec-env` to use `asdf where lua` instead of functions from `utils.sh`. Please feel free to make any changes you see fit.","created_at":"2019-05-14T04:38:21Z","updated_at":"2019-05-14T15:30:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f17f357c9e3abf88199f2eee9dca008c1273da63","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Stratus3D/asdf-lua/pulls/7/commits","review_comments_url":"https://api.github.com/repos/Stratus3D/asdf-lua/pulls/7/comments","review_comment_url":"https://api.github.com/repos/Stratus3D/asdf-lua/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Stratus3D/asdf-lua/issues/7/comments","statuses_url":"https://api.github.com/repos/Stratus3D/asdf-lua/statuses/5fa75a81ee13e852ccf0fb740b3ec6bf2a3090ce","head":{"label":"thepreacher:master","ref":"master","sha":"5fa75a81ee13e852ccf0fb740b3ec6bf2a3090ce","user":{"login":"thepreacher","id":219075,"node_id":"MDQ6VXNlcjIxOTA3NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/219075?v=4","gravatar_id":"","url":"https://api.github.com/users/thepreacher","html_url":"https://github.com/thepreacher","followers_url":"https://api.github.com/users/thepreacher/followers","following_url":"https://api.github.com/users/thepreacher/following{/other_user}","gists_url":"https://api.github.com/users/thepreacher/gists{/gist_id}","starred_url":"https://api.github.com/users/thepreacher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thepreacher/subscriptions","organizations_url":"https://api.github.com/users/thepreacher/orgs","repos_url":"https://api.github.com/users/thepreacher/repos","events_url":"https://api.github.com/users/thepreacher/events{/privacy}","received_events_url":"https://api.github.com/users/thepreacher/received_events","type":"User","site_admin":false},"repo":{"id":186389466,"node_id":"MDEwOlJlcG9zaXRvcnkxODYzODk0NjY=","name":"asdf-lua","full_name":"thepreacher/asdf-lua","private":false,"owner":{"login":"thepreacher","id":219075,"node_id":"MDQ6VXNlcjIxOTA3NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/219075?v=4","gravatar_id":"","url":"https://api.github.com/users/thepreacher","html_url":"https://github.com/thepreacher","followers_url":"https://api.github.com/users/thepreacher/followers","following_url":"https://api.github.com/users/thepreacher/following{/other_user}","gists_url":"https://api.github.com/users/thepreacher/gists{/gist_id}","starred_url":"https://api.github.com/users/thepreacher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thepreacher/subscriptions","organizations_url":"https://api.github.com/users/thepreacher/orgs","repos_url":"https://api.github.com/users/thepreacher/repos","events_url":"https://api.github.com/users/thepreacher/events{/privacy}","received_events_url":"https://api.github.com/users/thepreacher/received_events","type":"User","site_admin":false},"html_url":"https://github.com/thepreacher/asdf-lua","description":" Lua plugin for asdf version manager.  https://github.com/asdf-vm/asdf","fork":true,"url":"https://api.github.com/repos/thepreacher/asdf-lua","forks_url":"https://api.github.com/repos/thepreacher/asdf-lua/forks","keys_url":"https://api.github.com/repos/thepreacher/asdf-lua/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thepreacher/asdf-lua/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thepreacher/asdf-lua/teams","hooks_url":"https://api.github.com/repos/thepreacher/asdf-lua/hooks","issue_events_url":"https://api.github.com/repos/thepreacher/asdf-lua/issues/events{/number}","events_url":"https://api.github.com/repos/thepreacher/asdf-lua/events","assignees_url":"https://api.github.com/repos/thepreacher/asdf-lua/assignees{/user}","branches_url":"https://api.github.com/repos/thepreacher/asdf-lua/branches{/branch}","tags_url":"https://api.github.com/repos/thepreacher/asdf-lua/tags","blobs_url":"https://api.github.com/repos/thepreacher/asdf-lua/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thepreacher/asdf-lua/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thepreacher/asdf-lua/git/refs{/sha}","trees_url":"https://api.github.com/repos/thepreacher/asdf-lua/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thepreacher/asdf-lua/statuses/{sha}","languages_url":"https://api.github.com/repos/thepreacher/asdf-lua/languages","stargazers_url":"https://api.github.com/repos/thepreacher/asdf-lua/stargazers","contributors_url":"https://api.github.com/repos/thepreacher/asdf-lua/contributors","subscribers_url":"https://api.github.com/repos/thepreacher/asdf-lua/subscribers","subscription_url":"https://api.github.com/repos/thepreacher/asdf-lua/subscription","commits_url":"https://api.github.com/repos/thepreacher/asdf-lua/commits{/sha}","git_commits_url":"https://api.github.com/repos/thepreacher/asdf-lua/git/commits{/sha}","comments_url":"https://api.github.com/repos/thepreacher/asdf-lua/comments{/number}","issue_comment_url":"https://api.github.com/repos/thepreacher/asdf-lua/issues/comments{/number}","contents_url":"https://api.github.com/repos/thepreacher/asdf-lua/contents/{+path}","compare_url":"https://api.github.com/repos/thepreacher/asdf-lua/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thepreacher/asdf-lua/merges","archive_url":"https://api.github.com/repos/thepreacher/asdf-lua/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thepreacher/asdf-lua/downloads","issues_url":"https://api.github.com/repos/thepreacher/asdf-lua/issues{/number}","pulls_url":"https://api.github.com/repos/thepreacher/asdf-lua/pulls{/number}","milestones_url":"https://api.github.com/repos/thepreacher/asdf-lua/milestones{/number}","notifications_url":"https://api.github.com/repos/thepreacher/asdf-lua/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thepreacher/asdf-lua/labels{/name}","releases_url":"https://api.github.com/repos/thepreacher/asdf-lua/releases{/id}","deployments_url":"https://api.github.com/repos/thepreacher/asdf-lua/deployments","created_at":"2019-05-13T09:34:26Z","updated_at":"2019-05-14T04:34:17Z","pushed_at":"2019-05-14T04:34:15Z","git_url":"git://github.com/thepreacher/asdf-lua.git","ssh_url":"git@github.com:thepreacher/asdf-lua.git","clone_url":"https://github.com/thepreacher/asdf-lua.git","svn_url":"https://github.com/thepreacher/asdf-lua","homepage":"","size":32,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Stratus3D:master","ref":"master","sha":"d81bec510c6f5e9cb6293b5bf3545ca885a13220","user":{"login":"Stratus3D","id":1520926,"node_id":"MDQ6VXNlcjE1MjA5MjY=","avatar_url":"https://avatars1.githubusercontent.com/u/1520926?v=4","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},"repo":{"id":44806205,"node_id":"MDEwOlJlcG9zaXRvcnk0NDgwNjIwNQ==","name":"asdf-lua","full_name":"Stratus3D/asdf-lua","private":false,"owner":{"login":"Stratus3D","id":1520926,"node_id":"MDQ6VXNlcjE1MjA5MjY=","avatar_url":"https://avatars1.githubusercontent.com/u/1520926?v=4","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},"html_url":"https://github.com/Stratus3D/asdf-lua","description":" Lua plugin for asdf version manager.  https://github.com/asdf-vm/asdf","fork":false,"url":"https://api.github.com/repos/Stratus3D/asdf-lua","forks_url":"https://api.github.com/repos/Stratus3D/asdf-lua/forks","keys_url":"https://api.github.com/repos/Stratus3D/asdf-lua/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Stratus3D/asdf-lua/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Stratus3D/asdf-lua/teams","hooks_url":"https://api.github.com/repos/Stratus3D/asdf-lua/hooks","issue_events_url":"https://api.github.com/repos/Stratus3D/asdf-lua/issues/events{/number}","events_url":"https://api.github.com/repos/Stratus3D/asdf-lua/events","assignees_url":"https://api.github.com/repos/Stratus3D/asdf-lua/assignees{/user}","branches_url":"https://api.github.com/repos/Stratus3D/asdf-lua/branches{/branch}","tags_url":"https://api.github.com/repos/Stratus3D/asdf-lua/tags","blobs_url":"https://api.github.com/repos/Stratus3D/asdf-lua/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Stratus3D/asdf-lua/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Stratus3D/asdf-lua/git/refs{/sha}","trees_url":"https://api.github.com/repos/Stratus3D/asdf-lua/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Stratus3D/asdf-lua/statuses/{sha}","languages_url":"https://api.github.com/repos/Stratus3D/asdf-lua/languages","stargazers_url":"https://api.github.com/repos/Stratus3D/asdf-lua/stargazers","contributors_url":"https://api.github.com/repos/Stratus3D/asdf-lua/contributors","subscribers_url":"https://api.github.com/repos/Stratus3D/asdf-lua/subscribers","subscription_url":"https://api.github.com/repos/Stratus3D/asdf-lua/subscription","commits_url":"https://api.github.com/repos/Stratus3D/asdf-lua/commits{/sha}","git_commits_url":"https://api.github.com/repos/Stratus3D/asdf-lua/git/commits{/sha}","comments_url":"https://api.github.com/repos/Stratus3D/asdf-lua/comments{/number}","issue_comment_url":"https://api.github.com/repos/Stratus3D/asdf-lua/issues/comments{/number}","contents_url":"https://api.github.com/repos/Stratus3D/asdf-lua/contents/{+path}","compare_url":"https://api.github.com/repos/Stratus3D/asdf-lua/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Stratus3D/asdf-lua/merges","archive_url":"https://api.github.com/repos/Stratus3D/asdf-lua/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Stratus3D/asdf-lua/downloads","issues_url":"https://api.github.com/repos/Stratus3D/asdf-lua/issues{/number}","pulls_url":"https://api.github.com/repos/Stratus3D/asdf-lua/pulls{/number}","milestones_url":"https://api.github.com/repos/Stratus3D/asdf-lua/milestones{/number}","notifications_url":"https://api.github.com/repos/Stratus3D/asdf-lua/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Stratus3D/asdf-lua/labels{/name}","releases_url":"https://api.github.com/repos/Stratus3D/asdf-lua/releases{/id}","deployments_url":"https://api.github.com/repos/Stratus3D/asdf-lua/deployments","created_at":"2015-10-23T10:26:05Z","updated_at":"2019-05-13T15:03:10Z","pushed_at":"2019-05-14T04:38:22Z","git_url":"git://github.com/Stratus3D/asdf-lua.git","ssh_url":"git@github.com:Stratus3D/asdf-lua.git","clone_url":"https://github.com/Stratus3D/asdf-lua.git","svn_url":"https://github.com/Stratus3D/asdf-lua","homepage":"","size":30,"stargazers_count":11,"watchers_count":11,"language":"Shell","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":6,"open_issues":1,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Stratus3D/asdf-lua/pulls/7"},"html":{"href":"https://github.com/Stratus3D/asdf-lua/pull/7"},"issue":{"href":"https://api.github.com/repos/Stratus3D/asdf-lua/issues/7"},"comments":{"href":"https://api.github.com/repos/Stratus3D/asdf-lua/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/Stratus3D/asdf-lua/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/Stratus3D/asdf-lua/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Stratus3D/asdf-lua/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/Stratus3D/asdf-lua/statuses/5fa75a81ee13e852ccf0fb740b3ec6bf2a3090ce"}},"author_association":"CONTRIBUTOR"}}
other: {"actor":{"display_login":"thepreacher"}}