plaintext 0.3.3 → 0.3.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: b8b538bcbd4fb9bcfd1810d3acc469faf8a7b8ec
4
- data.tar.gz: '09851bdcb443745c4ef1c14dea52de9382cc9317'
2
+ SHA256:
3
+ metadata.gz: fde4677879a9d3ce30844e9a5b0439ad2f708f2f532927f96b16d962bd4deb07
4
+ data.tar.gz: 900cf36c77f25e98876e9838f2e21a11244f37f059c6c272386fd8102cfd500d
5
5
  SHA512:
6
- metadata.gz: b47b22f7b3dcfa1e3f60962eee5cac5406f0726256568f73bca9052ab34951365e6c8593cdc2215968413b6533335ca5c0ee469ead844f5a460870c4d1004892
7
- data.tar.gz: 4c4ea6a90804910451063e2b53f7324a629946dfff18758fc299fd1809fddf5e724b326c14ac222c51e627646fbcc6167e4158aa578fdd553589442aedf8d033
6
+ metadata.gz: c744870cc385445ae9a8ad68cfbc5e9489356f23750acdf7a0e8b54ec1ae9c674457c1f14e226aa8aee3bf542ba5fabeac524fda6ad0d89601414c0b77196e5a
7
+ data.tar.gz: e6c899c622b42856fd2671b0a7961a938e89389801904d70069b1b1735b8e6e374610f7f2b4d72fd08b16db1f24dcaa994e22b59f9e2a73585206f173b28a234
data/CHANGELOG CHANGED
@@ -6,8 +6,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.3.4] - 2021-04-21
10
+ - Further relax the rubyzip version requirement to allow 2.x versions
11
+ - Fix: Removed --quiet from unrtf arguments. In newer versions this seems to
12
+ suppress the header line which we used as a marker to strip unrtf comments and
13
+ meta data from the command output.
14
+
9
15
  ## [0.3.3] - 2019-10-01
10
- - bump rubyzip to ~> 1.3.0 to address CVE-2019-16892
16
+ - Relax rubyzip dependency. Our usage of rubyzip does not require adressing
17
+ CVE-2019-16892 and thus is fine with 1.2, but applications using this Gem
18
+ might use RubyZIP elsewhere too and thus will want to upgrade to >= 1.3.
11
19
 
12
20
  ## [0.3.2] - 2019-09-02
13
21
  - Set minimum Nokogiri version to 1.10.4. See CVE-2019-5477.
@@ -3,7 +3,7 @@
3
3
  module Plaintext
4
4
  class RtfHandler < ExternalCommandHandler
5
5
  DEFAULT = [
6
- '/usr/bin/unrtf', '--nopict', '--quiet', '--text', '__FILE__'
6
+ '/usr/bin/unrtf', '--nopict', '--text', '__FILE__'
7
7
  ].freeze
8
8
  def initialize
9
9
  @content_type = 'application/rtf'
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Plaintext
4
- VERSION = "0.3.3"
4
+ VERSION = "0.3.4"
5
5
  end
data/plaintext.gemspec CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
 
22
22
  spec.add_dependency 'activesupport', '>2.2.1 '
23
23
  spec.add_dependency 'nokogiri', '~> 1.10', '>= 1.10.4'
24
- spec.add_dependency 'rubyzip', '~> 1.3.0'
24
+ spec.add_dependency 'rubyzip', '>= 1.2.0'
25
25
 
26
26
  spec.add_development_dependency 'bundler', '~> 2.0'
27
27
  spec.add_development_dependency 'rake', '~> 12.0'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plaintext
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
4
+ version: 0.3.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jens Krämer
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2019-10-01 00:00:00.000000000 Z
13
+ date: 2021-04-21 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activesupport
@@ -50,16 +50,16 @@ dependencies:
50
50
  name: rubyzip
51
51
  requirement: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - "~>"
53
+ - - ">="
54
54
  - !ruby/object:Gem::Version
55
- version: 1.3.0
55
+ version: 1.2.0
56
56
  type: :runtime
57
57
  prerelease: false
58
58
  version_requirements: !ruby/object:Gem::Requirement
59
59
  requirements:
60
- - - "~>"
60
+ - - ">="
61
61
  - !ruby/object:Gem::Version
62
- version: 1.3.0
62
+ version: 1.2.0
63
63
  - !ruby/object:Gem::Dependency
64
64
  name: bundler
65
65
  requirement: !ruby/object:Gem::Requirement
@@ -161,8 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
161
161
  - !ruby/object:Gem::Version
162
162
  version: '0'
163
163
  requirements: []
164
- rubyforge_project:
165
- rubygems_version: 2.5.2.1
164
+ rubygems_version: 3.0.3
166
165
  signing_key:
167
166
  specification_version: 4
168
167
  summary: Extract plain text from most common office documents.