unrich 0.1.0 → 0.1.1

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: 5992e1383881b202a1ee10d7fbe68244d7bfb9dd1370aaeac0de976be4bd98ab
4
- data.tar.gz: 92ad380f6e87db68f4d85b73635993f6842ed62c925046a0cb3171b1a7714a05
3
+ metadata.gz: 2d9f976e75fff26f4b4d772ff7f689533734d8c51ddca921e61321d1c818932e
4
+ data.tar.gz: 83f6188b73c662c46d7afee2b5a78c2c0488339a2d1d88fac92a30bedf7f312d
5
5
  SHA512:
6
- metadata.gz: 22a7e9a491ad952401742fa7f2f479c27291457492fe2683a4b771032c131759065d7439bfa75148f69722faf059c70ec5fda8a6e907045a03f56a1be646ec3a
7
- data.tar.gz: 4024aa847b250268baefb2770948ba3533259fe91d3d8d603f91106dd6081e3d44340fba464fbc5576e3601ebe590004e9f700d90a2e6e0566bc136061420f66
6
+ metadata.gz: 3e73d02ec44022c0dd111639a0221cbc7740b32d047744ae3769bbc43771eb6947e34276bbf2608c152d6f055e254f25be0495014826ff0e5f0cbeb225a31de9
7
+ data.tar.gz: 2dd8293dba9901436dcc805fc7e13e80ca691f02e112ea8b704c7c2a331a03e7b7318a0ae20ba68541b5ba6c3a70289863a8545f8d5d5aa241adf8454ea03f0a
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Unrich
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
data/lib/unrich.rb CHANGED
@@ -29,7 +29,8 @@ module Unrich
29
29
  .sub(/{[^{^}]*}/, "")
30
30
  .sub(/{[^{^}]*}/, "")
31
31
  .sub(/{[^{^}]*}/, "")
32
- .gsub(/\\\w*/, "").strip
32
+ .gsub(/\\\w*/, "")
33
+ .gsub(/\{\s*\;\;\}/,"").strip
33
34
  txt[txt.length - 1] = "" if txt.end_with?("}")
34
35
  txt.delete("\u0000").strip
35
36
  end
metadata CHANGED
@@ -1,16 +1,17 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: unrich
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - murb
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-05-06 00:00:00.000000000 Z
11
+ date: 2022-05-08 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description: unrich reads an rtf and can only output it as UTF-8 encoded string
13
+ description: unrich is a pure ruby rtf2txt converter; it reads an rtf and can only
14
+ output it as UTF-8 encoded string
14
15
  email:
15
16
  - git@murb.nl
16
17
  executables: []