mark_66 has quit [Remote host closed the connection]
ferbass has joined #crystal-lang
ferbass has quit [Ping timeout: 245 seconds]
HakanD has quit [Quit: Be back later ...]
HakanD has joined #crystal-lang
HakanD has quit [Ping timeout: 252 seconds]
soveran_ has joined #crystal-lang
soveran has quit [Ping timeout: 256 seconds]
HakanD has joined #crystal-lang
A124 has quit [Ping timeout: 244 seconds]
<FromGitter>
<johnjansen> ok guys, i cant find the reference to the magic incantation to make spec run continuously … i seem to remember that its a tilde somewhere in the command
<FromGitter>
<johnjansen> anyone want to remind me
<FromGitter>
<johnjansen> ;-)
A124 has joined #crystal-lang
<FromGitter>
<jwoertink> I think it's just a flick of your wand and "specius runnus" or something like that :p
<Papierkorb>
jadams: the simplest, yet stupidest, command is good ol `watch`
<Papierkorb>
johnjansen: ^
<Papierkorb>
tabbing nicks doesn't work through the bot, sorry j_adams -.-;
<FromGitter>
<jwoertink> there's that too. Just use Guard. lol
<FromGitter>
<johnjansen> @Papierkorb but where does the carat go ;-)
<FromGitter>
<iDev0urer> Has anyone had to implement any kind of XML to Hash or Hash to XML yet?
<FromGitter>
<johnjansen> @iDev0urer do you want to magically convert between the two?
<FromGitter>
<iDev0urer> Not necessarily magically, but it would be nice if there was an `XML.mapping` macro like there is for JSON. Very few languages have an easy way to convert between a key-value structure and XML
<FromGitter>
<iDev0urer> Rust is one of the few that I've found
<crystal-gh>
[crystal] ggiraldez opened pull request #3469: Fixes and improvements for debugging output (master...feature/improve-debugging) https://git.io/vPApp
HakanD has joined #crystal-lang
HakanD has quit [Ping timeout: 244 seconds]
kulelu88 has joined #crystal-lang
HakanD has joined #crystal-lang
<FromGitter>
<raydf> @iDev0urer, the xml libs in crystal works ok, there's only the need to create the xml mapping. Also you could use SOAPUI for creating the proxy classes and parse the returning xml.
<FromGitter>
<raydf> Parse the returning xml with crystal std lib.
<FromGitter>
<raydf> I'll recommend you to stay away from the namespace handling of libxml, for the current version, i had a lot of trouble with this library.
<FromGitter>
<sdogruyol> Well I heavily use standard xml stuff for soap
<FromGitter>
<sdogruyol> It's good
HakanD_ has joined #crystal-lang
HakanD has quit [Ping timeout: 265 seconds]
<FromGitter>
<iDev0urer> @raydf I'm not sure I understand what you bean by using SOAPUI to create proxy classes
Raimondi has quit [Ping timeout: 260 seconds]
Raimondi has joined #crystal-lang
HakanD_ has quit [Read error: Connection reset by peer]
HakanD_ has joined #crystal-lang
ferbass has joined #crystal-lang
ferbass has quit [Ping timeout: 245 seconds]
dhk_ has quit [Quit: Leaving]
kochev has quit [Remote host closed the connection]
<FromGitter>
<raydf> soapui can create the request xml and a mock for the response based on wsdl
<FromGitter>
<raydf> but if you have a testing salesforce environment you'll be able to develop faster.
<FromGitter>
<raydf> try this tool and you'll be able to generate the http client request with crystal std lib HTTP::Client
<FromGitter>
<raydf> the response from the io you could parse it with std libxml and using xpath (didn't work correctly for me) or parsing with nested loops for traversing the nodes.
ferbass has quit []
<FromGitter>
<jwoertink> Is there a way to suppress the stack trace when throwing an error? Or would the alternative be to just do a `puts` followed by `exit(1)`?
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pawnbox has quit [Remote host closed the connection]
Nik736 has joined #crystal-lang
bjz has joined #crystal-lang
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bjz has joined #crystal-lang
soveran has joined #crystal-lang
bjz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<FromGitter>
<johnjansen> @jwoertink do you mean inside a rescue
<FromGitter>
<johnjansen> ??
<FromGitter>
<jwoertink> no
<FromGitter>
<jwoertink> I mean something like ```
<FromGitter>
<jwoertink> Is it possible for specs to become "stuck" as in when running them, regardless of the changes you make, the output is the same?
<FromGitter>
<jwoertink> If so, is there a way to "unstick" them? lol
soveran has quit [Remote host closed the connection]
<FromGitter>
<johnjansen> if you are editing the wrong file, yes ;-)
<FromGitter>
<johnjansen> ive done that a lot, renaming files or moving them, then editing the one in my editor, not the *new* one
<FromGitter>
<jwoertink> lol. I swear this has to be a pebcak issue, but I'm just not seeing it. All my specs were passing. I made a few changes, and now I get an uninitialized constant error. Rolled back my changes, and it's still there
<FromGitter>
<johnjansen> sorry man, its all yours ;-)
<FromGitter>
<jwoertink> I think I just need to `reset --hard HEAD` and start over ~_~
<FromGitter>
<johnjansen> thats what i’d do, but stash anything you want first
<FromGitter>
<jwoertink> ah, good call
<FromGitter>
<johnjansen> what feature are you working on ATM @jwoertink
<FromGitter>
<jwoertink> I'm reorganizing the codebase a bit. Once it's all cleaned up, then I want to start working on making fez able to generate an API
<FromGitter>
<johnjansen> nice
<FromGitter>
<jwoertink> A kemal app without all the views, and setup more for API stuff
<FromGitter>
<johnjansen> you should ticket it all in github issues and then others (incl. me) can pick up ticket and work them
<FromGitter>
<johnjansen> the current ONE is a little broad ;-)
<FromGitter>
<jwoertink> I actually have it all in the project folder
<FromGitter>
<jwoertink> Is there a built in way to do defaults in `OptionParser` aside from defining the default in a separate variable, and overriding it?
ponga has quit [*.net *.split]
badeball has quit [*.net *.split]
Majost has quit [*.net *.split]
jhass has quit [*.net *.split]
hmans has quit [*.net *.split]
aarongodin has quit [*.net *.split]
grindhold has quit [*.net *.split]
Liothen has joined #crystal-lang
Liothen has quit [*.net *.split]
_whitelogger has quit [Excess Flood]
_whitelogger_ has joined #crystal-lang
<FromGitter>
<johnjansen> if all the values are the same type, then a hash would do
<FromGitter>
<johnjansen> otherwise you can define an actual class for BlahOptions
<FromGitter>
<johnjansen> id avoid a hash with union type values personally
soveran has joined #crystal-lang
soveran has joined #crystal-lang
soveran has quit [Changing host]
Majost has joined #crystal-lang
<FromGitter>
<johnjansen> @jwoertink have you ever tried subclassing String