henkei 2.6.0.1 → 2.7.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +1 -1
- data/Gemfile +13 -0
- data/henkei.gemspec +1 -12
- data/jar/{tika-app-2.6.0.jar → tika-app-2.7.0.jar} +0 -0
- data/lib/henkei/version.rb +1 -1
- data/lib/henkei.rb +1 -1
- metadata +5 -151
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: df3b7819f5246189b9d8d7f2a7aa329bdd657ae737b6c49591b5b5e869371de2
|
4
|
+
data.tar.gz: 7cba8f009c17833ea7a6c14bd201357260af94b4f38f3dd407b6bc5819f018e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a4c2ab9e8c4dae93b16f78949a4d93affac14c711b1167f4368ea03fbffa353cbdcd658b1ea91c8efbe631a1d9fe1f4122b40f47ec8f6cab2c19e1e2cacc003d
|
7
|
+
data.tar.gz: d7c8c2347d94f56915cf6708d42b55473b3a9b6a31bb8b881a12cb59a359c886e0bec6093a774184497b4c7f032466c27377fed8b98b3dac793f5f1d5ec51b22
|
data/.github/workflows/test.yml
CHANGED
data/Gemfile
CHANGED
@@ -4,3 +4,16 @@ source 'https://rubygems.org'
|
|
4
4
|
|
5
5
|
# Specify your gem's dependencies in henkei.gemspec
|
6
6
|
gemspec
|
7
|
+
|
8
|
+
group :development do
|
9
|
+
gem 'bundler', '~> 2.0'
|
10
|
+
gem 'nokogiri', '~> 1.12'
|
11
|
+
gem 'rails', '~> 5.0'
|
12
|
+
gem 'rake', '~> 12.3'
|
13
|
+
gem 'rspec', '~> 3.7'
|
14
|
+
gem 'rubocop', '~> 1.26'
|
15
|
+
gem 'rubocop-performance', '~> 1.13'
|
16
|
+
gem 'rubocop-rake', '~> 0.6'
|
17
|
+
gem 'rubocop-rspec', '~> 2.9'
|
18
|
+
gem 'simplecov', '~> 0.15', '< 0.18'
|
19
|
+
end
|
data/henkei.gemspec
CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
|
|
15
15
|
'(.doc, .docx, .pages, .odt, .rtf, .pdf) using Apache Tika toolkit'
|
16
16
|
spec.homepage = 'https://github.com/abrom/henkei'
|
17
17
|
spec.license = 'MIT'
|
18
|
-
spec.required_ruby_version = ['>= 2.7.0', '< 3.
|
18
|
+
spec.required_ruby_version = ['>= 2.7.0', '< 3.4.0']
|
19
19
|
|
20
20
|
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
21
21
|
# delete this section to allow pushing this gem to any host.
|
@@ -30,15 +30,4 @@ Gem::Specification.new do |spec|
|
|
30
30
|
|
31
31
|
spec.add_runtime_dependency 'json', '>= 1.8', '< 3'
|
32
32
|
spec.add_runtime_dependency 'mini_mime', '>= 0.1.1', '< 2'
|
33
|
-
|
34
|
-
spec.add_development_dependency 'bundler', '~> 2.0'
|
35
|
-
spec.add_development_dependency 'nokogiri', '~> 1.12'
|
36
|
-
spec.add_development_dependency 'rails', '~> 5.0'
|
37
|
-
spec.add_development_dependency 'rake', '~> 12.3'
|
38
|
-
spec.add_development_dependency 'rspec', '~> 3.7'
|
39
|
-
spec.add_development_dependency 'rubocop', '~> 1.26'
|
40
|
-
spec.add_development_dependency 'rubocop-performance', '~> 1.13'
|
41
|
-
spec.add_development_dependency 'rubocop-rake', '~> 0.6'
|
42
|
-
spec.add_development_dependency 'rubocop-rspec', '~> 2.9'
|
43
|
-
spec.add_development_dependency 'simplecov', '~> 0.15', '< 0.18'
|
44
33
|
end
|
Binary file
|
data/lib/henkei/version.rb
CHANGED
data/lib/henkei.rb
CHANGED
@@ -25,7 +25,7 @@ require 'open3'
|
|
25
25
|
# Read text and metadata from files and documents using Apache Tika toolkit
|
26
26
|
class Henkei # rubocop:disable Metrics/ClassLength
|
27
27
|
GEM_PATH = File.dirname(File.dirname(__FILE__))
|
28
|
-
JAR_PATH = File.join(Henkei::GEM_PATH, 'jar', 'tika-app-2.
|
28
|
+
JAR_PATH = File.join(Henkei::GEM_PATH, 'jar', 'tika-app-2.7.0.jar')
|
29
29
|
CONFIG_PATH = File.join(Henkei::GEM_PATH, 'jar', 'tika-config.xml')
|
30
30
|
CONFIG_WITHOUT_OCR_PATH = File.join(Henkei::GEM_PATH, 'jar', 'tika-config-without-ocr.xml')
|
31
31
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: henkei
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.7.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Erol Fornoles
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2024-01-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: json
|
@@ -51,152 +51,6 @@ dependencies:
|
|
51
51
|
- - "<"
|
52
52
|
- !ruby/object:Gem::Version
|
53
53
|
version: '2'
|
54
|
-
- !ruby/object:Gem::Dependency
|
55
|
-
name: bundler
|
56
|
-
requirement: !ruby/object:Gem::Requirement
|
57
|
-
requirements:
|
58
|
-
- - "~>"
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
version: '2.0'
|
61
|
-
type: :development
|
62
|
-
prerelease: false
|
63
|
-
version_requirements: !ruby/object:Gem::Requirement
|
64
|
-
requirements:
|
65
|
-
- - "~>"
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: '2.0'
|
68
|
-
- !ruby/object:Gem::Dependency
|
69
|
-
name: nokogiri
|
70
|
-
requirement: !ruby/object:Gem::Requirement
|
71
|
-
requirements:
|
72
|
-
- - "~>"
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: '1.12'
|
75
|
-
type: :development
|
76
|
-
prerelease: false
|
77
|
-
version_requirements: !ruby/object:Gem::Requirement
|
78
|
-
requirements:
|
79
|
-
- - "~>"
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version: '1.12'
|
82
|
-
- !ruby/object:Gem::Dependency
|
83
|
-
name: rails
|
84
|
-
requirement: !ruby/object:Gem::Requirement
|
85
|
-
requirements:
|
86
|
-
- - "~>"
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version: '5.0'
|
89
|
-
type: :development
|
90
|
-
prerelease: false
|
91
|
-
version_requirements: !ruby/object:Gem::Requirement
|
92
|
-
requirements:
|
93
|
-
- - "~>"
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
version: '5.0'
|
96
|
-
- !ruby/object:Gem::Dependency
|
97
|
-
name: rake
|
98
|
-
requirement: !ruby/object:Gem::Requirement
|
99
|
-
requirements:
|
100
|
-
- - "~>"
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: '12.3'
|
103
|
-
type: :development
|
104
|
-
prerelease: false
|
105
|
-
version_requirements: !ruby/object:Gem::Requirement
|
106
|
-
requirements:
|
107
|
-
- - "~>"
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: '12.3'
|
110
|
-
- !ruby/object:Gem::Dependency
|
111
|
-
name: rspec
|
112
|
-
requirement: !ruby/object:Gem::Requirement
|
113
|
-
requirements:
|
114
|
-
- - "~>"
|
115
|
-
- !ruby/object:Gem::Version
|
116
|
-
version: '3.7'
|
117
|
-
type: :development
|
118
|
-
prerelease: false
|
119
|
-
version_requirements: !ruby/object:Gem::Requirement
|
120
|
-
requirements:
|
121
|
-
- - "~>"
|
122
|
-
- !ruby/object:Gem::Version
|
123
|
-
version: '3.7'
|
124
|
-
- !ruby/object:Gem::Dependency
|
125
|
-
name: rubocop
|
126
|
-
requirement: !ruby/object:Gem::Requirement
|
127
|
-
requirements:
|
128
|
-
- - "~>"
|
129
|
-
- !ruby/object:Gem::Version
|
130
|
-
version: '1.26'
|
131
|
-
type: :development
|
132
|
-
prerelease: false
|
133
|
-
version_requirements: !ruby/object:Gem::Requirement
|
134
|
-
requirements:
|
135
|
-
- - "~>"
|
136
|
-
- !ruby/object:Gem::Version
|
137
|
-
version: '1.26'
|
138
|
-
- !ruby/object:Gem::Dependency
|
139
|
-
name: rubocop-performance
|
140
|
-
requirement: !ruby/object:Gem::Requirement
|
141
|
-
requirements:
|
142
|
-
- - "~>"
|
143
|
-
- !ruby/object:Gem::Version
|
144
|
-
version: '1.13'
|
145
|
-
type: :development
|
146
|
-
prerelease: false
|
147
|
-
version_requirements: !ruby/object:Gem::Requirement
|
148
|
-
requirements:
|
149
|
-
- - "~>"
|
150
|
-
- !ruby/object:Gem::Version
|
151
|
-
version: '1.13'
|
152
|
-
- !ruby/object:Gem::Dependency
|
153
|
-
name: rubocop-rake
|
154
|
-
requirement: !ruby/object:Gem::Requirement
|
155
|
-
requirements:
|
156
|
-
- - "~>"
|
157
|
-
- !ruby/object:Gem::Version
|
158
|
-
version: '0.6'
|
159
|
-
type: :development
|
160
|
-
prerelease: false
|
161
|
-
version_requirements: !ruby/object:Gem::Requirement
|
162
|
-
requirements:
|
163
|
-
- - "~>"
|
164
|
-
- !ruby/object:Gem::Version
|
165
|
-
version: '0.6'
|
166
|
-
- !ruby/object:Gem::Dependency
|
167
|
-
name: rubocop-rspec
|
168
|
-
requirement: !ruby/object:Gem::Requirement
|
169
|
-
requirements:
|
170
|
-
- - "~>"
|
171
|
-
- !ruby/object:Gem::Version
|
172
|
-
version: '2.9'
|
173
|
-
type: :development
|
174
|
-
prerelease: false
|
175
|
-
version_requirements: !ruby/object:Gem::Requirement
|
176
|
-
requirements:
|
177
|
-
- - "~>"
|
178
|
-
- !ruby/object:Gem::Version
|
179
|
-
version: '2.9'
|
180
|
-
- !ruby/object:Gem::Dependency
|
181
|
-
name: simplecov
|
182
|
-
requirement: !ruby/object:Gem::Requirement
|
183
|
-
requirements:
|
184
|
-
- - "~>"
|
185
|
-
- !ruby/object:Gem::Version
|
186
|
-
version: '0.15'
|
187
|
-
- - "<"
|
188
|
-
- !ruby/object:Gem::Version
|
189
|
-
version: '0.18'
|
190
|
-
type: :development
|
191
|
-
prerelease: false
|
192
|
-
version_requirements: !ruby/object:Gem::Requirement
|
193
|
-
requirements:
|
194
|
-
- - "~>"
|
195
|
-
- !ruby/object:Gem::Version
|
196
|
-
version: '0.15'
|
197
|
-
- - "<"
|
198
|
-
- !ruby/object:Gem::Version
|
199
|
-
version: '0.18'
|
200
54
|
description: Read text and metadata from files and documents using Apache Tika toolkit
|
201
55
|
email:
|
202
56
|
- erol.fornoles@gmail.com
|
@@ -217,7 +71,7 @@ files:
|
|
217
71
|
- Rakefile
|
218
72
|
- bin/console
|
219
73
|
- henkei.gemspec
|
220
|
-
- jar/tika-app-2.
|
74
|
+
- jar/tika-app-2.7.0.jar
|
221
75
|
- jar/tika-config-without-ocr.xml
|
222
76
|
- jar/tika-config.xml
|
223
77
|
- lib/henkei.rb
|
@@ -248,14 +102,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
248
102
|
version: 2.7.0
|
249
103
|
- - "<"
|
250
104
|
- !ruby/object:Gem::Version
|
251
|
-
version: 3.
|
105
|
+
version: 3.4.0
|
252
106
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
253
107
|
requirements:
|
254
108
|
- - ">="
|
255
109
|
- !ruby/object:Gem::Version
|
256
110
|
version: '0'
|
257
111
|
requirements: []
|
258
|
-
rubygems_version: 3.
|
112
|
+
rubygems_version: 3.3.7
|
259
113
|
signing_key:
|
260
114
|
specification_version: 4
|
261
115
|
summary: Read text and metadata from files and documents (.doc, .docx, .pages, .odt,
|