A library to generate comma seperated value (CSV) for Ruby objects like ActiveRecord and Array
You need to use ruby 2.3 or later. If you generate CSV from ActiveRecord models, you need to have ActiveRecord 4.2 or later.
Comma is distributed as a gem, best installed via Bundler.
Include the gem in your Gemfile:
gem 'comma', '~> 4.3.2'
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'
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
- Marcus Crafter - Initial work
- Tom Meier - Initial work
- Eito Katagiri
This project is licensed under the MIT License - see the MIT-LICENSE file fore details.