lib = File.expand_path('lib', __dir__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'yomu/version' Gem::Specification.new do |spec| spec.name = 'yomu2' spec.version = Yomu::VERSION spec.authors = ['Erol Fornoles', 'Diego Silva'] spec.email = ['erol.fornoles@gmail.com', 'diego@alpha-exchange.com'] spec.description = 'Read text and metadata from files and documents (.doc, .docx, .pages, .odt, .rtf, .pdf)' spec.summary = 'Read text and metadata from files and documents (.doc, .docx, .pages, .odt, .rtf, .pdf)' spec.homepage = 'https://github.com/AlphaExchange/yomu2' spec.license = 'MIT' spec.files = `git ls-files -z`.split("\x0") 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 'json', '~> 2.1' spec.add_runtime_dependency 'mime-types', '~> 3.1' spec.add_development_dependency 'bundler', '~> 1.3' spec.add_development_dependency 'rake', '~> 12.3' spec.add_development_dependency 'rspec', '~> 3.4' end