Commit Graph

591 Commits

Author SHA1 Message Date
Jay Hayes
f393c26760 Merge pull request #263 from listx/stricter-watching
be stricter about which files to watch
2021-07-20 20:38:07 -05:00
Linus Arver
a7ee27262f be stricter about which files to watch
Things like flycheck-elixir in Emacs can create temporary files in the
same directory as the upstream files that contain the koans, with a
"flycheck_" prefix but still ending in ".ex". This change makes it so
that we skip such files.
2021-07-20 12:06:12 -07:00
Uku Taht
cfa6f4b696 Merge pull request #260 from parkerd/update-file_system
Update file_system
2021-03-23 09:41:33 +02:00
Parker DeBardelaben
e446d3ed99 Update file_system 2021-03-22 12:33:16 -04:00
Jay Hayes
0f97f4ca03 Merge pull request #255 from jechol/enhance/map_sets
Remove Enum.fetch usage for MapSet
2020-11-09 09:14:49 -06:00
Uku Taht
62c81d0b3f Merge pull request #256 from jechol/enhance/protocol
Change protocol examples
2020-11-09 10:30:46 +02:00
Jechol Lee
93c490cd59 Change protocol examples 2020-09-23 17:43:34 +09:00
Jechol Lee
fe81c4cdda Remove Enum.fetch usage for MapSet 2020-09-23 14:03:51 +09:00
Uku Taht
34000e5eaa Merge pull request #253 from foucist/master
Fix deprecation warnings
2020-08-19 09:46:33 +03:00
James Robey
a2db428c21 Fix deprecated option for OptionParser warning 2020-08-19 12:51:21 +07:00
James Robey
cd9088a8f0 Fix warning for deprecated Range.range?/1 2020-08-19 12:36:40 +07:00
Uku Taht
cbb8c37d27 Merge pull request #252 from foucist/master
Mismatch on koan description and assertion in 07_keyword_lists
2020-08-18 10:28:07 +03:00
James Robey
0203181054 remove duplication of struct defaults 2020-08-18 10:51:05 +07:00
James Robey
b06951ef9d Fixing mismatch in koan description and assertion 2020-08-18 10:47:45 +07:00
Jay Hayes
4ff2490745 Merge pull request #251 from kknives/master
Change usage of System.stacktrace into __STACKTRACE__ and make tests pass
2020-06-10 06:40:42 -05:00
Shashwat Ganesh
f999d6c573 Update the comprehensions test to match the actual koan 2020-06-04 22:55:14 +05:30
Shashwat Ganesh
0681f5df22 Tests should provide valid error parameters 2020-06-04 22:54:18 +05:30
Shashwat Ganesh
8e8efd8def Move from System.stacktrace to __STACKTRACE__ 2020-06-04 22:52:32 +05:30
Uku Taht
74532749a3 Merge pull request #248 from selfsimilar/forinto
Use Collectable protocol with an empty map
2020-01-10 14:03:28 +02:00
Colin Sheaff
8887dbab1e Use Collectable protocol with an empty map 2020-01-09 22:08:39 -06:00
Uku Taht
de8f1f800f Merge pull request #247 from selfsimilar/trailingcr
Remove Windows-style carriage returns from line endings
2020-01-09 13:45:26 +02:00
Colin Sheaff
b443e87707 Remove Windows-style carriage returns from line endings 2020-01-08 14:38:16 -06:00
Felipe Seré
2db7a6545f Merge pull request #239 from jfharden/fix-dockerised-version
Mount only the koans directory, not the whole project
2019-10-12 11:06:41 +02:00
Felipe Seré
b7c0fcefc0 Merge pull request #241 from clupprich/add-clone-instructions-to-readme
Add cloning the repo as a first step to the README
2019-07-03 09:54:05 +01:00
Christoph Lupprich
d691e31606 Add cloning the repo as a first step to the README 2019-07-03 10:49:58 +02:00
Jonathan Harden
5778192906 Mount only the koans directory, not the whole project 2019-06-10 14:18:04 +01:00
Jay Hayes
ba7b29e760 Merge pull request #238 from lucaskunzler/master
Fix typo
2019-05-28 09:16:08 -05:00
Lucas Kunzler
aeaf0a72b2 typofix 2019-05-27 17:10:14 +01:00
Jay Hayes
7c865e3427 Merge pull request #237 from elixirkoans/fix-gen-server-koans
Remove duplicative koan
2019-04-01 15:56:10 -05:00
Jay Hayes
1d0cf88521 Remove duplicative koan
This truth is self-evident from the other koans.
2019-04-01 11:56:38 -05:00
Jay Hayes
d79e65cd82 Fix typo
h/t @agseijas

[closes #233]
2019-01-07 09:03:33 -06:00
Felipe Sere
0f72a98444 ljust is being deprecated 2019-01-05 11:14:54 +00:00
Felipe Sere
82b4eb1766 Squash warnings about missing inits 2019-01-05 11:12:39 +00:00
Felipe Seré
5e5d6bcf8b Merge pull request #232 from elixirkoans/iamvery/make-code-loading-portable
Make code loading compatible and deprecation free on old and new elixirs
2019-01-04 16:02:45 +00:00
Jay Hayes
5d4f97a854 Make code loading compatible and deprecation free on old and new elixirs 2019-01-04 08:57:15 -06:00
Felipe Sere
6c53c51fed Track newer version of Elixir and Erlang 2019-01-01 10:52:41 +00:00
Felipe Seré
511529cdb4 Merge pull request #204 from denheck/master
Koans for Docker users
2019-01-01 10:51:05 +00:00
Felipe Seré
53fde9ec4b Merge pull request #229 from elixirkoans/replace-deprecated-function
Replace deprecated call to Code.load_file/1
2018-12-06 17:02:55 +00:00
Jay Hayes
8c0c314e78 Replace deprecated call to Code.load_file/1
This function was replaced by Code.compile_file/1 and is deprecated with
planned removal in 1.9.

See: https://github.com/elixir-lang/elixir/pull/7201
2018-12-06 07:50:32 -06:00
Uku Taht
f2cf318b1d Merge pull request #227 from RobertLowe/patch-1
Fixes Watcher/Autorunner for some editors (ex: TextMate)
2018-12-03 14:42:03 +00:00
Robert Lowe
fc82479489 Fixes Watcher/Autorunner for some editors (ex: TextMate)
Fixes Watcher/Autorunner for some editors (ex: TextMate)
2018-12-02 20:55:55 -05:00
Felipe Seré
17a66662df Merge pull request #225 from s-oram/special_forms
Add new koans for comprehensions
2018-09-02 11:39:28 +01:00
Shannon Oram
9ee4cbec48 Modify koans and descriptions 2018-09-02 20:36:25 +10:00
Shannon Oram
10847816d0 Add new koans for comprehensions
Added to partially complete the "Koans for special forms" issue.
https://github.com/elixirkoans/elixir-koans/issues/53
2018-09-02 16:29:47 +10:00
Felipe Seré
554ad1c68a Merge pull request #224 from s-oram/add_anonymous_fn_koan
Add koan "You can use pattern matching to define [...]"
2018-07-12 09:18:29 +01:00
Shannon Oram
38cbc98f81 Add test for new koan 2018-07-12 10:36:12 +10:00
Shannon Oram
362cbf77c0 Rename function. format_result() -> inspirational_quote() 2018-07-11 18:22:18 +10:00
Shannon Oram
678d15de07 Add koan "You can use pattern matching to define [...]"
Koan added following comment on Github.
https://github.com/elixirkoans/elixir-koans/issues/222#issuecomment-399979891

[quote]
And, in fact, you can define multiple cases for a function using this sytnax:

```
lolwat = fn
  "lol" -> "wat"
  _ -> "haha"
end
lolwat.("lol")
# => "wat"
lolwat.("anything")
# => "haha"
lolwat.("rly")
# => "haha"
```

[/quote]
2018-07-11 16:09:33 +10:00
Felipe Seré
ecb130165e Merge pull request #223 from vise890/formatter
add .formatter.exs + format
2018-05-24 22:57:42 +01:00
Martino Visintin
b07df7c780 add .formatter.exs + format 2018-05-22 21:46:54 +01:00