Project

comma

0.27
A long-lived project that still receives updates
Ruby Comma Seperated Values generation library
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.0.0
~> 13.0.1
~> 3.5.0
= 5.14.4

Runtime

 Project Readme

Comma

A library to generate comma seperated value (CSV) for Ruby objects like ActiveRecord and Array

Gem Version Build Status Code Climate

Getting Started

Prerequisites

You need to use ruby 3.0 or later. If you generate CSV from ActiveRecord models, you need to have ActiveRecord 6.0 or later.

Installing

Comma is distributed as a gem, best installed via Bundler.

Include the gem in your Gemfile:

gem 'comma', '~> 4.8.0'

Or, if you want to live life on the edge, you can get master from the main comma repository:

gem 'comma',  git: 'git://github.com/comma-csv/comma.git'

Then, run bundle install.

Usage

See this page for usages.

Running the tests

To run the test suite across multiple gem file sets, we're using Appraisal, use the following commands:

$ bundle exec appraisal install
$ bundle exec appraisal rake spec

Contributing

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • Marcus Crafter - Initial work
  • Tom Meier - Initial work
  • Eito Katagiri

License

This project is licensed under the MIT License - see the MIT-LICENSE file fore details.