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 +4 -4
- data/lib/unrich/version.rb +1 -1
- data/lib/unrich.rb +2 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2d9f976e75fff26f4b4d772ff7f689533734d8c51ddca921e61321d1c818932e
|
4
|
+
data.tar.gz: 83f6188b73c662c46d7afee2b5a78c2c0488339a2d1d88fac92a30bedf7f312d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3e73d02ec44022c0dd111639a0221cbc7740b32d047744ae3769bbc43771eb6947e34276bbf2608c152d6f055e254f25be0495014826ff0e5f0cbeb225a31de9
|
7
|
+
data.tar.gz: 2dd8293dba9901436dcc805fc7e13e80ca691f02e112ea8b704c7c2a331a03e7b7318a0ae20ba68541b5ba6c3a70289863a8545f8d5d5aa241adf8454ea03f0a
|
data/lib/unrich/version.rb
CHANGED
data/lib/unrich.rb
CHANGED
@@ -29,7 +29,8 @@ module Unrich
|
|
29
29
|
.sub(/{[^{^}]*}/, "")
|
30
30
|
.sub(/{[^{^}]*}/, "")
|
31
31
|
.sub(/{[^{^}]*}/, "")
|
32
|
-
.gsub(/\\\w*/, "")
|
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.
|
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-
|
11
|
+
date: 2022-05-08 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description: unrich reads an rtf and can only
|
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: []
|