docparser.gemspec in docparser-0.2.3 vs docparser.gemspec in docparser-0.3.0

- old
+ new

@@ -1,6 +1,8 @@ -lib = File.expand_path('../lib', __FILE__) +# frozen_string_literal: true + +lib = File.expand_path('lib', __dir__) $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) require 'docparser/version' Gem::Specification.new do |spec| spec.name = 'docparser' @@ -12,20 +14,18 @@ spec.homepage = 'https://github.com/jurriaan/docparser' spec.license = 'MIT' spec.platform = Gem::Platform::RUBY spec.files = `git ls-files`.split($RS) - spec.executables = spec.files.grep(/^bin\//) { |f| File.basename(f) } - spec.test_files = spec.files.grep(/^(test|spec|features)\//) + spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) } + spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ['lib'] spec.extra_rdoc_files = ['README.md', 'LICENSE'] - spec.add_runtime_dependency 'nokogiri', '~> 1.6.1' - spec.add_runtime_dependency 'parallel', '~> 1.3.2' spec.add_runtime_dependency 'axlsx', '~> 2.0.1' - spec.add_runtime_dependency 'log4r', '~> 1.1.10' + spec.add_runtime_dependency 'nokogiri', '~> 1.10.0' + spec.add_runtime_dependency 'parallel', '~> 1.10' - spec.add_development_dependency 'yard' - spec.add_development_dependency 'kramdown', '~> 1.4.1' spec.add_development_dependency 'github-markup' - spec.required_ruby_version = '>= 2.0.0' + spec.add_development_dependency 'kramdown', '~> 2.1.0' + spec.add_development_dependency 'yard' end