├── .gitignore ├── .rspec ├── .travis.yml ├── Gemfile ├── Gemfile.lock ├── README ├── Rakefile ├── bamfcsv.gemspec ├── ext └── bamfcsv │ ├── bamfcsv_ext.c │ └── extconf.rb ├── lib ├── bamfcsv.rb └── bamfcsv │ ├── table.rb │ └── version.rb ├── spec ├── fixtures │ ├── bamf-comma-comma.csv │ ├── double-quotes.csv │ ├── empty.csv │ ├── escapes.csv │ ├── one-column.csv │ ├── pipe-delimited.csv │ ├── terminated-with-cr.csv │ └── test.csv ├── lib │ └── bamfcsv_spec.rb └── spec_helper.rb └── tasks ├── compile.rake └── rspec.rake /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/catharinejm/bamfcsv/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --format Fuubar 2 | --colour 3 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/catharinejm/bamfcsv/HEAD/.travis.yml -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/catharinejm/bamfcsv/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/catharinejm/bamfcsv/HEAD/Gemfile.lock -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/catharinejm/bamfcsv/HEAD/README -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/catharinejm/bamfcsv/HEAD/Rakefile -------------------------------------------------------------------------------- /bamfcsv.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/catharinejm/bamfcsv/HEAD/bamfcsv.gemspec -------------------------------------------------------------------------------- /ext/bamfcsv/bamfcsv_ext.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/catharinejm/bamfcsv/HEAD/ext/bamfcsv/bamfcsv_ext.c -------------------------------------------------------------------------------- /ext/bamfcsv/extconf.rb: -------------------------------------------------------------------------------- 1 | require 'mkmf' 2 | create_makefile('bamfcsv') 3 | -------------------------------------------------------------------------------- /lib/bamfcsv.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/catharinejm/bamfcsv/HEAD/lib/bamfcsv.rb -------------------------------------------------------------------------------- /lib/bamfcsv/table.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/catharinejm/bamfcsv/HEAD/lib/bamfcsv/table.rb -------------------------------------------------------------------------------- /lib/bamfcsv/version.rb: -------------------------------------------------------------------------------- 1 | module BAMFCSV 2 | VERSION = "0.3.2" 3 | end 4 | -------------------------------------------------------------------------------- /spec/fixtures/bamf-comma-comma.csv: -------------------------------------------------------------------------------- 1 | BAMF,,CSV 2 | -------------------------------------------------------------------------------- /spec/fixtures/double-quotes.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/catharinejm/bamfcsv/HEAD/spec/fixtures/double-quotes.csv -------------------------------------------------------------------------------- /spec/fixtures/empty.csv: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /spec/fixtures/escapes.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/catharinejm/bamfcsv/HEAD/spec/fixtures/escapes.csv -------------------------------------------------------------------------------- /spec/fixtures/one-column.csv: -------------------------------------------------------------------------------- 1 | BAMF 2 | CSV 3 | -------------------------------------------------------------------------------- /spec/fixtures/pipe-delimited.csv: -------------------------------------------------------------------------------- 1 | foo|bar 2 | pipe|delimited 3 | -------------------------------------------------------------------------------- /spec/fixtures/terminated-with-cr.csv: -------------------------------------------------------------------------------- 1 | a 2 | b 3 | -------------------------------------------------------------------------------- /spec/fixtures/test.csv: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/catharinejm/bamfcsv/HEAD/spec/fixtures/test.csv -------------------------------------------------------------------------------- /spec/lib/bamfcsv_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/catharinejm/bamfcsv/HEAD/spec/lib/bamfcsv_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/catharinejm/bamfcsv/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /tasks/compile.rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/catharinejm/bamfcsv/HEAD/tasks/compile.rake -------------------------------------------------------------------------------- /tasks/rspec.rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/catharinejm/bamfcsv/HEAD/tasks/rspec.rake --------------------------------------------------------------------------------