pawnbox has quit [Remote host closed the connection]
idev0urer has quit [Ping timeout: 245 seconds]
askn has quit [Client Quit]
<FromGitter>
<iDev0urer> @askn I've been playing around with it and all I've been able to come up with is this ⏎ ```code paste, see link``` ⏎ Records has to be defined in the class and the module isn't allowed to re-define it. Not quite sure why, maybe someone else can pipe in [https://gitter.im/crystal-lang/crystal?at=58153b030e25dbfa1176faca]
<FromGitter>
<luislavena> @askn have you tried using `extended` macro instead?
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<FromGitter>
<carlodicelico> Has anyone had an issue where, when running spec, the tests simply don't run?
<FromGitter>
<carlodicelico> I'm doing crystal spec and instead of the tests running, my app is running
<FromGitter>
<carlodicelico> crystal 0.19.4
<FromGitter>
<luislavena> @carlodicelico what kind of app? is a Kemal one? is the spec doing a `require` that will run your app? (Say a CLI runner for example)
<FromGitter>
<carlodicelico> Well, I'm doing the tutorial in the Crystal for Rubyists book and I have the simple Hello World Kemal app and the generated spec files
<FromGitter>
<carlodicelico> and when I do crystal spec, the kemal app is running and the tests do not
<FromGitter>
<carlodicelico> The spec is not requiring the kemal app, only the spec_helper
bjz has joined #crystal-lang
<FromGitter>
<carlodicelico> ```carlodicelico at Maria in ~/Documents/Source/sample (master●) ⏎ $ crystal spec ⏎ [development] Kemal is ready to lead at http://0.0.0.0:3000```
<FromGitter>
<carlodicelico> well, the Kemal example from the book is still not working but I moved on to the Fizzbuzz chapter and that one didn't work initially, either, until I moved the code block for the div_by_three() function out of the Fizzbuzz module
<FromGitter>
<carlodicelico> so, I think it's something about how I'm referencing it in the test
<FromGitter>
<carlodicelico> yeah... so... when I wrap the block in a module, the test breaks even if I refer to the function the same way I would in Ruby, like `Fizzbuzz.div_by_three(1).should eq(false)`
<FromGitter>
<carlodicelico> this is an awesome project - not so I/O bound as elixir (while addressing some of the same problems), so more general purpose, but more approachable and again more general purpose perhaps than something like Julia
<FromGitter>
<carlodicelico> really cool - excited to see how things develop!
<FromGitter>
<carlodicelico> love the channels :)
<crystal-gh>
[crystal] wmoxam opened pull request #3486: Include amd64 because OpenBSD uses it in its target string (master...fix-openbsd-target) https://git.io/vXL96
<FromGitter>
<johnjansen> @carlodicelico if testing = ENV["testing"] then yes there is a way, or look at macros
crystal-lang754 has joined #crystal-lang
crystal-lang754 has quit [Ping timeout: 260 seconds]
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bjz has joined #crystal-lang
dev0urer has quit [Quit: Konversation terminated!]
dev0urer has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Remote host closed the connection]
<FromGitter>
<John-K> was trying to build crystal on ARMv7 but it seems there is no way of bootstrapping?
<FromGitter>
<John-K> setup is Arch linux on ODROID XU-4
_whitelogger has joined #crystal-lang
dev0urer has quit [Ping timeout: 252 seconds]
<crystal-gh>
[crystal] ysbaddaden pushed 1 new commit to master: https://git.io/vXLNE
<crystal-gh>
crystal/master 5e4e05a Wesley Moxam: Include amd64 because OpenBSD uses it in its target string (#3486)
<FromGitter>
<johnjansen> @sdogruyol Nil is falsy, so that example is not broken (by my reading), bool is the return type, if the case returns at all its a bool
pawnbox has joined #crystal-lang
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]