Fix wrong signatures of RDF.write_file and RDF.write_file! delegators
This commit is contained in:
parent
77f9ad491a
commit
c5c43caceb
2 changed files with 19 additions and 8 deletions
11
CHANGELOG.md
11
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
|
||||
|
|
16
lib/rdf.ex
16
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 """
|
||||
|
|
Loading…
Reference in a new issue