simple_text_extract 3.0.6 → 3.0.7
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 +9 -3
- data/.ruby-version +1 -1
- data/Gemfile.lock +2 -2
- data/lib/simple_text_extract/extract.rb +1 -1
- data/lib/simple_text_extract/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bad3e0fab883d324b24e9a06cacdceed53de65e51489be88557a3dcdc5bf39b6
|
4
|
+
data.tar.gz: 2c8b53df878e404f90ca65eacae7ce25bc1663de7f138bed7c8ee744b13ee456
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2e1d6659ddfd9cf3252afc481db1077499ecfab0b4602b52555d6f5f18a29b7a7bbeb671009a0505be547a5ad553accbebf037df3f5a4aec1f9673fc4ff0069
|
7
|
+
data.tar.gz: c3363629bf98d6fd55ac380830c2b7721903361a021e0ee10c5ddf33566be27199dda7e569cdc6821110a2200d3804d62f85d936a99165b58584df52c955afe1
|
data/.github/workflows/test.yml
CHANGED
@@ -1,14 +1,20 @@
|
|
1
1
|
name: build
|
2
|
-
on:
|
2
|
+
on:
|
3
|
+
push:
|
4
|
+
branches:
|
5
|
+
- master
|
6
|
+
pull_request:
|
7
|
+
branches:
|
8
|
+
- master
|
3
9
|
jobs:
|
4
10
|
build:
|
5
11
|
strategy:
|
6
12
|
fail-fast: false
|
7
13
|
matrix:
|
8
14
|
include:
|
9
|
-
- ruby: 3.
|
15
|
+
- ruby: 3.3
|
10
16
|
gemfile: Gemfile
|
11
|
-
- ruby: 3.
|
17
|
+
- ruby: 3.2
|
12
18
|
gemfile: Gemfile
|
13
19
|
runs-on: ubuntu-latest
|
14
20
|
env:
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.
|
1
|
+
3.3.4
|
data/Gemfile.lock
CHANGED
@@ -78,7 +78,7 @@ class SimpleTextExtract::Extract # rubocop:disable Metrics/ClassLength
|
|
78
78
|
def pdf_extract
|
79
79
|
return nil if SimpleTextExtract.missing_dependency?("pdftotext")
|
80
80
|
|
81
|
-
`pdftotext #{Shellwords.escape(file.path)}
|
81
|
+
`pdftotext #{Shellwords.escape(file.path)} - 2>/dev/null`
|
82
82
|
end
|
83
83
|
|
84
84
|
def xlsx_extract
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_text_extract
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Weiland
|
@@ -97,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
97
97
|
requirements:
|
98
98
|
- antiword
|
99
99
|
- pdftotext/poppler
|
100
|
-
rubygems_version: 3.5.
|
100
|
+
rubygems_version: 3.5.15
|
101
101
|
signing_key:
|
102
102
|
specification_version: 4
|
103
103
|
summary: Extract text from various file types before resorting to an OCR solution.
|