{"action":"created","issue":{"url":"https://api.github.com/repos/daurnimator/lpeg_patterns/issues/1","labels_url":"https://api.github.com/repos/daurnimator/lpeg_patterns/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/daurnimator/lpeg_patterns/issues/1/comments","events_url":"https://api.github.com/repos/daurnimator/lpeg_patterns/issues/1/events","html_url":"https://github.com/daurnimator/lpeg_patterns/pull/1","id":89820291,"number":1,"title":"missing requires","user":{"login":"davidbirdsong","id":407603,"avatar_url":"https://avatars.githubusercontent.com/u/407603?v=3","gravatar_id":"","url":"https://api.github.com/users/davidbirdsong","html_url":"https://github.com/davidbirdsong","followers_url":"https://api.github.com/users/davidbirdsong/followers","following_url":"https://api.github.com/users/davidbirdsong/following{/other_user}","gists_url":"https://api.github.com/users/davidbirdsong/gists{/gist_id}","starred_url":"https://api.github.com/users/davidbirdsong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidbirdsong/subscriptions","organizations_url":"https://api.github.com/users/davidbirdsong/orgs","repos_url":"https://api.github.com/users/davidbirdsong/repos","events_url":"https://api.github.com/users/davidbirdsong/events{/privacy}","received_events_url":"https://api.github.com/users/davidbirdsong/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-20T21:28:55Z","updated_at":"2015-06-21T04:09:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/daurnimator/lpeg_patterns/pulls/1","html_url":"https://github.com/daurnimator/lpeg_patterns/pull/1","diff_url":"https://github.com/daurnimator/lpeg_patterns/pull/1.diff","patch_url":"https://github.com/daurnimator/lpeg_patterns/pull/1.patch"},"body":"i might be missing something or installing differently since i'm not using rocks.\r\n\r\nany objections to explicitly requiring these? perhaps they were included in your global namespace somehow?"},"comment":{"url":"https://api.github.com/repos/daurnimator/lpeg_patterns/issues/comments/113862261","html_url":"https://github.com/daurnimator/lpeg_patterns/pull/1#issuecomment-113862261","issue_url":"https://api.github.com/repos/daurnimator/lpeg_patterns/issues/1","id":113862261,"user":{"login":"daurnimator","id":127971,"avatar_url":"https://avatars.githubusercontent.com/u/127971?v=3","gravatar_id":"","url":"https://api.github.com/users/daurnimator","html_url":"https://github.com/daurnimator","followers_url":"https://api.github.com/users/daurnimator/followers","following_url":"https://api.github.com/users/daurnimator/following{/other_user}","gists_url":"https://api.github.com/users/daurnimator/gists{/gist_id}","starred_url":"https://api.github.com/users/daurnimator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daurnimator/subscriptions","organizations_url":"https://api.github.com/users/daurnimator/orgs","repos_url":"https://api.github.com/users/daurnimator/repos","events_url":"https://api.github.com/users/daurnimator/events{/privacy}","received_events_url":"https://api.github.com/users/daurnimator/received_events","type":"User","site_admin":false},"created_at":"2015-06-21T04:09:54Z","updated_at":"2015-06-21T04:09:54Z","body":"> https://github.com/mozilla-services/lua_sandbox which runs inside of heka:\r\n\r\nAs noted at https://github.com/mozilla-services/lua_sandbox#functions-exposed-to-lua-by-the-core-sandbox\r\n\r\n>base library\r\n> The require() function has been modified to not expose any of the package table to the sandbox.\r\n\r\nI don't want to support non-standard lua environments.\r\n\r\nI'd suggest you simply do what they didn't, and register `table`, `string`, `math`, etc. into the global environment.\r\n```lua\r\n_G.table = require \"table\"\r\n_G.string = require \"string\"\r\nlocal lpeg_uri = require \"lpeg_patterns.uri\"\r\n```"}}