-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Turn on underlying support for YAML anchors/aliases.
This commit adds support for using YAML anchors and aliases in CFF files. With this in place the underlying Ruby YAML library will load and reference anchors/aliases as expected, and Ruby CFF will process and validate such files as expected too. Links between anchors/aliases are preserved in line with expectations. Fixes #130
- Loading branch information
Showing
7 changed files
with
91 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Haines, R. (2018). Ruby CFF Library (Version 0.4.0) [Computer software] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
@software{Haines_Ruby_CFF_Library_2018, | ||
author = {Haines, Robert}, | ||
license = {Apache-2.0}, | ||
month = jul, | ||
title = {{Ruby CFF Library}}, | ||
version = {0.4.0}, | ||
year = {2018} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# An incomplete CFF file with aliases | ||
|
||
cff-version: 1.2.0 | ||
message: If you use this software in your work, please cite it using the following metadata | ||
title: Ruby CFF Library | ||
authors: &authors | ||
- family-names: Haines | ||
given-names: Robert | ||
affiliation: The University of Manchester, UK | ||
keywords: &keywords | ||
- ruby | ||
- credit | ||
- citation | ||
version: 0.4.0 | ||
date-released: 2018-07-22 | ||
license: Apache-2.0 | ||
repository-artifact: https://rubygems.org/gems/cff | ||
type: software | ||
references: | ||
- type: software | ||
title: Citation File Format | ||
authors: *authors | ||
keywords: *keywords |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# An incomplete CFF file with aliases | ||
|
||
cff-version: 1.2.0 | ||
message: If you use this software in your work, please cite it using the following metadata | ||
title: Ruby CFF Library | ||
authors: &authors | ||
- family-names: Haines | ||
given-names: Robert | ||
affiliation: The University of Manchester, UK | ||
keywords: &keywords | ||
- ruby | ||
- credit | ||
- citation | ||
version: 0.4.0 | ||
date-released: 2018-07-22 | ||
license: Apache-2.0 | ||
repository-artifact: https://rubygems.org/gems/cff | ||
type: software | ||
references: | ||
- type: software | ||
title: Citation File Format | ||
authors: *authors | ||
keywords: *keywords |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters