-
Notifications
You must be signed in to change notification settings - Fork 8
/
plaintext.gemspec
29 lines (24 loc) · 1.22 KB
/
plaintext.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# coding: utf-8
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'plaintext/version'
Gem::Specification.new do |spec|
spec.name = 'plaintext'
spec.version = Plaintext::VERSION
spec.authors = ['Jens Krämer', 'Planio GmbH', 'OpenProject GmbH']
spec.email = ['info@openproject.com']
spec.summary = 'Extract plain text from most common office documents.'
spec.description = "Extract text from common office files. Based on the file's content type a command line tool is selected to do the job."
spec.homepage = 'https://github.com/planio-gmbh/plaintext'
spec.license = 'GPL-2.0'
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']
spec.add_dependency 'activesupport', '>2.2.1 '
spec.add_dependency 'nokogiri', '~> 1.10', '>= 1.10.4'
spec.add_dependency 'rubyzip', '>= 1.2.0'
spec.add_development_dependency 'bundler', '~> 2.0'
spec.add_development_dependency 'rake', '~> 12.0'
spec.add_development_dependency 'rspec'
end