Fix wrong signatures of RDF.write_file and RDF.write_file! delegators

This commit is contained in:
Marcel Otto 2018-11-18 21:19:11 +01:00
parent 77f9ad491a
commit c5c43caceb
2 changed files with 19 additions and 8 deletions

View file

@ -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

View file

@ -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 """