smarter_csv.gemspec in smarter_csv-1.8.5 vs smarter_csv.gemspec in smarter_csv-1.9.0
- old
+ new
@@ -1,23 +1,27 @@
-# -*- encoding: utf-8 -*-
-require File.expand_path('../lib/smarter_csv/version', __FILE__)
+# coding: utf-8
+# frozen_string_literal: true
+require File.expand_path('lib/smarter_csv/version', __dir__)
+
Gem::Specification.new do |spec|
spec.name = "smarter_csv"
spec.version = SmarterCSV::VERSION
spec.authors = ["Tilo Sloboda"]
spec.email = ["tilo.sloboda@gmail.com"]
- spec.summary = %q{Ruby Gem for smarter importing of CSV Files (and CSV-like files), with lots of optional features, e.g. chunked processing for huge CSV files}
- spec.description = %q{Ruby Gem for smarter importing of CSV Files as Array(s) of Hashes, with optional features for processing large files in parallel, embedded comments, unusual field- and record-separators, flexible mapping of CSV-headers to Hash-keys}
+ spec.summary = "Ruby Gem for smarter importing of CSV Files (and CSV-like files), with lots of optional features, e.g. chunked processing for huge CSV files"
+ spec.description = "Ruby Gem for smarter importing of CSV Files as Array(s) of Hashes, with optional features for processing large files in parallel, embedded comments, unusual field- and record-separators, flexible mapping of CSV-headers to Hash-keys"
spec.homepage = "https://github.com/tilo/smarter_csv"
spec.license = 'MIT'
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = spec.homepage
spec.metadata["changelog_uri"] = "https://github.com/tilo/smarter_csv/blob/main/CHANGELOG.md"
+ spec.required_ruby_version = ">= 2.5.0"
+
# Specify which files should be added to the gem when it is released.
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
spec.files = Dir.chdir(__dir__) do
`git ls-files -z`.split("\x0").reject do |f|
(f == __FILE__) ||
@@ -27,10 +31,9 @@
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.executables = spec.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
spec.require_paths = ["lib"] # add ext here?
spec.extensions = ["ext/smarter_csv/extconf.rb"]
-
spec.add_development_dependency "awesome_print"
spec.add_development_dependency "codecov"
spec.add_development_dependency "pry"
spec.add_development_dependency "rspec"