19 Commits

Author SHA1 Message Date
Your Name
12ce7d1d5d more white to allow renaming 2025-09-16 09:32:40 +00:00
6eab34c61a Update README.md 2025-09-16 09:14:37 +00:00
Your Name
490102c0a8 Rename to allowlist 2025-09-16 09:09:51 +00:00
Your Name
30548eae80 rename environment variable 2025-09-16 09:03:12 +00:00
Your Name
926ff822ec add mise for elixir 2025-09-16 08:51:34 +00:00
c848ca17ad Gave up trying to reset env var - set to "*" after test
And after doctest. it stayed at "*" after the last test anyway, letting
the doctest fail.

doctests are not recommended for side effectful tests anyway https://hexdocs.pm/ex_unit/main/ExUnit.DocTest.html
2025-09-14 21:30:08 +01:00
ca4eaf6f54 Add workaround for failing doctest
on_exit in test does not work properly as teardown - the variable is
unset, but doctest apparently runs after tests and it is not cleaned up
2025-09-14 20:19:18 +01:00
5a7f651547 Integrate whitelist in imperative shell 2025-09-14 20:15:14 +01:00
1c23e93d43 WIP set the environment variable
next: implement
2025-09-14 17:10:50 +01:00
09aeb31cb3 Move implementation to own file
Prefactoring, from  TDDAYMI to imperative shell. In the next step we
need the implementation from the functional core in the imperative
shell, to pass in the environment variable.
2025-09-14 16:59:42 +01:00
464b96b656 match different casings 2025-09-14 16:46:57 +01:00
5aefc18098 Whitelist two addresses
Intermediate steps not committed - addresses_as_list, because long stack
trace in output. turned out 'nil' case needs to be explicit now. I
prefer the small functions though instead of whole implementation in
case statement.
2025-09-14 16:39:56 +01:00
50500060d5 Factor out describe block for allowed list empty etc. 2025-09-14 16:23:20 +01:00
e30a92193d empty covered by not equals - not allowed 2025-09-14 16:13:52 +01:00
b5e308aec6 whitelist on exact match 2025-09-14 16:12:33 +01:00
f333ea1ed0 when not defined, not allowed 2025-09-14 16:06:50 +01:00
135448398d mail not whitelisted when not set 2025-09-14 13:13:10 +01:00
a913f2ca22 notes from chat
http://sequential:4242/c/622ae09e-9470-43fb-8a3f-e85a90322f9a
2025-09-14 12:25:59 +01:00
595e23a4b5 empty rep with functioning mix test 2025-09-14 12:08:05 +01:00