Sha256: 38bc317884fce4f07367afcc9d75e09baf89a826dccb630cead99d4fbfba5c61

Contents?: true

Size: 1.59 KB

Versions: 3

Compression:

Stored size: 1.59 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.8.2"
  spec.add_runtime_dependency "spreadsheet", "~> 1.1.8"

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
simple_text_extract-1.1.0 simple_text_extract.gemspec
simple_text_extract-1.0.2 simple_text_extract.gemspec
simple_text_extract-1.0.1 simple_text_extract.gemspec