plaintext 0.3.4 → 0.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +31 -0
- data/CHANGELOG +9 -1
- data/README.md +1 -1
- data/lib/plaintext/file_handler/external_command_handler/image_handler.rb +1 -1
- data/lib/plaintext/resolver.rb +1 -1
- data/lib/plaintext/version.rb +1 -1
- data/lib/plaintext.rb +2 -0
- metadata +7 -7
- data/.travis.yml +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4441c66b3c0738f960ae199f27d86d2b39f3bfdbe700641c7684bfec97873f7e
|
4
|
+
data.tar.gz: 65eda38776c07d5b3594bd54caff6d1e774896c853e379aad5249c54976a2853
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce83e310d6468c1da82bf1a0d4ecc26a39c056f9ac0b1a10d53b8a2e80e4b54590b9c09085d3c48cfc5cab3ec1389357e99737ad7ca14e268c324115b104cdca
|
7
|
+
data.tar.gz: 883e72d6bae46b1bf6be640d1b6c6d9fe43f257db159c3095572c5d2f9c100722e82842b2963a28d9f5f685773696fa44bad72c24d59c101d10fc5550d3fdce0
|
@@ -0,0 +1,31 @@
|
|
1
|
+
name: Test
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: [ master ]
|
6
|
+
pull_request:
|
7
|
+
branches: [ master ]
|
8
|
+
|
9
|
+
jobs:
|
10
|
+
test:
|
11
|
+
runs-on: ubuntu-latest
|
12
|
+
strategy:
|
13
|
+
matrix:
|
14
|
+
ruby-version: ['2.7', '3.0', '3.1', '3.2', '3.3', '3.4']
|
15
|
+
|
16
|
+
steps:
|
17
|
+
- uses: actions/checkout@v4
|
18
|
+
|
19
|
+
- name: Install system dependencies
|
20
|
+
run: |
|
21
|
+
sudo apt-get update -qq
|
22
|
+
sudo apt-get install -y catdoc unrtf poppler-utils tesseract-ocr
|
23
|
+
|
24
|
+
- name: Set up Ruby
|
25
|
+
uses: ruby/setup-ruby@v1
|
26
|
+
with:
|
27
|
+
ruby-version: ${{ matrix.ruby-version }}
|
28
|
+
bundler-cache: true
|
29
|
+
|
30
|
+
- name: Run tests
|
31
|
+
run: bundle exec rake spec
|
data/CHANGELOG
CHANGED
@@ -4,7 +4,15 @@ All notable changes to this project will be documented in this file.
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
6
6
|
|
7
|
-
## [
|
7
|
+
## [0.3.5] - 2025-10-14
|
8
|
+
|
9
|
+
### Changed
|
10
|
+
- Migrated CI from Travis to GitHub Actions
|
11
|
+
|
12
|
+
### Fixed
|
13
|
+
- Fix FrozenError when handler returns a frozen string
|
14
|
+
- Fix Object#present? not being available in tests by requiring active_support before core_exts
|
15
|
+
- Suppress tesseract extra output to reduce noise in OCR results
|
8
16
|
|
9
17
|
## [0.3.4] - 2021-04-21
|
10
18
|
- Further relax the rubyzip version requirement to allow 2.x versions
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# plaintext [](https://github.com/planio-gmbh/plaintext/actions/workflows/test.yml)
|
2
2
|
|
3
3
|
This gem wraps command line tools to extract plain text from typical files such as
|
4
4
|
|
data/lib/plaintext/resolver.rb
CHANGED
data/lib/plaintext/version.rb
CHANGED
data/lib/plaintext.rb
CHANGED
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: plaintext
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jens Krämer
|
8
8
|
- Planio GmbH
|
9
9
|
- OpenProject GmbH
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2025-10-14 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|
@@ -110,9 +110,9 @@ executables: []
|
|
110
110
|
extensions: []
|
111
111
|
extra_rdoc_files: []
|
112
112
|
files:
|
113
|
+
- ".github/workflows/test.yml"
|
113
114
|
- ".gitignore"
|
114
115
|
- ".rspec"
|
115
|
-
- ".travis.yml"
|
116
116
|
- CHANGELOG
|
117
117
|
- Gemfile
|
118
118
|
- LICENSE
|
@@ -146,7 +146,7 @@ homepage: https://github.com/planio-gmbh/plaintext
|
|
146
146
|
licenses:
|
147
147
|
- GPL-2.0
|
148
148
|
metadata: {}
|
149
|
-
post_install_message:
|
149
|
+
post_install_message:
|
150
150
|
rdoc_options: []
|
151
151
|
require_paths:
|
152
152
|
- lib
|
@@ -161,8 +161,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
161
161
|
- !ruby/object:Gem::Version
|
162
162
|
version: '0'
|
163
163
|
requirements: []
|
164
|
-
rubygems_version: 3.
|
165
|
-
signing_key:
|
164
|
+
rubygems_version: 3.1.6
|
165
|
+
signing_key:
|
166
166
|
specification_version: 4
|
167
167
|
summary: Extract plain text from most common office documents.
|
168
168
|
test_files: []
|