simple_text_extract 3.0.3 → 3.0.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
2
  SHA256:
3
- metadata.gz: ddd2289191545f08129aef5ff67b85fe9f2a9c1d1fbe09a377d13afb9203031f
4
- data.tar.gz: 99b7a2cb12381cd636115ea350ec4c4c4875e1260ddb7770355a9c6ab0ccf962
3
+ metadata.gz: 1bcf42e8ea86d7b9bb1f14731cbf2219e5d2a3c9bca5288e0441776b9822a835
4
+ data.tar.gz: 3d17a5ec43537ea50c64b8b07237cd21125794084fa964a121267895b5ba5023
5
5
  SHA512:
6
- metadata.gz: e91131e4458cacd400b751c22dd5d5cf8524ffc4724b4d499fbc522932eca4bde81a507b64ff818382ee620843b9d960921f0f72f970dbf20b09d5315e33515b
7
- data.tar.gz: ee5c900bd6ac6cf3f12139976f27aab73dab455d8c73f1fe7e3082291b66a95d31efcaa749225f3f6258a9445539299703e0dde52a0009c8f6a5bd6f75047674
6
+ metadata.gz: 7f452ddf56c6d464f4d16de10e4c934bd97b78e6adbedb43b163a5511881b81d466f3064e963410957b194420f74c0c6b554356b411f03845b37c417c845244f
7
+ data.tar.gz: be9d14077b31539fe14aec768cea5669958c922f0360eb8125e9289a8df61a36a6a2574b7ea1458eed010cf474ef80d70e7a601083016a0d968e37417c314c30
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- simple_text_extract (3.0.3)
4
+ simple_text_extract (3.0.4)
5
5
  roo (~> 2.10.0)
6
6
  rubyzip (~> 2.3.2)
7
7
  spreadsheet (~> 1.3.0)
@@ -28,7 +28,7 @@ class SimpleTextExtract::Extract # rubocop:disable Metrics/ClassLength
28
28
  end
29
29
 
30
30
  def to_s
31
- @to_s ||= extract.to_s.gsub(/[^\S\n]+/, " ").gsub(/\s?\n\s+/, "\n").strip
31
+ @to_s ||= extract.to_s.scrub.gsub(/[^\S\n]+/, " ").gsub(/\s?\n\s+/, "\n").strip
32
32
  end
33
33
 
34
34
  private
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SimpleTextExtract
4
- VERSION = "3.0.3"
4
+ VERSION = "3.0.4"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: simple_text_extract
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.3
4
+ version: 3.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nick Weiland
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-04-27 00:00:00.000000000 Z
11
+ date: 2023-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: roo