Skip to content

Commit

Permalink
Getting ready for new release
Browse files Browse the repository at this point in the history
  • Loading branch information
akoutmos committed May 28, 2021
1 parent 776a17e commit 9e6411e
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.18.0] - 2021-5-27

- @doc false assumes no explicit spec and does not count against results
- Support for using macro (thanks to @pnezis)
- No reporting of missing docs for exception modules (thanks to @pnezis)

## [0.17.0] - 2021-1-11

- Bumped up the Elixir version due to use of Mix.Task.recursing/0
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Adding `:doctor` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:doctor, "~> 0.17.0", only: :dev}
{:doctor, "~> 0.18.0", only: :dev}
]
end
```
Expand Down
6 changes: 6 additions & 0 deletions lib/module_information.ex
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,12 @@ defmodule Doctor.ModuleInformation do
|> Path.relative_to(File.cwd!())
end

defp parse_ast_node_for_def({:@, _line_number, [{:doc, _, [false]}]} = ast, acc) do
updated_acc = Map.put(acc, :last_impl, false)

{ast, updated_acc}
end

defp parse_ast_node_for_def({:@, _line_number, [{:impl, _, impl_def}]} = ast, acc) do
normalized_impl = normalize_impl(impl_def)
updated_acc = Map.put(acc, :last_impl, normalized_impl)
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ defmodule Doctor.MixProject do
def project do
[
app: :doctor,
version: "0.17.0",
version: "0.18.0",
elixir: "~> 1.8",
name: "Doctor",
source_url: @source_url,
Expand Down

0 comments on commit 9e6411e

Please sign in to comment.