From 8e4c3267b4a5d1a680188cfbe9a770f0ae2c0e71 Mon Sep 17 00:00:00 2001 From: Matt Beanland Date: Fri, 17 Oct 2025 17:22:17 +1030 Subject: [PATCH 1/2] added reuse compliance --- .formatter.exs | 4 ++++ .github/workflows/reuse.yaml | 15 +++++++++++++++ .gitignore.license | 3 +++ .tool-versions | 2 ++ .tool-versions.license | 3 +++ CHANGELOG.md | 11 +++++++++++ LICENSE.md => LICENSES/MIT.md | 2 +- README.md | 13 ++++++++++++- VERSION | 1 - lib/outstand.ex | 4 ++++ lib/outstanding.ex | 4 ++++ lib/outstanding/atom.ex | 4 ++++ lib/outstanding/bitstring.ex | 4 ++++ lib/outstanding/date.ex | 4 ++++ lib/outstanding/date_time.ex | 4 ++++ lib/outstanding/duration.ex | 4 ++++ lib/outstanding/float.ex | 4 ++++ lib/outstanding/function.ex | 4 ++++ lib/outstanding/integer.ex | 4 ++++ lib/outstanding/list.ex | 4 ++++ lib/outstanding/map.ex | 4 ++++ lib/outstanding/map_set.ex | 4 ++++ lib/outstanding/naive_date_time.ex | 4 ++++ lib/outstanding/range.ex | 4 ++++ lib/outstanding/regex.ex | 4 ++++ lib/outstanding/time.ex | 4 ++++ lib/outstanding/tuple.ex | 4 ++++ logos/diffo.jpg.license | 3 +++ mix.exs | 6 +++++- mix.lock | 18 +++++++++++++----- mix.lock.license | 3 +++ outstanding.livemd | 8 +++++++- test/atom_test.exs | 4 ++++ test/bitstring_test.exs | 4 ++++ test/boolean_test.exs | 4 ++++ test/date_test.exs | 4 ++++ test/date_time_test.exs | 4 ++++ test/duration_test.exs | 4 ++++ test/float_test.exs | 4 ++++ test/function_arity_1_test.exs | 4 ++++ test/function_arity_2_test.exs | 4 ++++ test/integer_test.exs | 4 ++++ test/keyword_of_map_test.exs | 4 ++++ test/keyword_test.exs | 4 ++++ test/list_of_map_test.exs | 4 ++++ test/list_test.exs | 4 ++++ test/map_and_struct_test.exs | 4 ++++ test/map_of_map_test.exs | 4 ++++ test/map_set_test.exs | 4 ++++ test/map_test.exs | 4 ++++ test/naive_date_time_test.exs | 4 ++++ test/outstanding_test.exs | 4 ++++ test/range_test.exs | 4 ++++ test/regex_test.exs | 4 ++++ test/struct_derive_except_test.exs | 4 ++++ test/struct_derive_test.exs | 4 ++++ test/struct_test.exs | 4 ++++ test/test_helper.exs | 4 ++++ test/time_test.exs | 4 ++++ test/tuple_test.exs | 4 ++++ 60 files changed, 266 insertions(+), 10 deletions(-) create mode 100644 .github/workflows/reuse.yaml create mode 100644 .gitignore.license create mode 100644 .tool-versions create mode 100644 .tool-versions.license rename LICENSE.md => LICENSES/MIT.md (89%) delete mode 100644 VERSION create mode 100644 logos/diffo.jpg.license create mode 100644 mix.lock.license diff --git a/.formatter.exs b/.formatter.exs index 0c78e93..885ca6e 100644 --- a/.formatter.exs +++ b/.formatter.exs @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + [ inputs: [".formatter.exs", "mix.exs", "{config,lib,priv,rel,test}/**/*.{ex,exs}"], line_length: 140, diff --git a/.github/workflows/reuse.yaml b/.github/workflows/reuse.yaml new file mode 100644 index 0000000..cab9522 --- /dev/null +++ b/.github/workflows/reuse.yaml @@ -0,0 +1,15 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + +name: REUSE Compliance Check + +on: [push, pull_request] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: REUSE Compliance Check + uses: fsfe/reuse-action@v6 \ No newline at end of file diff --git a/.gitignore.license b/.gitignore.license new file mode 100644 index 0000000..b8c46a2 --- /dev/null +++ b/.gitignore.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2025 outstanding contributors + +SPDX-License-Identifier: MIT \ No newline at end of file diff --git a/.tool-versions b/.tool-versions new file mode 100644 index 0000000..bf44d4a --- /dev/null +++ b/.tool-versions @@ -0,0 +1,2 @@ +erlang 28.1 +elixir 1.18.4-otp-28 diff --git a/.tool-versions.license b/.tool-versions.license new file mode 100644 index 0000000..b8c46a2 --- /dev/null +++ b/.tool-versions.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2025 outstanding contributors + +SPDX-License-Identifier: MIT \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index bdaf4d9..6c8dfa7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ + + # Change Log All notable changes to this project will be documented in this file. @@ -41,3 +47,8 @@ See [Conventional Commits](Https://conventionalcommits.org) for commit guideline ## Fixes * fixed type warnings with Elixir 1.19.0-rc.1 +## [v0.2.5](https://github.com/diffo-dev/outstanding/compare/v0.2.4...v0.2.5) (2025-10-13) + +## Features +* REUSE compliant + diff --git a/LICENSE.md b/LICENSES/MIT.md similarity index 89% rename from LICENSE.md rename to LICENSES/MIT.md index f51aea3..0b7acf3 100644 --- a/LICENSE.md +++ b/LICENSES/MIT.md @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2025 Matthew Graham Beanland +Copyright (c) 2025 Matthew Graham Beanland and [contributors](https://github.com/diffo-dev/outstanding/graphs/contributors) Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 9dda7b0..02eea93 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,17 @@ + + # Outstanding -Outstanding: something not yet dealt with. +[![Module Version](https://img.shields.io/hexpm/v/outstanding)](https://hex.pm/packages/outstanding) +[![Hex Docs](https://img.shields.io/badge/hex-docs-lightgreen)](https://hexdocs.pm/outstanding/) +[![License](https://img.shields.io/hexpm/l/outstanding)](https://github.com/diffo-dev/outstanding/blob/master/LICENSES/MIT.md) +[![REUSE status](https://api.reuse.software/badge/github.com/diffo-dev/outstanding)](https://api.reuse.software/info/github.com/diffo-dev/outstanding) + +Outstanding is an Elixir Protocol for determining unmet goals. The outstanding protocol is for those times when you want to know if any or which expectations have not been sufficiently met, and equality doesn't actually do it for you. diff --git a/VERSION b/VERSION deleted file mode 100644 index 72f9fa8..0000000 --- a/VERSION +++ /dev/null @@ -1 +0,0 @@ -0.2.4 \ No newline at end of file diff --git a/lib/outstand.ex b/lib/outstand.ex index 415497b..1e57243 100644 --- a/lib/outstand.ex +++ b/lib/outstand.ex @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + defmodule Outstand do @moduledoc """ Provides utilities to implement and work with `Outstanding` types diff --git a/lib/outstanding.ex b/lib/outstanding.ex index e0e54a6..43b1873 100644 --- a/lib/outstanding.ex +++ b/lib/outstanding.ex @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + defprotocol Outstanding do @moduledoc """ Protocol for comparing expected and actual, highlighting outstanding expectations unmet by actual diff --git a/lib/outstanding/atom.ex b/lib/outstanding/atom.ex index 8c9dea0..9e67875 100644 --- a/lib/outstanding/atom.ex +++ b/lib/outstanding/atom.ex @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + use Outstand defoutstanding expected :: Atom, actual :: Any do diff --git a/lib/outstanding/bitstring.ex b/lib/outstanding/bitstring.ex index 6a016f6..b4ce6d6 100644 --- a/lib/outstanding/bitstring.ex +++ b/lib/outstanding/bitstring.ex @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + use Outstand defoutstanding expected :: BitString, actual :: Any do diff --git a/lib/outstanding/date.ex b/lib/outstanding/date.ex index b2bf603..8963322 100644 --- a/lib/outstanding/date.ex +++ b/lib/outstanding/date.ex @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + use Outstand defoutstanding expected :: Date, actual :: Any do diff --git a/lib/outstanding/date_time.ex b/lib/outstanding/date_time.ex index 6567f71..4a74126 100644 --- a/lib/outstanding/date_time.ex +++ b/lib/outstanding/date_time.ex @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + use Outstand defoutstanding expected :: DateTime, actual :: Any do diff --git a/lib/outstanding/duration.ex b/lib/outstanding/duration.ex index 3a6fc62..273ea53 100644 --- a/lib/outstanding/duration.ex +++ b/lib/outstanding/duration.ex @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + use Outstand defoutstanding expected :: Duration, actual :: Any do diff --git a/lib/outstanding/float.ex b/lib/outstanding/float.ex index 5be2a65..1c8ba28 100644 --- a/lib/outstanding/float.ex +++ b/lib/outstanding/float.ex @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + use Outstand defoutstanding expected :: Float, actual :: Any do diff --git a/lib/outstanding/function.ex b/lib/outstanding/function.ex index e74c88d..9a9c169 100644 --- a/lib/outstanding/function.ex +++ b/lib/outstanding/function.ex @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + use Outstand defoutstanding expected :: Function, actual :: Any do diff --git a/lib/outstanding/integer.ex b/lib/outstanding/integer.ex index 9193bb9..4cfc5d0 100644 --- a/lib/outstanding/integer.ex +++ b/lib/outstanding/integer.ex @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + use Outstand defoutstanding expected :: Integer, actual :: Any do diff --git a/lib/outstanding/list.ex b/lib/outstanding/list.ex index af8d103..466bde2 100644 --- a/lib/outstanding/list.ex +++ b/lib/outstanding/list.ex @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + use Outstand defoutstanding expected :: List, actual :: Any do diff --git a/lib/outstanding/map.ex b/lib/outstanding/map.ex index d2a366c..8415560 100644 --- a/lib/outstanding/map.ex +++ b/lib/outstanding/map.ex @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + use Outstand defoutstanding expected :: Map, actual :: Any do diff --git a/lib/outstanding/map_set.ex b/lib/outstanding/map_set.ex index fc320fa..5a89bd5 100644 --- a/lib/outstanding/map_set.ex +++ b/lib/outstanding/map_set.ex @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + use Outstand defoutstanding expected :: MapSet, actual :: Any do diff --git a/lib/outstanding/naive_date_time.ex b/lib/outstanding/naive_date_time.ex index 6fe6ce0..095c7c2 100644 --- a/lib/outstanding/naive_date_time.ex +++ b/lib/outstanding/naive_date_time.ex @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + use Outstand defoutstanding expected :: NaiveDateTime, actual :: Any do diff --git a/lib/outstanding/range.ex b/lib/outstanding/range.ex index 081882e..477db58 100644 --- a/lib/outstanding/range.ex +++ b/lib/outstanding/range.ex @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + use Outstand defoutstanding expected :: Range, actual :: Any do diff --git a/lib/outstanding/regex.ex b/lib/outstanding/regex.ex index 84d1547..9e73386 100644 --- a/lib/outstanding/regex.ex +++ b/lib/outstanding/regex.ex @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + use Outstand defoutstanding expected :: Regex, actual :: Any do diff --git a/lib/outstanding/time.ex b/lib/outstanding/time.ex index 701844f..3663263 100644 --- a/lib/outstanding/time.ex +++ b/lib/outstanding/time.ex @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + use Outstand defoutstanding expected :: Time, actual :: Any do diff --git a/lib/outstanding/tuple.ex b/lib/outstanding/tuple.ex index 43b02b4..d53b8b4 100644 --- a/lib/outstanding/tuple.ex +++ b/lib/outstanding/tuple.ex @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + use Outstand defoutstanding expected :: Tuple, actual :: Any do diff --git a/logos/diffo.jpg.license b/logos/diffo.jpg.license new file mode 100644 index 0000000..b8c46a2 --- /dev/null +++ b/logos/diffo.jpg.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2025 outstanding contributors + +SPDX-License-Identifier: MIT \ No newline at end of file diff --git a/mix.exs b/mix.exs index 3a2f5eb..a5a4875 100644 --- a/mix.exs +++ b/mix.exs @@ -1,8 +1,12 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + defmodule Outstanding.MixProject do use Mix.Project @name :outstanding - @version "0.2.4" + @version "0.2.5" @description "Elixir protocol calculating outstanding from expected and actual" @github_url "https://github.com/diffo-dev/outstanding" diff --git a/mix.lock b/mix.lock index e55adb4..3ee6f2e 100644 --- a/mix.lock +++ b/mix.lock @@ -1,17 +1,25 @@ %{ "bunt": {:hex, :bunt, "1.0.0", "081c2c665f086849e6d57900292b3a161727ab40431219529f13c4ddcf3e7a44", [:mix], [], "hexpm", "dc5f86aa08a5f6fa6b8096f0735c4e76d54ae5c9fa2c143e5a1fc7c1cd9bb6b5"}, - "credo": {:hex, :credo, "1.7.12", "9e3c20463de4b5f3f23721527fcaf16722ec815e70ff6c60b86412c695d426c1", [:mix], [{:bunt, "~> 0.2.1 or ~> 1.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:file_system, "~> 0.2 or ~> 1.0", [hex: :file_system, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "8493d45c656c5427d9c729235b99d498bd133421f3e0a683e5c1b561471291e5"}, - "dialyxir": {:hex, :dialyxir, "1.4.5", "ca1571ac18e0f88d4ab245f0b60fa31ff1b12cbae2b11bd25d207f865e8ae78a", [:mix], [{:erlex, ">= 0.2.7", [hex: :erlex, repo: "hexpm", optional: false]}], "hexpm", "b0fb08bb8107c750db5c0b324fa2df5ceaa0f9307690ee3c1f6ba5b9eb5d35c3"}, + "credo": {:hex, :credo, "1.7.13", "126a0697df6b7b71cd18c81bc92335297839a806b6f62b61d417500d1070ff4e", [:mix], [{:bunt, "~> 0.2.1 or ~> 1.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:file_system, "~> 0.2 or ~> 1.0", [hex: :file_system, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "47641e6d2bbff1e241e87695b29f617f1a8f912adea34296fb10ecc3d7e9e84f"}, + "dialyxir": {:hex, :dialyxir, "1.4.6", "7cca478334bf8307e968664343cbdb432ee95b4b68a9cba95bdabb0ad5bdfd9a", [:mix], [{:erlex, ">= 0.2.7", [hex: :erlex, repo: "hexpm", optional: false]}], "hexpm", "8cf5615c5cd4c2da6c501faae642839c8405b49f8aa057ad4ae401cb808ef64d"}, "earmark_parser": {:hex, :earmark_parser, "1.4.44", "f20830dd6b5c77afe2b063777ddbbff09f9759396500cdbe7523efd58d7a339c", [:mix], [], "hexpm", "4778ac752b4701a5599215f7030989c989ffdc4f6df457c5f36938cc2d2a2750"}, "erlex": {:hex, :erlex, "0.2.7", "810e8725f96ab74d17aac676e748627a07bc87eb950d2b83acd29dc047a30595", [:mix], [], "hexpm", "3ed95f79d1a844c3f6bf0cea61e0d5612a42ce56da9c03f01df538685365efb0"}, "ex_check": {:hex, :ex_check, "0.16.0", "07615bef493c5b8d12d5119de3914274277299c6483989e52b0f6b8358a26b5f", [:mix], [], "hexpm", "4d809b72a18d405514dda4809257d8e665ae7cf37a7aee3be6b74a34dec310f5"}, - "ex_doc": {:hex, :ex_doc, "0.38.1", "bae0a0bd5b5925b1caef4987e3470902d072d03347114ffe03a55dbe206dd4c2", [:mix], [{:earmark_parser, "~> 1.4.44", [hex: :earmark_parser, repo: "hexpm", optional: false]}, {:makeup_c, ">= 0.1.0", [hex: :makeup_c, repo: "hexpm", optional: true]}, {:makeup_elixir, "~> 0.14 or ~> 1.0", [hex: :makeup_elixir, repo: "hexpm", optional: false]}, {:makeup_erlang, "~> 0.1 or ~> 1.0", [hex: :makeup_erlang, repo: "hexpm", optional: false]}, {:makeup_html, ">= 0.1.0", [hex: :makeup_html, repo: "hexpm", optional: true]}], "hexpm", "754636236d191b895e1e4de2ebb504c057fe1995fdfdd92e9d75c4b05633008b"}, - "file_system": {:hex, :file_system, "1.1.0", "08d232062284546c6c34426997dd7ef6ec9f8bbd090eb91780283c9016840e8f", [:mix], [], "hexpm", "bfcf81244f416871f2a2e15c1b515287faa5db9c6bcf290222206d120b3d43f6"}, + "ex_doc": {:hex, :ex_doc, "0.38.4", "ab48dff7a8af84226bf23baddcdda329f467255d924380a0cf0cee97bb9a9ede", [:mix], [{:earmark_parser, "~> 1.4.44", [hex: :earmark_parser, repo: "hexpm", optional: false]}, {:makeup_c, ">= 0.1.0", [hex: :makeup_c, repo: "hexpm", optional: true]}, {:makeup_elixir, "~> 0.14 or ~> 1.0", [hex: :makeup_elixir, repo: "hexpm", optional: false]}, {:makeup_erlang, "~> 0.1 or ~> 1.0", [hex: :makeup_erlang, repo: "hexpm", optional: false]}, {:makeup_html, ">= 0.1.0", [hex: :makeup_html, repo: "hexpm", optional: true]}], "hexpm", "f7b62346408a83911c2580154e35613eb314e0278aeea72ed7fedef9c1f165b2"}, + "file_system": {:hex, :file_system, "1.1.1", "31864f4685b0148f25bd3fbef2b1228457c0c89024ad67f7a81a3ffbc0bbad3a", [:mix], [], "hexpm", "7a15ff97dfe526aeefb090a7a9d3d03aa907e100e262a0f8f7746b78f8f87a5d"}, + "finch": {:hex, :finch, "0.20.0", "5330aefb6b010f424dcbbc4615d914e9e3deae40095e73ab0c1bb0968933cadf", [:mix], [{:mime, "~> 1.0 or ~> 2.0", [hex: :mime, repo: "hexpm", optional: false]}, {:mint, "~> 1.6.2 or ~> 1.7", [hex: :mint, repo: "hexpm", optional: false]}, {:nimble_options, "~> 0.4 or ~> 1.0", [hex: :nimble_options, repo: "hexpm", optional: false]}, {:nimble_pool, "~> 1.1", [hex: :nimble_pool, repo: "hexpm", optional: false]}, {:telemetry, "~> 0.4 or ~> 1.0", [hex: :telemetry, repo: "hexpm", optional: false]}], "hexpm", "2658131a74d051aabfcba936093c903b8e89da9a1b63e430bee62045fa9b2ee2"}, "git_cli": {:hex, :git_cli, "0.3.0", "a5422f9b95c99483385b976f5d43f7e8233283a47cda13533d7c16131cb14df5", [:mix], [], "hexpm", "78cb952f4c86a41f4d3511f1d3ecb28edb268e3a7df278de2faa1bd4672eaf9b"}, - "git_ops": {:hex, :git_ops, "2.7.2", "2d3c164a8bcaf13f129ab339e8e9f0a99c80ffa8f85dd0b344d7515275236dbc", [:mix], [{:git_cli, "~> 0.2", [hex: :git_cli, repo: "hexpm", optional: false]}, {:igniter, ">= 0.5.27 and < 1.0.0-0", [hex: :igniter, repo: "hexpm", optional: true]}, {:nimble_parsec, "~> 1.0", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "1dcd68b3f5bcd0999d69274cd21e74e652a90452e683b54d490fa5b26152945f"}, + "git_ops": {:hex, :git_ops, "2.9.0", "b74f6040084f523055b720cc7ef718da47f2cbe726a5f30c2871118635cb91c1", [:mix], [{:git_cli, "~> 0.2", [hex: :git_cli, repo: "hexpm", optional: false]}, {:igniter, ">= 0.5.27 and < 1.0.0-0", [hex: :igniter, repo: "hexpm", optional: true]}, {:nimble_parsec, "~> 1.0", [hex: :nimble_parsec, repo: "hexpm", optional: false]}, {:req, "~> 0.5", [hex: :req, repo: "hexpm", optional: false]}], "hexpm", "7fdf84be3490e5692c5dc1f8a1084eed47a221c1063e41938c73312f0bfea259"}, + "hpax": {:hex, :hpax, "1.0.3", "ed67ef51ad4df91e75cc6a1494f851850c0bd98ebc0be6e81b026e765ee535aa", [:mix], [], "hexpm", "8eab6e1cfa8d5918c2ce4ba43588e894af35dbd8e91e6e55c817bca5847df34a"}, "jason": {:hex, :jason, "1.4.4", "b9226785a9aa77b6857ca22832cffa5d5011a667207eb2a0ad56adb5db443b8a", [:mix], [{:decimal, "~> 1.0 or ~> 2.0", [hex: :decimal, repo: "hexpm", optional: true]}], "hexpm", "c5eb0cab91f094599f94d55bc63409236a8ec69a21a67814529e8d5f6cc90b3b"}, "makeup": {:hex, :makeup, "1.2.1", "e90ac1c65589ef354378def3ba19d401e739ee7ee06fb47f94c687016e3713d1", [:mix], [{:nimble_parsec, "~> 1.4", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "d36484867b0bae0fea568d10131197a4c2e47056a6fbe84922bf6ba71c8d17ce"}, "makeup_elixir": {:hex, :makeup_elixir, "1.0.1", "e928a4f984e795e41e3abd27bfc09f51db16ab8ba1aebdba2b3a575437efafc2", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}, {:nimble_parsec, "~> 1.2.3 or ~> 1.3", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "7284900d412a3e5cfd97fdaed4f5ed389b8f2b4cb49efc0eb3bd10e2febf9507"}, "makeup_erlang": {:hex, :makeup_erlang, "1.0.2", "03e1804074b3aa64d5fad7aa64601ed0fb395337b982d9bcf04029d68d51b6a7", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm", "af33ff7ef368d5893e4a267933e7744e46ce3cf1f61e2dccf53a111ed3aa3727"}, + "mime": {:hex, :mime, "2.0.7", "b8d739037be7cd402aee1ba0306edfdef982687ee7e9859bee6198c1e7e2f128", [:mix], [], "hexpm", "6171188e399ee16023ffc5b76ce445eb6d9672e2e241d2df6050f3c771e80ccd"}, + "mint": {:hex, :mint, "1.7.1", "113fdb2b2f3b59e47c7955971854641c61f378549d73e829e1768de90fc1abf1", [:mix], [{:castore, "~> 0.1.0 or ~> 1.0", [hex: :castore, repo: "hexpm", optional: true]}, {:hpax, "~> 0.1.1 or ~> 0.2.0 or ~> 1.0", [hex: :hpax, repo: "hexpm", optional: false]}], "hexpm", "fceba0a4d0f24301ddee3024ae116df1c3f4bb7a563a731f45fdfeb9d39a231b"}, + "nimble_options": {:hex, :nimble_options, "1.1.1", "e3a492d54d85fc3fd7c5baf411d9d2852922f66e69476317787a7b2bb000a61b", [:mix], [], "hexpm", "821b2470ca9442c4b6984882fe9bb0389371b8ddec4d45a9504f00a66f650b44"}, "nimble_parsec": {:hex, :nimble_parsec, "1.4.2", "8efba0122db06df95bfaa78f791344a89352ba04baedd3849593bfce4d0dc1c6", [:mix], [], "hexpm", "4b21398942dda052b403bbe1da991ccd03a053668d147d53fb8c4e0efe09c973"}, + "nimble_pool": {:hex, :nimble_pool, "1.1.0", "bf9c29fbdcba3564a8b800d1eeb5a3c58f36e1e11d7b7fb2e084a643f645f06b", [:mix], [], "hexpm", "af2e4e6b34197db81f7aad230c1118eac993acc0dae6bc83bac0126d4ae0813a"}, + "req": {:hex, :req, "0.5.15", "662020efb6ea60b9f0e0fac9be88cd7558b53fe51155a2d9899de594f9906ba9", [:mix], [{:brotli, "~> 0.3.1", [hex: :brotli, repo: "hexpm", optional: true]}, {:ezstd, "~> 1.0", [hex: :ezstd, repo: "hexpm", optional: true]}, {:finch, "~> 0.17", [hex: :finch, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}, {:mime, "~> 2.0.6 or ~> 2.1", [hex: :mime, repo: "hexpm", optional: false]}, {:nimble_csv, "~> 1.0", [hex: :nimble_csv, repo: "hexpm", optional: true]}, {:plug, "~> 1.0", [hex: :plug, repo: "hexpm", optional: true]}], "hexpm", "a6513a35fad65467893ced9785457e91693352c70b58bbc045b47e5eb2ef0c53"}, + "telemetry": {:hex, :telemetry, "1.3.0", "fedebbae410d715cf8e7062c96a1ef32ec22e764197f70cda73d82778d61e7a2", [:rebar3], [], "hexpm", "7015fc8919dbe63764f4b4b87a95b7c0996bd539e0d499be6ec9d7f3875b79e6"}, } diff --git a/mix.lock.license b/mix.lock.license new file mode 100644 index 0000000..b8c46a2 --- /dev/null +++ b/mix.lock.license @@ -0,0 +1,3 @@ +SPDX-FileCopyrightText: 2025 outstanding contributors + +SPDX-License-Identifier: MIT \ No newline at end of file diff --git a/outstanding.livemd b/outstanding.livemd index 638df06..4ce3ac6 100644 --- a/outstanding.livemd +++ b/outstanding.livemd @@ -1,7 +1,13 @@ + + # Outstanding Elixir Protocol ```elixir -Mix.install([{:outstanding, "~> 0.2.4"}], consolidate_protocols: false) +Mix.install([{:outstanding, "~> 0.2.5"}], consolidate_protocols: false) ``` ## Overview diff --git a/test/atom_test.exs b/test/atom_test.exs index 2055895..53e4d55 100644 --- a/test/atom_test.exs +++ b/test/atom_test.exs @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + defmodule Outstanding.AtomTest do use ExUnit.Case use Outstand diff --git a/test/bitstring_test.exs b/test/bitstring_test.exs index 3af5558..4161ebe 100644 --- a/test/bitstring_test.exs +++ b/test/bitstring_test.exs @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + defmodule Outstanding.BitStringTest do use ExUnit.Case use Outstand diff --git a/test/boolean_test.exs b/test/boolean_test.exs index 22f294c..23f1ab5 100644 --- a/test/boolean_test.exs +++ b/test/boolean_test.exs @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + defmodule Outstanding.BooleanTest do use ExUnit.Case use Outstand diff --git a/test/date_test.exs b/test/date_test.exs index 374a344..c046d5b 100644 --- a/test/date_test.exs +++ b/test/date_test.exs @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + defmodule Outstanding.DateTest do use ExUnit.Case use Outstand diff --git a/test/date_time_test.exs b/test/date_time_test.exs index ffddf3f..05c2227 100644 --- a/test/date_time_test.exs +++ b/test/date_time_test.exs @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + defmodule Outstanding.DateTimeTest do use ExUnit.Case use Outstand diff --git a/test/duration_test.exs b/test/duration_test.exs index 5c96feb..31d77a6 100644 --- a/test/duration_test.exs +++ b/test/duration_test.exs @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + defmodule Outstanding.DurationTest do use ExUnit.Case use Outstand diff --git a/test/float_test.exs b/test/float_test.exs index 842ea8e..55eb1d7 100644 --- a/test/float_test.exs +++ b/test/float_test.exs @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + defmodule Outstanding.FloatTest do use ExUnit.Case use Outstand diff --git a/test/function_arity_1_test.exs b/test/function_arity_1_test.exs index c683725..1db7e12 100644 --- a/test/function_arity_1_test.exs +++ b/test/function_arity_1_test.exs @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + defmodule Outstanding.ExpectedFunctionArity1Test do use ExUnit.Case use Outstand diff --git a/test/function_arity_2_test.exs b/test/function_arity_2_test.exs index 9375156..ee53295 100644 --- a/test/function_arity_2_test.exs +++ b/test/function_arity_2_test.exs @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + defmodule Outstanding.ExpectedFunctionArity2Test do use ExUnit.Case use Outstand diff --git a/test/integer_test.exs b/test/integer_test.exs index 630ff93..00be946 100644 --- a/test/integer_test.exs +++ b/test/integer_test.exs @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + defmodule Outstanding.IntegerTest do use ExUnit.Case use Outstand diff --git a/test/keyword_of_map_test.exs b/test/keyword_of_map_test.exs index 35bdb31..0171520 100644 --- a/test/keyword_of_map_test.exs +++ b/test/keyword_of_map_test.exs @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + defmodule Outstanding.KeywordOfMapTest do use ExUnit.Case use Outstand diff --git a/test/keyword_test.exs b/test/keyword_test.exs index 40bc3f1..2f8af06 100644 --- a/test/keyword_test.exs +++ b/test/keyword_test.exs @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + defmodule Outstanding.KeywordTest do use ExUnit.Case use Outstand diff --git a/test/list_of_map_test.exs b/test/list_of_map_test.exs index 81000fb..e97adef 100644 --- a/test/list_of_map_test.exs +++ b/test/list_of_map_test.exs @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + defmodule Outstanding.ListOfMapTest do use ExUnit.Case use Outstand diff --git a/test/list_test.exs b/test/list_test.exs index 95cd050..ee92940 100644 --- a/test/list_test.exs +++ b/test/list_test.exs @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + defmodule Outstanding.ListTest do use ExUnit.Case use Outstand diff --git a/test/map_and_struct_test.exs b/test/map_and_struct_test.exs index 6d36cd7..976ee4f 100644 --- a/test/map_and_struct_test.exs +++ b/test/map_and_struct_test.exs @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + defmodule Outstanding.MapAndStructTest do use ExUnit.Case use Outstand diff --git a/test/map_of_map_test.exs b/test/map_of_map_test.exs index 9f70fd8..9980301 100644 --- a/test/map_of_map_test.exs +++ b/test/map_of_map_test.exs @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + defmodule Outstanding.MapOfMapTest do use ExUnit.Case use Outstand diff --git a/test/map_set_test.exs b/test/map_set_test.exs index c93058f..f713f7e 100644 --- a/test/map_set_test.exs +++ b/test/map_set_test.exs @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + defmodule Outstanding.MapSetTest do use ExUnit.Case use Outstand diff --git a/test/map_test.exs b/test/map_test.exs index 7892a0f..540b509 100644 --- a/test/map_test.exs +++ b/test/map_test.exs @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + defmodule Outstanding.MapTest do use ExUnit.Case use Outstand diff --git a/test/naive_date_time_test.exs b/test/naive_date_time_test.exs index 571288f..e8b27ae 100644 --- a/test/naive_date_time_test.exs +++ b/test/naive_date_time_test.exs @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + defmodule Outstanding.NaiveDateTimeTest do use ExUnit.Case use Outstand diff --git a/test/outstanding_test.exs b/test/outstanding_test.exs index 0b36b30..74f6f76 100644 --- a/test/outstanding_test.exs +++ b/test/outstanding_test.exs @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + defmodule OutstandingTest do use ExUnit.Case doctest Outstanding diff --git a/test/range_test.exs b/test/range_test.exs index 25e522e..585dffe 100644 --- a/test/range_test.exs +++ b/test/range_test.exs @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + defmodule Outstanding.RangeTest do use ExUnit.Case use Outstand diff --git a/test/regex_test.exs b/test/regex_test.exs index 79be72f..990385d 100644 --- a/test/regex_test.exs +++ b/test/regex_test.exs @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + defmodule Outstanding.RegexTest do use ExUnit.Case use Outstand diff --git a/test/struct_derive_except_test.exs b/test/struct_derive_except_test.exs index 1eb605f..08f0b87 100644 --- a/test/struct_derive_except_test.exs +++ b/test/struct_derive_except_test.exs @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + defmodule Outstanding.StructDeriveExceptTest do use ExUnit.Case use Outstand diff --git a/test/struct_derive_test.exs b/test/struct_derive_test.exs index 5377614..2e475c2 100644 --- a/test/struct_derive_test.exs +++ b/test/struct_derive_test.exs @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + defmodule Outstanding.StructDeriveTest do use ExUnit.Case use Outstand diff --git a/test/struct_test.exs b/test/struct_test.exs index 1b0982b..56efb86 100644 --- a/test/struct_test.exs +++ b/test/struct_test.exs @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + defmodule Outstanding.StructTest do use ExUnit.Case use Outstand diff --git a/test/test_helper.exs b/test/test_helper.exs index 869559e..33797c8 100644 --- a/test/test_helper.exs +++ b/test/test_helper.exs @@ -1 +1,5 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + ExUnit.start() diff --git a/test/time_test.exs b/test/time_test.exs index bc022a4..1afc8a4 100644 --- a/test/time_test.exs +++ b/test/time_test.exs @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + defmodule Outstanding.TimeTest do use ExUnit.Case use Outstand diff --git a/test/tuple_test.exs b/test/tuple_test.exs index 7766a42..65b90c4 100644 --- a/test/tuple_test.exs +++ b/test/tuple_test.exs @@ -1,3 +1,7 @@ +# SPDX-FileCopyrightText: 2025 outstanding contributors +# +# SPDX-License-Identifier: MIT + defmodule Outstanding.TupleTest do use ExUnit.Case use Outstand From e6eb814f1f1df5ccee2bbf50bec8fc4daaa6910a Mon Sep 17 00:00:00 2001 From: Matt Beanland Date: Fri, 17 Oct 2025 17:23:46 +1030 Subject: [PATCH 2/2] fixed doc build --- mix.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mix.exs b/mix.exs index a5a4875..1f38829 100644 --- a/mix.exs +++ b/mix.exs @@ -72,7 +72,7 @@ defmodule Outstanding.MixProject do logo: "logos/diffo.jpg", extras: [ "README.md": [title: "Guide"], - "LICENSE.md": [title: "License"] + "LICENSES/MIT.md": [title: "License"] ] ] end