Welcome to TrussParser! This is a gem that parses and normalizes CSV data according to the specs in challenge.md
Assuming you have an environment set up for the Ruby ecosystem:
$ gem install truss
- After
gem install
ing thetruss
gem:- Run
truss sample.csv
to parse and normalize thesample.csv
that is shipped along in this gem. Alternatively, you can also runtruss sample-with-broken-utf8.csv
as well. The Truss takes in a CSV file as an argument, and outputs normalized CSV data innormalized_data.csv
.
- Run
- Run
rake spec
to run the RSpec tests. - You can also run
bin/console
for an interactive prompt that will allow you to experiment.
The gem is available as open source under the terms of the MIT License.
Everyone interacting in the Truss project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.