diff --git a/CHANGELOG.md b/CHANGELOG.md index ef6f2b6..e8b8ee4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,17 @@ This project adheres to [Semantic Versioning](http://semver.org/) and [Keep a CHANGELOG](http://keepachangelog.com). +## Unreleased + +### Fixed + +- `RDF.write_file` and `RDF.write_file!` delegators had wrong signatures + + +[Compare v0.5.3...HEAD](https://github.com/marcelotto/rdf-ex/compare/v0.5.3...HEAD) + + + ## 0.5.3 - 2018-11-11 ### Added diff --git a/lib/rdf.ex b/lib/rdf.ex index 24cf21e..6600a67 100644 --- a/lib/rdf.ex +++ b/lib/rdf.ex @@ -40,14 +40,14 @@ defmodule RDF do alias RDF.{IRI, Namespace, Literal, BlankNode, Triple, Quad, Description, Graph, Dataset} - defdelegate read_string(content, opts), to: RDF.Serialization - defdelegate read_string!(content, opts), to: RDF.Serialization - defdelegate read_file(filename, opts \\ []), to: RDF.Serialization - defdelegate read_file!(filename, opts \\ []), to: RDF.Serialization - defdelegate write_string(content, opts), to: RDF.Serialization - defdelegate write_string!(content, opts), to: RDF.Serialization - defdelegate write_file(filename, opts \\ []), to: RDF.Serialization - defdelegate write_file!(filename, opts \\ []), to: RDF.Serialization + defdelegate read_string(content, opts), to: RDF.Serialization + defdelegate read_string!(content, opts), to: RDF.Serialization + defdelegate read_file(filename, opts \\ []), to: RDF.Serialization + defdelegate read_file!(filename, opts \\ []), to: RDF.Serialization + defdelegate write_string(content, opts), to: RDF.Serialization + defdelegate write_string!(content, opts), to: RDF.Serialization + defdelegate write_file(content, filename, opts \\ []), to: RDF.Serialization + defdelegate write_file!(content, filename, opts \\ []), to: RDF.Serialization @doc """