simple_csv 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 7f379384bc15e489a0bbb1a8d7a28026e58162a3
4
+ data.tar.gz: c239e1ebccf33ed4fe0f9051f7c1a5a65a44f6da
5
+ SHA512:
6
+ metadata.gz: 1404a5abbf6bbc700ddcc53ad3edc8e3428c1316c547d516d146202a50b98fde7951a853bb4c21449b090512423ce36644e34e44c545b1234466bf089c7bcad3
7
+ data.tar.gz: 432d6aac54b96f6e2775f869484b4ac61ffc1b39927a30c0e334f2f7e3b87068e9bea1ec9267e9219ade9771666552b2f87a1c03b8cd55f6cacddaddc77a311f
data/.gitignore ADDED
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
10
+ output.csv
11
+ input.csv
data/.rspec ADDED
@@ -0,0 +1,2 @@
1
+ --format documentation
2
+ --color
data/.travis.yml ADDED
@@ -0,0 +1,6 @@
1
+ sudo: false
2
+ language: ruby
3
+ rvm:
4
+ - 2.2.2
5
+ - 2.3.0
6
+ before_install: gem install bundler -v 1.13.6
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at sidneyliebrand@gmail.com. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Specify your gem's dependencies in simple_csv.gemspec
4
+ gemspec
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Sidney Liebrand
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,125 @@
1
+ # SimpleCsv
2
+
3
+ SimpleCsv is a simple gem that allows you to interact with CSV's in a more friendly way.
4
+ See the examples given below for more details :)
5
+
6
+ ## Status
7
+
8
+ [![Gem Version](https://badge.fury.io/rb/simple_csv.svg)](http://badge.fury.io/rb/simple_csv)
9
+ [![Build Status](https://travis-ci.org/SidOfc/simple_csv.svg?branch=master)](https://travis-ci.org/SidOfc/simple_csv)
10
+ [![Coverage Status](https://coveralls.io/repos/github/SidOfc/simple_csv/badge.svg?branch=master)](https://coveralls.io/github/SidOfc/simple_csv?branch=master)
11
+
12
+ ---
13
+
14
+ ## Installation
15
+
16
+ Add this line to your application's Gemfile:
17
+
18
+ ```ruby
19
+ gem 'simple_csv'
20
+ ```
21
+
22
+ And then execute:
23
+
24
+ $ bundle
25
+
26
+ Or install it yourself as:
27
+
28
+ $ gem install simple_csv
29
+
30
+ ## Usage
31
+
32
+ ### Generating a CSV file
33
+
34
+ The `SimpleCsv#generate` method takes a path and options to use for generating the file.
35
+ By default, a CSV is generated using comma's (`,`) as seperator and all fields are quoted.
36
+
37
+ When supplying options they will be merged into the existing defaults rather than overwriting them completely.
38
+
39
+ ```ruby
40
+ SimpleCsv.generate(path, options = { seperator: ',', force_quotes: true })
41
+ ```
42
+
43
+ To generate a CSV file we use `SimpleCsv#generate` (using the [faker](https://github.com/stympy/faker) gem to provide fake data)
44
+
45
+ ```ruby
46
+ require 'faker'
47
+
48
+ # use SimpleCsv.generate('output.csv', seperator: '|') to generate a CSV with a pipe character as seperator
49
+ SimpleCsv.generate('output.csv') do
50
+ # first define the headers
51
+ headers :first_name, :last_name, :birth_date, :employed_at
52
+
53
+ # loop something
54
+ 100.times do
55
+ # insert data in each field defined in headers to insert a row.
56
+ first_name Faker::Name.first_name
57
+ last_name Faker::Name.last_name
58
+ birth_date Faker::Date.between(Date.today << 900, Date.today << 200)
59
+ employed_at [Faker::Company.name, nil].sample
60
+ end
61
+ end
62
+ ```
63
+
64
+ ### Reading a CSV file
65
+
66
+ The `SimpleCsv#read` method takes a path and options to use for reading the file.
67
+ By default, the expected seperator is a comma (`,`), `:headers` is set to `true` so that `CSV` parses the file expecting headers.
68
+ The `:converters` option ensures values are converted to a proper type if possible, by default (if this is not set) all values are returned as strings
69
+
70
+ When supplying options they will be merged into the existing defaults rather than overwriting them completely.
71
+
72
+ ```ruby
73
+ SimpleCsv.read(path, options = { headers: true, seperator: ',',
74
+ converters: [:all, :blank_to_nil, :null_to_nil] })
75
+ ```
76
+
77
+ To read a CSV file we use `SimpleCsv#read`, we will pass it a file path and a block as arguments.
78
+ Within the block we define the headers present in the file, these will be transformed into methods you can call within `SimpleCsv::Reader#each_row` to get that property's current value
79
+
80
+ ```ruby
81
+ SimpleCsv.read('input.csv') do
82
+ # first define the headers in the file manually
83
+ headers :first_name, :last_name, :birth_date, :employed_at
84
+
85
+ each_row do
86
+ # print each field defined in headers (that is not nil)
87
+ puts [first_name, last_name, birth_date, employed_at].compact.join ', '
88
+ end
89
+ end
90
+ ```
91
+
92
+ If we have a large CSV we might want to batch operations (say, if we are inserting this data into a database).
93
+ For this we can use `SimpleCsv::Reader#in_groups_of` and pass the size of the group.
94
+ Within that we call `SimpleCsv::Reader#each_row` as usual
95
+
96
+ ```ruby
97
+ SimpleCsv.read('input.csv') do
98
+ # first define the headers in the file manually
99
+ headers :first_name, :last_name, :birth_date, :employed_at
100
+
101
+ in_groups_of(100) do
102
+ each_row do
103
+ # print each field defined in headers (that is not nil)
104
+ puts [first_name, last_name, birth_date, employed_at].compact.join ', '
105
+ end
106
+ # execute after every 100 rows
107
+ sleep 2
108
+ end
109
+ end
110
+ ```
111
+
112
+ ## Development
113
+
114
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
115
+
116
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
117
+
118
+ ## Contributing
119
+
120
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/simple_csv. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
121
+
122
+
123
+ ## License
124
+
125
+ The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
data/bin/console ADDED
@@ -0,0 +1,31 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require 'bundler/setup'
4
+ require 'pry'
5
+ require 'faker'
6
+ require 'simple_csv'
7
+
8
+ # CSV generation test
9
+ SimpleCsv.generate('spec/files/output.csv') do
10
+ headers :first_name, :last_name, :birth_date, :employed_at
11
+
12
+ 100.times do
13
+ first_name Faker::Name.first_name
14
+ last_name Faker::Name.last_name
15
+ birth_date Faker::Date.between(Date.today << 1000, Date.today << 200)
16
+ employed_at [Faker::Company.name, nil].sample
17
+ end
18
+ end
19
+
20
+ # CSV read test
21
+ SimpleCsv.read('spec/files/output.csv') do
22
+ headers :first_name, :last_name, :birth_date, :employed_at
23
+
24
+ in_groups_of(10) do
25
+ each_row :with_index do
26
+ puts [index, first_name, last_name,
27
+ birth_date, employed_at].compact.join ', '
28
+ end
29
+ sleep 1
30
+ end
31
+ end
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,29 @@
1
+ module SimpleCsv
2
+ class Base
3
+ attr_reader :index
4
+
5
+ COMMON_DELIMITERS = %w(, ; |)
6
+ DEFAULTS = { headers: true, col_sep: ',', seperator: ',',
7
+ converters: [:all, :blank_to_nil, :null_to_nil] }.freeze
8
+
9
+ private
10
+
11
+ def settings(**opts)
12
+ @settings ||= DEFAULTS.dup
13
+ @settings = @settings.merge opts[:merge] if opts[:merge]
14
+
15
+ @settings[:col_sep] = @settings.delete :seperator if @settings[:seperator]
16
+
17
+ @settings
18
+ end
19
+
20
+ def headers(*column_names)
21
+ return @headers if column_names.empty?
22
+ @headers = column_names.map(&:to_s)
23
+ end
24
+
25
+ def respond_to_missing?(mtd, include_private = false)
26
+ @headers.include?(mtd) || super
27
+ end
28
+ end
29
+ end
@@ -0,0 +1,63 @@
1
+ module SimpleCsv
2
+ class Reader < Base
3
+ attr_reader :index
4
+
5
+ def initialize(path, **opts, &block)
6
+ settings merge: opts
7
+
8
+ unless opts[:seperator]
9
+ settings merge: { seperator: detect_delimiter(path) }
10
+ end
11
+
12
+ headers(*find_headers(path)) if settings[:headers]
13
+
14
+ @csv = @original = CSV.open File.expand_path(path), settings
15
+ instance_eval(&block)
16
+ end
17
+
18
+ def in_groups_of(size, &block)
19
+ @original.each_slice(size) do |group|
20
+ @csv = group
21
+ instance_eval(&block)
22
+ end
23
+ @index = nil
24
+ @csv = @original
25
+ end
26
+
27
+ def each_row(*arr_opts, &block)
28
+ @index ||= 0 if arr_opts.include?(:with_index)
29
+
30
+ @csv.each do |record|
31
+ @record = record
32
+ instance_eval(&block)
33
+ @index += 1 if @index
34
+ end
35
+ end
36
+
37
+ def respond_to_missing?(mtd, include_private = false)
38
+ super
39
+ end
40
+
41
+ def method_missing(mtd, *args, &block)
42
+ @headers.include?(mtd.to_s) ? @record[mtd.to_s] : super
43
+ end
44
+
45
+ private
46
+
47
+ def find_headers(csv_path)
48
+ sep = detect_delimiter(csv_path)
49
+ first_line(csv_path).split(sep).map { |h| h.gsub(/^"*|"*$/, '') }
50
+ end
51
+
52
+ def detect_delimiter(csv_path)
53
+ line = first_line(csv_path)
54
+ @delimiters = COMMON_DELIMITERS.map { |sep| [sep, line.scan(sep).length] }
55
+ .sort { |a, b| b[1] <=> a[1] }
56
+ @delimiter ||= @delimiters[0][0]
57
+ end
58
+
59
+ def first_line(csv_path)
60
+ @first_line ||= File.open(File.expand_path(csv_path), &:readline)
61
+ end
62
+ end
63
+ end
@@ -0,0 +1,3 @@
1
+ module SimpleCsv
2
+ VERSION = "0.1.0"
3
+ end
@@ -0,0 +1,34 @@
1
+ module SimpleCsv
2
+ class Writer < Base
3
+ DEFAULTS = { force_quotes: true }.freeze
4
+
5
+ def initialize(path, **opts, &block)
6
+ settings merge: DEFAULTS.merge(opts)
7
+ CSV.open(File.expand_path(path), 'w', @settings) do |csv|
8
+ @csv = csv
9
+ @current_row = []
10
+ instance_eval(&block)
11
+ end
12
+ end
13
+
14
+ private
15
+
16
+ def respond_to_missing?(mtd, include_private = false)
17
+ super
18
+ end
19
+
20
+ def method_missing(mtd, *args, &block)
21
+ super unless @headers.include? mtd.to_s
22
+
23
+ @current_row << args[0]
24
+ row_complete = @current_row.count == @headers.count
25
+ (@csv << @current_row) && @current_row = [] if row_complete
26
+ end
27
+
28
+ def headers(*column_names)
29
+ super
30
+ @csv << @headers if @csv
31
+ @headers
32
+ end
33
+ end
34
+ end
data/lib/simple_csv.rb ADDED
@@ -0,0 +1,30 @@
1
+ require 'csv'
2
+
3
+ require 'simple_csv/version'
4
+ require 'simple_csv/base'
5
+ require 'simple_csv/reader'
6
+ require 'simple_csv/writer'
7
+
8
+ module SimpleCsv
9
+ @converters_initialized = false
10
+
11
+ def self.read(path, **options, &block)
12
+ initialize_converters unless converters_initialized
13
+ Reader.new path, options, &block
14
+ end
15
+
16
+ def self.generate(path, **options, &block)
17
+ initialize_converters unless converters_initialized
18
+ Writer.new path, options, &block
19
+ end
20
+
21
+ def self.initialize_converters
22
+ CSV::Converters[:blank_to_nil] = ->(f) { f && f.empty? ? nil : f }
23
+ CSV::Converters[:null_to_nil] = ->(f) { f && f == 'NULL' ? nil : f }
24
+ @converters_initialized = true
25
+ end
26
+
27
+ def self.converters_initialized
28
+ @converters_initialized
29
+ end
30
+ end
@@ -0,0 +1,32 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'simple_csv/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = 'simple_csv'
8
+ spec.version = SimpleCsv::VERSION
9
+ spec.authors = ['Sidney Liebrand']
10
+ spec.email = ['sidneyliebrand@gmail.com']
11
+
12
+ spec.summary = 'CSV DSL'
13
+ spec.description = 'A simple DSL for reading and generating CSV files'
14
+ spec.homepage = 'https://github.com/sidofc/simple_csv'
15
+ spec.license = 'MIT'
16
+
17
+ spec.files = `git ls-files -z`.split("\x0").reject do |f|
18
+ f.match(%r{^(test|spec|features)/})
19
+ end
20
+
21
+ spec.bindir = 'exe'
22
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
23
+ spec.require_paths = ['lib']
24
+
25
+ spec.add_development_dependency 'bundler', '~> 1.13'
26
+ spec.add_development_dependency 'rake', '~> 10.0'
27
+ spec.add_development_dependency 'rspec', '~> 3.0'
28
+ spec.add_development_dependency 'pry'
29
+ spec.add_development_dependency 'pry-byebug'
30
+ spec.add_development_dependency 'faker'
31
+ spec.add_development_dependency 'coveralls'
32
+ end
metadata ADDED
@@ -0,0 +1,158 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: simple_csv
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Sidney Liebrand
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2016-12-19 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.13'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.13'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rspec
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '3.0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '3.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: pry
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: pry-byebug
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: faker
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: coveralls
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ description: A simple DSL for reading and generating CSV files
112
+ email:
113
+ - sidneyliebrand@gmail.com
114
+ executables: []
115
+ extensions: []
116
+ extra_rdoc_files: []
117
+ files:
118
+ - ".gitignore"
119
+ - ".rspec"
120
+ - ".travis.yml"
121
+ - CODE_OF_CONDUCT.md
122
+ - Gemfile
123
+ - LICENSE.txt
124
+ - README.md
125
+ - Rakefile
126
+ - bin/console
127
+ - bin/setup
128
+ - lib/simple_csv.rb
129
+ - lib/simple_csv/base.rb
130
+ - lib/simple_csv/reader.rb
131
+ - lib/simple_csv/version.rb
132
+ - lib/simple_csv/writer.rb
133
+ - simple_csv.gemspec
134
+ homepage: https://github.com/sidofc/simple_csv
135
+ licenses:
136
+ - MIT
137
+ metadata: {}
138
+ post_install_message:
139
+ rdoc_options: []
140
+ require_paths:
141
+ - lib
142
+ required_ruby_version: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - ">="
145
+ - !ruby/object:Gem::Version
146
+ version: '0'
147
+ required_rubygems_version: !ruby/object:Gem::Requirement
148
+ requirements:
149
+ - - ">="
150
+ - !ruby/object:Gem::Version
151
+ version: '0'
152
+ requirements: []
153
+ rubyforge_project:
154
+ rubygems_version: 2.6.8
155
+ signing_key:
156
+ specification_version: 4
157
+ summary: CSV DSL
158
+ test_files: []