henkei.gemspec in henkei-1.17.3 vs henkei.gemspec in henkei-1.17.4
- old
+ new
@@ -1,28 +1,30 @@
-# coding: utf-8
-lib = File.expand_path('../lib', __FILE__)
+lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
+
require 'henkei/version'
Gem::Specification.new do |spec|
spec.name = 'henkei'
spec.version = Henkei::VERSION
spec.authors = ['Erol Fornoles', 'Andrew Bromwich']
spec.email = %w[erol.fornoles@gmail.com a.bromwich@gmail.com]
spec.description = 'Read text and metadata from files and documents using Apache Tika toolkit'
- spec.summary = 'Read text and metadata from files and documents (.doc, .docx, .pages, .odt, .rtf, .pdf) using Apache Tika toolkit'
+ spec.summary = 'Read text and metadata from files and documents ' \
+ '(.doc, .docx, .pages, .odt, .rtf, .pdf) using Apache Tika toolkit'
spec.homepage = 'http://github.com/abrom/henkei'
spec.license = 'MIT'
- spec.files = `git ls-files`.split($/)
+ spec.files = `git ls-files`.split("\n")
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ['lib']
- spec.add_runtime_dependency 'mime-types', '>= 1.23', '< 4'
spec.add_runtime_dependency 'json', '>= 1.8', '< 3'
+ spec.add_runtime_dependency 'mime-types', '>= 1.23', '< 4'
spec.add_development_dependency 'bundler', '~> 1.3'
spec.add_development_dependency 'rake', '~> 12.3'
spec.add_development_dependency 'rspec', '~> 3.7'
+ spec.add_development_dependency 'rubocop', '~> 0.53'
spec.add_development_dependency 'simplecov', '~> 0.15'
end