jonasschmidt / ex_json_schema

An Elixir JSON Schema validator
MIT License
366 stars 98 forks source link

Fix Elixir 1.4 compiler warnings #18

Closed jonasschmidt closed 7 years ago

jonasschmidt commented 7 years ago
warning: Dict.values/1 is deprecated, use the Map module for working with maps or the Keyword module for working with keyword lists
  lib/ex_json_schema/validator/properties.ex:55

warning: Set.difference/2 is deprecated, use the MapSet module for working with sets
  lib/ex_json_schema/validator/properties.ex:64

warning: Dict.keys/1 is deprecated, use the Map module for working with maps or the Keyword module for working with keyword lists
  lib/ex_json_schema/validator/properties.ex:69

warning: HashSet.new/0 is deprecated, use the MapSet module instead
  lib/ex_json_schema/validator/properties.ex:69

warning: Dict.values/1 is deprecated, use the Map module for working with maps or the Keyword module for working with keyword lists
  lib/ex_json_schema/validator.ex:217

warning: variable "remote_schema_resolver" does not exist and is being expanded to "remote_schema_resolver()", please use parentheses to remove the ambiguity or change the variable name
  lib/ex_json_schema/schema.ex:169