Sha256: 6b9341d1cf7b52803d99406d20ffa96b2deb641f955b8222a3ffef3ccbe45cc0

Contents?: true

Size: 1.64 KB

Versions: 1

Compression:

Stored size: 1.64 KB

Contents

# frozen_string_literal: true

lib = File.expand_path("lib", __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "simple_text_extract/version"

Gem::Specification.new do |spec|
  spec.name          = "simple_text_extract"
  spec.version       = SimpleTextExtract::VERSION
  spec.authors       = ["Nick Weiland"]
  spec.email         = ["nickweiland@gmail.com"]

  spec.summary       = "Attempts to quickly extract text from various file types before resorting to something more extreme like Apache Tika."
  spec.description   = "Attempts to quickly extract text from various file types before resorting to something more extreme like Apache Tika. Built with ActiveStorage in mind."
  spec.homepage      = "https://github.com/weilandia/simple_text_extract"
  spec.license       = "MIT"

  # 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(File.expand_path(__dir__)) do
    `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
  end
  spec.bindir        = "exe"
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ["lib"]

  spec.requirements << "antiword"
  spec.requirements << "pdftotext/poppler"
  spec.required_ruby_version = ">= 2.5"

  spec.add_runtime_dependency "roo", "~> 2.9.0"
  spec.add_runtime_dependency "spreadsheet", "~> 1.3.0"
  spec.add_runtime_dependency "rubyzip", "~> 2.3.2"

  spec.add_development_dependency "rake", "~> 13.0"
  spec.add_development_dependency "minitest", "~> 5.0"
  spec.add_development_dependency "mocha"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
simple_text_extract-2.0.0 simple_text_extract.gemspec