This is a limited proof of concept to search for research data, not a production system.

Search the MIT Libraries

Title: Ruby CFF Library

Type Software Robert Haines (2018): Ruby CFF Library. Zenodo. Software. https://zenodo.org/record/1184090

Author: Robert Haines (The University of Manchester) ;

Links

Summary

Ruby CFF

Robert Haines

A Ruby library for manipulating CITATION.cff files.

Synopsis

This library provides a Ruby interface to manipulate CITATION.cff files. The primary entry points are the Model and File classes.

See the CITATION.cff documentation for more details.

Quick start

cff = CFF::Model.new("Ruby CFF Library") cff.version = "0.1.0" cff.date_released = Date.today cff.authors << CFF::Person.new("Robert", "Haines") cff.license = "Apache-2.0" cff.keywords << "ruby" << "credit" << "citation" cff.repository_artifact = "https://rubygems.org/gems/cff" CFF::File.write("CITATION.cff", cff)

Will produce a file that looks something like this:

cff-version: 1.0.3 message: If you use this software in your work, please cite it using the following metadata title: Ruby CFF Library version: 0.1.0 date-released: 2018-02-24 license: Apache-2.0 repository-artifact: https://rubygems.org/gems/cff authors: - family-names: Haines given-names: Robert keywords: - ruby - credit - citation

Licence

Apache 2.0. See LICENCE for details.

More information

  • DOI: 10.5281/zenodo.1184090

Subjects

  • citation, credit, attribution, research software engineering, standard, sustainability

Dates

  • Publication date: 2018
  • Issued: February 25, 2018

Rights


Much of the data past this point we don't have good examples of yet. Please share in #rdi slack if you have good examples for anything that appears below. Thanks!

Format

electronic resource

Relateditems

DescriptionItem typeRelationshipUri
Compileshttps://rubygems.org/gems/cff
IsVersionOfhttps://doi.org/10.5281/zenodo.1184077
IsPartOfhttps://zenodo.org/communities/zenodo