Skip to content

Commit

Permalink
added HashingLibrary.t() (phoenixframework#5694)
Browse files Browse the repository at this point in the history
* warning: using map.field notation (without parentheses) to invoke function Phoenix.Digester.Gzip.file_extensions() is deprecated, you must add parentheses instead: remote.function()

* two files were referencing a type that didn't exist

* moved type after struct

* recompiled with 1.16.9

* binary type
  • Loading branch information
bradhanks authored Jan 16, 2024
1 parent fb93759 commit c841f2e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/mix/tasks/phx.gen.auth/hashing_library.ex
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,13 @@ defmodule Mix.Tasks.Phx.Gen.Auth.HashingLibrary do

defstruct [:name, :module, :mix_dependency, :test_config]

@type t :: %__MODULE__{
name: atom(),
module: module(),
mix_dependency: binary(),
test_config: binary()
}

def build("bcrypt") do
lib = %__MODULE__{
name: :bcrypt,
Expand Down

0 comments on commit c841f2e

Please sign in to comment.