fillable-pdf.gemspec in fillable-pdf-0.6 vs fillable-pdf.gemspec in fillable-pdf-0.7
- old
+ new
@@ -1,6 +1,6 @@
-lib = File.expand_path('../lib', __FILE__)
+lib = File.expand_path('../lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'fillable-pdf/version'
Gem::Specification.new do |spec|
spec.name = 'fillable-pdf'
@@ -11,13 +11,18 @@
spec.summary = 'Fill out or extract field values from simple fillable PDF forms using iText.'
spec.description = 'FillablePDF is an extremely simple and lightweight utility that bridges iText and Ruby in order to fill out fillable PDF forms or extract field values from previously filled out PDF forms.'
spec.homepage = 'https://github.com/vkononov/fillable-pdf'
spec.license = 'MIT'
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
+ spec.files = Dir.chdir(File.expand_path(__dir__)) do
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(example|test|spec|features)/}) }
+ end
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = %w[ext lib]
- spec.requirements << '>= JDK 5.0'
- spec.add_runtime_dependency 'rjb', '~> 1.5'
+ spec.add_development_dependency 'bundler', '~> 2.0'
+ spec.add_development_dependency 'minitest', '~> 5.0'
+ spec.add_development_dependency 'rake', '~> 10.0'
+
+ spec.add_runtime_dependency 'rjb', '~> 1.6'
end