jhass changed the topic of #crystal-lang to: The Crystal programming language | http://crystal-lang.org | Crystal 0.10.1 | Fund Crystals development: http://is.gd/X7PRtI | Paste > 3 lines of text to https://gist.github.com | GH: https://github.com/manastech/crystal | Docs: http://crystal-lang.org/docs/ | API: http://crystal-lang.org/api/ | Logs: http://irclog.whitequark.org/crystal-lang
tomchapin has joined #crystal-lang
luislavena has quit [Quit: Leaving]
shama has quit [Quit: (╯°□°)╯︵ɐɯɐɥs]
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Philpax has joined #crystal-lang
jamie_ca has quit [Quit: ZNC - http://znc.in]
Regexident has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Regexident has joined #crystal-lang
pawnbox_ has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 240 seconds]
jamie_ca has joined #crystal-lang
nakilon has joined #crystal-lang
nakilon has quit [Ping timeout: 264 seconds]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 264 seconds]
waterlin1 has joined #crystal-lang
waterlink has quit [Ping timeout: 256 seconds]
_whitelogger_ has joined #crystal-lang
Regexident has quit [Quit: Textual IRC Client: www.textualapp.com]
shadeslayer has joined #crystal-lang
shadeslayer_ has quit [*.net *.split]
mlitwiniuk has quit [*.net *.split]
salvor has quit [*.net *.split]
Veejay has quit [*.net *.split]
irclogger_______ has quit [*.net *.split]
pragmatism has quit [*.net *.split]
irclogger_______ has joined #crystal-lang
akwiatkowski has joined #crystal-lang
Veejay has joined #crystal-lang
pragmatism has joined #crystal-lang
salvor has joined #crystal-lang
mlitwiniuk has joined #crystal-lang
nakilon has joined #crystal-lang
nakilon has quit [Ping timeout: 255 seconds]
akwiatkowski has quit [Ping timeout: 246 seconds]
rkeene has quit [Quit: -.0) (BRB]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 276 seconds]
_whitelogger has joined #crystal-lang
nakilon has joined #crystal-lang
slash_nick is now known as slash_whowas
nakilon has quit [Ping timeout: 260 seconds]
bjz has joined #crystal-lang
bjz has quit [Client Quit]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 272 seconds]
Raimondi has quit [Read error: Connection reset by peer]
Raimondi has joined #crystal-lang
tliff has quit [Ping timeout: 260 seconds]
tliff has joined #crystal-lang
fowlduck has quit [Remote host closed the connection]
waterlin1 has quit [Ping timeout: 265 seconds]
nakilon has joined #crystal-lang
nakilon has quit [Ping timeout: 265 seconds]
ponga has joined #crystal-lang
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 276 seconds]
akwiatkowski has joined #crystal-lang
pawnbox has joined #crystal-lang
<crystal-gh> [crystal] arktisklada opened pull request #2000: Dir class code documentation updates (master...documenting-dir) http://git.io/vuQbA
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #crystal-lang
nakilon has joined #crystal-lang
nakilon has quit [Ping timeout: 260 seconds]
<ponga> hey
akwiatkowski has quit [Ping timeout: 246 seconds]
trapped has joined #crystal-lang
globalkeith has joined #crystal-lang
praveen has joined #crystal-lang
praveen has quit [Remote host closed the connection]
praveen has joined #crystal-lang
apotheon has quit [Ping timeout: 250 seconds]
apotheon has joined #crystal-lang
praveen has quit [Remote host closed the connection]
praveen has joined #crystal-lang
praveen has quit [Ping timeout: 240 seconds]
trapped has quit [Ping timeout: 256 seconds]
praveen has joined #crystal-lang
praveen has quit [Remote host closed the connection]
praveen has joined #crystal-lang
praveen has quit [Remote host closed the connection]
praveen has joined #crystal-lang
praveen has quit [Remote host closed the connection]
praveen has joined #crystal-lang
trapped_ has joined #crystal-lang
ponga has quit [Quit: Connection closed for inactivity]
trapped_ is now known as trapped
Philpax has quit [Ping timeout: 256 seconds]
praveen has quit [Remote host closed the connection]
brunto has joined #crystal-lang
praveen has joined #crystal-lang
praveen has quit [Ping timeout: 256 seconds]
waterlink has joined #crystal-lang
<pawnbox> How do i pass crystal versions inside .tavis.yml .
praveen has joined #crystal-lang
<pawnbox> Anyone up?
greengriminal has joined #crystal-lang
trapped has quit [Read error: Connection reset by peer]
trapped has joined #crystal-lang
<pawnbox> nevermind
slash_whowas is now known as slash_nick
<crystal-gh> [crystal] asterite pushed 2 new commits to master: http://git.io/vu5pj
<crystal-gh> crystal/master 961fdae arktisklada: Dir class code documentation
<crystal-gh> crystal/master 4e85fbc Ary Borenszweig: Merge pull request #2000 from arktisklada/documenting-dir...
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
brunto has quit [Ping timeout: 272 seconds]
brunto has joined #crystal-lang
maneco has joined #crystal-lang
<travis-ci> manastech/crystal#4e85fbc (master - Merge pull request #2000 from arktisklada/documenting-dir): The build passed. https://travis-ci.org/manastech/crystal/builds/101290598
<DeBot> https://github.com/manastech/crystal/pull/2000 (Dir class code documentation updates)
trapped has joined #crystal-lang
arktisklada has joined #crystal-lang
arktisklada has quit [Remote host closed the connection]
arktisklada has joined #crystal-lang
arktisklada has quit [Remote host closed the connection]
arktisklada has joined #crystal-lang
arktisklada has quit [Remote host closed the connection]
greengriminal has quit [Quit: Leaving]
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
akwiatkowski has joined #crystal-lang
<pawnbox> Anyone up?
<pawnbox> Can travis be given a version to run on. In travis docs it only take nightly and release options.
<pawnbox> ?
<pawnbox> *says
<BlaXpirit> pawnbox, i dont think so
trapped has joined #crystal-lang
nakilon has joined #crystal-lang
brunto has quit [Ping timeout: 260 seconds]
HakanD has joined #crystal-lang
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
trapped has joined #crystal-lang
<pawnbox> BlaXpirit: I have a build failing because of bug in spec2. Travis runs the last release build(0.10.1) by default. My tests are running fine on 0.10.0 .
<pawnbox> I thought if i could pass build version maybe i could bypass that scenario.
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
trapped has joined #crystal-lang
apotheon has quit [Ping timeout: 260 seconds]
akwiatkowski has quit [Ping timeout: 246 seconds]
apotheon has joined #crystal-lang
brunto has joined #crystal-lang
maneco has left #crystal-lang ["WeeChat 1.3"]
trapped has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ton31337> undefined method 'each' for String (compile-time type is (String | Int32 | Array(String)))
<BlaXpirit> ton31337,
<BlaXpirit> I think you're taking a wrong approach
<BlaXpirit> why use this hash in the first place?
<BlaXpirit> and you're not giving the relevant code
<ton31337> I want to merge user defined variables with 'defaults'
<BlaXpirit> the error here is iterating over a string is not a defined
<BlaXpirit> you can have each character of a string or each byte
<BlaXpirit> ton31337, so use string.chars.each
<BlaXpirit> or each_char may be better (if that's a thing)
HakanD has quit [Quit: Be back later ...]
<ton31337> BlaXpirit: but I have type of Array(String) if you look at https://gist.github.com/ton31337/faf825683c36e2cac999
<ton31337> "types"
<BlaXpirit> ok so?
<ton31337> why I can't iterate over @settings["types"].each ?
<BlaXpirit> ton31337, because its type is String|Int16|Array(String)
<BlaXpirit> Int16.each makes no sense, String.each is undefined
<ton31337> ah..
<BlaXpirit> ton31337, have you read through all of the documentation or still just trying random stuff because you know ruby?
<ton31337> BlaXpirit: actually the second one
<BlaXpirit> well it's easy to notice and it annoys me unreasonably
<ton31337> sorry
<BlaXpirit> ton31337, so you see a Hash doesn't work for this kind of stuff
<ton31337> got it
<BlaXpirit> i mean you could add workarounds, asserting the type but then you may get runtime errors if some other type gets in there
<BlaXpirit> but I'm having trouble coming up with a good alternative
<BlaXpirit> in the simple case it should just be def initialize(host = "127.0.0.1", port = "6379", types = ["A", "AAAA"])
<BlaXpirit> >> def initialize(host = "127.0.0.1", port = 6379, types = ["A", "AAAA"]); end; initialize(port: 6379) # ton31337
<DeBot> BlaXpirit: # => nil - https://carc.in/#/r/pim
<ton31337> hm, looks good, let me check
praveen has quit [Remote host closed the connection]
<ton31337> BlaXpirit: great
praveen has joined #crystal-lang
praveen has quit [Ping timeout: 245 seconds]
brunto has quit [Quit: Lost terminal]
pawnbox has quit [Remote host closed the connection]
Guest70 has joined #crystal-lang
Guest70 has quit [Client Quit]
pawnbox has joined #crystal-lang
pawnbox has quit [Ping timeout: 250 seconds]
fowlduck has joined #crystal-lang
pawnbox has joined #crystal-lang
trapped has joined #crystal-lang
pawnbox has quit [Ping timeout: 246 seconds]
trapped has quit [Quit: Textual IRC Client: www.textualapp.com]