{"action":"created","issue":{"url":"https://api.github.com/repos/meew0/discordcr/issues/135","repository_url":"https://api.github.com/repos/meew0/discordcr","labels_url":"https://api.github.com/repos/meew0/discordcr/issues/135/labels{/name}","comments_url":"https://api.github.com/repos/meew0/discordcr/issues/135/comments","events_url":"https://api.github.com/repos/meew0/discordcr/issues/135/events","html_url":"https://github.com/meew0/discordcr/issues/135","id":321398435,"number":135,"title":"Update pong example to reflect changes to crystal","user":{"login":"gnations56","id":14223828,"avatar_url":"https://avatars0.githubusercontent.com/u/14223828?v=4","gravatar_id":"","url":"https://api.github.com/users/gnations56","html_url":"https://github.com/gnations56","followers_url":"https://api.github.com/users/gnations56/followers","following_url":"https://api.github.com/users/gnations56/following{/other_user}","gists_url":"https://api.github.com/users/gnations56/gists{/gist_id}","starred_url":"https://api.github.com/users/gnations56/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gnations56/subscriptions","organizations_url":"https://api.github.com/users/gnations56/orgs","repos_url":"https://api.github.com/users/gnations56/repos","events_url":"https://api.github.com/users/gnations56/events{/privacy}","received_events_url":"https://api.github.com/users/gnations56/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-09T01:20:30Z","updated_at":"2018-05-09T03:06:48Z","closed_at":null,"author_association":"NONE","body":"in the ping example, the require line no longer works.\r\nI have gotten this require to work: require \"../lib/discordcr/src/discordcr\"\r\nthe change in shard install location is detailed in issue #3897 on the crystal github repo\r\n"},"comment":{"url":"https://api.github.com/repos/meew0/discordcr/issues/comments/387606315","html_url":"https://github.com/meew0/discordcr/issues/135#issuecomment-387606315","issue_url":"https://api.github.com/repos/meew0/discordcr/issues/135","id":387606315,"user":{"login":"z64","id":6119032,"avatar_url":"https://avatars0.githubusercontent.com/u/6119032?v=4","gravatar_id":"","url":"https://api.github.com/users/z64","html_url":"https://github.com/z64","followers_url":"https://api.github.com/users/z64/followers","following_url":"https://api.github.com/users/z64/following{/other_user}","gists_url":"https://api.github.com/users/z64/gists{/gist_id}","starred_url":"https://api.github.com/users/z64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/z64/subscriptions","organizations_url":"https://api.github.com/users/z64/orgs","repos_url":"https://api.github.com/users/z64/repos","events_url":"https://api.github.com/users/z64/events{/privacy}","received_events_url":"https://api.github.com/users/z64/received_events","type":"User","site_admin":false},"created_at":"2018-05-09T03:06:48Z","updated_at":"2018-05-09T03:06:48Z","author_association":"CONTRIBUTOR","body":"The examples in this repo have `require \"../src/discordcr\"` because they are compiled with the library itself as part of our CI, `.travis.yml`:\r\n```yaml\r\n  - find examples -name \"*.cr\" | xargs -L 1 crystal build --no-codegen\r\n```\r\nThat is, they are not examples you can copy/paste and just have work. You must change `require \"../src/discordcr\"` to `require \"discordcr\"` yourself. It's done the way it is so that our testing service (Travis CI) will tell us if we do something to break those examples."}}
{"actor":{"display_login":"z64"}}