diff --git a/.rubocop.yml b/.rubocop.yml index a7db547..a021b1a 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -4,7 +4,7 @@ require: AllCops: NewCops: enable - TargetRubyVersion: 2.7 + TargetRubyVersion: 3.0 Layout/EmptyLinesAroundAttributeAccessor: Enabled: true diff --git a/Gemfile b/Gemfile index ca4a575..f03ccb2 100644 --- a/Gemfile +++ b/Gemfile @@ -8,7 +8,6 @@ gemspec group :development do gem 'bundler', '~> 2.0' gem 'nokogiri', '~> 1.12' - gem 'rails', '~> 5.0' gem 'rake', '~> 12.3' gem 'rspec', '~> 3.7' gem 'rubocop', '~> 1.26' diff --git a/henkei.gemspec b/henkei.gemspec index 28b194c..5ca6637 100644 --- a/henkei.gemspec +++ b/henkei.gemspec @@ -15,7 +15,7 @@ Gem::Specification.new do |spec| '(.doc, .docx, .pages, .odt, .rtf, .pdf) using Apache Tika toolkit' spec.homepage = 'https://github.com/abrom/henkei' spec.license = 'MIT' - spec.required_ruby_version = ['>= 2.7.0', '< 3.4.0'] + spec.required_ruby_version = ['>= 3.0.0', '< 3.4.0'] # Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or # delete this section to allow pushing this gem to any host. diff --git a/jar/tika-app-2.9.1.jar b/jar/tika-app-2.9.2.jar similarity index 84% rename from jar/tika-app-2.9.1.jar rename to jar/tika-app-2.9.2.jar index d4a38eb..c9194f6 100644 Binary files a/jar/tika-app-2.9.1.jar and b/jar/tika-app-2.9.2.jar differ diff --git a/lib/henkei.rb b/lib/henkei.rb index b95c8eb..62ac116 100644 --- a/lib/henkei.rb +++ b/lib/henkei.rb @@ -25,7 +25,7 @@ # Read text and metadata from files and documents using Apache Tika toolkit class Henkei # rubocop:disable Metrics/ClassLength GEM_PATH = File.dirname(File.dirname(__FILE__)) - JAR_PATH = File.join(Henkei::GEM_PATH, 'jar', 'tika-app-2.9.1.jar') + JAR_PATH = File.join(Henkei::GEM_PATH, 'jar', 'tika-app-2.9.2.jar') CONFIG_PATH = File.join(Henkei::GEM_PATH, 'jar', 'tika-config.xml') CONFIG_WITHOUT_OCR_PATH = File.join(Henkei::GEM_PATH, 'jar', 'tika-config-without-ocr.xml') diff --git a/lib/henkei/version.rb b/lib/henkei/version.rb index 151dcb0..dece6b0 100644 --- a/lib/henkei/version.rb +++ b/lib/henkei/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true class Henkei - VERSION = '2.9.1.1' + VERSION = '2.9.2.1' end