# frozen_string_literal: true

begin

require_relative "lib/csv/version"

rescue LoadError

# for Ruby core repository
require_relative "version"

end

Gem::Specification.new do |spec|

spec.name          = "csv"
spec.version       = CSV::VERSION
spec.authors       = ["James Edward Gray II", "Kouhei Sutou"]
spec.email         = [nil, "kou@cozmixng.org"]

spec.summary       = "CSV Reading and Writing"
spec.description   = "The CSV library provides a complete interface to CSV files and data. It offers tools to enable you to read and write to and from Strings or IO objects, as needed."
spec.homepage      = "https://github.com/ruby/csv"
spec.license       = "BSD-2-Clause"

spec.files         = ["lib/csv.rb", "lib/csv/table.rb", "lib/csv/core_ext/string.rb", "lib/csv/core_ext/array.rb", "lib/csv/row.rb", "lib/csv/version.rb"]
spec.files         += ["README.md", "LICENSE.txt", "news.md"]
spec.require_paths = ["lib"]
spec.required_ruby_version = ">= 2.3.0"

spec.add_development_dependency "bundler"
spec.add_development_dependency "rake"
spec.add_development_dependency "benchmark-ips"

end