{"action":"created","issue":{"url":"https://api.github.com/repos/dpapavas/luaprompt/issues/2","labels_url":"https://api.github.com/repos/dpapavas/luaprompt/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/dpapavas/luaprompt/issues/2/comments","events_url":"https://api.github.com/repos/dpapavas/luaprompt/issues/2/events","html_url":"https://github.com/dpapavas/luaprompt/issues/2","id":46902242,"number":2,"title":"add luaprompt to LuaRocks","user":{"login":"starius","id":920155,"avatar_url":"https://avatars.githubusercontent.com/u/920155?v=3","gravatar_id":"","url":"https://api.github.com/users/starius","html_url":"https://github.com/starius","followers_url":"https://api.github.com/users/starius/followers","following_url":"https://api.github.com/users/starius/following{/other_user}","gists_url":"https://api.github.com/users/starius/gists{/gist_id}","starred_url":"https://api.github.com/users/starius/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/starius/subscriptions","organizations_url":"https://api.github.com/users/starius/orgs","repos_url":"https://api.github.com/users/starius/repos","events_url":"https://api.github.com/users/starius/events{/privacy}","received_events_url":"https://api.github.com/users/starius/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2014-10-27T13:03:48Z","updated_at":"2015-06-11T09:31:36Z","closed_at":null,"body":"see http://luarocks.org/en/Creating_a_rock"},"comment":{"url":"https://api.github.com/repos/dpapavas/luaprompt/issues/comments/111063055","html_url":"https://github.com/dpapavas/luaprompt/issues/2#issuecomment-111063055","issue_url":"https://api.github.com/repos/dpapavas/luaprompt/issues/2","id":111063055,"user":{"login":"dpapavas","id":8628011,"avatar_url":"https://avatars.githubusercontent.com/u/8628011?v=3","gravatar_id":"","url":"https://api.github.com/users/dpapavas","html_url":"https://github.com/dpapavas","followers_url":"https://api.github.com/users/dpapavas/followers","following_url":"https://api.github.com/users/dpapavas/following{/other_user}","gists_url":"https://api.github.com/users/dpapavas/gists{/gist_id}","starred_url":"https://api.github.com/users/dpapavas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpapavas/subscriptions","organizations_url":"https://api.github.com/users/dpapavas/orgs","repos_url":"https://api.github.com/users/dpapavas/repos","events_url":"https://api.github.com/users/dpapavas/events{/privacy}","received_events_url":"https://api.github.com/users/dpapavas/received_events","type":"User","site_admin":false},"created_at":"2015-06-11T09:31:36Z","updated_at":"2015-06-11T09:31:36Z","body":"Ok, I made just two more changes:\r\n\r\n1. The `-l` switch didn't set a global variable for versions > 5.1, like `lua` does.  I fixed that and also made sure it's handled before any code is run (it was handled after the `-e` switch).\r\n\r\n2. I added the `interactive` field to the module table, that's true when stdin and stdout are interactive terminals.  This allows `luap` to work correctly when saying `cat foo.lua | lua` without havind to add a `-`.\r\n\r\nThis should be the final version so I'll see about uploading the rock and announcing on the list.  Let me know if you find any problems."}}