diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..d93fab9 --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1,3 @@ +github: beardedeagle +patreon: beardedeagle +custom: ['paypal.me/beardedeagle87'] diff --git a/.tool-versions b/.tool-versions index e77a3e5..590b0c8 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ -erlang 22.2.7 +erlang 22.2.8 elixir 1.10.2-otp-22 diff --git a/.travis.yml b/.travis.yml index 79c5c43..6efb935 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,39 +1,43 @@ sudo: false -language: 'elixir' +language: elixir elixir: - - '1.8.2' - - '1.9.4' - - '1.10.2' + - 1.8.2 + - 1.9.4 + - 1.10.2 otp_release: - - '20.3.8.22' - - '21.3.8.1' - - '22.2.7' + - 20.3.8.22 + - 21.3.8.1 + - 22.2.8 git: quiet: true env: - - 'PLT_DIR=$HOME/.plt' + - PLT_DIR=$HOME/.plt cache: directories: - - '_build' - - 'deps' - - '$PLT_DIR' + - _build + - deps + - $PLT_DIR +jobs: + exclude: + - elixir: 1.10.2 + otp_release: 20.3.8.22 before_script: - - 'mkdir -p $PLT_DIR' - - 'mix deps.get --force' - - 'mix deps.compile --force' - - 'mix compile --force' - - 'travis_wait 30 mix dialyzer --plt' - - 'MIX_ENV=test mix deps.get --force' - - 'MIX_ENV=test mix deps.compile --force' + - mkdir -p $PLT_DIR + - mix deps.get --force + - mix deps.compile --force + - mix compile --force + - travis_wait 30 mix dialyzer --plt + - MIX_ENV=test mix deps.get --force + - MIX_ENV=test mix deps.compile --force script: - - 'mix credo --strict --all' - - 'MIX_ENV=test mix compile --force --warnings-as-errors' - - 'MIX_ENV=test mix format --check-formatted --dry-run' - - 'mix purge.db' - - 'MIX_ENV=test mix coveralls.json --no-start' + - mix credo --strict --all + - MIX_ENV=test mix compile --force --warnings-as-errors + - MIX_ENV=test mix format --check-formatted --dry-run + - mix purge.db + - MIX_ENV=test mix coveralls.json --no-start after_success: - - 'bash <(curl -s https://codecov.io/bash)' - - 'mix inch.report' + - bash <(curl -s https://codecov.io/bash) + - mix inch.report notifications: email: - - 'randy@heroictek.com' + - randy@heroictek.com diff --git a/CHANGELOG.md b/CHANGELOG.md index 742da49..004f1c8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). +## [[0.3.6]] - 2020-03-01 +### Added +- Additional GitHub repo files. + +### Changed +- Bumped OTP version. +- Fixed Travis CI integration. + ## [[0.3.5]] - 2020-02-27 ### Changed - Bumped OTP version. @@ -60,6 +68,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Added - Initial release. +[0.3.6]: https://github.com/beardedeagle/mnesiac/compare/v0.3.5...v0.3.6 [0.3.5]: https://github.com/beardedeagle/mnesiac/compare/v0.3.4...v0.3.5 [0.3.4]: https://github.com/beardedeagle/mnesiac/compare/v0.3.3...v0.3.4 [0.3.3]: https://github.com/beardedeagle/mnesiac/compare/v0.3.2...v0.3.3 diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..c94794c --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,9 @@ +# Security Policy + +## Supported Versions + +As it currently stands, this project does not have a supported version other than "Latest". If you discover an issue though, please do still reach out. + +## Reporting a Vulnerability + +If you discover a vulnerability in the Mnesiac codebase, please email the details and method to reproduce to randy@heroictek.com. You should expect a response within 48 - 72 hours, with followups as nessasary. If the vulnerability is accepted, an advisory will be drafted for it for Mnesiac and an issue to fix it will be created, if possible. If the issue turns out to be caused by an underlying library or language, an issue will be filed with them. You should expect a response with steps taken whether the vulnerability is accepted or declined. diff --git a/config/.credo.exs b/config/.credo.exs index 63462c1..279a358 100644 --- a/config/.credo.exs +++ b/config/.credo.exs @@ -17,7 +17,7 @@ }, plugins: [], requires: [], - strict: false, + strict: true, parse_timeout: 5000, color: true, checks: [ diff --git a/mix.exs b/mix.exs index 676ba71..7eb3f43 100644 --- a/mix.exs +++ b/mix.exs @@ -6,7 +6,7 @@ defmodule Mnesiac.MixProject do def project do [ app: :mnesiac, - version: "0.3.5", + version: "0.3.6", elixir: "~> 1.8", elixirc_paths: elixirc_paths(Mix.env()), test_coverage: [tool: ExCoveralls], diff --git a/mix.lock b/mix.lock index 22e3295..b653efa 100644 --- a/mix.lock +++ b/mix.lock @@ -1,7 +1,7 @@ %{ "bunt": {:hex, :bunt, "0.2.0", "951c6e801e8b1d2cbe58ebbd3e616a869061ddadcc4863d0a2182541acae9a38", [:mix], [], "hexpm", "7af5c7e09fe1d40f76c8e4f9dd2be7cebd83909f31fee7cd0e9eadc567da8353"}, "certifi": {:hex, :certifi, "2.5.1", "867ce347f7c7d78563450a18a6a28a8090331e77fa02380b4a21962a65d36ee5", [:rebar3], [{:parse_trans, "~>3.3", [hex: :parse_trans, repo: "hexpm", optional: false]}], "hexpm", "805abd97539caf89ec6d4732c91e62ba9da0cda51ac462380bbd28ee697a8c42"}, - "credo": {:hex, :credo, "1.2.2", "f57faf60e0a12b0ba9fd4bad07966057fde162b33496c509b95b027993494aab", [:mix], [{:bunt, "~> 0.2.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "8f2623cd8c895a6f4a55ef10f3fdf6a55a9ca7bef09676bd835551687bf8a740"}, + "credo": {:hex, :credo, "1.2.3", "fbd11a840e45dc42e650401e16acd2a39dde080240b974e146cc65e81ada1cd3", [:mix], [{:bunt, "~> 0.2.0", [hex: :bunt, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "3c07d51ff43748bb959752ede70e40557cdcb7d61615e47ae1e9e108e0b1ceec"}, "dialyxir": {:hex, :dialyxir, "1.0.0-rc.7", "6287f8f2cb45df8584317a4be1075b8c9b8a69de8eeb82b4d9e6c761cf2664cd", [:mix], [{:erlex, ">= 0.2.5", [hex: :erlex, repo: "hexpm", optional: false]}], "hexpm", "506294d6c543e4e5282d4852aead19ace8a35bedeb043f9256a06a6336827122"}, "earmark": {:hex, :earmark, "1.4.3", "364ca2e9710f6bff494117dbbd53880d84bebb692dafc3a78eb50aa3183f2bfd", [:mix], [], "hexpm", "8cf8a291ebf1c7b9539e3cddb19e9cef066c2441b1640f13c34c1d3cfc825fec"}, "erlex": {:hex, :erlex, "0.2.5", "e51132f2f472e13d606d808f0574508eeea2030d487fc002b46ad97e738b0510", [:mix], [], "hexpm", "756d3e19b056339af674b715fdd752c5dac468cf9d0e2d1a03abf4574e99fbf8"},