Sha256: 6d5115949a057ff20fa0a161ddb68ad2599b06545e758a39bd081945c6e6ec86

Contents?: true

Size: 1.53 KB

Versions: 1

Compression:

Stored size: 1.53 KB

Contents

# frozen_string_literal: true

require 'English'

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

Gem::Specification.new do |gem|
  gem.name          = 'rika'
  gem.version       = Rika::VERSION
  gem.authors       = ['Richard Nyström', 'Keith Bennett']
  gem.email         = ['ricny046@gmail.com', 'keithrbennett@gmail.com']
  gem.description   = 'A JRuby wrapper for Apache Tika to extract text and metadata from files of various formats.'
  gem.summary       = 'A JRuby wrapper for Apache Tika to extract text and metadata from files of various formats.'
  gem.homepage      = 'https://github.com/keithrbennett/rika'
  gem.files         = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
  gem.executables   = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
  gem.require_paths = ['lib']
  gem.add_dependency 'awesome_print', '~> 1.9', '>= 1.9.2'
  gem.platform = 'java'
  gem.license = 'MIT'
  gem.metadata['rubygems_mfa_required'] = 'true'

  # NOTE: I am excluding the Ruby version constraint because this gem runs only in JRuby, and I don't know the
  # minimum version requirement, and don't want to exclude use of any versions that might work.

  gem.post_install_message = <<~MESSAGE

    Using the rika gem requires that you:
      1) download the Apache Tika tika-app jar file from https://tika.apache.org/download.html
      2) place it somewhere accessible to the running application
      3) specify its location in the TIKA_JAR_FILESPEC environment variable

  MESSAGE
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rika-2.0.3-java rika.gemspec