Jay Hayes
1f4f82ea53
Add parens around Enum.each/2
2016-04-27 15:53:37 -05:00
Felipe Sere
a5c3d910a7
Use heredoc-style for longer blocks of text in Display
2016-04-27 21:12:13 +01:00
Felipe Sere
fb56540193
Remove the last exit from Display
2016-04-27 21:06:26 +01:00
Felipe Sere
b01727f9b8
Extract colours into their own little module
2016-04-27 21:04:31 +01:00
Jay Hayes
c621c1abaa
Assert the results of all koans tests
2016-04-27 12:15:26 -05:00
Jay Hayes
39f09e5c30
Handle errors in tests functions as well
...
This allows failures to be passed back to the parent rather than the
koan process just dying and the parent stuck waiting for the result.
2016-04-27 12:14:25 -05:00
Uku Taht
527b5ea028
Merge pull request #77 from iamvery/exit-on-completion
...
Congratulate and exit when koans are complete
2016-04-27 10:27:44 +01:00
Jay Hayes
814d3db995
Refactor Tracker get/0 and summarize/0
2016-04-26 18:16:17 -05:00
Jay Hayes
93c41d6ced
Move explicit exit out of display function
2016-04-26 18:10:16 -05:00
Jay Hayes
9b65177e17
Pin variable in match
...
This prevents accepting messages accidentally for another dying process.
2016-04-26 17:43:11 -05:00
Jay Hayes
6ae1cae4b8
Congratulate when koans are complete
2016-04-26 17:35:31 -05:00
Jay Hayes
7903923e36
Implement congratulation display
2016-04-26 17:30:41 -05:00
Jay Hayes
11f3560a2b
Monitor watcher and wait for it to exit
...
This allows the parent process to exit when the watcher completes the
full koan run.
2016-04-26 17:30:23 -05:00
Uku Taht
385ab0e236
Merge pull request #80 from elixirkoans/add-a-progress-bar
...
Add a progress bar
2016-04-26 23:28:44 +01:00
Felipe Seré
45a0801f4b
Merge pull request #88 from iamvery/test-agents
...
Add test for agents koans
2016-04-26 23:25:00 +01:00
Felipe Sere
0ed061f96f
Error out early if invalid paramter is provided.
2016-04-26 23:20:20 +01:00
Jay Hayes
cd4f7c755d
Add test for agents koans
2016-04-26 17:09:16 -05:00
Felipe Sere
eaf55ba897
Silence warning about unused paramters
2016-04-26 23:06:05 +01:00
Felipe Sere
135fc055ca
Remove "Considering..." line
2016-04-26 23:06:05 +01:00
Felipe Sere
1357235f8a
Incorporate feedback about usued elements and typos
2016-04-26 23:06:05 +01:00
Felipe Sere
ab72b0e908
Simpler progressbar and handle --koan=<KOAN> better
2016-04-26 23:06:05 +01:00
Felipe Sere
2b2240340e
Add a progress bar that also displays the number of koans.
2016-04-26 23:06:05 +01:00
Felipe Sere
1625ef7d99
Hook tracker into Execute module via hook
2016-04-26 23:06:05 +01:00
Felipe Sere
c9ee4dbae0
Add an agent to keep track of completed koans
2016-04-26 23:06:05 +01:00
Uku Taht
143040c0a0
Merge pull request #87 from iamvery/fail-with-missing-answers
...
Error is raised if an answer isn't provided for each koan
2016-04-26 22:55:02 +01:00
Jay Hayes
a24e179472
Error is raised if an answer isn't provided for each koan
2016-04-26 16:40:52 -05:00
Uku Taht
937cc28d0f
Merge pull request #86 from Troush/structs-safe-fetch
...
Map.fetch! -> Map.fetch in 06_structs.ex
2016-04-26 19:21:22 +01:00
Alex
b69010d05c
Map.fetch! -> Map.fetch
...
I think is better to continue use safe ```Map.fetch``` until we familiarize users with dangerous function concept.
Not every body comes from ruby background, with knowledge of ```?``` and ```!``` function notations.
test ifx
2016-04-26 21:16:43 +03:00
Felipe Seré
a8784b5349
Merge pull request #85 from elixirkoans/clarify-strict-matching
...
Attempt clarifying the pin operator
2016-04-26 14:08:04 +01:00
Uku Taht
30dcdd5efe
Move blank in pin operator koan
2016-04-26 13:32:33 +01:00
Uku Taht
da60424d7e
Merge pull request #83 from RabeaGleissner/update-instructions
...
Updates to Readme
2016-04-26 13:05:36 +01:00
Uku Taht
353ce95a1a
Attempt clarifying the pin operator
2016-04-26 13:03:46 +01:00
Uku Taht
2aeccdd8f7
Merge pull request #84 from RabeaGleissner/new-pattern-matching-koan
...
Additions to pattern matching koans
2016-04-26 12:51:17 +01:00
Rabea Gleissner
72048db01f
Fixes typo
2016-04-26 12:31:45 +01:00
Rabea Gleissner
919b877d51
Makes changing pattern more obvious
2016-04-26 12:24:57 +01:00
Rabea Gleissner
9ec6089bde
Add new koan for anonymous functions with pattern matching
2016-04-26 12:07:45 +01:00
Rabea Gleissner
f674db1f70
updates Readme
2016-04-26 10:40:10 +01:00
Felipe Seré
bf1cf2a155
Merge pull request #82 from Zanadar/zm-pipe-is-cons
...
Struct koans now calls '|' operator by correct name: 'cons'
2016-04-26 07:00:37 +01:00
Zander Mackie
d1c7a179f6
Struct koans now calls '|' operator by correct name: 'cons'
2016-04-25 17:54:59 -04:00
Uku Taht
162fec6731
Update travis badge
2016-04-25 09:40:10 +01:00
Uku Taht
41bd2c5a21
Merge pull request #81 from iamvery/refactor-tests
...
Refactor blanks tests
2016-04-25 08:57:51 +01:00
Jay Hayes
c894641106
Remove unneeded element from match
...
Maps support partial matching, no need to include a key for an unneeded
value.
2016-04-24 23:11:34 -05:00
Jay Hayes
4a42e78e63
whitespace
2016-04-24 23:08:15 -05:00
Jay Hayes
fcff0af7b2
Removed unneeded test harness macro
2016-04-24 23:08:06 -05:00
Jay Hayes
b4fb404aff
Quote expressions instead of hand-writing them
...
This makes it much easier to grok.
2016-04-24 22:58:26 -05:00
Jay Hayes
8a706846d3
Remove unused functions
2016-04-24 22:58:01 -05:00
Felipe Seré
cb560d6815
Merge pull request #76 from elixirkoans/remove-blank-assertions
...
Remove BlankAssertions
2016-04-24 15:14:24 +01:00
Felipe Seré
fcb45c78da
Merge pull request #78 from iamvery/trailing-commas
...
Add trailing commas to multi-line lists and maps
2016-04-24 10:44:14 +01:00
Felipe Seré
1a17eb5db8
Merge pull request #79 from fabientownsend/master
...
Modify lists and maps style
2016-04-24 10:40:10 +01:00
fabien townsend
ca1bd36322
Modify lists and maps style
2016-04-24 10:18:57 +02:00